You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Kate Wang (JIRA)" <ji...@apache.org> on 2007/02/27 16:51:05 UTC

[jira] Created: (AXIS2-2265) Could not set "Expect 100-continue" HTTP header

Could not set "Expect 100-continue" HTTP header 
------------------------------------------------

                 Key: AXIS2-2265
                 URL: https://issues.apache.org/jira/browse/AXIS2-2265
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
            Reporter: Kate Wang


In some case, I need to set "Expect 100-continue" http header, but I could not find a way to do it in axis2. I tried to add it as a custom header, but it would not work. After I examine the code more carefully, it seems to me that it is not possible to do it.

In org.apache.axis2.transport.http.SOAPOverHTTPSender.java, at line 105,  if HTTP version is 1.1, this header would be set. But in org.apche.commons.httpclient.methods.ExpectContinueMethod.java's addRequestHeaders() method, this header would be removed because HttpMethodParam.USE_EXPECT_CONTINUE is never set.



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


[jira] Assigned: (AXIS2-2265) Could not set "Expect 100-continue" HTTP header

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davanum Srinivas reassigned AXIS2-2265:
---------------------------------------

    Assignee: Saminda Wishwajith Abeyruwan

> Could not set "Expect 100-continue" HTTP header 
> ------------------------------------------------
>
>                 Key: AXIS2-2265
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2265
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.1.1
>            Reporter: Kate Wang
>         Assigned To: Saminda Wishwajith Abeyruwan
>
> I need to set "Expect 100-continue" http header, but I could not find a way to do it in axis2. I tried to add it as a custom header, but it would not work. After I examine the code more carefully, it seems to me that it is not possible to add it.
> In org.apache.axis2.transport.http.SOAPOverHTTPSender.java, at line 105,  if HTTP version is 1.1, this header would be set. But in org.apche.commons.httpclient.methods.ExpectContinueMethod.java's addRequestHeaders() method, this header would be removed because HttpMethodParam.USE_EXPECT_CONTINUE is never set. I searched through axis2 source code and didn't find a way to set this parameter.

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


[jira] Commented: (AXIS2-2265) Could not set "Expect 100-continue" HTTP header

Posted by "Kate Wang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12481470 ] 

Kate Wang commented on AXIS2-2265:
----------------------------------

Hi Dims,

I am sorry,  gmail sent my unfinished email out in the middle of my typing.

I am trying to make axis2 generated SOAP soap request work with Apache's AJP
connector with IIS server. At server site axis2 is deployed into JBoss.

So the scenario is

axis2 client --> IIS --> AJP Connector --> JBoss -->  Axis2 service.

Without that 100-continue header, AJP connector would not send the whole
soap request to the server.

Thanks and please let me know if you need any other information.
Kate








> Could not set "Expect 100-continue" HTTP header 
> ------------------------------------------------
>
>                 Key: AXIS2-2265
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2265
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.1.1
>            Reporter: Kate Wang
>
> I need to set "Expect 100-continue" http header, but I could not find a way to do it in axis2. I tried to add it as a custom header, but it would not work. After I examine the code more carefully, it seems to me that it is not possible to add it.
> In org.apache.axis2.transport.http.SOAPOverHTTPSender.java, at line 105,  if HTTP version is 1.1, this header would be set. But in org.apche.commons.httpclient.methods.ExpectContinueMethod.java's addRequestHeaders() method, this header would be removed because HttpMethodParam.USE_EXPECT_CONTINUE is never set. I searched through axis2 source code and didn't find a way to set this parameter.

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


[jira] Commented: (AXIS2-2265) Could not set "Expect 100-continue" HTTP header

Posted by "Kate Wang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12480616 ] 

Kate Wang commented on AXIS2-2265:
----------------------------------

Any feedback/comments would be appreciated. 

> Could not set "Expect 100-continue" HTTP header 
> ------------------------------------------------
>
>                 Key: AXIS2-2265
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2265
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.1.1
>            Reporter: Kate Wang
>
> I need to set "Expect 100-continue" http header, but I could not find a way to do it in axis2. I tried to add it as a custom header, but it would not work. After I examine the code more carefully, it seems to me that it is not possible to add it.
> In org.apache.axis2.transport.http.SOAPOverHTTPSender.java, at line 105,  if HTTP version is 1.1, this header would be set. But in org.apche.commons.httpclient.methods.ExpectContinueMethod.java's addRequestHeaders() method, this header would be removed because HttpMethodParam.USE_EXPECT_CONTINUE is never set. I searched through axis2 source code and didn't find a way to set this parameter.

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


[jira] Resolved: (AXIS2-2265) Could not set "Expect 100-continue" HTTP header

Posted by "Nandana Mihindukulasooriya (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nandana Mihindukulasooriya resolved AXIS2-2265.
-----------------------------------------------

    Resolution: Fixed

Fixed in revision: 684778. Now this can be done using a HttpMethodParams instance which can be passed to the Commons HttpClient using the code given below.

ServiceClient sc = ....
HttpMethodParams params = new HttpMethodParams();
params.setBooleanParameter(HttpMethodParams.USE_EXPECT_CONTINUE, true);
sc.getOptions().setProperty(org.apache.axis2.transport.http.HTTPConstants.HTTP_METHOD_PARAMS, params);

regards,
nandana 

> Could not set "Expect 100-continue" HTTP header 
> ------------------------------------------------
>
>                 Key: AXIS2-2265
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2265
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.1.1
>            Reporter: Kate Wang
>            Assignee: Saminda Wishwajith Abeyruwan
>
> I need to set "Expect 100-continue" http header, but I could not find a way to do it in axis2. I tried to add it as a custom header, but it would not work. After I examine the code more carefully, it seems to me that it is not possible to add it.
> In org.apache.axis2.transport.http.SOAPOverHTTPSender.java, at line 105,  if HTTP version is 1.1, this header would be set. But in org.apche.commons.httpclient.methods.ExpectContinueMethod.java's addRequestHeaders() method, this header would be removed because HttpMethodParam.USE_EXPECT_CONTINUE is never set. I searched through axis2 source code and didn't find a way to set this parameter.

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


[jira] Updated: (AXIS2-2265) Could not set "Expect 100-continue" HTTP header

Posted by "Kate Wang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kate Wang updated AXIS2-2265:
-----------------------------

    Description: 
I need to set "Expect 100-continue" http header, but I could not find a way to do it in axis2. I tried to add it as a custom header, but it would not work. After I examine the code more carefully, it seems to me that it is not possible to add it.

In org.apache.axis2.transport.http.SOAPOverHTTPSender.java, at line 105,  if HTTP version is 1.1, this header would be set. But in org.apche.commons.httpclient.methods.ExpectContinueMethod.java's addRequestHeaders() method, this header would be removed because HttpMethodParam.USE_EXPECT_CONTINUE is never set. I searched through axis2 source code and didn't find a way to set this parameter.



  was:
I need to set "Expect 100-continue" http header, but I could not find a way to do it in axis2. I tried to add it as a custom header, but it would not work. After I examine the code more carefully, it seems to me that it is not possible to do it.

In org.apache.axis2.transport.http.SOAPOverHTTPSender.java, at line 105,  if HTTP version is 1.1, this header would be set. But in org.apche.commons.httpclient.methods.ExpectContinueMethod.java's addRequestHeaders() method, this header would be removed because HttpMethodParam.USE_EXPECT_CONTINUE is never set.




> Could not set "Expect 100-continue" HTTP header 
> ------------------------------------------------
>
>                 Key: AXIS2-2265
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2265
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.1.1
>            Reporter: Kate Wang
>
> I need to set "Expect 100-continue" http header, but I could not find a way to do it in axis2. I tried to add it as a custom header, but it would not work. After I examine the code more carefully, it seems to me that it is not possible to add it.
> In org.apache.axis2.transport.http.SOAPOverHTTPSender.java, at line 105,  if HTTP version is 1.1, this header would be set. But in org.apche.commons.httpclient.methods.ExpectContinueMethod.java's addRequestHeaders() method, this header would be removed because HttpMethodParam.USE_EXPECT_CONTINUE is never set. I searched through axis2 source code and didn't find a way to set this parameter.

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


[jira] Commented: (AXIS2-2265) Could not set "Expect 100-continue" HTTP header

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12481435 ] 

Davanum Srinivas commented on AXIS2-2265:
-----------------------------------------

Kate,

What's the scenario you are dealing with?

thansk,
dims

> Could not set "Expect 100-continue" HTTP header 
> ------------------------------------------------
>
>                 Key: AXIS2-2265
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2265
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.1.1
>            Reporter: Kate Wang
>
> I need to set "Expect 100-continue" http header, but I could not find a way to do it in axis2. I tried to add it as a custom header, but it would not work. After I examine the code more carefully, it seems to me that it is not possible to add it.
> In org.apache.axis2.transport.http.SOAPOverHTTPSender.java, at line 105,  if HTTP version is 1.1, this header would be set. But in org.apche.commons.httpclient.methods.ExpectContinueMethod.java's addRequestHeaders() method, this header would be removed because HttpMethodParam.USE_EXPECT_CONTINUE is never set. I searched through axis2 source code and didn't find a way to set this parameter.

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


[jira] Commented: (AXIS2-2265) Could not set "Expect 100-continue" HTTP header

Posted by "Kate Wang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12481469 ] 

Kate Wang commented on AXIS2-2265:
----------------------------------

Hi Dims,

I am trying to make axis2 generated SOAP soap request work with Apache's AJP
connector with IIS server. At server site axis2 is deployed into JBoss.

So the scenario is

axis2 client --> IIS --> AJP Connector --> JBoss -->



> Could not set "Expect 100-continue" HTTP header 
> ------------------------------------------------
>
>                 Key: AXIS2-2265
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2265
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.1.1
>            Reporter: Kate Wang
>
> I need to set "Expect 100-continue" http header, but I could not find a way to do it in axis2. I tried to add it as a custom header, but it would not work. After I examine the code more carefully, it seems to me that it is not possible to add it.
> In org.apache.axis2.transport.http.SOAPOverHTTPSender.java, at line 105,  if HTTP version is 1.1, this header would be set. But in org.apche.commons.httpclient.methods.ExpectContinueMethod.java's addRequestHeaders() method, this header would be removed because HttpMethodParam.USE_EXPECT_CONTINUE is never set. I searched through axis2 source code and didn't find a way to set this parameter.

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


[jira] Updated: (AXIS2-2265) Could not set "Expect 100-continue" HTTP header

Posted by "Kate Wang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kate Wang updated AXIS2-2265:
-----------------------------

          Component/s: kernel
    Affects Version/s: 1.1.1

> Could not set "Expect 100-continue" HTTP header 
> ------------------------------------------------
>
>                 Key: AXIS2-2265
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2265
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.1.1
>            Reporter: Kate Wang
>
> In some case, I need to set "Expect 100-continue" http header, but I could not find a way to do it in axis2. I tried to add it as a custom header, but it would not work. After I examine the code more carefully, it seems to me that it is not possible to do it.
> In org.apache.axis2.transport.http.SOAPOverHTTPSender.java, at line 105,  if HTTP version is 1.1, this header would be set. But in org.apche.commons.httpclient.methods.ExpectContinueMethod.java's addRequestHeaders() method, this header would be removed because HttpMethodParam.USE_EXPECT_CONTINUE is never set.

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


[jira] Updated: (AXIS2-2265) Could not set "Expect 100-continue" HTTP header

Posted by "Kate Wang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kate Wang updated AXIS2-2265:
-----------------------------

    Description: 
I need to set "Expect 100-continue" http header, but I could not find a way to do it in axis2. I tried to add it as a custom header, but it would not work. After I examine the code more carefully, it seems to me that it is not possible to do it.

In org.apache.axis2.transport.http.SOAPOverHTTPSender.java, at line 105,  if HTTP version is 1.1, this header would be set. But in org.apche.commons.httpclient.methods.ExpectContinueMethod.java's addRequestHeaders() method, this header would be removed because HttpMethodParam.USE_EXPECT_CONTINUE is never set.



  was:
In some case, I need to set "Expect 100-continue" http header, but I could not find a way to do it in axis2. I tried to add it as a custom header, but it would not work. After I examine the code more carefully, it seems to me that it is not possible to do it.

In org.apache.axis2.transport.http.SOAPOverHTTPSender.java, at line 105,  if HTTP version is 1.1, this header would be set. But in org.apche.commons.httpclient.methods.ExpectContinueMethod.java's addRequestHeaders() method, this header would be removed because HttpMethodParam.USE_EXPECT_CONTINUE is never set.




> Could not set "Expect 100-continue" HTTP header 
> ------------------------------------------------
>
>                 Key: AXIS2-2265
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2265
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.1.1
>            Reporter: Kate Wang
>
> I need to set "Expect 100-continue" http header, but I could not find a way to do it in axis2. I tried to add it as a custom header, but it would not work. After I examine the code more carefully, it seems to me that it is not possible to do it.
> In org.apache.axis2.transport.http.SOAPOverHTTPSender.java, at line 105,  if HTTP version is 1.1, this header would be set. But in org.apche.commons.httpclient.methods.ExpectContinueMethod.java's addRequestHeaders() method, this header would be removed because HttpMethodParam.USE_EXPECT_CONTINUE is never set.

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