I did as described in the CXF wiki (http://wiki.caucho.com/CXF), except
that I ran the code generator (wsdl2java) tool to start from an existing
wsdl. Here is the config:
servlet-mapping url-pattern=/CarteMusique/*
servlet-class=ms.CarteMusiqueWSAction
protocol uri=cxf:/
/servlet-mapping
Here is the full code of a small sample :
http://www.architectedulogiciel.fr/download/tmp/testws.zip
Scott Ferguson wrote:
Riccardo Cohen wrote:
Hello
I successfully wrote a soap web service with cxf (in resin 4.0.9) and I
need to check the IP of the caller. I need the servlet context, and
found some thread about this.
I tried to add :
@Resource public WebServiceContext wscontext;
in the servlet, but have the error message :
ms.CarteMusiqueWSAction.wscontext @Resource cannot find any matching
resources with type='interface javax.xml.ws.WebServiceContext' in
InjectManager[web-app:http://default]
I suppose that something is missing but what ?
How are you configuring the service in Resin?
It looks like we'll need to do a little bit of magic to make it work,
but I need to make sure I'm looking at it the same way you're using it.
-- Scott
Thanks for any suggestion.
___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest
--
Riccardo Cohen
Architecte du Logiciel
http://www.architectedulogiciel.fr
+33 (0)6.09.83.64.49
Membre du réseau http://www.reflexe-conseil-centre.org
___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest