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 "Christoph Höger (JIRA)" <ji...@apache.org> on 2009/07/09 20:20:15 UTC

[jira] Created: (AXIS2-4426) axis2 responds on all endpoint urls, but delivers using the selected binding

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.


[jira] Updated: (AXIS2-4426) axis2 responds on all endpoint urls, but delivers using the selected binding

Posted by "Glen Daniels (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Glen Daniels updated AXIS2-4426:
--------------------------------

    Fix Version/s:     (was: 1.5.1)
                   1.6

Retargeting this at 1.6, since it's not a critical bug-fix for 1.5.1

> 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.6
>
>
> 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.