Re: AW: SOAP over JMS Transactions

2011-05-27 Thread Willem Jiang
On 5/27/11 9:43 PM, mymacin wrote: @Willem.Jiang I want to make it work with spring Transaction with JMS . I have one doubt on this ,is it possible to combine JMS transaction and spring JPA transaction at the same time? I think you can do a simple test by throwing an exception in your applic

Re: AW: SOAP over JMS Transactions

2011-05-27 Thread Guy Pardon
Should be easy if you configure www.atomikos.com as the spring transaction manager and use the atomikos jdbc/jms connector beans... Sent from my iPad On 27-mei-2011, at 15:43, mymacin wrote: > @Willem.Jiang > > I want to make it work with spring Transaction with JMS . I have one doubt > on th

Re: jaxrs namespace and associated hander

2011-05-27 Thread Robert Parker
Thanks Sergey, that was it. rob From: Sergey Beryozkin To: users@cxf.apache.org; Robert Parker Sent: Friday, May 27, 2011 3:40 PM Subject: Re: jaxrs namespace and associated hander HI I'm wondering, is it to do with the fact you specify a pom in the dependen

Re: jaxrs namespace and associated hander

2011-05-27 Thread Sergey Beryozkin
HI I'm wondering, is it to do with the fact you specify a pom in the dependency declaration ? Can you try without it please thanks, Sergey On Fri, May 27, 2011 at 6:33 PM, Robert Parker wrote: > I am using maven to set up a simple REST webservice and deploying it to > tomcat.  Unfortunately I

Re: Coloc feature and dispatch clients

2011-05-27 Thread Gunnar Morling
Hi, thanks for your answers. I'm feeling though, that having to specify an operation and/or WSDL is somewhat contrary to what I had in mind when thinking about using a dispatch client in the first place. The idea was to write integration tests for a CXF based web service in a manner similar to wh

Re: Set Soap version to 1.2 programmatically

2011-05-27 Thread Daniel Kulp
On Friday, May 27, 2011 11:19:44 AM pablo caballero wrote: > Hi. I'm creating a WS client programmatically: > > jaxWsProxyFactoryBean = new JaxWsProxyFactoryBean(); > jaxWsProxyFactoryBean.setServiceClass(MyInterface.class); > jaxWsProxyFactoryBean.setAddress(url); > > MyInterface obj = (MyInterf

Re: A Raw XML Client's MEP questions.

2011-05-27 Thread Daniel Kulp
On Friday, May 27, 2011 9:29:20 AM ext2 wrote: > Thanks Glen Mazza: > > It seems the Dispatch interface ask for choosing MEP (invokeOneway() / > invoke()), but in my situation , I doesn't know what's the MEP is. Because > the only thing I know is just the xml data, and doesn't know anything about

Re: Coloc feature and dispatch clients

2011-05-27 Thread Daniel Kulp
On Friday, May 27, 2011 1:58:17 PM Aki Yoshida wrote: > Hi Dan, > I don't think replacing the generic operation name with the user > defined operation name so early in the phase helps because the > operation name must match within ClientImpl to find one of the > "dispatching operations". Actually,

Re: Coloc feature and dispatch clients

2011-05-27 Thread Aki Yoshida
Hi Dan, I don't think replacing the generic operation name with the user defined operation name so early in the phase helps because the operation name must match within ClientImpl to find one of the "dispatching operations". I also gave up on trying to use the annotations to make the matching work

jaxrs namespace and associated hander

2011-05-27 Thread Robert Parker
I am using maven to set up a simple REST webservice and deploying it to tomcat.  Unfortunately I am not well versed in spring (enough to be dangerous), and I can not get a NamespaceHandler for the jaxrs namespace.  Unfortunately there is no mention of the jaxrs namespace on this page http://cxf

Set Soap version to 1.2 programmatically

2011-05-27 Thread pablo caballero
Hi. I'm creating a WS client programmatically: jaxWsProxyFactoryBean = new JaxWsProxyFactoryBean(); jaxWsProxyFactoryBean.setServiceClass(MyInterface.class); jaxWsProxyFactoryBean.setAddress(url); MyInterface obj = (MyInterface)jaxWsProxyFactoryBean.create(); Is there some way to specify

Re: Coloc feature and dispatch clients

2011-05-27 Thread Daniel Kulp
One thing you can try: If you do a dispatch.getRequestContext().put(MessageContext.WSDL_OPERATION, new QName("http://my.namespace";, "myOperation")); before calling the invoke, it MAY be able to properly match the operation name and thus not use the generic "invoke" operation. That said, you

Re: Coloc feature and dispatch clients

2011-05-27 Thread Aki Yoshida
Maybe, this is solvable with using the right annotation. I will try out a small test case. regards, aki 2011/5/27 Aki Yoshida : > Hi, > I looked into this stuff sometime ago and noticed that the operation > names used by the dispatcher side and the provider side are generic > ones ( ***invoke) but

Re: AW: SOAP over JMS Transactions

2011-05-27 Thread mymacin
@Willem.Jiang I want to make it work with spring Transaction with JMS . I have one doubt on this ,is it possible to combine JMS transaction and spring JPA transaction at the same time? -- View this message in context: http://cxf.547215.n5.nabble.com/SOAP-over-JMS-Transactions-tp4431341p4432038.

Re: A Raw XML Client's MEP questions.

2011-05-27 Thread ext2
Thanks Glen Mazza: It seems the Dispatch interface ask for choosing MEP (invokeOneway() / invoke()), but in my situation , I doesn't know what's the MEP is. Because the only thing I know is just the xml data, and doesn't know anything about operation; > Original- > Sender: Glen Mazza [ma

DOSGI and SOAP Message Encoding

2011-05-27 Thread ludovic.camus
Hi everyone, i have created some WebServices using D-OSGI and registrating them throught OSGI Declarative Services. Everything works fine, execpt that when i try to consume the SOAP response's it seems that they are not UTF-8 Encoded. How can i sepcify the encoding of the SOAP messages to UTF-8?

Re: AW: SOAP over JMS Transactions

2011-05-27 Thread Willem Jiang
Hi, I just found you want to combine the JMS transcation and JPA together. Not sure if these two resource can work together with the JTA transaction manager. On 5/27/11 6:14 PM, mymacin wrote: Here is my spring bean configuration

Re: Does Cxf support oneway confirm feature?

2011-05-27 Thread Freeman Fang
Hi, You still can get some method like public void pingMe(String text) throws PingMeFault; map to in-out, although the return is "void", you need put a output message but the message actually is empty, something like so it will generate "void" for r

Re: SOAP over JMS Transactions

2011-05-27 Thread mymacin
@Christian Schneider In my previous post you can find that I have already wired JTAtransactionManager into Jmsconfiguration. Some thing like this:- p:transactionManager-ref="JTAtransactionManager" -- View this message in context: http://cxf.547215.n5.nabble.com/SOAP-over-JMS-Transactions-t

Re: A Raw XML Client's MEP questions.

2011-05-27 Thread Glen Mazza
For the client, JAX-WS Dispatch (example here: http://www.jroller.com/gmazza/entry/calling_rpc_encoded_web_services but google for more) will allow you access to the raw XML of which you can do anything you want with. JAX-WS Provider is the web service provider counterpart to it. That might b

A Raw XML Client's MEP questions.

2011-05-27 Thread ext2
Hi: First , forgive my long story. I cannot using a short words to describe my question clearly; Recently I want to use CXF as client to connecting an exists system which already support some web-service like service; Here "web-service like" means: the service only use soap protocol

Re: CXF default imports?

2011-05-27 Thread meteora28
The catalog I created looks like that: ... http://www.w3.org/2005/08/addressing/ws-addr.xsd"; uri="references/ws-addr.xsd"/> ... If I do it the way you described before, ... http://www.w3.org/2005/08/addressing"; rewritePrefix="classpath:/.../references"/> ... I always get a warn

Re: SOAP over JMS Transactions

2011-05-27 Thread Christian Schneider
I think you have to wire the transactionmanager into the JmsConfiguration. See: http://cxf.apache.org/docs/using-the-jmsconfigfeature.html Christian Am 27.05.2011 12:17, schrieb mymacin: Here is my spring bean configuration

Re: Does Cxf support oneway confirm feature?

2011-05-27 Thread ext2
Thanks Daniel. Your previously mail has answered my following question; > -original - >Sender: ext2 [mailto:x...@tongtech.com] > Time: 2011/5/27 18:44 > Receiver: users@cxf.apache.org > Subject: Re: Does Cxf support oneway confirm feature? > > That's to say: > > CXF doesn't in-optional

Re: Does Cxf support oneway confirm feature?

2011-05-27 Thread ext2
That's to say: CXF doesn't in-optional-out MEP; Is it right? I am sure in-optional-out is not a valid MEP for wsdl11.But I am not sure if it's valid for wsdl2.0 ? A doest CXF support it? And the sample wsdl is treated as in-only MEP, and it's fault message is ignored. Is it right? Thanks a lot

Re: AW: SOAP over JMS Transactions

2011-05-27 Thread mymacin
Here is my spring bean configuration

Re: Does Cxf support oneway confirm feature?

2011-05-27 Thread Daniel Kulp
On Friday, May 27, 2011 4:34:15 AM ext2 wrote: > Hi: > > Recently I encounter a web-service which operation contains only input > message and fault message; > It may looks like: > > > > That is not valid in WSDL 1.1 which is what CXF supports.For one-ways, you cannot have a f

Re: AW: SOAP over JMS Transactions

2011-05-27 Thread mymacin
Here is my spring bean configuration

Re: SOAP over JMS Transactions

2011-05-27 Thread mymacin
Yes I have tried with p:useJms11="false" but no use. -- View this message in context: http://cxf.547215.n5.nabble.com/SOAP-over-JMS-Transactions-tp4431341p4431408.html Sent from the cxf-user mailing list archive at Nabble.com.

AW: SOAP over JMS Transactions

2011-05-27 Thread Christian Schneider
Did you set up a spring transaction manager bean? You will need it. Christian -Ursprüngliche Nachricht- Von: mymacin [mailto:myma...@yahoo.com] Gesendet: Freitag, 27. Mai 2011 11:38 An: users@cxf.apache.org Betreff: SOAP over JMS Transactions I am trying to achieve transactions with S

Re: SOAP over JMS Transactions

2011-05-27 Thread Freeman Fang
Hi, Could you try with p:useJms11="false"? Freeman On 2011-5-27, at 下午5:37, mymacin wrote: I am trying to achieve transactions with SOAP over JMS .Basing on JMSfeatures i have configured jms end points.But I am unable to achieve transactions.I am using spring declarative @transactions but t

SOAP over JMS Transactions

2011-05-27 Thread mymacin
I am trying to achieve transactions with SOAP over JMS .Basing on JMSfeatures i have configured jms end points.But I am unable to achieve transactions.I am using spring declarative @transactions but the transaction is not propagating with the jms message. Please check the below code and let me kno

Re: Does Cxf support oneway confirm feature?

2011-05-27 Thread Freeman Fang
Hi, I don't think there's any oneway confirmation. If operation have fault message, then this operation couldn't be oneway, oneway means no output, no fault, and your client doesn't care what will happen after send out the request, that's the expected oneway behavior. As you already kno

Re: add HTML output to JSON and XML

2011-05-27 Thread Sergey Beryozkin
Hi I see...Thanks for the confirmation. So XSLTJAXBProvider was basically returning 'false' from its isReadable call because it did not have a template available, you probably spotted it from the log output. Cheers, Sergey On Fri, May 27, 2011 at 9:40 AM, gunanup wrote: > Thanks sergey its wor

Re: add HTML output to JSON and XML

2011-05-27 Thread gunanup
Thanks sergey its working ! :) I did a mistake with class path -- View this message in context: http://cxf.547215.n5.nabble.com/add-HTML-output-to-JSON-and-XML-tp4427885p4431243.html Sent from the cxf-user mailing list archive at Nabble.com.

Does Cxf support oneway confirm feature?

2011-05-27 Thread ext2
Hi: Recently I encounter a web-service which operation contains only input message and fault message; It may looks like: If the service execute successful, a http ok response will returned; And if it failed, a soap-fault will be returned; And now we need know if server's resul

Re: Why cannot run all my CXF's spring test cases in mvn?

2011-05-27 Thread ext2
Willem Jiang & Freeman Fang: Your answers both work well. Thanks a lot. > -Origin - > Sender: Willem Jiang [mailto:willem.ji...@gmail.com] >Time: 2011年5月26日 15:48 >Receiver: users@cxf.apache.org > Subject: Re: Why cannot run all my CXF's spring test cases in mvn? > > Because of the HTTP

Re: Coloc feature and dispatch clients

2011-05-27 Thread Aki Yoshida
Hi, I looked into this stuff sometime ago and noticed that the operation names used by the dispatcher side and the provider side are generic ones ( ***invoke) but yet they are slightly different. Because of this, I saw the operation look-up was failing as you mentioned. And there are probably a few

Re: Error in generating Java code from WSDL through CXF?

2011-05-27 Thread meteora28
Thank you very much! This works fine! -- View this message in context: http://cxf.547215.n5.nabble.com/Error-in-generating-Java-code-from-WSDL-through-CXF-tp4424641p4431054.html Sent from the cxf-user mailing list archive at Nabble.com.