Hi Guys,

Thank you for advises!
Unfortunately it doesn't solve my problem. I've debugged SoapEndpoint.java
and found that ServiceMix cannot determine correct PortType from WSDL
(reader.readWSDL returns not null, but HttpEndpoint::overrideDefinition
returns null). I suggest that something wrong with my WSDL. Could you please
take a look at the WSDL and give an idea what's wrong with that?

Here's my endpoints definition:

       <!-- AddressLocationInfo -->
  <http:endpoint service="intraoss:AddressLocationInfoOut"
                 endpoint="AddressLocationInfoOut"
                 role="provider" 
                 soap="true"
                 soapVersion="1.2"
                 locationURI="${intraoss-server-url}/AddressLocationInfo"
                
wsdlResource="${intraoss-server-url}/AddressLocationInfo?wsdl"/> 

       <http:endpoint service="intraoss:AddressLocationInfoIn" 
                          endpoint="AddressLocationInfoIn" 
                          role="consumer" 
                          soap="true"
                          soapVersion="1.2"
                          targetService="intraoss:AddressLocationInfoOut"
                         
locationURI="http://0.0.0.0:8192/AddressLocationInfo/";
                          wsdlResource="classpath:AddressLocationInfo.wsdl" 
                         
defaultMep="http://www.w3.org/2004/08/wsdl/in-out"/>

-------------
The following is my WSDL file:

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions
targetNamespace="http://intraoss.services.com/AddressLocationInfo";
xmlns:tns="http://intraoss.services.com/AddressLocationInfo";
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/";
xmlns:soap12="http://www.w3.org/2003/05/soap-envelope";
xmlns:ns1="http://domain.intraoss.com";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:soapenc11="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:ns3="http://exception.service.intraoss.com";
xmlns:soapenc12="http://www.w3.org/2003/05/soap-encoding";
xmlns:ns2="http://exception.services.intraoss.com";
xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";>
  <wsdl:types>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema";
attributeFormDefault="qualified" elementFormDefault="qualified"
targetNamespace="http://domain.intraoss.com";>
<xsd:complexType name="AddressLocationInfoAddress">
<xsd:sequence>
<xsd:element name="address" nillable="true" type="xsd:string"/>
<xsd:element name="city" nillable="true" type="xsd:string"/>
<xsd:element name="state" nillable="true" type="xsd:string"/>
<xsd:element name="zip" nillable="true" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="RateCenterAndLata">
<xsd:sequence>
<xsd:element name="lata" nillable="true" type="xsd:string"/>
<xsd:element name="rateCenter" nillable="true" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema";
attributeFormDefault="qualified" elementFormDefault="qualified"
targetNamespace="http://intraoss.services.com/AddressLocationInfo";>
<xsd:element name="getRateCenterAndLata">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="1" name="in0" nillable="true"
type="ns1:AddressLocationInfoAddress"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="getRateCenterAndLataResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="1" name="out" nillable="true"
type="ns1:RateCenterAndLata"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema";
attributeFormDefault="qualified" elementFormDefault="qualified"
targetNamespace="http://exception.service.intraoss.com";>
<xsd:complexType name="FaultInfo">
<xsd:sequence>
<xsd:element name="code" nillable="true" type="xsd:string"/>
<xsd:element name="detailedMessage" nillable="true" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema";
attributeFormDefault="qualified" elementFormDefault="qualified"
targetNamespace="http://exception.services.intraoss.com";>
<xsd:element name="FaultInfo" type="ns3:FaultInfo"/>
</xsd:schema>
  </wsdl:types>
  <wsdl:message name="getRateCenterAndLataResponse">
    <wsdl:part name="parameters"
element="tns:getRateCenterAndLataResponse"/>
  </wsdl:message>
  <wsdl:message name="FaultInfo">
    <wsdl:part name="FaultInfo" element="ns2:FaultInfo"/>
  </wsdl:message>
  <wsdl:message name="getRateCenterAndLataRequest">
    <wsdl:part name="parameters" element="tns:getRateCenterAndLata"/>
  </wsdl:message>
  <wsdl:portType name="AddressLocationInfoPortType">
    <wsdl:operation name="getRateCenterAndLata">
      <wsdl:input name="getRateCenterAndLataRequest"
message="tns:getRateCenterAndLataRequest"/>
      <wsdl:output name="getRateCenterAndLataResponse"
message="tns:getRateCenterAndLataResponse"/>
      <wsdl:fault name="FaultInfo" message="tns:FaultInfo"/>
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="AddressLocationInfoHttpBinding"
type="tns:AddressLocationInfoPortType">
    <wsdlsoap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="getRateCenterAndLata">
      <wsdlsoap:operation soapAction=""/>
      <wsdl:input name="getRateCenterAndLataRequest">
        <wsdlsoap:body use="literal"/>
      </wsdl:input>
      <wsdl:output name="getRateCenterAndLataResponse">
        <wsdlsoap:body use="literal"/>
      </wsdl:output>
      <wsdl:fault name="FaultInfo">
        <wsdlsoap:fault name="FaultInfo" use="literal"/>
      </wsdl:fault>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="AddressLocationInfo">
    <wsdl:port name="AddressLocationInfoHttpPort"
binding="tns:AddressLocationInfoHttpBinding">
      <wsdlsoap:address
location="http://localhost:8192/AddressLocationInfo/"/>
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>


-- 
View this message in context: 
http://www.nabble.com/Obtaining-wsdl-for-consumer-HTTP-endpoint-tf3416105s12049.html#a9528685
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to