It's not enough for me to judge. There is a type named dateTime in the tns. What does that contain? This is the thing that is mapping to nothing.
On Sun, Sep 27, 2009 at 2:27 PM, Eugène Stassen <[email protected]>wrote: > > Hello, > > Here is a part of the XML file I get when I go to > "http://localhost:9000/ScheduleServerSource?wsdl" : > > <xs:complexType name="schedule"> > <xs:complexContent> > <xs:extension base="tns:syncable"> > <xs:sequence> > <xs:element minOccurs="0" name="building" type="tns:building"/> > <xs:element minOccurs="0" name="date" type="tns:dateTime"/> > <xs:element name="hidden" type="xs:boolean"/> > <xs:element minOccurs="0" name="hourFile" type="tns:hourFile"/> > <xs:element minOccurs="0" name="identity" type="tns:identity"/> > <xs:element minOccurs="0" name="installationFile" > type="tns:installationFile"/> > <xs:element minOccurs="0" name="orderFile" > type="tns:orderFile"/> > </xs:sequence> > </xs:extension> > </xs:complexContent> > </xs:complexType> > > > Is this wrong ? > > Thanks for your reply ! > > Eugène Stassen > > > > > bimargulies wrote: > > > > How does the WSDL for the service describe this item? > > > > On Sun, Sep 27, 2009 at 2:07 PM, Eugène Stassen > > <[email protected]>wrote: > > > >> > >> Hello, > >> > >> I have to call methods localized on a distant server. I can choose the > >> API > >> for the communication. I followed a tutorial on the CXF site ( > >> http://cxf.apache.org/docs/a-simple-jax-ws-service.html > >> http://cxf.apache.org/docs/a-simple-jax-ws-service.html ) and it works > >> very > >> well. Unfortunately, one of my object has a member variable like this : > >> > >> class MyObject > >> { > >> org.joda.time.DateTime date; > >> } > >> > >> When I look for the xml messages, the date field is transformed to this > : > >> "<date />". I can't find the way to do the change xml <-> java myself. > Is > >> there an easy way to do this (for example with annotations) ? > >> > >> I precise that I don't use Spring or other things like that, juste what > >> it > >> is said in the tutorial. And I am a noob in java entreprise > applications. > >> > >> Thanks ! > >> > >> Eugène Stassen > >> -- > >> View this message in context: > >> > http://www.nabble.com/Jax-Ws-and-org.joda.time.DateTime---tp25635981p25635981.html > >> Sent from the cxf-user mailing list archive at Nabble.com. > >> > >> > > > > > > -- > View this message in context: > http://www.nabble.com/Jax-Ws-and-org.joda.time.DateTime---tp25635981p25636207.html > Sent from the cxf-user mailing list archive at Nabble.com. > >
