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 "Andrew Borley (JIRA)" <ji...@apache.org> on 2006/11/30 18:12:21 UTC

[jira] Created: (AXIS2C-437) HTTP header missing soap action on client call

HTTP header  missing soap action on client call
-----------------------------------------------

                 Key: AXIS2C-437
                 URL: http://issues.apache.org/jira/browse/AXIS2C-437
             Project: Axis2-C
          Issue Type: Bug
          Components: transport/http
    Affects Versions: 0.95, Current (Nightly)
            Reporter: Andrew Borley


>From Axis2C 0.95 onwards using AXIS2_OPTIONS_SET_ACTION in client code does not set the SOAPAction HTTP header.
On invocation, the following HTTP header is sent.

POST /stockquote.asmx HTTP/1.1
User-Agent: Axis2/C
SOAPAction: ""

This causes SOAP 1.1 services that depend on this header to fail, such as the services from www.webservicex.net

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Updated: (AXIS2C-437) HTTP header missing soap action on client call

Posted by "Andrew Borley (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2C-437?page=all ]

Andrew Borley updated AXIS2C-437:
---------------------------------

    Attachment: Axis2c_HTTPSOAPAction.patch

This patch changes axis2_msg_ctx_get_soap_action to use the action set by AXIS2_OPTIONS_SET_ACTION if the soap_action variable has not been set.

It also backs out a change made in r471665 in http_transport_sender.c to reenable the getting of the soap_action variable

> HTTP header  missing soap action on client call
> -----------------------------------------------
>
>                 Key: AXIS2C-437
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-437
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: transport/http
>    Affects Versions: Current (Nightly), 0.95
>            Reporter: Andrew Borley
>         Attachments: Axis2c_HTTPSOAPAction.patch
>
>
> From Axis2C 0.95 onwards using AXIS2_OPTIONS_SET_ACTION in client code does not set the SOAPAction HTTP header.
> On invocation, the following HTTP header is sent.
> POST /stockquote.asmx HTTP/1.1
> User-Agent: Axis2/C
> SOAPAction: ""
> This causes SOAP 1.1 services that depend on this header to fail, such as the services from www.webservicex.net

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Assigned: (AXIS2C-437) HTTP header missing soap action on client call

Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2C-437?page=all ]

Samisa Abeysinghe reassigned AXIS2C-437:
----------------------------------------

    Assignee: Samisa Abeysinghe  (was: Dinesh Premalal)

This bug has been introduced while fixing some intherop stuff for SOAP 1.2 with WCF

> HTTP header  missing soap action on client call
> -----------------------------------------------
>
>                 Key: AXIS2C-437
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-437
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: transport/http
>    Affects Versions: Current (Nightly), 0.95
>            Reporter: Andrew Borley
>         Assigned To: Samisa Abeysinghe
>             Fix For: 0.96
>
>         Attachments: Axis2c_HTTPSOAPAction.patch
>
>
> From Axis2C 0.95 onwards using AXIS2_OPTIONS_SET_ACTION in client code does not set the SOAPAction HTTP header.
> On invocation, the following HTTP header is sent.
> POST /stockquote.asmx HTTP/1.1
> User-Agent: Axis2/C
> SOAPAction: ""
> This causes SOAP 1.1 services that depend on this header to fail, such as the services from www.webservicex.net

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Resolved: (AXIS2C-437) HTTP header missing soap action on client call

Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2C-437?page=all ]

Samisa Abeysinghe resolved AXIS2C-437.
--------------------------------------

    Resolution: Fixed

I have fixed this issue using the attached patch as well as some additional logic. Thank you for the patch first of all.

Now, if you want to set the SOPA action, you should set that on options using AXIS2_OPTIONS_SET_SOAP_ACTION. This is because, in case of using SOAP 1.2, if we use the WSA action as SOAP action, Microsoft WCF returns an error in some cases. 

Please have a look at samples/user_guide/clients/echo_blocking_soap11.c on how to use AXIS2_OPTIONS_SET_SOAP_ACTION.

> HTTP header  missing soap action on client call
> -----------------------------------------------
>
>                 Key: AXIS2C-437
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-437
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: transport/http
>    Affects Versions: Current (Nightly), 0.95
>            Reporter: Andrew Borley
>         Assigned To: Samisa Abeysinghe
>             Fix For: 0.96
>
>         Attachments: Axis2c_HTTPSOAPAction.patch
>
>
> From Axis2C 0.95 onwards using AXIS2_OPTIONS_SET_ACTION in client code does not set the SOAPAction HTTP header.
> On invocation, the following HTTP header is sent.
> POST /stockquote.asmx HTTP/1.1
> User-Agent: Axis2/C
> SOAPAction: ""
> This causes SOAP 1.1 services that depend on this header to fail, such as the services from www.webservicex.net

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Updated: (AXIS2C-437) HTTP header missing soap action on client call

Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2C-437?page=all ]

Samisa Abeysinghe updated AXIS2C-437:
-------------------------------------

    Fix Version/s: 0.96
         Assignee: Dinesh Premalal

> HTTP header  missing soap action on client call
> -----------------------------------------------
>
>                 Key: AXIS2C-437
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-437
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: transport/http
>    Affects Versions: Current (Nightly), 0.95
>            Reporter: Andrew Borley
>         Assigned To: Dinesh Premalal
>             Fix For: 0.96
>
>         Attachments: Axis2c_HTTPSOAPAction.patch
>
>
> From Axis2C 0.95 onwards using AXIS2_OPTIONS_SET_ACTION in client code does not set the SOAPAction HTTP header.
> On invocation, the following HTTP header is sent.
> POST /stockquote.asmx HTTP/1.1
> User-Agent: Axis2/C
> SOAPAction: ""
> This causes SOAP 1.1 services that depend on this header to fail, such as the services from www.webservicex.net

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org