DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8476>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8476

Serialization: problem with multiRef id for complex call parms

           Summary: Serialization: problem with multiRef id for complex call
                    parms
           Product: Axis
           Version: beta-1
          Platform: Sun
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Serialization/Deserialization
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


serialization does not handle complex types correctly:

i have registered all complex types to the call object.
when invoking the call it creates a xml doc containing hrefs
pointing to the content of the complex objects - but the first
href ("id0") is not valid as the first multiRef id is set to "" :-(
see the msg below

why do you move the content to that multiRef tag anyway and not keep
that content within the parameter's tag?


<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope SOAP-
ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; 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"; xmlns:SOAP-
ENC="http://schemas.xmlsoap.org/soap/encoding/";>
 <SOAP-ENV:Body>
  <ns1:getPortletMarkup xmlns:ns1="urn:rpirouter">
   <handle xsi:type="xsd:string">1019662966919@467376</handle>
   <WSRPMarkupRequest href="#id0"/>
  </ns1:getPortletMarkup>
  <multiRef id="" SOAP-ENC:root="0" xsi:type="ns2:WSRPMarkupRequest" 
xmlns:ns2="urn:com.ibm.wps.ws.WSXL">
   <method xsi:nil="true"/>
   <memento xsi:nil="true"/>
   <userData href="#id1"/>
   <portletMode xsi:type="xsd:int">0</portletMode>
   <encodedLocale xsi:type="xsd:string">de</encodedLocale>
   <portletWindowState xsi:type="xsd:int">0</portletWindowState>
   <charSet xsi:nil="true"/>
   <mimeHeaders xsi:nil="true"/>
   <isSecure xsi:type="xsd:boolean">false</isSecure>
   <clientData xsi:nil="true"/>
   <contentType xsi:nil="true"/>
   <previousPortletMode xsi:type="xsd:int">3</previousPortletMode>
   <parameters xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="ns2:Parameter[0]"/>
  </multiRef>
  <multiRef id="id1" SOAP-ENC:root="0" xsi:type="ns3:ClientData" 
xmlns:ns3="urn:com.ibm.wps.ws.WSXL">
   <ID xsi:nil="true"/>
   <familyName xsi:nil="true"/>
   <givenName xsi:nil="true"/>
   <userID xsi:nil="true"/>
   <lastLoginTime xsi:type="xsd:long">-1</lastLoginTime>
   <nickName xsi:nil="true"/>
   <fullName xsi:type="xsd:string">pf</fullName>
  </multiRef>
 </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Reply via email to