I just searched the WSDL and do not find the word "endpoint" at all.
I am attaching the WSDL.

I get the same result:

17:38:15,998 | DEBUG | btpool0-1  | HttpComponent            |
e.servicemix.soap.SoapEndpoint  276 | Retrieving proxied endpoint
definition
17:38:15,998 | DEBUG | btpool0-1  | HttpComponent            |
icemix.common.DefaultComponent   79 | Querying service description for
ServiceEndpoint[service={http://xfire.codehaus.org}BookService,endpoint=bookServiceProviderEndpoint]
17:38:15,998 | DEBUG | btpool0-1  | HttpComponent            |
icemix.common.DefaultComponent   87 | No description found for
{http://xfire.codehaus.org}BookService:bookServiceProviderEndpoint

This tells me that servicemix is making the connection from the
consumer to the provider, and that it cannot locate the provider.
Which I don't understand because it's in the xbean.xml, pasted again
here for reference:

<beans xmlns:http="http://servicemix.apache.org/http/1.0";
           xmlns:test="http://xfire.codehaus.org";>

<http:endpoint service="test:BookService"
              endpoint="bookServiceProviderEndpoint"
              role="provider"
              soapVersion="1.1"
              soap="true"
              
locationURI="http://127.0.0.1:8080/test-business-service/services/BookService";
              />

<!--
              targetService="test:BookService"
-->

<http:endpoint service="test:BookService"
              endpoint="bookServiceConsumerEndpoint"
              targetService="test:BookService"
              targetEndpoint="bookServiceProviderEndpoint"
              role="consumer"
              locationURI="http://0.0.0.0:8192/BookService/";
              defaultMep="http://www.w3.org/2004/08/wsdl/in-out";
              soapVersion="1.1"
              soap="true"
              />
        

</beans>


On 5/30/07, Gert Vanthienen <[EMAIL PROTECTED]> wrote:
Michael,

Isn't it possible that the webservice you're targeting is also called
bookServiceEndpoint?  If not, can you try to revert to different
endpoint names and add a targetService and targetEndpoint attribute to
your consumer end?

Gert

Michael Mattox wrote:
>> I haven't tried your particular setup yet, but from my experience both
>> the service and the endpoint names need to match between a consumer
>> and a provider.
>> >                endpoint="providerBookService"
>> >                endpoint="consumerBookService"
>>
>> Hope that helps.
>
> Philipp, thanks for the suggestion.  I just set the two endpoints to
> "bookServiceEndpoint" and I get this error:
>
> <loc-message>More than one endpoint found in the SU for key:
> {http://xfire.codeh
> aus.org}BookService:bookServiceEndpoint</loc-message>
>
> -Michael
>

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://xfire.codehaus.org/BookService"; xmlns:tns="http://xfire.codehaus.org/BookService"; xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"; xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"; xmlns:ns1="http://test"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:soapenc11="http://schemas.xmlsoap.org/soap/encoding/"; xmlns:soapenc12="http://www.w3.org/2003/05/soap-encoding"; 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://xfire.codehaus.org/BookService";>
<xsd:element name="getBooksMap">
<xsd:complexType/>
</xsd:element>
<xsd:complexType name="anyType2anyTypeMap">
<xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="entry">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="0" name="key" type="xsd:anyType"/>
<xsd:element maxOccurs="1" minOccurs="0" name="value" type="xsd:anyType"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="getBooksMapResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="1" name="out" nillable="true" type="tns:anyType2anyTypeMap"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="getBooks">
<xsd:complexType/>
</xsd:element>
<xsd:element name="getBooksResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="1" name="out" nillable="true" type="ns1:ArrayOfBook"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="findBook">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="1" name="in0" nillable="true" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="findBookResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="1" name="out" nillable="true" type="ns1:Book"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="BookException" type="ns1:BookException"/>
</xsd:schema>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"; attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://test";>
<xsd:complexType name="ArrayOfBook">
<xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="Book" nillable="true" type="ns1:Book"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Book">
<xsd:sequence>
<xsd:element minOccurs="0" name="author" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="isbn" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="title" nillable="true" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="BookException"/>
</xsd:schema>
  </wsdl:types>
  <wsdl:message name="getBooksRequest">
    <wsdl:part name="parameters" element="tns:getBooks">
    </wsdl:part>
  </wsdl:message>
  <wsdl:message name="getBooksMapRequest">
    <wsdl:part name="parameters" element="tns:getBooksMap">
    </wsdl:part>
  </wsdl:message>
  <wsdl:message name="getBooksMapResponse">
    <wsdl:part name="parameters" element="tns:getBooksMapResponse">
    </wsdl:part>
  </wsdl:message>
  <wsdl:message name="findBookRequest">
    <wsdl:part name="parameters" element="tns:findBook">
    </wsdl:part>
  </wsdl:message>
  <wsdl:message name="findBookResponse">
    <wsdl:part name="parameters" element="tns:findBookResponse">
    </wsdl:part>
  </wsdl:message>
  <wsdl:message name="getBooksResponse">
    <wsdl:part name="parameters" element="tns:getBooksResponse">
    </wsdl:part>
  </wsdl:message>
  <wsdl:message name="BookException">
    <wsdl:part name="BookException" element="tns:BookException">
    </wsdl:part>
  </wsdl:message>
  <wsdl:portType name="BookServicePortType">
    <wsdl:operation name="getBooksMap">
      <wsdl:input name="getBooksMapRequest" message="tns:getBooksMapRequest">
    </wsdl:input>
      <wsdl:output name="getBooksMapResponse" message="tns:getBooksMapResponse">
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="getBooks">
      <wsdl:input name="getBooksRequest" message="tns:getBooksRequest">
    </wsdl:input>
      <wsdl:output name="getBooksResponse" message="tns:getBooksResponse">
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="findBook">
      <wsdl:input name="findBookRequest" message="tns:findBookRequest">
    </wsdl:input>
      <wsdl:output name="findBookResponse" message="tns:findBookResponse">
    </wsdl:output>
      <wsdl:fault name="BookException" message="tns:BookException">
    </wsdl:fault>
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="BookServiceHttpBinding" type="tns:BookServicePortType">
    <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="getBooksMap">
      <wsdlsoap:operation soapAction=""/>
      <wsdl:input name="getBooksMapRequest">
        <wsdlsoap:body use="literal"/>
      </wsdl:input>
      <wsdl:output name="getBooksMapResponse">
        <wsdlsoap:body use="literal"/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="getBooks">
      <wsdlsoap:operation soapAction=""/>
      <wsdl:input name="getBooksRequest">
        <wsdlsoap:body use="literal"/>
      </wsdl:input>
      <wsdl:output name="getBooksResponse">
        <wsdlsoap:body use="literal"/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="findBook">
      <wsdlsoap:operation soapAction=""/>
      <wsdl:input name="findBookRequest">
        <wsdlsoap:body use="literal"/>
      </wsdl:input>
      <wsdl:output name="findBookResponse">
        <wsdlsoap:body use="literal"/>
      </wsdl:output>
      <wsdl:fault name="BookException">
        <wsdlsoap:fault name="BookException" use="literal"/>
      </wsdl:fault>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="BookService">
    <wsdl:port name="BookServiceHttpPort" binding="tns:BookServiceHttpBinding">
      <wsdlsoap:address location="http://localhost:8080/test-business-service/services/BookService"/>
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>

Reply via email to