axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From raj.x.arunmu...@jpmchase.com
Subject No such operation error after doing ?wsdl
Date Tue, 13 Sep 2005 19:28:27 GMT
Hello!

Here is my wsdl .. 


is there anything wrong with this WSDL?  when I try to validate in WSAD it 
says   "urn:DataInquiry" is not a valid value for "NCName"
The value 'urn:DataInquiry' of attribute 'name' on element 'definitions' 
is not valid with respect to its type, NCName'.


Please shed some light.


<?xml version="1.0" ?>

<definitions name="urn:DataInquiry"
             targetNamespace="urn:DataInquiry2"
             xmlns:tns="urn:DataInquiry2"
             xmlns:typens="urn:DataInquiry2"
             xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
             xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
             xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
             xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" 
             xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd1="java:com.ws.exceptions">

  <!-- type defs -->
  <import namespace="java:com.ws.exceptions" location="ExceptionSchema.xsd"></import>
  <types>
    <xsd:schema targetNamespace="urn:DataInquiry2"
                xmlns:xsd="http://www.w3.org/2001/XMLSchema">


      <xsd:complexType name="inquiryRequest">
        <xsd:all>
            <xsd:element name="sor" type="xsd:string"/>
            <xsd:element name="loanNumber" type="xsd:string"/>
        </xsd:all>
      </xsd:complexType>

      <xsd:complexType name="inquiryResponse">
        <xsd:all>
            <xsd:element name="status" type="xsd:string"/>
            <xsd:element name="mNumber" type="xsd:string"/>
            <xsd:element name="mFlag" type="xsd:string"/>
            <xsd:element name="QFlag" type="xsd:string"/>
            <xsd:element name="LAFlag" type="xsd:string"/>
        </xsd:all>
      </xsd:complexType> 
 
    </xsd:schema>
  </types>

  <!-- message declns -->
  <message name="empty"/>
  <message name="GetInquiryDataRequest">
    <part  name="inquiryRequest" type="typens:inquiryRequest"/>
  </message>

  <message name="GetInquiryDataResponse">
    <part  name="inquiryResponse" type="typens:inquiryResponse"/>
  </message>
 
  <message name="InquiryServiceException">
  <part  name="InquiryServiceException"  type="xsd1:InquiryServiceException">
  </part>
  </message>
 
 
  <!-- port type declns -->
  <portType name="DataInquiry">
 
    <operation name="getInquiryData">
      <input name="input" message="tns:GetInquiryDataRequest"/>
      <output name="output" message="tns:GetInquiryDataResponse"/>
      <fault name="InquiryServiceException" message="tns:InquiryServiceException"/>
 
    </operation>
  </portType>

  <!-- binding declns -->
  <binding name="DataInquirySOAPBinding" type="tns:DataInquiry">
    <soap:binding style="document"
                  transport="http://schemas.xmlsoap.org/soap/http"/>
 
    <operation name="getInquiryData">
 
       <soap:operation soapAction=""/> 
      <input name="input"> 
        <soap:body use="literal"/> 
      </input> 
      <output name="output"> 
        <soap:body use="literal"/> 
      </output>
      <wsdl:fault name="InquiryServiceException">
        <wsdlsoap:fault name="InquiryServiceException" use="literal"/>
      </wsdl:fault>
    </operation>
  </binding>

  <!-- service decln -->
  <service name="DataInquiryService">
    <port name="DataInquiry" binding="tns:DataInquirySOAPBinding">
      <soap:address location="http://176.89.213.6:9080/WSWAR/services/DataInquiry"/>
    </port>
  </service>

</definitions>


 

Mime
View raw message