axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thilo Frotscher (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Commented: (AXIS-2103) WSDL2Java: Generated doc/lit proxy sends "xsi:type" attributes
Date Thu, 07 Jul 2005 14:42:33 GMT
    [ http://issues.apache.org/jira/browse/AXIS-2103?page=comments#action_12315239 ] 

Thilo Frotscher commented on AXIS-2103:
---------------------------------------


Axis 1.2 contains this bug as well as Axis 1.2.1.
As stated above, Axis 1.2 RC3 works fine.

> WSDL2Java: Generated doc/lit proxy sends "xsi:type" attributes
> --------------------------------------------------------------
>
>          Key: AXIS-2103
>          URL: http://issues.apache.org/jira/browse/AXIS-2103
>      Project: Apache Axis
>         Type: Bug
>   Components: WSDL processing
>     Versions: 1.2.1
>     Reporter: Thilo Frotscher
>     Priority: Blocker

>
> I am using WSDL2Java to generate client proxies from WSDL for a doc/lit service.
> However, the generated proxy code sends SOAP requests that contain "xsi:type" attributes,
like so:
> ================
> <soapenv:Body>
>   <UploadRoomAvailabilityRequest EchoToken="My Echo Token" timeStamp="2005-07-07T14:20:55.209Z"
xmlns="http://www.foobar.com/xml/genRoomAvail/2005/5">
>     <TRUST_GenericRoomAvail>
>       <hotelCode xsi:type="xsd:string">XXXXXX</hotelCode>
>       <RoomAllotment>
>         <startDate xsi:type="xsd:dateTime">2005-07-07T14:20:55.209Z</startDate>
>         <numberOfDaysAffected xsi:type="xsd:int">1</numberOfDaysAffected>
>         <Inventory>
>           <roomTypeCode xsi:type="xsd:string">A1K</roomTypeCode>
>           <numberAlloted xsi:type="xsd:int">65</numberAlloted>
>           <status>open</status>
>           <minimumLengthOfStay xsi:type="xsd:int">1</minimumLengthOfStay>
>         </Inventory>
>       </RoomAllotment>
>     </TRUST_GenericRoomAvail>
>   </UploadRoomAvailabilityRequest>
> </soapenv:Body>
> ================
> However, this worked fine with Axis 1.2 RC3!!!
> Here's what a proxy sends that was generated with WSDL2Java from Axis 1.2 RC3, using
exactly the same WSDL file:
> ================
> <soapenv:Body>
>   <UploadRoomAvailabilityRequest EchoToken="My Echo Token" timeStamp="2005-07-07T14:18:25.712Z"
xmlns="http://www.foobar.com/xml/genRoomAvail/2005/5">
>     <TRUST_GenericRoomAvail>
>       <hotelCode>XXXXXX</hotelCode>
>       <RoomAllotment>
>         <startDate>2005-07-07</startDate>
>         <numberOfDaysAffected>1</numberOfDaysAffected>
>         <Inventory>
>           <roomTypeCode>A1K</roomTypeCode>
>           <numberAlloted>65</numberAlloted>
>           <status>open</status>
>           <minimumLengthOfStay>1</minimumLengthOfStay>
>         </Inventory>
>       </RoomAllotment>
>     </TRUST_GenericRoomAvail>
>   </UploadRoomAvailabilityRequest>
> </soapenv:Body>
> ================
> Obviously, the SOAP message sent by the Axis 1.2.1 proxy does not validate anymore against
the schema.
> Best Regards,
> Thilo

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message