Hello,

I have trying to use SOAP::Lite with SOAP::WSDL but an running into an issue with the WSDL file I think.

If I use SOAP::Lite alone, when I try to call a method, no matter how many parameters I pass it, only the last one is sent to the server ? When I use SOAL::Lite with SOAP::WSDL it complains that is can not find the input message for the method.

Any help would be appreciated.

Here is the wsdl file parts:
--snip--
<wsdl:types>
  <xsd:schema targetNamespace="https://mydomain.com/testservice";>
<xsd:element name="getIdForUser" type="r0:CredentialsType"></xsd:element>

    <xsd:complexType name="CredentialsType">
      <xsd:sequence>
        <xsd:element name="username" type="xsd:string"></xsd:element>
        <xsd:element name="password" type="xsd:string"></xsd:element>
      </xsd:sequence>
    </xsd:complexType>


<wsdl:message name="getIdForUserRequest">
  <wsdl:part name="getIdForUser" element="r0:getIdForUser"></wsdl:part>
</wsdl:message>
<wsdl:message name="getIdForUserResponse">
  <wsdl:part name="sessionId" element="r0:sessionId"></wsdl:part>
</wsdl:message>

<wsdl:portType name="TESTING">
  <wsdl:operation name="getIdForUser">
    <wsdl:input message="r0:getIdForUserRequest"></wsdl:input>
    <wsdl:output message="r0:getIdForUserResponse"></wsdl:output>
  </wsdl:operation>
</wsdl:portType>

    <wsdl:binding name="TESTINGSOAP" type="r0:TESTING">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> <wsdl:operation name="getIdForUser"><soap:operation soapAction="https://mydomain.com/testservice/getIdForUser"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation>
    </wsdl:binding>

<wsdl:service name="TESTING">
  <wsdl:port binding="r0:TESTINGSOAP" name="TESTINGSOAP">
    <soap:address location="https://mydomain.com/testservice"/>
  </wsdl:port>
</wsdl:service>
</wsdl:definitions>
--snip--

--
Michael Gale

Red Hat Certified Engineer
Network Administrator
Pason Systems Corp.

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to