File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
JavaRanch » Java Forums » Java » Web Services
Bookmark "Creating JAX-WS Webservices in Glass Fish" Watch "Creating JAX-WS Webservices in Glass Fish" New topic
Author

Creating JAX-WS Webservices in Glass Fish

vamsee krishna reddy
Greenhorn

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
    
    1
Hi!
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: http://aspose.com/file-tools
 
subject: Creating JAX-WS Webservices in Glass Fish