none
SOAP WebService upload error RRS feed

  • Question

  • Irt gives me this error. I can not find misteka. Here is error.

    Custom tool error: Unable to import WebService/Schema. Unable to import binding 'llkcwsBinding' from namespace 'urn:llkcws'. Unable to import operation 'getLopkopjiAkti'. The datatype 'urn:llkcws:AktiArray' is missing

    And here is wsdl file:

    <?xml version='1.0' encoding='UTF-8' ?>
    <definitions name='llkcws'
                 targetNamespace='urn:llkcws'
                 xmlns:tns='urn:llkcws'
                 xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/'
                 xmlns:xsd='http://www.w3.org/2001/XMLSchema'
                 xmlns:soapenc='http://schemas.xmlsoap.org/soap/encoding/'
                 xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/'
                 xmlns='http://schemas.xmlsoap.org/wsdl/'>
    
      <message name='checkUserRequest'>
        <part name='email' type='xsd:string'/>
      </message>
      <message name='checkUserResponse'>
        <part name='Result' type='xsd:string'/>
      </message>
      
      <message name='adAuthRequest'>
        <part name='email' type='xsd:string'/>
        <part name='passw' type='xsd:string'/>
      </message>
      <message name='adAuthResponse'>
        <part name='Result' type='xsd:int'/>
      </message>
    
      <message name='getUserDataRequest'>
        <part name='id_or_email' type='xsd:string'/>
        <part name='date' type='xsd:string'/>
        <part name='atvalinajumi' type='xsd:string'/>
      </message>
      <message name='getUserDataResponse'>
        <part name='Result' type='xsd:UserDataArray'/>
      </message>      
       
      <message name='getStrukturaRequest'>
        <part name='root' type='xsd:int'/>
        <part name='statuss' type='xsd:int'/>
      </message> 
      <message name='getStrukturaResponse'>
        <part name='Result' type='xsd:StrukturaArray'/>
      </message>
      
      <message name='getKlasifikatoriRequest'>
        <part name='kods' type='xsd:int'/>
        <part name='statuss' type='xsd:int'/>
      </message> 
      <message name='getKlasifikatoriResponse'>
        <part name='Result' type='xsd:KlasifikatoriArray'/>
      </message>
      
      <message name='getLopkopjiAktiRequest'>
      </message> 
      
      <message name='getLopkopjiAktiResponse'>
        <wsdl:part name='Result' type='tns:AktiArray'/>
      </message>
        
        
      <portType name='llkcwsPortType'>
        
        <operation name='checkUser'>
          <input message='tns:checkUserRequest'/>
          <output message='tns:checkUserResponse'/>
        </operation>
        
        <operation name='adAuth'>
          <input message='tns:adAuthRequest'/>
          <output message='tns:adAuthResponse'/>
        </operation>
        
        <operation name='getUserData'>
          <input message='tns:getUserDataRequest'/>
          <output message='tns:getUserDataResponse'/>
        </operation>
        
        <operation name='getStruktura'>
          <input message='tns:getStrukturaRequest'/>
          <output message='tns:getStrukturaResponse'/>
        </operation>
        
        <operation name='getKlasifikatori'>
          <input message='tns:getKlasifikatoriRequest'/>
          <output message='tns:getKlasifikatoriResponse'/>
        </operation>
        
        <operation name='getLopkopjiAkti'>
          <input message='tns:getLopkopjiAktiRequest'/>
          <output message='tns:getLopkopjiAktiResponse'/>
        </operation>
        
      </portType>
    
    
      <binding name='llkcwsBinding' type='tns:llkcwsPortType'>
        <soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/>
        
        <operation name='checkUser'>
          <soap:operation soapAction='urn:xmethods-delayed-quotes#checkUser'/>
          <input>
            <soap:body use='encoded' namespace='urn:xmethods-delayed-quotes' encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
          </input>
          <output>
            <soap:body use='encoded' namespace='urn:xmethods-delayed-quotes' encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
          </output>
        </operation>   
        
        <operation name='adAuth'>
          <soap:operation soapAction='urn:xmethods-delayed-quotes#adAuth'/>
          <input>
            <soap:body use='encoded' namespace='urn:xmethods-delayed-quotes' encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
          </input>
          <output>
            <soap:body use='encoded' namespace='urn:xmethods-delayed-quotes' encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
          </output>
        </operation>
                       
        <operation name='getUserData'>
          <soap:operation soapAction='urn:xmethods-delayed-quotes#getUserData'/>
          <input>
            <soap:body use='encoded' namespace='urn:xmethods-delayed-quotes' encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
          </input>
          <output>
            <soap:body use='encoded' namespace='urn:xmethods-delayed-quotes' encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
          </output>
        </operation>
        
        <operation name='getStruktura'>
          <soap:operation soapAction='urn:xmethods-delayed-quotes#getStruktura'/>
          <input>
            <soap:body use='encoded' namespace='urn:xmethods-delayed-quotes' encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
          </input>
          <output>
            <soap:body use='encoded' namespace='urn:xmethods-delayed-quotes' encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
          </output>
        </operation>
         
        <operation name='getKlasifikatori'>
          <soap:operation soapAction='urn:xmethods-delayed-quotes#getKlasifikatori'/>
          <input>
            <soap:body use='encoded' namespace='urn:xmethods-delayed-quotes' encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
          </input>
          <output>
            <soap:body use='encoded' namespace='urn:xmethods-delayed-quotes' encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
          </output>
        </operation>
        
        <operation name='getLopkopjiAkti'>
          <soap:operation soapAction='urn:xmethods-delayed-quotes#getLopkopjiAkti'/>
          <input>
            <soap:body use='encoded' namespace='urn:xmethods-delayed-quotes' encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
          </input>
          <output>
            <soap:body use='encoded' namespace='urn:xmethods-delayed-quotes' encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
          </output>
        </operation>
        
      </binding>
    
    
      <types>
    			
        <xsd:complexType name="checkuserdata">
          <xsd:sequence>
            <xsd:element name='checkUser' type='xsd:string'/>
          </xsd:sequence>
        </xsd:complexType>
        
        <xsd:complexType name="adAuthData">
          <xsd:sequence>
            <xsd:element name='adAuth' type='xsd:int'/>
          </xsd:sequence>
        </xsd:complexType>
    
        <xsd:complexType name="UserDataArray">
          <xsd:complexContent>
            <xsd:restriction base="SOAP-ENC:Array">
              <xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="tns:UserDataArray[]"/>
            </xsd:restriction>
          </xsd:complexContent>
        </xsd:complexType>
            
        <xsd:complexType name="StrukturaArray">
          <xsd:complexContent>
            <xsd:restriction base="SOAP-ENC:Array">
              <xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="tns:StrukturaArray[]"/>
            </xsd:restriction>
          </xsd:complexContent>
        </xsd:complexType>
            
        <xsd:complexType name="KlasifikatoriArray">
          <xsd:complexContent>
            <xsd:restriction base="SOAP-ENC:Array">
              <xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="tns:KlasifikatoriArray[]"/>
            </xsd:restriction>
          </xsd:complexContent>
        </xsd:complexType>
        
        <xsd:complexType name="AktiArray">
          <xsd:complexContent>
            <xsd:restriction base="SOAP-ENC:Array">
              <xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="xsd:string[]"/>
            </xsd:restriction>
          </xsd:complexContent>
        </xsd:complexType>
    	
      </types>
    
      <service name='llkcwsService'>
        <port name='llkcwsPort' binding='tns:llkcwsBinding'>
    
        </port>
      </service>
    </definitions>


    Tuesday, April 15, 2014 8:42 AM

Answers

  • Hi,

    >>Custom tool error: Unable to import WebService/Schema. Unable to import binding 'llkcwsBinding' from namespace 'urn:llkcws'. Unable to import operation 'getLopkopjiAkti'. The datatype 'urn:llkcws:AktiArray' is missing

    You may receive the error when Wsdl.exe cannot obtain complete information about an element that is declared in an external XML Schema. Wsdl.exe cannot process include elements (<include>) unless the include elements are   contained in a schema element (<schema>) that is contained in the types section (<types>) of a WSDL document. Therefore, when the XML Schema that contains information about an element that is defined in an external XML Schema uses an include element to obtain additional information from the external XML Schema, the problem occurs.

    For more information about how to solve this, please try to check this article:
    http://support.microsoft.com/kb/820122/en-us .

    Best Regards,
    Amy Peng


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Friday, April 18, 2014 8:26 AM
    Moderator