On 10/24/07, mgenov <mgenov gmail.com> wrote:
>
> Hello, I'm trying to retrieve the wsdl from deployed
service but It doesn't
> work.
>
> This is what I've readed in the documentation:
>
> WSDLs for consumer endpoints are retrieved using the
following method:
>
> * for a WSDL based deployed endpoint, the WSL will
be used as is
> * for an XBean based deployed endpoint, the WSDL
will be retrieved from
> the wsdlResource attribute
> * if this information is not provided, the
component will try to
> generate a WSDL by retrieving the target endpoint WSDL
and adding the
> relevant informations to it.
>
> WSDLs are accessible with the standard '?wsdl' query
string.
>
> For example, the WSDL for the consumer endpoint seen in
the 'WSDL
> Deployment' section will be available at
> http://localhost:8
192/InOnly/?wsdl
>
> And this is my definition:
>
> <http:endpoint
service="serviceName:httpService"
endpoint="endpoint"
> role="consumer"
locationURI="http://0.0.0.0:808
0/ecgTube/"
>
targetService="serviceName:routingSlip"
targetEndpoint="endpoint"
> defaultMep="http://ww
w.w3.org/2004/08/wsdl/in-out"
soap="true"
> />
>
> Any idea where I'm going wrong ?
Most typically this is an issue of the HTTP endpoint name
not matching
the WSDL port name. See this diagram on the ServiceMix
website about
mapping the WSDL to your HTTP SU:
http://incubator.apache.org/servicemix/5-jb
i.html#5.JBI-Concretemodel
Bruce
--
perl -e 'print unpack("u30","D0G)U8V4 4VYY9&5R"F)R=6-E+G-N>61E<D!G;6%I;&q
uot;YC;VT*"
);'
Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.or
g/
Castor - http://castor.org/
|