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

.Net Release Error?

Expand Messages
  • dakolkar
    Hi All, I m having problem with .Net Release version. Wsdl attached here is working ok with .Net Beta versions. But now with release it s giving me error as,
    Message 1 of 1 , Aug 2, 2002
    • 0 Attachment
      Hi All,

      I'm having problem with .Net Release version. Wsdl attached here is
      working ok with .Net Beta versions. But now with release it's giving me
      error as,
      "Custom tool error: Unable to important WebService/Schema.
      Can't specify element= on encoded message parts. Part is
      named 'MagicHeader_doc' in message 'MagicHeader'. "

      when i try to add webreference using this wsdl.

      is anything wrong with my wsdl? Please help.

      <?xml version="1.0" encoding="UTF-8"?>
      <definitions targetNamespace="urn:magic.DEVENDRA.BankDemo"
      xmlns="http://schemas.xmlsoap.org/wsdl/"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns:xsd="http://www.w3.org/2001/XMLSchema"
      xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"

      xmlns:xsdHeader_rpc="urn:magic.DEVENDRA.BankDemo/headers_rpc.xs
      d"

      xmlns:xsdHeader_doc="urn:magic.DEVENDRA.BankDemo/headers_doc.x
      sd"
      xmlns:tns="urn:magic.DEVENDRA.BankDemo"
      xmlns:xsdin6="http://tran_in_doc/"
      xmlns:xsdout6="http://tran_out_doc/"
      >

      <types>
      <schema
      targetNamespace="urn:magic.DEVENDRA.BankDemo/headers_rpc.xsd"
      xmlns="http://www.w3.org/2001/XMLSchema">
      <complexType name="MagicHeader_rpc" >
      <sequence>
      <element name="username" type="xsd:string"/>
      <element name="password" type="xsd:string"/>
      </sequence>
      </complexType>
      </schema>
      <schema
      targetNamespace="urn:magic.DEVENDRA.BankDemo/headers_doc.xsd"
      xmlns="http://www.w3.org/2001/XMLSchema">
      <element name="MagicHeader_doc"
      type="xsdHeader_doc:MagicHeader_doc"/>
      <complexType name="MagicHeader_doc">
      <sequence>
      <element name="username" type="xsd:string"/>
      <element name="password" type="xsd:string"/>
      </sequence>
      </complexType>
      </schema>
      </types>

      <import namespace="http://tran_in_doc/"
      location="http://localhost/Magic93scripts/wsdl/tran_in_doc.xsd"/>
      <import namespace="http://tran_out_doc/"
      location="http://localhost/Magic93scripts/wsdl/tran_out_doc.xsd"/>

      <message name="MagicHeader">
      <part name="MagicHeader_rpc"
      type="xsdHeader_rpc:MagicHeader_rpc" />
      <part name="MagicHeader_doc"
      element="xsdHeader_doc:MagicHeader_doc" />
      </message>

      <message name="NewAcc">
      <part name="username" type="xsd:string" />
      <part name="password" type="xsd:string" />
      </message>
      <message name="NewAccResponse">
      <part name="NewAcc_Ret" type= "xsd:double" />
      </message>
      <message name="getAccountId">
      <part name="UserName" type="xsd:string" />
      <part name="Password" type="xsd:string" />
      </message>
      <message name="getAccountIdResponse">
      <part name="getAccountId_Ret" type= "xsd:double" />
      </message>
      <message name="getBalance">
      <part name="AccountID" type="xsd:unsignedInt" />
      </message>
      <message name="getBalanceResponse">
      <part name="getBalance_Ret" type= "xsd:double" />
      </message>
      <message name="doTran">
      <part name="AccountID" type="xsd:unsignedInt" />
      <part name="TransctionType" type="xsd:string" />
      <part name="TranAccount" type="xsd:double" />
      </message>
      <message name="doTranResponse">
      <part name="doTran_Ret" type= "xsd:double" />
      </message>
      <message name="TransactionsXML_soap">
      <part name="xml_document_in" element="xsdin6:tran_doc_type" />
      </message>
      <message name="TransactionsXML_soapResponse">
      <part name="TransactionsXML_soap_Ret"
      element="xsdout6:TransactionsXML" />
      </message>
      <message name="ChangePass">
      <part name="AccountId" type="xsd:unsignedInt" />
      <part name="OldPassword" type="xsd:string" />
      <part name="NewPassword" type="xsd:string" />
      </message>
      <message name="ChangePassResponse">
      <part name="ChangePass_Ret" type= "xsd:boolean" />
      </message>

      <portType name="BankDemoPortType">
      <operation name="NewAcc">
      <input message="tns:NewAcc" />
      <output message="tns:NewAccResponse"/>
      </operation>
      <operation name="getAccountId">
      <input message="tns:getAccountId" />
      <output message="tns:getAccountIdResponse"/>
      </operation>
      <operation name="getBalance">
      <input message="tns:getBalance" />
      <output message="tns:getBalanceResponse"/>
      </operation>
      <operation name="doTran">
      <input message="tns:doTran" />
      <output message="tns:doTranResponse"/>
      </operation>
      <operation name="TransactionsXML_soap">
      <input message="tns:TransactionsXML_soap" />
      <output message="tns:TransactionsXML_soapResponse"/>
      </operation>
      <operation name="ChangePass">
      <input message="tns:ChangePass" />
      <output message="tns:ChangePassResponse"/>
      </operation>
      </portType>

      <binding name="BankDemoBinding"
      type="tns:BankDemoPortType">
      <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
      <operation name="NewAcc">
      <documentation></documentation>
      <soap:operation soapAction="rpc:BankDemo/NewAcc"
      style="rpc" />
      <input>
      <soap:body use="encoded"
      namespace="urn:magic.DEVENDRA.BankDemo"
      encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
      <soap:header message="tns:MagicHeader"
      part="MagicHeader_rpc" use="encoded"
      encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
      </input>
      <output>
      <soap:body use="encoded"
      namespace="urn:magic.DEVENDRA.BankDemo"
      encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
      </output>
      </operation>
      <operation name="getAccountId">
      <documentation></documentation>
      <soap:operation soapAction="rpc:BankDemo/getAccountId"
      style="rpc" />
      <input>
      <soap:body use="encoded"
      namespace="urn:magic.DEVENDRA.BankDemo"
      encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
      <soap:header message="tns:MagicHeader"
      part="MagicHeader_rpc" use="encoded"
      encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
      </input>
      <output>
      <soap:body use="encoded"
      namespace="urn:magic.DEVENDRA.BankDemo"
      encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
      </output>
      </operation>
      <operation name="getBalance">
      <documentation></documentation>
      <soap:operation soapAction="rpc:BankDemo/getBalance"
      style="rpc" />
      <input>
      <soap:body use="encoded"
      namespace="urn:magic.DEVENDRA.BankDemo"
      encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
      <soap:header message="tns:MagicHeader"
      part="MagicHeader_rpc" use="encoded"
      encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
      </input>
      <output>
      <soap:body use="encoded"
      namespace="urn:magic.DEVENDRA.BankDemo"
      encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
      </output>
      </operation>
      <operation name="doTran">
      <documentation></documentation>
      <soap:operation soapAction="rpc:BankDemo/doTran"
      style="rpc" />
      <input>
      <soap:body use="encoded"
      namespace="urn:magic.DEVENDRA.BankDemo"
      encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
      <soap:header message="tns:MagicHeader"
      part="MagicHeader_rpc" use="encoded"
      encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
      </input>
      <output>
      <soap:body use="encoded"
      namespace="urn:magic.DEVENDRA.BankDemo"
      encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
      </output>
      </operation>
      <operation name="TransactionsXML_soap">
      <documentation></documentation>
      <soap:operation
      soapAction="doc:BankDemo/TransactionsXML_soap" />
      <input>
      <soap:body use="literal" />
      <soap:header message="tns:MagicHeader"
      part="MagicHeader_doc" use="literal" />
      </input>
      <output>
      <soap:body use="literal" />
      </output>
      </operation>
      <operation name="ChangePass">
      <documentation></documentation>
      <soap:operation soapAction="rpc:BankDemo/ChangePass"
      style="rpc" />
      <input>
      <soap:body use="encoded"
      namespace="urn:magic.DEVENDRA.BankDemo"
      encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
      <soap:header message="tns:MagicHeader"
      part="MagicHeader_rpc" use="encoded"
      encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
      </input>
      <output>
      <soap:body use="encoded"
      namespace="urn:magic.DEVENDRA.BankDemo"
      encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
      </output>
      </operation>
      </binding>
      <service name="BankDemo">
      <documentation></documentation>
      <port name="tns:BankDemoPortType"
      binding="tns:BankDemoBinding">
      <soap:address
      location="http://DEVENDRA/Magic93scripts/mgrqispi93.dll" />
      </port>
      </service>



      </definitions>
    Your message has been successfully submitted and would be delivered to recipients shortly.