Re: A novice for CXF, woking on SOAP/JMS

2009-04-23 Thread liucong
Hi All, Any quest, suggest, advice or help will be welcome. Thank you very much. Liu Cong I am Liu Cong. My nick in irc is liucong.I'm so excited as I am accepted by CXF as gsoc student.I will work on SOAP/JMS project, which will update the SOAP/JMS support in CXF to be completely specifica

my blog for gsoc, SOAP/JMS

2009-04-25 Thread liucong
Hi everyone, I have just started my first technical blog in google Blog (http://liucong07.blogspot.com/), and posted some articles about Google Summer of Code. My project is SOAP/JMS. I'll do some updates about my project in here, and post some questions or my understanding about CXF and Web Servi

MTOM over SOAP/JMS

2009-04-26 Thread liucong
Hi all, I'm working on SOAP over JMS as a GSoCer. I'm investigating the current implementation of SOAP/JMS, and find a question about MTOM over SOAP/JMS. I have modified the example jms_queue in CXF-2.2 and made the example support MTOM. Throught the client send the attachement and the server get

WSDL Usage for SOAP/JMS specification

2009-04-27 Thread liucong
Hi, All, Willem, In the past several days, We have discussed the usage of JMS transport, MTOM over SOAP/JMS. By debugging the code of CXF and JMS Transport, I think I have know the overview of the CXF and JMS Transport.(Except Spring configuration). I want to learn another eara about WSDL usage f

How to determine whether a soap message have an attachment

2009-05-04 Thread liucong
Hi all, When I want to add MTOM support for SOAP/JMS, I should know whether a soap message have an attachment. But I don't know the details how to judge wheter the message have an attachment. Is anyone give me any prompt about where the code is? Or some code example? Thank you very much. Best re

Re: How to determine whether a soap message have an attachment

2009-05-06 Thread liucong
attachments and such, it will write it as mime stuff to the > stream. > > Dan > > > > On Tue May 5 2009 12:53:48 am liucong wrote: > >> Hi all, >> >> When I want to add MTOM support for SOAP/JMS, I should know whether a >> soap message have an atta

Re: How to determine whether a soap message have an attachment

2009-05-06 Thread liucong
f it needs to be a binary message or not. >>> >>> Dan >>> >>> >>> >>> >>>> Willem >>>> >>>> Daniel Kulp wrote: >>>> >>>>> Doesn't it already support MTOM? >>>

a question when I run the JUnit test in eclipse.

2009-06-07 Thread liucong
Hi all, I have encountered a question when I run the JUnit test in eclipse. I have set up my eclipse workspace(eclipse 3.4.1) following the orders in http://cxf.apache.org/setting-up-eclipse.html. Than I run a JUnit test org.apache.cxf.systest.fault.IntFaultClientServerTest.java in cxf-systests.

How to implement the SOAP Fault for JMS Transport?

2009-06-07 Thread liucong
Hi all, When I implement the SOAP Over JMS Specification, I don’t know how to implement SOAP fault for it. I use the org.apache.cxf.interceptor.Fault to record the Fault information. For example, I create a Fault instance for SOAP fault subcode contentTypeMismatch (http://www.w3.org/TR/2008/WD-so

Re: GSoC projects for CXF

2009-06-07 Thread liucong
Hi, My cwiki.apache.org/CXF's User Name: liucon...@gmail.com, Full Name: jason. I have create a project for my project in gitHub. (http://github.com/liucong/jms4cxf2/tree/master). If it is needed, I'll do it following 3) One "interesting" thought: Best regard

Re: How to implement the SOAP Fault for JMS Transport?

2009-06-07 Thread liucong
gt; throw it out. > > If you want to check the Content type , you could write an interceptor > and load it with your soap jms transport. But I think you could take > the soap binding (SoapBindingFactory) as an example, and put this kind > of checking as a work of soap jms binding. &g

Re: How to implement the SOAP Fault for JMS Transport?

2009-06-08 Thread liucong
ets the binding information according to the bindingid, for example, http://schemas.xmlsoap.org/wsdl/soap/. SOAP/JMS may not provide a SOAP JMS binding id or something like that. I think we should not add bindingid, too. > Just my 2 cents, > > Willem > > > liucong wrote: > >>

Re: How to implement the SOAP Fault for JMS Transport?

2009-06-08 Thread liucong
, and put this kind > of checking as a work of soap jms binding. > > Just my 2 cents, > > Willem > > > liucong wrote: > >> Hi all, >> >> When I implement the SOAP Over JMS Specification, I don’t know how to >> implement SOAP fault for it. >>

SOAP/JMS specification for CXF [Project Status]

2009-06-10 Thread liucong
advice or help are welcome! Project Information: 1.Project Status: http://wiki.apache.org/general/soapjms4cxf 2.Project Code: http://github.com/liucong/jms4cxf2/tree/master 3.Project JIRA task: https://issues.apache.org/jira/browse/CXF-2253 What I have done: 1.Implement a simple JMS URI (http

Re: How to implement the SOAP Fault for JMS Transport?

2009-06-10 Thread liucong
ot sure if it's completely possible. :-) Dan On Mon June 8 2009 10:54:18 pm liucong wrote: Hi, Willem Jiang Writes: Hi, I think you mean how to throw the fault from the JMS transport. Basically , if you throw the fault from a CXF interceptor, CXF's interceptors chain will take car

Re: How to implement the SOAP Fault for JMS Transport?

2009-06-16 Thread liucong
. How to deal with soapjms:isFault property. If the soapjms:isFault is true, it indicates that the response is a SOAP fault. How to deal with this property. best regards, liu Daniel Kulp Writes: On Wed June 10 2009 4:38:37 am liucong wrote: So, the JMS transport just copy JMS message

How to add wsdl extension for SOAP/JMS.

2009-06-23 Thread liucong
Hi, I want to add wsdl extension for SOAP/JMS according to http://www.w3.org/TR/2008/WD-soapjms-20081121/#wsdl-extensions. For example, I want add wsdl extension for DeliveryMode property. I edit the wsdl file like[1]: http://www.w3.org/2008/07/soap/bindings/JMS/"/> PERSISTENT ... If

Re: How to add wsdl extension for SOAP/JMS.

2009-06-24 Thread liucong
the extensors. It would be completely automatic. Dan On Tue June 23 2009 11:51:43 am liucong wrote: Hi, I want to add wsdl extension for SOAP/JMS according to http://www.w3.org/TR/2008/WD-soapjms-20081121/#wsdl-extensions. For example, I want add wsdl extension for DeliveryMode property.

Re: SOAP/JMS specification for CXF [Project Status]

2009-06-24 Thread liucong
Hi all, I have submitted a patch for my work in transport-jms. https://issues.apache.org/jira/browse/CXF-2253. It is not complete, and I'll continue to work on it to make it complete. Any suggests are welcome! liu liucong wrote: > Hi all, > > Project Description: > SOAP over

Re: How to add wsdl extension for SOAP/JMS.

2009-07-01 Thread liucong
stion. What's wrong? Could the xjc solve this exception? thank you. liu Daniel Kulp wrote: On Thu June 25 2009 1:39:34 am liucong wrote: Hi, Dan, Thank you very much for your advice. By some experiments for the WSDL extension. I think it is right that this WSDL extension needs some

Re: How to add wsdl extension for SOAP/JMS.

2009-07-01 Thread liucong
(basically, complexTypes with simpleContent and simpleType object), you cannot extend TExtensibilityElementImpl. Instead, you would need to make it implement ExtensibilityElement interface and add the QName and required fields and such. Dan On Wed July 1 2009 12:18:15 pm liucong wrote: Hi,

Re: How to add wsdl extension for SOAP/JMS.

2009-07-03 Thread liucong
mplexTypes with simpleContent and simpleType object), you cannot extend TExtensibilityElementImpl. Instead, you would need to make it implement ExtensibilityElement interface and add the QName and required fields and such. Dan On Wed July 1 2009 12:18:15 pm liucong wrote: Hi,

Re: How to add wsdl extension for SOAP/JMS.

2009-07-03 Thread liucong
he.org/repos/asf/cxf/trunk/common/xjc/wsdlextension-test Willem Jiang wrote: I guess you have something wrong on the plugin's pom. Maybe you need to show the code to let us help you :) Willem liucong wrote: Hi, I am writing a plugin for xjc. First I just modify t

Properties Overriding in WSDL usage

2009-07-03 Thread liucong
Hi all, In the SOAP/JMS(http://www.w3.org/TR/2008/WD-soapjms-20081121/#wsdl-11-properties). If a property is specified at multiple levels, the most specific setting will take precedence (port first, then service, then binding). But I invetigate the code of CXF. I find someting int org.apache.cxf.

An Exception occurs when use wsdl extension in the port

2009-07-04 Thread liucong
Hi all, When I implement the WSDL usage for SOAP/JMS, I encountered an exception. I create an service and invoke it using wsdl-first. If the wsdl file looks like this[1] : 1000 This service works well. But if the wsdl file looks like this[2] : 1000 The service is created correctly

Re: An Exception occurs when use wsdl extension in the port

2009-07-06 Thread liucong
for "soap:address". > > Not sure on the best course of action to solve this. :-( Possibly the > soap binding could reset the address on the transport or something. Would > be > good to check if this is the case before diving in too deep. > > Dan > > > &

Re: An Exception occurs when use wsdl extension in the port

2009-07-06 Thread liucong
ly the > soap binding could reset the address on the transport or something. Would > be > good to check if this is the case before diving in too deep. > > Dan > > > > > > On Sat July 4 2009 7:51:40 am liucong wrote: > >> Hi all, >> When I imp

how to design a systest framework for SOAP/JMS test suite

2009-07-13 Thread liucong
Hi, I'm working on SOAP/JMS test suite (http://dev.w3.org/2008/ws/soapjms/testcases/). For each test case, I need to check the JMS message properties. So I need to get the outgoing and incoming message of each mep. But I don't know how to get the JMS message from the JMS transport. If I store th

request-response patterns.

2009-07-23 Thread liucong
Hi, Some information about JMS Correlation ID patten and Message ID pattern on request-response patterns (http://edocs.bea.com/alsb/docs25/interopjms/MsgIDPatternforJMS.html). By digging into the code about jms-transport, I know the current jms-transport uses the Correlation ID Pattern. But the S

Re: request-response patterns.

2009-07-23 Thread liucong
Hi, Should I change to use Message ID Pattern and make it compatible with the specification? liucong wrote: > Hi, > > Some information about JMS Correlation ID patten and Message ID pattern > on request-response patterns > (http://edocs.bea.com/alsb/docs25/interopjms/MsgIDPat

How to generate the CorrelationID in the client in jms transport?

2009-07-24 Thread liucong
Hi, I'm very confused with the CorrelationID which is generated by the jms-transport. The configuration piece as follows: I think the rules generating the CorrelationID should be as follows: userCID -> userCID userCID + conduitSelectorPrefix -> userCID userCID + conduitSelectorPrefix + u

Re: test suite patch.

2009-07-26 Thread liucong
t; tell me the reason why you don't do that? > > Since it's big patch, can you write a brief description to highlight the > changes that you made ? > > Finally, you can submit the patch to CXF JIRA with the description of > patch and let other people to have a look at this :)

Re: request-response patterns.

2009-07-26 Thread liucong
rrent code uses the MessageId Patternif the Correlation Id is empty. > It sends the response to the specified replyTo queue. For CorrelationId > Pattern it would always use the same queue. > > Greetings > > Christian > > liucong schrieb: > >> Hi, >> >>

Re: How to generate the CorrelationID in the client in jms transport?

2009-07-26 Thread liucong
rrent implement uses this rule. > BTW, we need to add some documents for use about it CorrelationID > generation rule on the wiki to make sure every body > knows what is going on there :) > > Any other thoughts? > > Willem > > liucong wrote: > >> Hi, >>

Re: test suite patch for JMS transport specification

2009-07-26 Thread liucong
Sorry, I didn't give the detail information in the title. liucong wrote: > Hi, > The list of changes is as follows: > (1) Some SOAPFault processing int cxf-rt-bindings-soap subproject. > (2) To generate the CorrelationID in the client of jms transport > according to the fo

Re: SOAP/JMS specification for CXF [Project Status]

2009-08-16 Thread liucong
Hi all, I have finished the SOAP/JMS implementation for CXF. More details refers to: Project Information: 1.Project Status: http://wiki.apache.org/general/soapjms4cxf 2.Project Code: http://github.com/liucong/jms4cxf2/tree/master 3.Project JIRA task: https://issues.apache.org/jira/browse/CXF-2253

Re: Capturing Jms headers data

2009-09-10 Thread liucong
Hi, Eamonn Dwyer wrote: Hi I would like to write an interceptor to capture all the JMS header data. Would the following work? for an inbound interceptor at the server side ... String buffer = new StringBuffer(); JMSMessageHeadersType jmsMessageHeadersType = (JMSMes

Re: Capturing Jms headers data

2009-09-11 Thread liucong
Hi Eamonn, Eamonn Dwyer wrote: Hi Liu thanks for that. So can you tell what I would be able to use to capture the JMS headers when the server is replying to the client if I shouldn't use "org.apache.cxf.jms.server.reply.headers"? Actually when is "org.apache.cxf.jms.server.reply.headers" used

Re: GSoC Proposal:Implement the SOAP/JMS specification for CXF

2009-03-31 Thread liucong
d my proposal about cxf-soapjms on >> http://wiki.apache.org/general/soc2009-soapjms-proposal. The GSoC page is >> here: >> >> http://socghop.appspot.com/document/show/user/liucong/cxf_soapjms >> >> >> Any comments and suggestions are welcome. >> Thanks in advance for your feedback. >> >> >> Thank You, >> Liu Cong >> >> >> >> > > >

GSoC Proposal:Implement JiBX databinding for CXF

2009-04-01 Thread liucong
Hi all, This is another proposal for cxf-jibx. I have published my proposal about cxf-jibx on http://wiki.apache.org/general/soc2009-cxf-jibx-proposal. The GSoC page is here:http://socghop.appspot.com/document/show/user/liucong/cxf_jibx_databinding Any comments and

Re: I'm working on SOAP/JMS, a question about current implementation

2009-04-20 Thread liucong
Hi Christian, I want to know whether the current implementation fills the JMS message properties other than JMS headers. In new implementation, we should add this properties. Best regards. Liu Christian Schneider 写道: Hi 刘聪, sorry that you got no response till now. I did not really understa