marshalling xs:double to java.lang.Doublt

2011-04-19 Thread zahid
Dear Experts, I am using wsld2java to generate classes from a wsdl. The wsdl has a reference to an xsd which defined a type as xs:double. the generated java code creates a double primitive. Is there a way to have the generated code as a java.lang.Double? -- View this message in context: http:/

Re: wsdl2java with external xsd binding help

2011-01-10 Thread zahid
I am using Maven. I thought this too so initially so I did add an extra step to create the JAXB artifacts in the build - so basically my maven POM looked like this.. pom dependencies plugin - cxf-codegen-plugin (wsdl2java target to generate java from wsdl) plugin - maven-jaxb

Re: wsdl2java with external xsd binding help

2011-01-06 Thread zahid
As a workaround - I have simply added the external xsd to the wsdl:types in the WSDL. Now when wsdl2java generates my client - it aslo generates the supporting classes in the xsd and I do not receive the Marshalling error anymore - this is not ideal as the WSDL is not supported by my team but it i

Re: wsdl2java with external xsd binding help

2011-01-06 Thread zahid
Hi Freeman Many thanks for your reply. Still unclear how to do what you have suggested. Taking a step back - I have used the sdl2java tool to generate a client service. My config is in cxf.xml which I put on the classpath. My cxf.xml currently looks like this.. http://www.springframework.org/sc

wsdl2java with external xsd binding help

2011-01-05 Thread zahid
hello, Im new to CXF and webservices in general. Can anybody explain to me how I can add xsd bindings to the JaxWsClientProxy? Basicaly I have used the wsdl2java tool to generate my bindings as defined in the WSDL for the webservie I am connecting to. This is all good and I have a client that tri