axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Unai Uribarri (JIRA)" <axis-c-...@ws.apache.org>
Subject [jira] Created: (AXISCPP-346) Literal use of complex types in soap bindings with document style doesn't generate valid XML
Date Thu, 30 Dec 2004 12:22:05 GMT
Literal use of complex types in soap bindings with document style doesn't generate valid XML
--------------------------------------------------------------------------------------------

         Key: AXISCPP-346
         URL: http://nagoya.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://nagoya.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


Mime
View raw message