If you landed on this page for some reasons, then here is possible solution for this one. I used WAS 7.0.0.17
You would need following metro jars in your EAR webservices-api.jar, webservices-extra-api.jar, webservices-extra.jar, webservices-rt.jar,webservices-tools.jar, jaxp-ri-1.4.5.jar.
Have your WAR module reference this JARS by updating META-INF/MANIFEST.MF in your WAR project. This will get rid of the injection error : InjectionProc E CWNEN0044E:
However this is not a perfect fix If your(the one you own)service expects a variable to be injected by the JAX-WS container. For instance, I wanted access to WebServiceContext and hence asked the container to inject the service variable as below. However I ended up with the same error.
May need to open a ticket with IBM to see how this can be resolved.
@Resource
WebServiceContext ctx.
Thanks
Devaraj Kesani
On Monday, June 27, 2011 12:12:58 AM UTC-4, Sai wrote:
> Hi,I created a sample addTwoNumbers Webservices project using Metro libraries and Deployed to IBM WAS 7. My services are not detected. I followed the steps below given in IBM Documentation:
http://publib.boulder.ibm.com/infocenter/wasinfo/v7r0/index.jsp?topic=/com.ibm.websphere.express.doc/info/exp/ae/twbs_thirdparty.html Is there anything else I am missing. I am always getting an error: ************ [6/27/11 0:04:13:051 EDT] 00000021 InjectionProc E CWNEN0044E: A resource reference binding could not be found for the com.sun.xml.ws.transport.tcp.servicechannel.ServiceChannelWSImpl/ wsContext resource reference, defined for the AddTwoNumbers component. [6/27/11 0:04:13:060 EDT] 00000021 InjectionProc E CWNEN0044E: A resource reference binding could not be found for the com.sun.xml.ws.tx.webservice.member.coord.RegistrationRequesterPortTypeImpl/ wsContext resource reference, defined for the AddTwoNumbers component. [6/27/11 0:04:13:067 EDT] 00000021 InjectionProc E CWNEN0044E: A resource reference binding could not be found for the com.sun.xml.ws.tx.webservice.member.coord.RegistrationPortTypeImpl/ wsContext resource reference, defined for the AddTwoNumbers component. ************And more logs similar to above...Thank you very much in advance.Thanks,Sai