• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Question on PARAM names in WSDL file

 
Ranch Hand
Posts: 387
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 387
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The problem was resolved by adding in the interface annotation @WebParam to each property added into the @WebMethod in the web service.

Thanks anyway.
 
    Bookmark Topic Watch Topic
  • New Topic