Hi,
Pablo wrote:
Hi at all!
How can i send a DATA (not a DataTime) Type to a Java WebService?
In .NET we have only a DataTime that is incompatible with the Data
(calendar) Type of Java!
How can i resolve this problem?
I can't modify the java web-service and i need to send a simple
data!!!
AAARGH :P Help me!
Tnx at all!
Do you mean Date, resp DateTime? And do you mean a JavaScript webservice?
In any case, it is good to keep things simple when you program a
webservice. The serialization/deserialization time and difficulty must
not be neglected, since everything is sent in text form (XML over HTTP).
I recommend you to use a string representation of your Date/DateTime,
and to plan a little logic to code/decode this value on the server,
respectively on the client.
I hope that helps,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering:
http://www.galasoft-LB.ch
Private/Malaysia:
http://mypage.bluewin.ch/lbugnion
Support children in Calcutta:
http://www.calcutta-espoir.ch