This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Web Services and the fly likes Creating JAX-WS Webservices in Glass Fish Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Creating JAX-WS Webservices in Glass Fish" Watch "Creating JAX-WS Webservices in Glass Fish" New topic

Creating JAX-WS Webservices in Glass Fish

vamsee krishna reddy

Joined: Nov 21, 2008
Posts: 10
Hi All

I am new to Glass fish. i am planning to develop a simple web service in Glass Fish. i have tried with JAX-WS. but the problem is i am not not able to see the exact names of input params in wsdl, Say web method is public String get Name(String MyName), i am expecting the WSDl to show Inputas MY name rather tham param1. i was not able to set any kind of style here and i think this is causing problem.

Any kind of help is greatly appreciated

Thank YOu
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
Strictly speaking, not setting a name for a parameter of a web service method should not cause any problems, if the web service is correctly developed.
In the case that you want to customize the element name that appears in the WSDL corresponding to a parameter of your web service method, I suggest taking a look at the @WebParam annotation.
Best wishes!
I agree. Here's the link:
subject: Creating JAX-WS Webservices in Glass Fish
Similar Threads
Can we use glass fish for AXIS web service
How to access byte array web method
Help need to test a JAX-WS Web service on Glass Fish
Web Service without any framework