Log In
Developer Network
Technologies
Join the Network
Member Services
Events & Community
TelePresence Exchange (CTX) Developer Center
Overview
Documentation
Community
Everything
This Site
Blogs
Showing 0 results.
Forums
Message Boards Home
Recent Posts
Statistics
Answer
(
Unmark
)
Mark as an Answer
« Back to - General Discussion -
RE: Client Proxy Files
Threads [
Previous
|
Next
]
John Yontz
Posts:
42
Join Date:
6/9/10
Recent Posts
Client Proxy Files
Answer
3/2/11 12:33 AM
Mark as an Answer
Submit
Reply with Quote
Quick Reply
What is the best way for a Java developer to generate client proxy files from the WSDL?
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Kulai Bhandary
Posts:
5
Join Date:
3/1/11
Recent Posts
RE: Client Proxy Files
Answer
3/3/11 2:15 AM as a reply to John Yontz.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
There are several options to generate the client proxy files from the WSDL.
One option is to use a web service stack like JBossWS. These contain command line tools like
wconsume
that "consumes" the WSDL and produces the necessary client artifacts. These artifacts can then be imported in to your projects.
The Eclipse IDE provides a wizard that will create the java proxy files for you. To access the wizard follow these steps:
1) select the project in the Project Explorer
2) Right click to bring up the context menu
3) Select New->Other from the menu
4) In the 'Select a wizard' dialog click on Web Services
5) Select Web Service Client and click on Next
6) In the next dialog enter the location of the WSDL for Service Definition
7) Click on Next
8) Select the Output Folder
9) Click on Define custom mapping for namespace to package if necessary
10) Click on Finish
The wizard will generate the client proxy files ready to use in your project.
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Collateral
No files available