This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Using .wsdl in JSP " Watch "Using .wsdl in JSP " New topic

Using .wsdl in JSP

Tauri Valor
Ranch Hand

Joined: Aug 03, 2005
Posts: 180

I have a Java interface( , and an implementation( 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

Joined: Mar 22, 2005
Posts: 42958
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.
I agree. Here's the link:
subject: Using .wsdl in JSP
It's not a secret anymore!