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

Dimuthu Gamage commented on AXIS2C-837:
---------------------------------------

Hi,
The problem lies on the action specific to the above soap message. Since 
currently soap action dispatching in axis2 (both in c[1] and java[2]) expecting 
to have the operation name at the later part of the action followed by a '/' 
(for an example: http://some_uri/operation_name. since the above soap message 
action doesnt follow that, it fails to dispatch.

I got to know this is how soap action dispatching done with Axis2 architecture. 
So with axis2 this type of messages need to be dispatched using some other 
ways. (uri based, ws-addressing based)

[1] src/core/engine/soap_action_disp.c in Axis2/c code
[2] org.apache.axis2.dispatchers.ActionBasedOperationDispatcher in Axis2/Java 
code

> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to