BusinessObjects Board

Problem consuming Adobe webservice

I am trying to consume a webservice with the following xml structure:

<?xml version="1.0" encoding="UTF-8"?>

-

-

-<s:schema targetNamespace=“urn:xtk:session” elementFormDefault=“qualified”>

-<s:complexType name=“Element”>
-<s:sequence>
<s:any processContents=“lax”/>
</s:sequence>
</s:complexType>

-<s:element name=“Logon”>
-<s:complexType>
-<s:sequence>
<s:element name=“sessiontoken” maxOccurs=“1” minOccurs=“1” type=“s:string”/>

<s:element name=“strLogin” maxOccurs=“1” minOccurs=“1” type=“s:string”/>

<s:element name=“strPassword” maxOccurs=“1” minOccurs=“1” type=“s:string”/>

<s:element name=“elemParameters” maxOccurs=“1” minOccurs=“1” type=“tns:Element”/>

</s:sequence>
</s:complexType>
</s:element>

DS is able to read the wsdl and generate the functions. However, I have not found a way to successfully map this parameter:

<s:element name=“elemParameters” maxOccurs=“1” minOccurs=“1” type=“tns:Element”/>

It is okay for this parameter to be blank, but it appears as a ‘schema’ in DS and I can’t pass a null schema. Please see attached, screenshot.
elem.JPG


chopper_41 (BOB member since 2013-11-07)

Hi,

For the
-<s:complexType name=“Element”>
-<s:sequence>
<s:any processContents=“lax”/>
</s:sequence>
</s:complexType>

is there any specific set of elements to be sent under:
<s:any processContents=“lax”/>
which the webservice is expecting.


Jay_mKumar :india: (BOB member since 2016-03-24)