Ted Roeloffzen-2 wrote:
> 
> Hi All,
> I'm using CXf and i have a wierd problem.
> I have a class that has 2 dates.
> They are XMLGregorianCalendars.
> When i send the object to the server, the dates are null.
> I can't seem to figure out what i'm doing wrong.
> thanks
> 

Would it help to use Wireshark[1] in between to see if the dates are going
out on the wire?  Or do you already know the problem is with the web service
client *not* sending dates instead of the web service provider not properly
processing them?  Also, does that class have non-date fields that *are*
being picked up properly?

(You can also cheat and switch to java.util.Dates[2] but it would probably
be better to figure out what the problem is first and fix it.  You may have
the same problem even if you switched the type.)

HTH,
Glen

[1] http://www.jroller.com/gmazza/entry/soap_calls_over_wireshark
[2]
http://cxf.apache.org/docs/wsdl-to-java.html#WSDLtoJava-JAXWSCustomization
-- 
View this message in context: 
http://cxf.547215.n5.nabble.com/CXF-dates-are-empty-tp1045070p1045095.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to