Let me clarify. I'm using wsdl2Java not java2wsdl. I'm using the wsdl2Java to create the stubs and skeletons and then I'm replacing the generated beans with the beans I already have.
Is it possible that wsdl2Java is generating JAX-RPC 1.0 (time is a org.apache.axis.types.Time) objects instead of JAX-RPC 1.1(time is a calendar)? Is there a switch that controls this?
Joe
| "Martin Gainty"
<[EMAIL PROTECTED]>
10/10/2006 10:42 AM
|
|
Joseph-
I dont know why Java2WSDL is generating an incorrect datatype
as an intermediate step what happens if you change the WSDL item's datatype to
type="xsd:Calendar"
Martin --
This e-mail communication and any attachments may contain confidential and privileged information for the use of the
designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received
this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its
conte
----- Original Message -----
From: Joseph Vincens
To: [email protected]
Sent: Tuesday, October 10, 2006 10:19 AM
Subject: Re: Urgent question on Axis 1.3
I tried that but then when Axis tries to deserializes the incoming message it says that the date is invalid, because the message being received is a time and has no date fields. Is there a way to get Axis to deserialize the time to a Calendar?
Joe
| "Davanum Srinivas"
<[EMAIL PROTECTED]>
10/10/2006 09:56 AM
|
|
xsd:dateTime
On 10/10/06, Joseph Vincens <[EMAIL PROTECTED]> wrote:
>
> I have an existing set of Beans and 1 bean has a field that is defined as a
> java.util.Calendar and the wsdl has the field as a xsd:time. When I run the
> wsdl2Java the code generated is expecting the field to be of type
> org.apache.axis.types.Time. What am i doing wrong? Is there a way to get the
> wsdl2Java to generate code that expects a Calendar?
>
> Joe
>
--
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
