Graf - 2011-05-20

Hi all, i have a problem with a complex type as parameter in the call-function.

I have always this Error:

wsdl error: http://tbx.ch/ws/io/:TwsInputSPServiceAccess (TwsInputSPServiceAccess) is not a supported type.

Here is the call:

$arrRequest = TRUE;
$arrRequest = TRUE;
$arrRequest = TRUE;
$arrRequest = TRUE;
$arrRequest = TRUE;
$arrRequest = TRUE;
$arrRequest = 10;
$arrRequest = 10;
$arrRequest = TRUE;

$this->m_result = $this->m_service->call('getServiceProvider', array('serviceProviderID' => $this->m_ServiceProviderID,
'inputSPServiceAccess' => $arrRequest,
'languageCode' => $this->m_languageCode, 'sessionID' => $this->m_sessionID ));

The function in the WSDL-File is look like this:

<xsd:element name="getServiceProvider">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="serviceProviderID" type="xsd:string"/>
<xsd:element name="inputSPServiceAccess" type="tws:TwsInputSPServiceAccess"/>
<xsd:element name="languageCode" type="xsd:string"/>
<xsd:element name="sessionID" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>

and the Type is defined so:

<complexType name="TwsInputSPServiceAccess">
<sequence>
<element name="addAddress" default="true" type="boolean"/>
<element name="addDescriptions" default="false" type="boolean"/>
<element name="addFeatures" default="false" type="boolean"/>
<element name="addDataClassAttributes" default="false" type="boolean"/>
<element name="addMultimedia" default="false" type="boolean"/>
<element name="addMultimediaURLs" default="false" type="boolean"/>
<element name="addLocations" default="false" type="boolean"/>
<element name="imageWidth" type="integer" minOccurs="0" maxOccurs="1"/>
<element name="imageHeight" type="integer" minOccurs="0" maxOccurs="1"/>
<element name="addExternalOnlineServices" default="false" type="boolean"/>
</sequence>
</complexType>

Sorry for my bad English. Can you help me please?