You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Patrick Morton (JIRA)" <ji...@apache.org> on 2014/07/24 01:50:40 UTC
[jira] [Commented] (AXIS2-4427) axis sends soap messages on error
in http binded services
[ https://issues.apache.org/jira/browse/AXIS2-4427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14072572#comment-14072572 ]
Patrick Morton commented on AXIS2-4427:
---------------------------------------
http://google.com Search Engine xrk3tw9o fantastic
> axis sends soap messages on error in http binded services
> ---------------------------------------------------------
>
> Key: AXIS2-4427
> URL: https://issues.apache.org/jira/browse/AXIS2-4427
> Project: 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 was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org