You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Senaka Fernando (JIRA)" <ji...@apache.org> on 2007/12/22 10:36:43 UTC

[jira] Commented: (AXIS2C-837) SOAPAction dispatching

    [ https://issues.apache.org/jira/browse/AXIS2C-837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12554099 ] 

Senaka Fernando commented on AXIS2C-837:
----------------------------------------

Hi Michael,

AFAIK in Axis2/Java, the user (that means you) is supposed to set the action. Correct me if I'm wrong. In that case, the issue lies in the way you set the action. It should rather be getStatus and not "urn:getStatus". Please note that you must not include quotes as well as the namespace prefix.

I tested this issue with various payloads, with and without chunking, and discovered that no issue lies with the Axis2/C implementation. I believe that this is not a bug.

You got a Operation Not Found exception since the handler soap_action_based_dispatcher fails. The exception is generated in the soap_action_based_dispatcher, since it can't find the respective operation. If you included the payload, the handler soap_message_body_based_dispatcher which is invoked before the soap_action_based_dispatcher, will identify the proper operation and your request will not fail.

Regards,
Senaka

> SOAPAction dispatching
> ----------------------
>
>                 Key: AXIS2C-837
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-837
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: build system (Unix/Linux)
>         Environment: Suse Linux 9.1, gcc 3.3, Axis Java nightly build
>            Reporter: Michael Sutter
>            Priority: Minor
>             Fix For: Current (Nightly)
>
>
> By accessing a c webservice with no parameters with a Java client to dispatching of the sent SOAP Action is not working. The Java client always get a Operation Not Found exception. The SOAP requests looks like this:
> POST /axis2/services/DAQStatus/getStatus HTTP/1.1
> Content-Type: application/soap+xml; charset=UTF-8; action="urn:getStatus"
> User-Agent: Axis2
> Host: 192.168.12.100:9090
> Transfer-Encoding: chunked
> 93
> <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"><soapenv:Body /></soapenv:Envelope>
> 0
> So the SOAP Action is sent. To fix this in the client simply add the method to call to the request uri (shown above getStatus). 

-- 
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org