problem consuming web service from glassfish, only tomcat services show up

View: New views
3 Messages — Rating Filter:   Alert me  

problem consuming web service from glassfish, only tomcat services show up

by dbritton :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I"m using Netbeans 6.7.  I have a webservices running on Tomcat 6.0.18 and glassfish v2.  When I try to consume a web service from an ejb running on glassfish, I only can select from the tomcat web services.



In the editor, right-click-> Insert Code -> Call Web Service Operation.



Can anyone give me a hint as to what controls the "available web services"  when doing the above process?



I can deploy the desired web service in glassfish and it tests properly.  I just can't select it.



Regards,

David





problem consuming web service from glassfish, only tomcat services show up

by dbritton :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I found out I need to create a webservice client in the ejb.





Re: problem consuming web service from glassfish, only tomcat services show up

by mkuchtiak :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Prior to calling "Call WS Operation" you need to create WS client for
particular WSDL URL at the same project.
"Available Web Services" are in fact "Available Web Service References".
The label should be changed probably.

Milan

dbritton wrote:

> I"m using Netbeans 6.7.  I have a webservices running on Tomcat 6.0.18 and glassfish v2.  When I try to consume a web service from an ejb running on glassfish, I only can select from the tomcat web services.
>
>  
> In the editor, right-click-> Insert Code -> Call Web Service Operation.
>
>
>
> Can anyone give me a hint as to what controls the "available web services"  when doing the above process?
>
>  
> I can deploy the desired web service in glassfish and it tests properly.  I just can't select it.
>
>
>
> Regards,
>
> David
>
>
>
>
>