List Info

Thread: ServiceMix's generation of wsdl




ServiceMix's generation of wsdl
country flaguser name
United States
2007-10-24 06:14:48
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 ? 


-- 
View this message in context: http://www.nabble.com/Serv
iceMix%27s-generation-of-wsdl-tf4683660s12049.html#a13383604

Sent from the ServiceMix - User mailing list archive at
Nabble.com.


Re: ServiceMix's generation of wsdl
user name
2007-10-24 08:39:41
On 10/24/07, mgenov <mgenovgmail.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)U8V44VYY9&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/

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )