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.
chopper_41 (BOB member since 2013-11-07)