I am trying to invoke a webservice from an stateless session bean using the code snippet below.
but it gives the error as ----
I have generated the stubs using the RAD tool and defined the client type as the java proxy. Another approach I tried was not using the JNDI to get the service object. instead using the generated class. Here is the code snippet for that :
But this also returned the same error. The webservice is working perfectly as i tried it with web service explorer from RAD tool. Please can anybody tell me what am I doing wrong and what is the correct way of invoking webservice from ejb?