[
https://issues.apache.org/jira/browse/AXIS2-4426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Amila Chinthaka Suriarachchi updated AXIS2-4426:
------------------------------------------------
Component/s: jaxws
> 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: Axis2
> Issue Type: Bug
> Components: jaxws
> 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.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]