On Feb 13, 2008 12:20 PM, nate roe <[EMAIL PROTECTED]> wrote:
>
> My WSDL doesn't have a port in it, although there is a wsdl:portType.
>
> I'm confused about endpoints.  When I specify the endpoint, what am I
> specifying?  An existing endpoint?  Or am I, in creating a service, also
> creating a new endpoint which I must name?  (The endpoint name "soap" I
> copied from the wsdl-first tutorial's xbean.xml)

The endpoint name is the endpoint that you're deploying for the
service. The same service can be deployed multiple times with
different endpoint names in JBI. And in the servicemix-http component,
the endpoint name should match the wsdl:port name. Which brings me to
your WSDL below.

> Here is the generated WSDL:
>
> <wsdl:definitions targetNamespace="myNamespace"
> xmlns:soapenc12="http://www.w3.org/2003/05/soap-encoding";
> xmlns:tns="myNamespace" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
> xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/";
> xmlns:xsd="http://www.w3.org/2001/XMLSchema";
> xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/";
> xmlns:soapenc11="http://schemas.xmlsoap.org/soap/encoding/";
> xmlns:soap12="http://www.w3.org/2003/05/soap-envelope";>
>     <wsdl:types>
>         <xsd:schema attributeFormDefault="qualified"
> elementFormDefault="qualified" targetNamespace="myNamespace"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
>             <xsd:element name="getHello">
>                 <xsd:complexType/>
>             </xsd:element>
>             <xsd:element name="getHelloResponse">
>                 <xsd:complexType>
>                     <xsd:sequence>
>                         <xsd:element maxOccurs="1" minOccurs="1" name="out"
> nillable="true" type="xsd:string"/>
>                     </xsd:sequence>
>                 </xsd:complexType>
>             </xsd:element>
>         </xsd:schema>
>     </wsdl:types>
>     <wsdl:message name="getHelloResponse">
>         <wsdl:part name="parameters" element="tns:getHelloResponse">
>         </wsdl:part>
>     </wsdl:message>
>     <wsdl:message name="getHelloRequest">
>         <wsdl:part name="parameters" element="tns:getHello">
>         </wsdl:part>
>     </wsdl:message>
>     <wsdl:portType name="HelloServicePortType">
>         <wsdl:operation name="getHello">
>             <wsdl:input name="getHelloRequest"
> message="tns:getHelloRequest">
>             </wsdl:input>
>             <wsdl:output name="getHelloResponse"
> message="tns:getHelloResponse">
>             </wsdl:output>
>         </wsdl:operation>
>     </wsdl:portType>
> </wsdl:definitions>

How was this WSDL generated?

Bruce
-- 
perl -e 'print unpack("u30","D0G)[EMAIL 
PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache ActiveMQ - http://activemq.org/
Apache Camel - http://activemq.org/camel/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/

Blog: http://bruceblog.org/

Reply via email to