Hello,

I am trying to consume an external web-service from ARS 8.1
I am showing only part of MessageType which is returned from the
web-service. This tag can either contain string or XML payload.

<xs:complexType name="MessageType">
  <xs:sequence>
    <xs:element name="XmlAnyPayload" minOccurs="0">
    <xs:complexType>
      <xs:sequence>
      <xs:any namespace="##any"/>
      </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="StringPayload" minOccurs="0">
    <xs:complexType>
      <xs:simpleContent>
      <xs:extension base="xs:string"/>
      </xs:simpleContent>
    </xs:complexType>
    </xs:element>
  </xs:sequence>
</xs:complexType>

When WS returns String paylaod, returned value of "StringPayload" is
correctly read in form field, but
when WS returns XmlAnyPayload returned value of "XmlAnyPayload" is not
getting read in form field. This field is remaining blank and there are no
errors to be seen anywhere in the logs.
Returned value looks something like
<XmlAnyPayload>
    <Deutschland>
        <Verein1>BM</verein1>
        <Verein2>BD</verein2>
    <Deutschland>
</XmlAnyPayload>

I was expecting
"<Deutschland><Verein1>BM</verein1><Verein2>BD</verein2><Deutschland>" this
to be saved in the form field, but it is seen as blank.

Any clues what might be going wrong?


~ Nathan

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
"Where the Answers Are, and have been for 20 years"

Reply via email to