I just begin developping web services using axis2.
I created my own web service, and the .aar corresponding archive file, and then I deplyed it in the tomcat apache server.
However, After the execution (within the JBuilder environment) of that portion of code:
call.setTo(URL_context_ws);
call.setTransportInfo(Constants.TRANSPORT_HTTP,Constants.TRANSPORT_HTTP,false);
SOAPFactory fac1 = OMAbstractFactory.getSOAP11Factory();
SOAPEnvelope envelope = fac1.getDefaultEnvelope();
OMNamespace namespace = fac1.createOMNamespace("http://example1.org/url_context", "ranglang");
OMElement rang_lang = fac1.createOMElement((String)"lang", namespace);
rang_lang.setText("0");
envelope.getBody().setFirstChild(rang_lang);
call.invokeBlocking("getLanguage",envelope);
This error code is generated:
org.apache.axis2.AxisFault: Input stream is null while reading for incomming message
So is the problem in the trasport , in the web service code or in the web service client ?
Thanks in advance
Zakia
