Home JBoss howto Web applications How do I know the WSDL URL of my Web Service ?
30 | 07 | 2010
JBoss 5 AS Book
"JBoss AS 5 development" reviews
Please share your feedback/review with other readers!
Banner
Dashboard
Advertise with Us
Banner
RSS Feed
Java EE 1.6 resources
Login
Sign here for the NewsLetter.



JBoss admin resources
Banner
Java EE 1.6 resources
JBoss howto

How to avoid the 50 seconds start up limit in Eclipse ?

JBoss recipe of the day ...
Read More

How can you solve deployment errors caused by large war/jar/ear files ?

jboss recipe of the day ...
Read More

How do you configure your .war to be deployed after your EJB ?

jboss recipe of the day ...
Read More
How do I know the WSDL URL of my Web Service ?
Written by F.Marchioni   
JBoss recipe of the day
Ok supposing you have just deployed your Web Service application on JBoss and all you can see from the console is :

10:23:26,363 INFO  [DefaultEndpointRegistry] register: jboss.ws:context=Simple_webservice,endpoint=HelloWorldWS
10:23:28,146 INFO  [TomcatDeployment] deploy, ctxPath=/Simple_webservice, vfsUrl=Simple_webservice.war
10:23:31,414 INFO  [WSDLFilePublisher] WSDL published to: file:/C:/jboss-5.0.0.G
A/server/default/data/wsdl/Simple_webservice.war/HelloWorldWSService3850929645300574982.wsdl

However I need the URL of the WSDL for my Client application, how do I know it ?
The URL of the Web service is made of Context Path + endpoint

In our case it's
http://localhost:8080/Simple_webservice/HelloWorldWS?wsdl

So, unless you customize your Web context, by default it depends on the name of your war file + your Web service name.

JBoss.org Search
Custom Search
Comments
Search
Only registered users can write comments!

3.26 Copyright (C) 2008 Compojoom.com / Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."