axis sends soap messages on error in http binded services
---------------------------------------------------------
Key: AXIS2-4427
URL: https://issues.apache.org/jira/browse/AXIS2-4427
Project: Axis 2.0 (Axis2)
Issue Type: Bug
Affects Versions: 1.5
Environment: fedora 11 openjdk 1.6 tomcat 6
Reporter: Christoph Höger
I have the followoing POJO deployed:
@WebService(name="counterService",
targetNamespace="http://www.umpa-net.de/services/counterService")
@BindingType(value=HTTPBinding.HTTP_BINDING)
public class Service {
@WebMethod(operationName = "echoMethod")
public String echoString(@WebParam(name="stringIn")String s){
return s;
}
@WebMethod(operationName = "greeting")
public String sendGreeting() {
return "Hello from a webservice, Mareike!";
}
}
Invoking:
http://192.168.2.106:8080/axis2/services/ServiceService/echoMethod?inString=Hallo
works as expected, but the error case
http://192.168.2.106:8080/axis2/services/ServiceService/echoMethod
returns:
<soapenv:Reason>
<soapenv:Text xml:lang="en-US">java.lang.NullPointerException</soapenv:Text>
</soapenv:Reason>
Why do I get SOAP stuff on http binded services? Shouldn't that be plain text?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.