Loading ...
Sorry, an error occurred while loading the content.

WSDL problems??

Expand Messages
  • kedsbarve
    All: I am having problems accessing this WSDL. Can somebody help me in validating the following WSDL document. When I access this WSDL from a SOAP/Lite client,
    Message 1 of 3 , May 5, 2003
    • 0 Attachment
      All:

      I am having problems accessing this WSDL. Can somebody help me in
      validating the following WSDL document. When I access this WSDL from
      a SOAP/Lite client, it works fine. But when I access it using a non-
      SOAP/Lite client, I am getting errors.

      I generated this WSDL using the WSDL::Generator module and then
      modified it by hand to make it work (only works fine with soap/lite
      client)

      Error: Failed to access class (ldapControl.xsd) at
      D:/Perl/site/lib/SOAP/Lite.pm line 2131.

      ------------- WSDL Document -----------------------
      <?xml version="1.0"?>
      <definitions name="ldapControl"
      xmlns:xsd="http://www.w3.org/2001/XMLSchema"
      xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
      targetNamespace="http://10.21.29.182/ldapControl"
      xmlns:tns="http://10.21.29.182/ldapControl"
      xmlns="http://schemas.xmlsoap.org/wsdl/"
      xmlns:xsdl="http://10.21.29.182/ldapControl.xsd">
      <types>
      <xsd:schema
      targetNamespace="http://10.21.29.182/ldapControl.xsd"
      xmlns:xsd="http://www.w3.org/2000/10/XMLSchema">
      <xsd:element name="authenticateUserRequest">
      <xsd:complexType>
      <xsd:all>
      <xsd:element name="username"
      type="xsd:string" />
      <xsd:element name="password"
      type="xsd:string" />
      </xsd:all>
      </xsd:complexType>
      </xsd:element>
      <xsd:element name="authenticateUserResponse">
      <xsd:complexType>
      <xsd:all>
      <xsd:element
      name="authenticateUserResult" type="xsd:string" />
      </xsd:all>
      </xsd:complexType>
      </xsd:element>
      </xsd:schema>
      </types>
      <message name="authenticateUserRequest">
      <part name="authenticateUserRequestSoapMsg"
      element="xsdl:authenticateUserRequest"/>
      </message>
      <message name="authenticateUserResponse">
      <part name="authenticateUserResponseSoapMsg"
      element="xsdl:authenticateUserResponse"/>
      </message>
      <portType name="ldapControlPortType">
      <operation name="authenticateUser">
      <input
      message="tns:authenticateUserRequest" />
      <output
      message="tns:authenticateUserResponse" />
      </operation>
      </portType>
      <binding name="ldapControlSoapBinding"
      type="tns:ldapControlPortType">
      <soap:binding style="document"
      transport="http://schemas.xmlsoap.org/soap/http"/>
      <operation name="authenticateUser">
      <soap:operation style="document"
      soapAction="http://10.21.29.182/ldapControl#authenticateUser"/>
      <input>
      <soap:body use="literal"
      namespace="http://10.21.29.182/ldapControl"/>
      </input>
      <output>
      <soap:body use="literal"
      namespace="http://10.21.29.182/ldapControl"/>
      </output>
      </operation>
      </binding>
      <service name="ldapControl">
      <documentation>
      LDAP Control module
      </documentation>
      <port name="GetldapControlPort"
      binding="tns:ldapControlSoapBinding">
      <soap:address
      location="http://10.21.29.182/webperl/ldap.pl"/>
      </port>
      </service>
      </definitions>

      ---------- WSDL document _end_ ----------------------------------

      Thanks in advance.
      Kedar
    • kedsbarve
      All: I am having problems accessing this WSDL. Can somebody help me in validating the following WSDL document. When I access this WSDL from a SOAP/Lite client,
      Message 2 of 3 , May 5, 2003
      • 0 Attachment
        All:

        I am having problems accessing this WSDL. Can somebody help me in
        validating the following WSDL document. When I access this WSDL from
        a SOAP/Lite client, it works fine. But when I access it using a non-
        SOAP/Lite client, I am getting errors.

        I generated this WSDL using the WSDL::Generator module and then
        modified it by hand to make it work (only works fine with soap/lite
        client)

        Error: Failed to access class (ldapControl.xsd) at
        D:/Perl/site/lib/SOAP/Lite.pm line 2131.

        ------------- WSDL Document -----------------------
        <?xml version="1.0"?>
        <definitions name="ldapControl"
        xmlns:xsd="http://www.w3.org/2001/XMLSchema"
        xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
        targetNamespace="http://10.21.29.182/ldapControl"
        xmlns:tns="http://10.21.29.182/ldapControl"
        xmlns="http://schemas.xmlsoap.org/wsdl/"
        xmlns:xsdl="http://10.21.29.182/ldapControl.xsd">
        <types>
        <xsd:schema
        targetNamespace="http://10.21.29.182/ldapControl.xsd"
        xmlns:xsd="http://www.w3.org/2000/10/XMLSchema">
        <xsd:element name="authenticateUserRequest">
        <xsd:complexType>
        <xsd:all>
        <xsd:element name="username"
        type="xsd:string" />
        <xsd:element name="password"
        type="xsd:string" />
        </xsd:all>
        </xsd:complexType>
        </xsd:element>
        <xsd:element name="authenticateUserResponse">
        <xsd:complexType>
        <xsd:all>
        <xsd:element
        name="authenticateUserResult" type="xsd:string" />
        </xsd:all>
        </xsd:complexType>
        </xsd:element>
        </xsd:schema>
        </types>
        <message name="authenticateUserRequest">
        <part name="authenticateUserRequestSoapMsg"
        element="xsdl:authenticateUserRequest"/>
        </message>
        <message name="authenticateUserResponse">
        <part name="authenticateUserResponseSoapMsg"
        element="xsdl:authenticateUserResponse"/>
        </message>
        <portType name="ldapControlPortType">
        <operation name="authenticateUser">
        <input
        message="tns:authenticateUserRequest" />
        <output
        message="tns:authenticateUserResponse" />
        </operation>
        </portType>
        <binding name="ldapControlSoapBinding"
        type="tns:ldapControlPortType">
        <soap:binding style="document"
        transport="http://schemas.xmlsoap.org/soap/http"/>
        <operation name="authenticateUser">
        <soap:operation style="document"
        soapAction="http://10.21.29.182/ldapControl#authenticateUser"/>
        <input>
        <soap:body use="literal"
        namespace="http://10.21.29.182/ldapControl"/>
        </input>
        <output>
        <soap:body use="literal"
        namespace="http://10.21.29.182/ldapControl"/>
        </output>
        </operation>
        </binding>
        <service name="ldapControl">
        <documentation>
        LDAP Control module
        </documentation>
        <port name="GetldapControlPort"
        binding="tns:ldapControlSoapBinding">
        <soap:address
        location="http://10.21.29.182/webperl/ldap.pl"/>
        </port>
        </service>
        </definitions>

        ---------- WSDL document _end_ ----------------------------------

        Thanks in advance.
        Kedar
      • Michael Grinnell
        I ve found the WSDL analyzer at http://www.xmethods.net to be invaluable in detecting WSDL errors. Click on the tools link. It s not perfect, but generally,
        Message 3 of 3 , May 5, 2003
        • 0 Attachment

          I've found the WSDL analyzer at http://www.xmethods.net to be invaluable in detecting WSDL errors.  Click on the tools link.  It's not perfect, but generally, if your WSDL file passes, then it will be ok for some of the pickier clients.

          Instead of using the complexType construct, try a two part request, like this
          - <message name="getHealthRequest">
            <part name="ServerName" type="xsd:string" />
            <part name="ServerType" type="xsd:string" />
            </message>
          - <message name="getHealthResponse">
            <part name="Response" type="xsd:string" />
            </message>
          That works fine for me with a ColdFusion client, which uses axis.

          Michael Grinnell
          Network Security Analyst
          The American University
          e-mail: grinnell@...



          "kedsbarve" <kedsbarve@...>

          05/05/2003 12:24 PM

                 
                  To:        soaplite@yahoogroups.com
                  cc:        
                  Subject:        [soaplite] WSDL problems??



          All:

          I am having problems accessing this WSDL. Can somebody help me in
          validating the following WSDL document. When I access this WSDL from
          a SOAP/Lite client, it works fine. But when I access it using a non-
          SOAP/Lite client, I am getting errors.

          I generated this WSDL using the WSDL::Generator module and then
          modified it by hand to make it work (only works fine with soap/lite
          client)

          Error: Failed to access class (ldapControl.xsd) at
          D:/Perl/site/lib/SOAP/Lite.pm line 2131.

          ------------- WSDL Document -----------------------
          <?xml version="1.0"?>
          <definitions name="ldapControl"
          xmlns:xsd="http://www.w3.org/2001/XMLSchema"
          xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
          targetNamespace="http://10.21.29.182/ldapControl"
          xmlns:tns="http://10.21.29.182/ldapControl"
          xmlns="http://schemas.xmlsoap.org/wsdl/"
          xmlns:xsdl="http://10.21.29.182/ldapControl.xsd">
                          <types>
                                           <xsd:schema
          targetNamespace="http://10.21.29.182/ldapControl.xsd"
          xmlns:xsd="http://www.w3.org/2000/10/XMLSchema">
                                                            <xsd:element name="authenticateUserRequest">
                                                               <xsd:complexType>
                                                                 <xsd:all>
                                                                             <xsd:element name="username"
          type="xsd:string" />
                                                                             <xsd:element name="password"
          type="xsd:string" />
                                                                 </xsd:all>
                                                               </xsd:complexType>
                                                            </xsd:element>
                                                            <xsd:element name="authenticateUserResponse">
                                                               <xsd:complexType>
                                                                 <xsd:all>
                                                                             <xsd:element
          name="authenticateUserResult" type="xsd:string" />
                                                                 </xsd:all>
                                                               </xsd:complexType>
                                                            </xsd:element>
                                           </xsd:schema>
                          </types>
                          <message name="authenticateUserRequest">
                                           <part name="authenticateUserRequestSoapMsg"
          element="xsdl:authenticateUserRequest"/>
                          </message>
                          <message name="authenticateUserResponse">
                                           <part name="authenticateUserResponseSoapMsg"
          element="xsdl:authenticateUserResponse"/>
                          </message>
                          <portType name="ldapControlPortType">
                                           <operation name="authenticateUser">
                                                            <input
          message="tns:authenticateUserRequest" />
                                                            <output
          message="tns:authenticateUserResponse" />
                                           </operation>
                          </portType>
                          <binding name="ldapControlSoapBinding"
          type="tns:ldapControlPortType">
                                           <soap:binding style="document"
          transport="http://schemas.xmlsoap.org/soap/http"/>
                                                            <operation name="authenticateUser">
                                                                             <soap:operation style="document"
          soapAction="http://10.21.29.182/ldapControl#authenticateUser"/>
                                                                             <input>
                                                                                              <soap:body use="literal"
          namespace="http://10.21.29.182/ldapControl"/>
                                                                             </input>
                                                                             <output>
                                                                                              <soap:body use="literal"
          namespace="http://10.21.29.182/ldapControl"/>
                                                                             </output>
                                                            </operation>
                          </binding>
                          <service name="ldapControl">
                                           <documentation>
                                                            LDAP Control module
                                           </documentation>
                                           <port name="GetldapControlPort"
          binding="tns:ldapControlSoapBinding">
                                                            <soap:address
          location="http://10.21.29.182/webperl/ldap.pl"/>
                                           </port>
                          </service>
          </definitions>

          ---------- WSDL document _end_ ----------------------------------

          Thanks in advance.
          Kedar



          ------------------------ Yahoo! Groups Sponsor ---------------------~-->
          Rent DVDs Online - Over 14,500 titles.
          No Late Fees & Free Shipping.
          Try Netflix for FREE!
          http://us.click.yahoo.com/YoVfrB/XP.FAA/uetFAA/W6uqlB/TM
          ---------------------------------------------------------------------~->

          To unsubscribe from this group, send an email to:
          soaplite-unsubscribe@yahoogroups.com



          Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/



        Your message has been successfully submitted and would be delivered to recipients shortly.