[ 
https://issues.apache.org/jira/browse/AXIS2-4426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12983173#action_12983173
 ] 

Isuru Eranga Suriarachchi commented on AXIS2-4426:
--------------------------------------------------

In the current Axis2 JAX-WS implementation, WSDL is not generated for HTTP 
bindings. Following error is printed from the "wsgen" tool.

"wsgen can not generate WSDL for non-SOAP binding: 
http://www.w3.org/2004/08/wsdl/http on Class 
org.apache.axis2.jaxws.HTTPBindingService"

So we don't see a WSDL at all. But when you invoke the service as follows, it 
works.

http://localhost:8080/axis2/services/HTTPBindingServiceService.CounterServicePort/greeting

There are no SOAP 1.1 or 1.2 bindings generated. Therefore, above issue is no 
longer there. But we have to fix the WSDL generation issue.

Thanks,
~Isuru

> 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]

Reply via email to