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)

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>


bsnyder wrote:
> 
> On Feb 13, 2008 10:26 AM, nate roe <[EMAIL PROTECTED]> wrote:
>>
>> I'm using ServiceMix 3.2.1, and Java 1.6
>>
>> I've attempted to create a WebService using a POJO deployed to
>> ServiceMix's
>> HTTP component.  When I hit ServiceMix at http://localhost:8192/ my
>> service
>> is shown, but when I attempt to view its WSDL, I receive a 404.  (When
>> ServiceMix deploys my SA, however, it writes the WSDL to stdout.)
> 
> A 404 when trying to access the WSDL is almost always due to the fact
> that the endpoint name in the xbean.xml does not match the wsdl:port
> name attribute. I see that the endpoint name in your xbean.xml above
> is soap. So what is the wsdl:port name in the generated WSDL?
> 
> 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/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Where%27s-my-WSDL--tp15460599s12049p15464877.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to