jQuery in Action, 2nd edition
The moose likes Web Services and the fly likes Using .wsdl in JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Using .wsdl in JSP " Watch "Using .wsdl in JSP " New topic
Author

Using .wsdl in JSP

Tauri Valor
Ranch Hand

Joined: Aug 03, 2005
Posts: 166
Hi

I have a Java interface(SearchIFace.java) , and an implementation(SearchImpl.java) to search an ldap directory.

I want to generate a wsdl file using JAVA2WSDL tool using Apache axis in tomcat 4.1.

After generating the wsdl file can I wanted to use it in the jsp which will be my front-end.

I couldnt find proper information after searching the net.

Can anyone help me with a proper link for this.

Thx & Rgds,
Sudheer Y


A Moment's insight is sometimes worth a Life's experience.
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42954
    
  73
You wouldn't use the WSDL file in the JSP page - you would use the WSDL2Java tool to create client classes. The JSP page (or -much better!- a servlet) would then use those classes to access the WS.

And please remember to change your display name PRIOR to your next post.
 
Don't get me started about those stupid light bulbs.
 
subject: Using .wsdl in JSP