File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes WSDL in JSF Application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "WSDL in JSF Application" Watch "WSDL in JSF Application" New topic

WSDL in JSF Application

chiranjeevi gunturu
Ranch Hand

Joined: Mar 02, 2007
Posts: 59
I am working on a JSF application and it has a webservice, WSDL file.

I need to test this WSDL by an URL in browser which shows me xml as result. But i am not able to create the URL for this.

Can any one help me on how to create URL for this. I am sure the WSDL is consumed by 3rd party app but i donot know how to test it.

Am creating an URL as http://localhost:9080/<root-context-name>/<xxx-xxx>/<ABCServicesImpl>(WSDL-Name)?wsdl

Many Thanks in advance.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17410

JSF itself isn't a web services framework. Most often, you'd pair it with a web services framework such as Apache Axis.

The web services would then be mapped to go to the Axis Servlet instead of the JSF servlet, and the Axis Servlet would return WSDL in response to a properly-formed http GET request (as illustrated in the Axis documentation).

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: WSDL in JSF Application
It's not a secret anymore!