JAX-WS request-response

2008-12-09 Thread Mayank Mishra
Hi, I am working on WS-Trust support for CXF. The requirement is like, while creating a secured request from client to service, client requires to communicate with STS to get required token. Depending on the security requirements of the STS service specified in the wsdl and ws-trust spec, a

Aegis DataBinding

2008-12-09 Thread arun_rocky
hi, I am using Aegis databinding. From a java client i am calling two methods.. one method return type is string and i am getting the values perfectly. second method return type is an arraylist, i am adding two elements in Webservice Implementation class. but in client i am getting a

Re: Aegis DataBinding

2008-12-09 Thread Benson Margulies
We'll need much more detail. 1) What version of CXF? 2) Is Aegis on the server, the client, or both? On Tue, Dec 9, 2008 at 8:24 AM, arun_rocky [EMAIL PROTECTED] wrote: hi, I am using Aegis databinding. From a java client i am calling two methods.. one method return type is string and

duplicate servicenames + cxf-codegen-plugin

2008-12-09 Thread Colm O hEigeartaigh
Hi, I have one wsdl with two servicenames defined. I'm running wsdl2java via the cxf-codegen-plugin, e.g.: wsdlOption wsdl${basedir}/src/test/resources/blah.wsdl/wsdl extraargs extraarg-sn/extraarg extraargfooService/extraarg /extraargs /wsdlOption wsdlOption

net.java.dev.jaxb.array.StringArray[] versus String[][]

2008-12-09 Thread Mickael Istria
Hello, First of all, I'd like to apologize in case of this question is a classic about CXF and/or JaxB, but my research did not give me a good answer, that's why I come to this mailing-list. I have a Service that I expose from a Java class with a normal CXF ServerFactoryBean with default

Exception while marshalling

2008-12-09 Thread Sergey.Pulyaev
I have some hibernate objects what should be marshaled, and if i get error during this process - for example in lazy loading - i get very strange output: soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/; soap:Body ns1:findByCriteriaResponse

Re: CXF JMS Asycn through Spring

2008-12-09 Thread Daniel Kulp
On Tuesday 09 December 2008 5:12:46 am cxfuser17 wrote: Using the hello world app I created, I tried using the wsdlLocation in the JaxWsProxyFactoryBean bean of my spring context file and had an exception thrown (stack trace below). It looks like the code is making an assumption that my I

Re: jms client restart

2008-12-09 Thread cxfuser17
Adrian/Christian, I've been looking over the JMSConduit code. I believe we could solve this issue if we allowed for developers to inject their own JMS listener into the conduit. We have set up an interceptor to inject our own JMS correlation Id into the Message Object. If we had a way to

Re: Are properties not resolved in http:conduit

2008-12-09 Thread Daniel Kulp
On Tuesday 09 December 2008 8:44:46 am jmdev wrote: I am using 2.1.4 SNAPSHOT and am still not able to get this working. Is there anything special one needs to do to get the PropertyPlaceholderConfigurer to be recognized? Is there an example or test case that you could refer me to if

How to configure HTTP conduit when using JaxWsProxyFactory and Spring injection for WS client creation ?

2008-12-09 Thread C. Manchet
I configure functionality as SSL or HTTP keep-alive for my Webservice client in a a cxf.xml file placing in the classpath : http:conduit name={urn:Securite}SecuriteSOAP11port.http-conduit http:tlsClientParameters secureSocketProtocol=SSL

Getting attachments from the SOAP message context

2008-12-09 Thread Colm O hEigeartaigh
Hi guys, How do I get inbound attachments from the SOAPMessageContext in a SOAPHandler? Something like this used to work: Object[] attachments = ((SOAPMessageContextImpl)context).getWrappedMessage().getAttachments().t oArray(); Thanks, Colm.

Re: Are properties not resolved in http:conduit

2008-12-09 Thread Daniel Kulp
On Tuesday 09 December 2008 11:23:35 am Daniel Kulp wrote: On Tuesday 09 December 2008 8:44:46 am jmdev wrote: I am using 2.1.4 SNAPSHOT and am still not able to get this working. Is there anything special one needs to do to get the PropertyPlaceholderConfigurer to be recognized? Is there

Re: Getting attachments from the SOAP message context

2008-12-09 Thread Daniel Kulp
There is the JAXWS standard: MapString, DataHandler atts = dataHandlerscontext.get(MessageContext.INBOUND_MESSAGE_ATTACHMENTS); Dan On Tuesday 09 December 2008 12:11:06 pm Colm O hEigeartaigh wrote: Hi guys, How do I get inbound attachments from the SOAPMessageContext in a SOAPHandler?

Re: Exception while marshalling

2008-12-09 Thread Daniel Kulp
I answered this last week: http://www.nabble.com/Re:-Exception-while-marshalling-p20843833.html Dan On Tuesday 09 December 2008 10:53:33 am [EMAIL PROTECTED] wrote: I have some hibernate objects what should be marshaled, and if i get error during this process - for example in lazy loading -

Re: duplicate servicenames + cxf-codegen-plugin

2008-12-09 Thread Daniel Kulp
On Tuesday 09 December 2008 10:38:56 am Colm O hEigeartaigh wrote: Hi, I have one wsdl with two servicenames defined. I'm running wsdl2java via the cxf-codegen-plugin, e.g.: wsdlOption wsdl${basedir}/src/test/resources/blah.wsdl/wsdl extraargs extraarg-sn/extraarg

Re: Set custom HostnameVerifier on jaxws:client definition

2008-12-09 Thread Sriram C
Thanks for your reply. I added the http:conduit with the tlsClientParameters element set as you advised. However I still see the error on instantiating the client. My client xml file (name testContext.xml) is as follows: ?xml version=1.0 encoding=UTF-8? beans

Re: Are properties not resolved in http:conduit

2008-12-09 Thread jmdev
It appears to work for the conduit now. Thanks! The address property of jaxws:client does not appear to work however. Does that require a similar fix? dkulp wrote: On Tuesday 09 December 2008 11:23:35 am Daniel Kulp wrote: On Tuesday 09 December 2008 8:44:46 am jmdev wrote: I am using

jaxb episode

2008-12-09 Thread Adrian C
Hi, I am trying to use wsdl2java and trying to pass in a reference to a jaxb epsisode file so that the source is not regenerated (my wsdls are based on schemas that are already compile by jaxb). I am using the -xjc existing-jaxb.jar as part of my wsdl2java task but it seems to be ignored. My

RE: Namespace map for WSDL generation (using JAXB).

2008-12-09 Thread Ducharme, Ugo
I just wanted to add the trace in case that help someone: 9-Dec-2008 4:59:54 PM org.apache.cxf.transport.servlet.ServletController invoke WARNING: org.apache.cxf.transport.http.WSDLQueryHandler Exception caught writing response. org.apache.cxf.transport.http.WSDLQueryException: Exception occurred

Re: Aegis databinding independently of CXF

2008-12-09 Thread Benson Margulies
I just checked in a StandaloneWriteTest which should give you some help. I am thinking about how to go about adding a sample to our samples. On Sun, Dec 7, 2008 at 4:04 PM, Magnus Kvalheim [EMAIL PROTECTED] wrote: Have attached the sources and debugging into cxf, and found that it was missing

Re: net.java.dev.jaxb.array.StringArray[] versus String[][]

2008-12-09 Thread Benson Margulies
I'm relatively sure that this happens because you are hitting a requirement of the JAX-WS spec. This leads me to believe that you are not using ServerFactoryBean, but rather JaxWsServerFactoryBean. Are you sure? There might be a reason why we feel compelled to do like JAX-WS even in this case,

Re: Aegis DataBinding

2008-12-09 Thread Benson Margulies
If you use Aegis on the client side, you must pass in a WSDL to the factory, otherwise all the parameter names get lost since they aren't kept around by Java. On Tue, Dec 9, 2008 at 2:07 PM, Benson Margulies [EMAIL PROTECTED] wrote: Can anyone else see anything in the expanses of white space?

Re: net.java.dev.jaxb.array.StringArray[] versus String[][]

2008-12-09 Thread Benson Margulies
This is mandated by the JAXB 2.1 spec, as follows: 8.12.7Multidimensional Array By default, a multidimensional array must be mapped to a complex type as follows. Note the table specifies a two dimensional array mapping. If an array is more than two dimensions, then the mapping is used

Re: Namespace map for WSDL generation (using JAXB).

2008-12-09 Thread Daniel Kulp
Is there anyway you could package up your sample and send it in? Privately to me is fine as well. One other person ran into this, but I've never been able to reproduce it so I'm not really sure how to start debugging it. Dan On Tuesday 09 December 2008 1:49:36 pm Ducharme, Ugo wrote:

Re: Aegis DataBinding

2008-12-09 Thread arun_rocky
hi, I am new to webservices. I dnt know how to create WSDL from a service. can you please tell me how to create a WSDL from a java service. -- View this message in context: http://www.nabble.com/Aegis-DataBinding-tp20914633p20928903.html Sent from the cxf-user mailing list archive at

Re: Exception due to implicit soap headers

2008-12-09 Thread ysahuly
those two headers are in a separate message only..for your rerference code snippet is below Messgae Part : wsdl:message name=header wsdl:part name=appIdHeader element=e:applicationId / wsdl:part name=transIdHeader element=e:transactionId / /wsdl:message Binding

Re: JAX-WS request-response

2008-12-09 Thread Mayank Mishra
On Wed, Dec 10, 2008 at 9:02 AM, Daniel Kulp [EMAIL PROTECTED] wrote: On Tuesday 09 December 2008 6:03:02 am Mayank Mishra wrote: Hi, I am working on WS-Trust support for CXF. The requirement is like, while creating a secured request from client to service, client requires to

WSS4J username/pass optional?

2008-12-09 Thread pashpour
Hi folks, I wanted to find out if it's possible to make WSS4j username/pass headers optional. I'm hosting a service where a subset of the hosted methods require authentication. Any help would be greatly appreciated. Thanks, pash -- View this message in context:

Re: Web Service api design (pass simple parameters or pojo)?

2008-12-09 Thread Christian Schneider
Hi Philip, I have some suggestions for you. First you should not generate the wsdl from your implementation classes. We did this approach in the start of our SOA. The problem is that when you change the version of your service framework you can end up with a slighty different wsdl. So you

Re: WSS4J username/pass optional?

2008-12-09 Thread Mayank Mishra
pashpour wrote: Hi folks, I wanted to find out if it's possible to make WSS4j username/pass headers optional. I'm hosting a service where a subset of the hosted methods require authentication. Any help would be greatly appreciated. Hi Pash, Specifying UsernameToken in the wss4j