axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christoph Höger (JIRA) <j...@apache.org>
Subject [jira] Created: (AXIS2-4426) axis2 responds on all endpoint urls, but delivers using the selected binding
Date Thu, 09 Jul 2009 18:20:15 GMT
axis2 responds on all endpoint urls, but delivers using the selected binding
----------------------------------------------------------------------------

                 Key: AXIS2-4426
                 URL: https://issues.apache.org/jira/browse/AXIS2-4426
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
         Environment: fedora 11, openjdk 1.6 tomcat 6
            Reporter: Christoph Höger
             Fix For: 1.5.1


When I use the following POJO:

@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!";
	    }
}

I get SOAP11, SOAP12 and an HTTP endpoint in the wsdl.

If I issue that endpoint by GETing e.g.: http://192.168.2.106:8080/axis2/services/ServiceService.ServiceServiceHttpSoap12Endpoint/greeting

I would expect an 404 or a "wrong protocoll" message, but it is handled via http and I get
the response.

Is that expectation wrong?


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message