It's not a secret anymore!*
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
Author

WSDL in JSF Application

chiranjeevi gunturu
Ranch Hand

Joined: Mar 02, 2007
Posts: 59
Hi,
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: 15952
    
  19

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).


Customer surveys are for companies who didn't pay proper attention to begin with.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: WSDL in JSF Application
 
Similar Threads
JBOSS DataSource/Tomcat App - Unable to get connection, DataSource invalid
How to restrict the direct access of folder jsf pages in a JSFWebaplication
Strange problem | Cant load WSDL on explorer | Axis 2 + Helios + jboss-5.1.0.GA-jdk6
JSF Url Mapping (Newbie)
war file deployment problem