Meaningless Drivel is fun!*
The moose likes Web Services and the fly likes Question on PARAM names in WSDL file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
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: 387

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: 387

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://aspose.com/file-tools
 
subject: Question on PARAM names in WSDL file