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 "Frederic Heem (JIRA)" <ji...@apache.org> on 2008/05/22 19:35:55 UTC
[jira] Created: (AXIS2C-1160)
axis2_svc_client_send_robust_with_op_qname doesn't return AXIS2_FAILURE
when the server returns "HTTP/1.1 500 Internal Server Error"
axis2_svc_client_send_robust_with_op_qname doesn't return AXIS2_FAILURE when the server returns "HTTP/1.1 500 Internal Server Error"
------------------------------------------------------------------------------------------------------------------------------------
Key: AXIS2C-1160
URL: https://issues.apache.org/jira/browse/AXIS2C-1160
Project: Axis2-C
Issue Type: Bug
Components: core/clientapi
Environment: linux fc5
Reporter: Frederic Heem
Priority: Minor
Fix For: 1.4.0
When sending an "In-Only" message, the function axis2_svc_client_send_robust_with_op_qname() doesn't return AXIS2_FAILURE when the server returns "HTTP/1.1 500 Internal Server Error". Is this the intended behaviour ?
--
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
Re: [jira] Created: (AXIS2C-1160) axis2_svc_client_send_robust_with_op_qname
doesn't return AXIS2_FAILURE when the server returns "HTTP/1.1 500 Internal
Server Error"
Posted by Damitha Kumarage <da...@gmail.com>.
Hi Fred,
It should return AXIS2_FAILURE when HTTP/1.1 500 returns as the
following code in op_client.c indicates. Can you send me the log trace
so that I can see what happen there.
thanks
Damitha
------------------------------
if (!(axutil_strcmp(mep, AXIS2_MEP_URI_ROBUST_OUT_ONLY)) && response)
{
if (axis2_msg_ctx_get_doing_rest(response, env) &&
axis2_msg_ctx_get_status_code (response, env) >= 400)
{
/* All HTTP 4xx and 5xx status codes are treated as errors */
AXIS2_ERROR_SET(env->error,
AXIS2_ERROR_HTTP_CLIENT_TRANSPORT_ERROR,
AXIS2_FAILURE);
AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "HTTP client
transport error.");
return NULL;
}
switch(axis2_msg_ctx_get_status_code (response, env))
{
/* In a SOAP request HTTP status code 500 is used for errors */
case 500:
AXIS2_ERROR_SET(env->error,
AXIS2_ERROR_HTTP_CLIENT_TRANSPORT_ERROR,
AXIS2_FAILURE);
AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "HTTP client
transport error.");
break;
----------------------------------
Frederic Heem (JIRA) wrote:
>axis2_svc_client_send_robust_with_op_qname doesn't return AXIS2_FAILURE when the server returns "HTTP/1.1 500 Internal Server Error"
>------------------------------------------------------------------------------------------------------------------------------------
>
> Key: AXIS2C-1160
> URL: https://issues.apache.org/jira/browse/AXIS2C-1160
> Project: Axis2-C
> Issue Type: Bug
> Components: core/clientapi
> Environment: linux fc5
> Reporter: Frederic Heem
> Priority: Minor
> Fix For: 1.4.0
>
>
>When sending an "In-Only" message, the function axis2_svc_client_send_robust_with_op_qname() doesn't return AXIS2_FAILURE when the server returns "HTTP/1.1 500 Internal Server Error". Is this the intended behaviour ?
>
>
>
---------------------------------------------------------------------
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-1160)
axis2_svc_client_send_robust_with_op_qname doesn't return AXIS2_FAILURE
when the server returns "HTTP/1.1 500 Internal Server Error"
Posted by "Supun Kamburugamuva (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2C-1160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Supun Kamburugamuva resolved AXIS2C-1160.
-----------------------------------------
Resolution: Fixed
I think by modified notify_client.c you mean the AXIS2C-1154 attached file. As I have mentioned in AXIS2C-1154 you are setting the MEP incorrectly. That causes a control flow confusion and this happens. Now it is fixed in the trunk. Please have a look and also change your MEP to the correct one.
> axis2_svc_client_send_robust_with_op_qname doesn't return AXIS2_FAILURE when the server returns "HTTP/1.1 500 Internal Server Error"
> ------------------------------------------------------------------------------------------------------------------------------------
>
> Key: AXIS2C-1160
> URL: https://issues.apache.org/jira/browse/AXIS2C-1160
> Project: Axis2-C
> Issue Type: Bug
> Components: core/clientapi
> Environment: linux fc5
> Reporter: Frederic Heem
> Assignee: Damitha Kumarage
> Priority: Minor
> Fix For: 1.4.0
>
>
> When sending an "In-Only" message, the function axis2_svc_client_send_robust_with_op_qname() doesn't return AXIS2_FAILURE when the server returns "HTTP/1.1 500 Internal Server Error". Is this the intended behaviour ?
--
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
[jira] Assigned: (AXIS2C-1160)
axis2_svc_client_send_robust_with_op_qname doesn't return AXIS2_FAILURE
when the server returns "HTTP/1.1 500 Internal Server Error"
Posted by "Damitha Kumarage (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2C-1160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Damitha Kumarage reassigned AXIS2C-1160:
----------------------------------------
Assignee: Damitha Kumarage
> axis2_svc_client_send_robust_with_op_qname doesn't return AXIS2_FAILURE when the server returns "HTTP/1.1 500 Internal Server Error"
> ------------------------------------------------------------------------------------------------------------------------------------
>
> Key: AXIS2C-1160
> URL: https://issues.apache.org/jira/browse/AXIS2C-1160
> Project: Axis2-C
> Issue Type: Bug
> Components: core/clientapi
> Environment: linux fc5
> Reporter: Frederic Heem
> Assignee: Damitha Kumarage
> Priority: Minor
> Fix For: 1.4.0
>
>
> When sending an "In-Only" message, the function axis2_svc_client_send_robust_with_op_qname() doesn't return AXIS2_FAILURE when the server returns "HTTP/1.1 500 Internal Server Error". Is this the intended behaviour ?
--
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
[jira] Commented: (AXIS2C-1160)
axis2_svc_client_send_robust_with_op_qname doesn't return AXIS2_FAILURE
when the server returns "HTTP/1.1 500 Internal Server Error"
Posted by "Frederic Heem (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2C-1160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12608426#action_12608426 ]
Frederic Heem commented on AXIS2C-1160:
---------------------------------------
The modified notify_client.c has been used to reproduce the problem (the original may exhibit the issue as well). Simply delete from the server services the notify directory and invoke the client, it returns: "notify client invoke SUCCESSFUL!"
Best Regards,
> axis2_svc_client_send_robust_with_op_qname doesn't return AXIS2_FAILURE when the server returns "HTTP/1.1 500 Internal Server Error"
> ------------------------------------------------------------------------------------------------------------------------------------
>
> Key: AXIS2C-1160
> URL: https://issues.apache.org/jira/browse/AXIS2C-1160
> Project: Axis2-C
> Issue Type: Bug
> Components: core/clientapi
> Environment: linux fc5
> Reporter: Frederic Heem
> Assignee: Damitha Kumarage
> Priority: Minor
> Fix For: 1.4.0
>
>
> When sending an "In-Only" message, the function axis2_svc_client_send_robust_with_op_qname() doesn't return AXIS2_FAILURE when the server returns "HTTP/1.1 500 Internal Server Error". Is this the intended behaviour ?
--
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
[jira] Resolved: (AXIS2C-1160)
axis2_svc_client_send_robust_with_op_qname doesn't return AXIS2_FAILURE
when the server returns "HTTP/1.1 500 Internal Server Error"
Posted by "Damitha Kumarage (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2C-1160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Damitha Kumarage resolved AXIS2C-1160.
--------------------------------------
Resolution: Fixed
I tested with server sending HTTP/1.1 500 Interval Server Error. op_client code handles this and notify client prompty return failure. So I suggest there is no error. Please recheck with current svn and if problem persist re open with more details.
> axis2_svc_client_send_robust_with_op_qname doesn't return AXIS2_FAILURE when the server returns "HTTP/1.1 500 Internal Server Error"
> ------------------------------------------------------------------------------------------------------------------------------------
>
> Key: AXIS2C-1160
> URL: https://issues.apache.org/jira/browse/AXIS2C-1160
> Project: Axis2-C
> Issue Type: Bug
> Components: core/clientapi
> Environment: linux fc5
> Reporter: Frederic Heem
> Assignee: Damitha Kumarage
> Priority: Minor
> Fix For: 1.4.0
>
>
> When sending an "In-Only" message, the function axis2_svc_client_send_robust_with_op_qname() doesn't return AXIS2_FAILURE when the server returns "HTTP/1.1 500 Internal Server Error". Is this the intended behaviour ?
--
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
[jira] Reopened: (AXIS2C-1160)
axis2_svc_client_send_robust_with_op_qname doesn't return AXIS2_FAILURE
when the server returns "HTTP/1.1 500 Internal Server Error"
Posted by "Frederic Heem (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2C-1160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Frederic Heem reopened AXIS2C-1160:
-----------------------------------
The problem has been checked again, and still exists. Please use the notify_client.c which contains a call to axis2_svc_client_send_robust_with_op_qname.
> axis2_svc_client_send_robust_with_op_qname doesn't return AXIS2_FAILURE when the server returns "HTTP/1.1 500 Internal Server Error"
> ------------------------------------------------------------------------------------------------------------------------------------
>
> Key: AXIS2C-1160
> URL: https://issues.apache.org/jira/browse/AXIS2C-1160
> Project: Axis2-C
> Issue Type: Bug
> Components: core/clientapi
> Environment: linux fc5
> Reporter: Frederic Heem
> Assignee: Damitha Kumarage
> Priority: Minor
> Fix For: 1.4.0
>
>
> When sending an "In-Only" message, the function axis2_svc_client_send_robust_with_op_qname() doesn't return AXIS2_FAILURE when the server returns "HTTP/1.1 500 Internal Server Error". Is this the intended behaviour ?
--
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
[jira] Commented: (AXIS2C-1160)
axis2_svc_client_send_robust_with_op_qname doesn't return AXIS2_FAILURE
when the server returns "HTTP/1.1 500 Internal Server Error"
Posted by "Senaka Fernando (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2C-1160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12608422#action_12608422 ]
Senaka Fernando commented on AXIS2C-1160:
-----------------------------------------
Hi Frederic,
Can you provide us with instructions on how to reproduce this issue.
Regards,
Senaka
> axis2_svc_client_send_robust_with_op_qname doesn't return AXIS2_FAILURE when the server returns "HTTP/1.1 500 Internal Server Error"
> ------------------------------------------------------------------------------------------------------------------------------------
>
> Key: AXIS2C-1160
> URL: https://issues.apache.org/jira/browse/AXIS2C-1160
> Project: Axis2-C
> Issue Type: Bug
> Components: core/clientapi
> Environment: linux fc5
> Reporter: Frederic Heem
> Assignee: Damitha Kumarage
> Priority: Minor
> Fix For: 1.4.0
>
>
> When sending an "In-Only" message, the function axis2_svc_client_send_robust_with_op_qname() doesn't return AXIS2_FAILURE when the server returns "HTTP/1.1 500 Internal Server Error". Is this the intended behaviour ?
--
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