FYI, this is done.
See http://jira.activemq.org/jira//browse/SM-351?page=all
Guillaume Nodet
Guillaume Nodet wrote:
pgodot wrote:
Hi,
I try from a pretty long time now to get wsdl of my webservice
published in
service mix. I used soap-binding sample and deploy the xfire annotation
Customer sample. It's working with client.html file for the method
getCustomers.
Now I tried to autogenerate a client for this webservice jaxws
wsimport). I
tried from the wsdl found int the log file of servicemix but it
introduce a
lot of problem, bad adress location and the transport (binding
transport) is
not supported by JAXWS tools (wsimport).
Yeah, JAXWS only supports soap binding.
I understood that the jbi transport
("transport="http://java.sun.com/xml/ns/jbi/binding/service+engine")
and the
jbi adress location (address
location="jbi://{urn:servicemix:soap-binding}sampleXfir-service) was
intern
to JBI/ServiceMix.
Then how can I get wsdl of my webservice. I saw that servicemix-http
component add a new wsdlRessource attribute. Is it used to expose a
external
wsdl ? If yes, is it possible to access to my webservice wsdl with an
httpRequest like http://localhost:8192/CustomerService?wsdl ?
May be not because CustomerService is map a to HttpEndpoint that
throw an
exception if I do a GET httpRequest !!!!!
Then is it possible to get an external wsdl from servicemix ?
The servicemix-http component was recently improved to automatically
generate the wsdl for the consumer by retrieving the provider wsdl and
adding the soap transport to it. But the binding informations are not
provided yet, so it may also fail.
If you can write the wsdl, just deploy it with the wsdlResource
attribute.
I will try to expose the wsdl through an HTTP GET method. Could you
please raise a JIRA for that ?
Btw, please use the apache mailing list, as the codehaus one may be
closed in the future.
To subscribe: mailto:[EMAIL PROTECTED]
Cheers,
Guillaume Nodet
Thanks in advance for responses,
Regards,
Phil
--
View this message in context:
http://www.nabble.com/View-Get-a-wsdl-of-webservice-deploy-in-servicemix-t1291453.html#a3436131
Sent from the servicemix - user forum at Nabble.com.