Skip to main content

Deploying Web Services in GlassFissh - @WebServiceProvider

3 replies [Last post]
Anonymous

Hi, 
I experience the problem deploying Web Services with EJB endpoint implementing Provider interface.

The question is posted in http://home.java.net/forum/topic/glassfish/glassfish/cannot-deploy-web-service-glassfish-using-together-webserviceprovider-and-stateless, but  it seems like either nobody knows the answer or my question is not clear enough.

Please consider and any response will be very appreciated .

Michael

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Lukas Jungmann

Hi,

On 18.9.2012 18:34, Michael Abramov wrote:
> Hi,
> I experience the problem deploying Web Services with EJB endpoint implementing Provider interface.
>
> The question is posted in http://home.java.net/forum/topic/glassfish/glassfish/cannot-deploy-web-s..., but it seems like either nobody knows the answer or my question is not clear enough.

Are you trying to deploy the service in an EJB module or in web application?

From the log it looks like a case of an EJB module - how did you find
out that WS endpoint is not deployed correctly? Did you try to access
http://localhost:8088/....provider.HelloWorldEJBWS?WSDL from the browser
and saw some error instead of the wsdl? I've just tried to reproduce the
behaviour you're seeing but for me it works as well as sending messages
from the client to the service etc, so I may be missing something.

If this is the case of web application - is it
http://java.net/jira/browse/GLASSFISH-19088 what you are seeing?

thanks,
--lukas

>
> Please consider and any response will be very appreciated .
>
> Michael
>

silvery
Offline
Joined: 2012-01-12

Thank you for response.
It seems that I got confused not seeing endpoint in deployed application in GlassFissh administrative console. But following your advice I checked the access to the WSDL by http://localhost:8088/HelloWorldWSService/com.ivan.wsejb.provider.HelloW... and it worked . Then I requested the service from the client (SOAPUI) and it worked.

Great..

Lukas Jungmann

On 20.9.2012 4:04, forums@java.net wrote:
> Thank you for response. It seems that I got confused not seeing endpoint in
> deployed application in GlassFissh administrative console.

As far as I remember Provider based endpoints are not being shown there.
Feel free to file an enhancement request into jira (component web services).

But following
> your
> advice I checked the access to the WSDL by
> http://localhost:8088/HelloWorldWSService/com.ivan.wsejb.provider.HelloW...
>
> and it worked . Then I requested the service from the client (SOAPUI)
> and it
> worked. Great..

Thanks,
--lukas

>
> --
>
> [Message sent by forum member 'silvery']
>
> View Post: http://forums.java.net/node/890336
>
>