Re: DateTime format problem (was Re: Looking for suggestions on how to troubleshot this webservice error?)

2007-08-09 Thread Phillip Baird
Cannot get past.. WSDLToJava Error : Thrown by JAXB : JAXB version attribute must be present Tried adding jaxb:version=2.0 to the root jaxws:bindings element but this did not help. Any suggestions? thanks Phil James Mao wrote: Hi Phil, Here is an example, jaxws:bindings

Re: DateTime format problem (was Re: Looking for suggestions on how to troubleshot this webservice error?)

2007-08-09 Thread James Mao
Strange, I can pass this without error, do you replace the wsdlLocation and the targetNamespace? What's the version of CXF are you using? what's the jdk version? Can you try with hello_world.wsdl in samples, just change one of the type to xsd:dateTime, see if it works If you still got errors,

Re: DateTime format problem (was Re: Looking for suggestions on how to troubleshot this webservice error?)

2007-08-09 Thread James Mao
Hi Phil, Looks like a bug, Can you log an issue, turn on the -V to get the stack trace, and put it on the jira. https://issues.apache.org/jira/browse/CXF Thanks, James This is what I changed the file to... jaxws:bindings

DateTime format problem (was Re: Looking for suggestions on how to troubleshot this webservice error?)

2007-08-08 Thread Phillip Baird
Have discovered how to log with interceptors and this has shown that the string representation of the outgoing dateTime does not appear to be valid. From the wsdl a field is mapped as xs:dateTime... xs:element msdata:Caption=Ship By minOccurs=0 name=RequestDate type=xs:dateTime/ When this

Re: DateTime format problem (was Re: Looking for suggestions on how to troubleshot this webservice error?)

2007-08-08 Thread James Mao
What about use the java.util.Calendar or java.util.Date? will that make any difference? I have not tried your testcase, but you can try add a jaxws binding file when you do wsdl2java to map the xsd:dataTime to java.util.Calendar James Have discovered how to log with interceptors and this has

Re: DateTime format problem (was Re: Looking for suggestions on how to troubleshot this webservice error?)

2007-08-08 Thread Phillip Baird
Thanks James, I'll give this a go but I'm not familiar with the binding file format. This is what I've got from numerous web searches. Think I'm missing a node attribute with a xpath query but not sure what it should look like. jaxws:bindings

Re: DateTime format problem (was Re: Looking for suggestions on how to troubleshot this webservice error?)

2007-08-08 Thread James Mao
Hi Phil, Here is an example, jaxws:bindings wsdlLocation=you wsdl location xmlns:jaxws=http://java.sun.com/xml/ns/jaxws; xmlns:xs=http://www.w3.org/2001/XMLSchema; xmlns:jxb=http://java.sun.com/xml/ns/jaxb; xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/;