This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Web Services and the fly likes Question on PARAM names in WSDL file Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "Question on PARAM names in WSDL file" Watch "Question on PARAM names in WSDL file" New topic
Author

Question on PARAM names in WSDL file

Melinda Savoy
Ranch Hand

Joined: Jun 21, 2005
Posts: 375

I am working on my XP local box trying to test a web service tutorial and in the WSDL file I am showing param names that are not descriptive of what is needed to be passed in by those who will ultimately be trying to consume the web service. My understanding is that the names in my method should be denoted in the PART NAME under the message name and PARAMS below which are highlighted in RED. I forgot to mention that I am working in Eclipse and using Axis2.

I am new to web services and would really appreciate any help/direction. Thank you.

The WSDL file, http://localhost:8080/RequisitionWS/req?wsdl, looks like:



The interface is defined as follows:



The implementation bean looks like:



Thank you.
Melinda Savoy
Ranch Hand

Joined: Jun 21, 2005
Posts: 375

The problem was resolved by adding in the interface annotation @WebParam to each property added into the @WebMethod in the web service.

Thanks anyway.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Question on PARAM names in WSDL file
 
Similar Threads
MTOM example
Query regarding RPC/Document Style,WSGEN and WSIMPORT
XSD generation Issue
Problem with arrays of primitive types
JAX-WS wsgen using Maven2