Skip to main content

Look up path of web service deployed under Glass Fish v3.

No replies
Joined: 2009-11-20

Hi ,

I have deployed a Webservice of JAX WS in Glass Fish v3 .It has produced a WSDL file

How can i look up this particular service , so that i can create a Service for it

Context context = new InitialContext();

Similar to below (The below is wrong) , but does anybody what will be the exact thing when it comes to Glass Fish v3 .
Service service = (Service)context.lookup("java:comp/env/services/")

Please advice , thanks in advnace .