users@glassfish.java.net

Portlet WebServiceClient

From: <glassfish_at_javadesktop.org>
Date: Tue, 01 Dec 2009 00:34:48 PST

Hello,

i've been trying to set up a web service client inside a portlet with the help of:
http://blogs.sun.com/enterprisetechtips/entry/referencing_multiple_web_services_from

the part of the server works perfectly fine, i can access the web service via glassfish directly. but the injection into the portlet has problems. basicly the line

@WebServiceRef(name="service/MyServletService",
   type=servlet_endpoint.WeatherServiceService.class,
   wsdlLocation="http://localhost:8080/weatherservice/GetWeather?wsdl")

is being completely ignored and therefor the name "java:comp/env/service/MyEjbService" is not found and an exception is thrown...

any approach for a possible solution ?
[Message sent by forum member 'apas87' ]

http://forums.java.net/jive/thread.jspa?messageID=374012