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

Generate Proxy From WSDL File

Expand Messages
  • James Chan
    Hi everyone, I am trying to generate the proxy from this WSDL file which I have not been able to in the .NET environment. The WSDL file being.....
    Message 1 of 2 , Dec 3 4:56 PM
      Hi everyone,

      I am trying to generate the proxy from this WSDL file which I have not been
      able to in the .NET environment.

      The WSDL file being.....

      <?xml version="1.0" encoding="UTF-8"?>
      <definitions name="SoapStraightThrough"
      targetNamespace="http://tempuri.org/" xmlns:tns="http://tempuri.org/"
      xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
      xmlns:xsd="http://www.w3.org/2001/XMLSchema"
      xmlns:xsd1="urn:Fujitsu-Soap-Service-Data"
      xmlns="http://schemas.xmlsoap.org/wsdl/">
      <types>
      <schema targetNamespace="urn:Fujitsu-Soap-Service-Data"
      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">
      </schema>
      </types>
      <message name="CRF_SoapStraightThrough_DEFAULT_CRF_ServerAppl_input">
      <part name="messageID" type="xsd:string"/>
      <part name="datatype" type="xsd:string"/>
      <part name="inxmlp" type="xsd:string"/>
      </message>
      <message name="CRF_SoapStraightThrough_DEFAULT_CRF_ServerAppl_output">
      <part name="CRF_ServerAppl_result" type="xsd:int"/>
      <part name="outxmlp" type="xsd:string"/>
      </message>
      <portType name="DEFAULTPortType">
      <operation name="CRF_ServerAppl" parameterOrder="messageID datatype
      inxmlp outxmlp">
      <input
      message="tns:CRF_SoapStraightThrough_DEFAULT_CRF_ServerAppl_input"/>
      <output
      message="tns:CRF_SoapStraightThrough_DEFAULT_CRF_ServerAppl_output"/>
      </operation>
      </portType>
      <binding name="DEFAULT" type="tns:DEFAULTPortType">
      <soap:binding style="rpc"
      transport="http://schemas.xmlsoap.org/wsdl/http/"/>
      <operation name="CRF_ServerAppl">
      <soap:operation
      soapAction="http://tempuri.org/action/CRF_ServerAppl"/>
      <input>
      <soap:body use="encoded" namespace="soapTest"
      encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
      </input>
      <output>
      <soap:body use="encoded" namespace="soapTest"
      encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
      </output>
      </operation>
      </binding>
      <service name="CRF_SoapStraightThrough">

      <port name="DEFAULTPort" binding="tns:DEFAULT">
      <soap:address location="http://localhost/intersoap/s"/>
      </port>
      </service>
      </definitions>

      Can anyone help?

      Thanks.

      Regards
      James
    • Keith Ballinger
      The transport attribute on the binding is wrong: Should be
      Message 2 of 2 , Dec 3 6:20 PM

        The transport attribute on the binding is wrong:

         

        <soap:binding style="rpc"
        transport="http://schemas.xmlsoap.org/wsdl/http/"/>

         

        Should be

         

        <soap:binding style="rpc"
        transport="http://schemas.xmlsoap.org/soap/http"/>

         

        per http://www.w3.org/TR/wsdl#_soap:binding

         

        Otherwise, this looks fine.

         

        Thanks!

        Keith

         

        -----Original Message-----
        From: James Chan [mailto:jamesc@...]
        Sent: Monday, December 03, 2001 4:57 PM
        To: soapbuilders@yahoogroups.com
        Subject: [soapbuilders] Generate Proxy From WSDL File

         

        Hi everyone,

        I am trying to generate the proxy from this WSDL file which I have not been
        able to in the .NET environment.

        The WSDL file being.....

        <?xml version="1.0" encoding="UTF-8"?>
        <definitions name="SoapStraightThrough"
        targetNamespace="http://tempuri.org/" xmlns:tns="http://tempuri.org/"
        xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
        xmlns:xsd="http://www.w3.org/2001/XMLSchema"
        xmlns:xsd1="urn:Fujitsu-Soap-Service-Data"
        xmlns="http://schemas.xmlsoap.org/wsdl/">
          <types>
            <schema targetNamespace="urn:Fujitsu-Soap-Service-Data"
        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">
            </schema>
          </types>
          <message name="CRF_SoapStraightThrough_DEFAULT_CRF_ServerAppl_input">
            <part name="messageID" type="xsd:string"/>
            <part name="datatype" type="xsd:string"/>
            <part name="inxmlp" type="xsd:string"/>
          </message>
          <message name="CRF_SoapStraightThrough_DEFAULT_CRF_ServerAppl_output">
            <part name="CRF_ServerAppl_result" type="xsd:int"/>
            <part name="outxmlp" type="xsd:string"/>
          </message>
          <portType name="DEFAULTPortType">
            <operation name="CRF_ServerAppl" parameterOrder="messageID datatype
        inxmlp outxmlp">
              <input
        message="tns:CRF_SoapStraightThrough_DEFAULT_CRF_ServerAppl_input"/>
              <output
        message="tns:CRF_SoapStraightThrough_DEFAULT_CRF_ServerAppl_output"/>
            </operation>
          </portType>
          <binding name="DEFAULT" type="tns:DEFAULTPortType">
            <soap:binding style="rpc"
        transport="http://schemas.xmlsoap.org/wsdl/http/"/>
            <operation name="CRF_ServerAppl">
              <soap:operation
        soapAction="http://tempuri.org/action/CRF_ServerAppl"/>
              <input>
                <soap:body use="encoded" namespace="soapTest"
        encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
              </input>
              <output>
                <soap:body use="encoded" namespace="soapTest"
        encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
              </output>
            </operation>
          </binding>
          <service name="CRF_SoapStraightThrough">

            <port name="DEFAULTPort" binding="tns:DEFAULT">
              <soap:address location="http://localhost/intersoap/s"/>
            </port>
          </service>
        </definitions>

        Can anyone help?

        Thanks.

        Regards
        James



        -----------------------------------------------------------------
        This group is a forum for builders of SOAP implementations to discuss implementation and interoperability issues.  Please stay on-topic.

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



        Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
      Your message has been successfully submitted and would be delivered to recipients shortly.