0 Replies Latest reply on May 17, 2007 9:18 AM by marco ciatti

    Cannot resolve the name 'ns1:FaxStsType' to a(n) 'type defin

    marco ciatti Newbie

      Does anybody knows why wsconsume throws such a warning for a ws-i comliant wsdl, that you can find here at the end of message.

      -) the mentioned wsdl is ws-compliant, if needed I can provide also the conformance report from ws-i tools

      -) a simple ws tools like soapUI is able to use it and perform the expected ws call.

      Thankx,
      Marco

      [exec] warning: src-resolve: Cannot resolve the name 'ns1:FaxStsType' to a(n) 'type definition' component.
      [exec] line 0 of file:/D:/develop/wfm/test/fwfaxprx/resources/GetFaxStsIBndPort.wsdl#types?schema2
      [exec] com\siemens\faxsrvprx\sis\GetFaxStsI.java
      [exec] com\siemens\faxsrvprx\sis\ObjectFactory.java
      [exec] com\siemens\faxsrvprx\sis\SisfaxprxGetstsService.java
      [exec] com\siemens\faxsrvprx\sis\domain\FaxStsType.java
      [exec] com\siemens\faxsrvprx\sis\GetFaxStsI.java
      [exec] com\siemens\faxsrvprx\sis\ObjectFactory.java
      [exec] com\siemens\faxsrvprx\sis\SisfaxprxGetstsService.java
      [exec] com\siemens\faxsrvprx\sis\domain\FaxStsType.java
      ================================================
      <?xml version="1.0" encoding="UTF-8"?><definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://sis.faxsrvprx.siemens.com" xmlns:ns1="http://domain.sis.faxsrvprx.siemens.com" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" name="SisFaxServerService" targetNamespace="http://sis.faxsrvprx.siemens.com">

      <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://domain.sis.faxsrvprx.siemens.com" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" elementFormDefault="qualified" id="UID-43730100-3C21E36A120100-8D1DD9EA-01" targetNamespace="http://domain.sis.faxsrvprx.siemens.com">
      <xsd:simpleType name="FaxStsType">
      <xsd:restriction base="xsd:string">
      <xsd:enumeration value="W"/>
      <xsd:enumeration value="S"/>
      <xsd:enumeration value="E"/>
      <xsd:enumeration value="N"/>
      </xsd:restriction>
      </xsd:simpleType>

      <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" elementFormDefault="qualified" id="UID-42730100-3C21E36A120100-8D1DD9EA-01" targetNamespace="http://sis.faxsrvprx.siemens.com">
      <xsd:import namespace="http://domain.sis.faxsrvprx.siemens.com"/>
      <xsd:element name="getFaxSts" type="ns1:FaxStsType"/>
      <xsd:element name="stringPar" type="xsd:string"/>















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

      <soap:operation soapAction="http://sis.faxsrvprx.siemens.com/GetFaxStsI/getSts" style="document"/>

      <soap:body parts="parameters" use="literal"/>


      <soap:body parts="result" use="literal"/>





      <soap:address location="http://ddd.dd.ddd.dd:ddddd/WfmFaxPrx_getFaxSts/GetFaxStsIBndPort" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"/>