1 Reply Latest reply on Aug 1, 2006 9:06 AM by Thomas Diesler

    call WebService jndi

    Simona Pricope Newbie


      I need help with calling a web service. I have a staeless bean: MyWebService and his JNDI_NAME is "ejb/myproject_MyWebServiceLocal"

      I want to call this web service and I use:
      call.setTargetEndpointAddress(paramSoapUrl), where
      paramSoapUrl = "https://localhost:443/axis/services/MyWebService"

      I get an exception:
      javax.naming.NameNotFoundException: MyWebServiceLocal not bound
      at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:260)

      In Browser there is no problem, I can call it using the url: