You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "John Hawkins (JIRA)" <ax...@ws.apache.org> on 2005/02/14 14:49:11 UTC

[jira] Closed: (AXISCPP-346) Literal use of complex types in soap bindings with document style doesn't generate valid XML

     [ http://issues.apache.org/jira/browse/AXISCPP-346?page=history ]
     
John Hawkins closed AXISCPP-346:
--------------------------------

    Resolution: Fixed

I think this means it's closed !

> Literal use of complex types in soap bindings with document style doesn't generate valid XML
> --------------------------------------------------------------------------------------------
>
>          Key: AXISCPP-346
>          URL: http://issues.apache.org/jira/browse/AXISCPP-346
>      Project: Axis-C++
>         Type: Bug
>   Components: WSDL processing
>     Versions: 1.4 Final
>  Environment: RedHat9
>     Reporter: Unai Uribarri
>  Attachments: provision.wsdl
>
> If a soap binding with document style uses literal message parts, then the stubs generated by wsdl2ws generates an invalid XML document.
> For example the stubs of the attached wsdl is generating this response. Look at <servicioSincronoReturn<Map ..., and <item<mapItem... First is the element name and then the type name separated by '<'
> <?xml version='1.0' encoding='utf-8' ?>
> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> <SOAP-ENV:Body>
> <ns1:servicioSincronoResponse xmlns:ns1="http://antispam.webservice.optenet.com">
> <servicioSincronoReturn<Map xsi:type="ns2:Map" xmlns:ns2="http://xml.apache.org/xml-soap/"><item<mapItem><key>MENS-IN-TIPMEN</key>
> <value>E</value>
> </mapItem></item><item<mapItem><key>MENS-NU-MENSA</key>
> <value>1041</value>
> </mapItem></item><item<mapItem><key>MENS-NO-MENSA</key>
> <value>Error en el gateway SOAP: falla la conexion con el gestor central</value>
> </mapItem></item></Map></servicioSincronoReturn>
> </ns1:servicioSincronoResponse>
> </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira