You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Gavriloaie_andrei <an...@ean.ro> on 2003/07/16 17:10:53 UTC

Axis inline (not href) envelope limitation

Hi

Has anybody tried to deserialize an envelope like this?
I think NOT!!!!
If axis is the cause, than axis has a BIG problem. It can be used only by
java clients (generating envelopes using href).

This is a VALID SOAP Envelope. Why axis REFUSE to deserialize it?

The first array of beans within the parent root bean doesn't get
deserialized. In my example that array is textLanguageValue


<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" xmlns:SE="http://schemas.xmlsoap
org/soap/encoding/">
 <SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap
org/soap/encoding/">
  <ns0:echo_Variant xmlns:ns0="http://localhost:8090/">
   <test_Variant xsi:type="ns0:Variant">
    <dateValue xsi:nil="1"/>
    <doubleValue xsi:type="xsd:double">0</doubleValue>
    <integerValue xsi:type="xsd:int">0</integerValue>
    <key xsi:type="xsd:string">COD_PSTATUS</key>
    <longValue xsi:type="xsd:long">0</longValue>
    <stringValue xsi:type="xsd:string">REJ</stringValue>
    <textLanguageValue SE:arrayType="ns0:TextLanguage[1]">
     <item xsi:type="ns0:TextLanguage">
      <language xsi:type="xsd:string">selected language</language>
      <text xsi:type="xsd:string">text in selected language</text>
     </item>
    </textLanguageValue>
    <type xsi:type="xsd:string">STRING</type>
   </test_Variant>
  </ns0:echo_Variant>
 </SOAP-ENV:Body>
</SOAP-ENV:Envelope>