Hello all,
I try to use an one-dimensional array in a WSDL file.
It shouldn’t be as hard to realize that.
I couldn't find anything useful about array but in http://www.w3.org/TR/wsdl.
So I've tried to correct my code. It looks now almost the same as the wc3
example.
But it still doesn't work. Can someone send me a working WSDL file including
StringArray please?
Or could someone take a look at my WSDL code below, maybe I've overseen something.
It can’t be as difficult.
I appreciate every help, since I’ve tried everything :(
Houman
<?xml version='1.0' encoding='UTF-8' ?>
<!-- Generated 05/23/02 by Microsoft SOAP Toolkit WSDL File Generator,
Version 3.00.1124.0 -->
<definitions
name='SoapInTempo'
targetNamespace='http://tempuri.org/SoapInTempo/wsdl/'
xmlns:wsdlns='http://tempuri.org/SoapInTempo/wsdl/'
xmlns:typens='http://tempuri.org/SoapInTempo/type/'
xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/'
xmlns:xsd='http://www.w3.org/2001/XMLSchema'
xmlns:stk='http://schemas.microsoft.com/soap-toolkit/wsdl-extension'
xmlns:dime='http://schemas.xmlsoap.org/ws/2002/04/dime/wsdl/'
xmlns:ref='http://schemas.xmlsoap.org/ws/2002/04/reference/'
xmlns:content='http://schemas.xmlsoap.org/ws/2002/04/content-type/'
xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/'
xmlns='http://schemas.xmlsoap.org/wsdl/'>
<types>
<schema
targetNamespace='http://tempuri.org/SoapInTempo/type/'
xmlns='http://www.w3.org/2001/XMLSchema'
xmlns:SOAP-ENC='http://schemas.xmlsoap.org/soap/encoding/'
xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/'
elementFormDefault='qualified'>
<import
namespace='http://schemas.xmlsoap.org/soap/encoding/'/>
<import namespace='http://schemas.xmlsoap.org/wsdl/'/>
<import
namespace='http://schemas.xmlsoap.org/ws/2002/04/reference/'/>
<import
namespace='http://schemas.xmlsoap.org/ws/2002/04/content-type/'/>
<complexType name="ArrayOfString">
<complexContent>
<restriction base="SOAP-ENC:Array">
<attribute
ref="SOAP-ENC:arrayType"
wsdl:arrayType="xsd:string[]"/>
</restriction>
</complexContent>
</complexType>
</schema>
</types>
<message name='LogIn.makeConnection'>
<part name='uid' type='xsd:string'/>
<part name='password' type='xsd:string'/>
</message>
<message name='LogIn.makeConnectionResponse'>
<part name='Result' type='xsd:ArrayOfString'/>
</message>
<portType name='LogInSoapPort'>
<operation name='makeConnection' parameterOrder='uid password'>
<input message='wsdlns:LogIn.makeConnection'/>
<output message='wsdlns:LogIn.makeConnectionResponse'/>
</operation>
</portType>
<binding name='LogInSoapBinding' type='wsdlns:LogInSoapPort' >
<stk:binding preferredEncoding='UTF-8'/>
<soap:binding style='rpc'
transport='http://schemas.xmlsoap.org/soap/http'/>
<operation name='makeConnection'>
<soap:operation
soapAction='http://tempuri.org/SoapInTempo/action/LogIn.makeConnection'/>
<input>
<soap:body
use='encoded'
namespace='http://tempuri.org/SoapInTempo/message/'
encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'
parts='uid password'/>
</input>
<output>
<soap:body
use='encoded'
namespace='http://tempuri.org/SoapInTempo/message/'
encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'
parts='Result'/>
</output>
</operation>
</binding>
<service name='SoapInTempo' >
<port name='LogInSoapPort' binding='wsdlns:LogInSoapBinding' >
<soap:address location='http://localhost/server/SoapInTempo.ASP'/>
</port>
</service>
</definitions>
|