[jboss-user] [JBossWS] - Cannot resolve the name 'ns1:FaxStsType' to a(n) 'type defin

marco.ciatti do-not-reply at jboss.com
Thu May 17 09:18:22 EDT 2007


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/"/>
    
  


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046480#4046480

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4046480



More information about the jboss-user mailing list