Re: Exception object has all fields set to NULL on client side

2008-01-11 Thread rkannan
Dan, I followed the discussion on CXF-1226 in this forum and found it very helpful. (http://www.nabble.com/Created:-(CXF-1226)-Missing-input-output-param-namespace-in-SOAP-td13870857.html) The workaround proposed by Benson is creating a qualified schema and fixing the NULL field problem. I

More than one Element in Request Wrapper?

2008-01-11 Thread ben27
Hi everyone, I have a simple question for someone who is familiar with CXF. I try to add annotations to a method that contains three selfdefined datatypes: init(SessionId sid, DataTyp dt, DataTyp2 dt) How can I annotate them in the RequestWrapper to get a correct WSDL? I also tried to create

Re: Exception object has all fields set to NULL on client side

2008-01-11 Thread Daniel Kulp
The stuff in CXF-1226 is new for 2.0.4 so you would need to be using a snapshot version of 2.0.4 for that to work. I'm looking into the other stuff now. Dan On Friday 11 January 2008, rkannan wrote: Dan, I followed the discussion on CXF-1226 in this forum and found it very helpful.

Re: Exception object has all fields set to NULL on client side

2008-01-11 Thread Daniel Kulp
I'm definitely going to need a test case from you. I've checked the system tests that we currently have and they are all using the default unqualified schemas. In particular, I looked at the CustomException.java thing that we throw (code at:

Re: Exception object has all fields set to NULL on client side

2008-01-11 Thread Daniel Kulp
Maybe not. I did wireshark wiretraces on the messages and the messages are in qualified form despite the schema saying they should be unqualified.That's definitely a bug and may be part of the issue. :-( I'll try and get that fixed and see if that helps. Might not be able to get to

Map parameter is empty in CXF, worked in XFire

2008-01-11 Thread Doubleday, Dennis
I've been struggling with this for the better part of a day now. I have a service that takes a MapString, String as a parameter. It worked under XFire, but I am trying to port to CXF 2.0.3 now and I can't get the values in the Map to come across. I pass a Map with three entries from the client but

Getting the total size of a DataHandler-type Request Parameter

2008-01-11 Thread Glen Mazza
Hello, This question is hard for me to phrase exactly, but for a SOAP request which contains an input parameter which is resolved as a DataHandler by JAX-WS, is there a way to determine the total size in bytes of that DataHandler object? Can I rely on any HTTP headers for that information? I'm

Re: override binding name

2008-01-11 Thread fox_lubiky
Hi, I'm evaluating CXF as a possible replacement for Axis, and I have the same problem (the client requires a particular SOAP binding name in the WSDL). The SoapBinding name seems to be hard-coded in SoapBindingFactory: SoapBindingInfo info = new SoapBindingInfo(si,

maven build problem

2008-01-11 Thread yulinxp
I need to add in CXF to webwork project. webwork has integrate with Spring. I use maven-2.0.7. After deploying to JBoss, I try to access the service. But I got the following error. What did I miss? soap:Envelope soap:Body soap:Fault faultcodesoap:Server/faultcode faultstringNo such

Re: maven build problem

2008-01-11 Thread yulinxp
Here is my solution: !-- WSS4J -- dependency groupIdorg.apache.cxf/groupId artifactIdcxf-rt-ws-security/artifactId version${cxf.version}/version /dependency I also

FW: how to include cxf-2.0.2-incubator.jar in maven

2008-01-11 Thread Patidar, Manoj
Hi, I am new to cxf and i want to incldue cxf-2.0.2-incubator.jar in my pom.xml when i added following code in pom.xml it does not compile. dependency groupIdorg.apache.cxf/groupId artifactIdcxf/artifactId

how to include cxf-2.0.2-incubator.jar in maven

2008-01-11 Thread Patidar, Manoj
Hi, I am new to cxf and i want to incldue cxf-2.0.2-incubator.jar in my pom.xml when i added following code in pom.xml it does not compile. dependency groupIdorg.apache.cxf/groupId artifactIdcxf/artifactId

RE: Map parameter is empty in CXF, worked in XFire

2008-01-11 Thread Doubleday, Dennis
Little more info: I turned on logging, and the map entries are being sent by the client, just not mapped on the server side. The inbound message was logged as: soap:Envelope soap:Body ns1:integrityAssert ns1:arg0 ns1:entry

Re: Exception object has all fields set to NULL on client side

2008-01-11 Thread rkannan
Dan, I am wondering how you got the test case for exception to work if the SOAP messages are qualified but WSDL is unqualified. I believe that was the problem with my case also and the exception test case failed. FYI, I am still working on 2.0.3. Are you running these test cases for

Issues with JSON based Service and Jettison

2008-01-11 Thread Vespa, Anthony J
Hello, I cannot seem to get a JSON based servive to work properly. Does anyone have a complete end to end example using the spring config to set up jettison? Ideally I want to be able to use a post or a get to a service using JSON both on request and response. I am accessing the service via

Re: maven build problem

2008-01-11 Thread yulinxp
I found out I missed the following .jar using maven build. xmlsec-*.jar xalan-*.jar wss4j-*.jar js-1.6R5.jar jra-1.0-alpha-4.jar jettison-1.0-RC2.jar Some of them might not be needed. But I know wss4j-*.jar will be used if my cxf server setup to use WS-Security. While in the meantime, the reason

Unable to get xml as tring in rest services

2008-01-11 Thread Kamlesh
Hi, All I have following rest service. When I post a request xml using wget, I get null string on my impl class. I want to recevice xml as string so that I can marshall the string using JiBX. @Post @HttpResource(location = /requestHLTranscode) public String