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 "James Jose (JIRA)" <ax...@ws.apache.org> on 2006/01/31 10:51:33 UTC
[jira] Created: (AXISCPP-925) If the called Web service is
'One-Way' Type, then an Exception occurs in the Client
If the called Web service is 'One-Way' Type, then an Exception occurs in the Client
-----------------------------------------------------------------------------------
Key: AXISCPP-925
URL: http://issues.apache.org/jira/browse/AXISCPP-925
Project: Axis-C++
Type: Bug
Components: Client - Engine
Reporter: James Jose
For a 'One-Way' service(Client sends a request but no response from the server) client results in a C++ Exception.
'SameComplexTypeAndElementName' Test shows this issue.
--
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
[jira] Closed: (AXISCPP-925) If the called Web service is 'One-Way'
Type, then an Exception occurs in the Client
Posted by "nadir amra (JIRA)" <ax...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/AXISCPP-925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
nadir amra closed AXISCPP-925.
------------------------------
Resolution: Fixed
Fix Version/s: current (nightly)
Problem was that after message is sent, the code would attempt to read the envelope and header.
I have changed ClientAxisClientCode so that if no response is expected the reading of envelope and header are by-passed, in addition to by-passing invocation of response handlers.
Created new methods on Call class, send() and sendAndReceive(), and deprecated invoke() - it now calls sendAndReceive().
> If the called Web service is 'One-Way' Type, then an Exception occurs in the Client
> -----------------------------------------------------------------------------------
>
> Key: AXISCPP-925
> URL: https://issues.apache.org/jira/browse/AXISCPP-925
> Project: Axis-C++
> Issue Type: Bug
> Components: Client - Engine
> Reporter: James Jose
> Fix For: current (nightly)
>
>
> For a 'One-Way' service(Client sends a request but no response from the server) client results in a C++ Exception.
> 'SameComplexTypeAndElementName' Test shows this issue.
--
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: (AXISCPP-925) If the called Web service is
'One-Way' Type, then an Exception occurs in the Client
Posted by "nadir amra (JIRA)" <ax...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/AXISCPP-925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
nadir amra reopened AXISCPP-925:
--------------------------------
As I was doing work on the transport it revealed some problems in this area. That is, we need to consume the http response that is returned, and if response is a fault, we need to go through fault processing.
So I am reopening this issue until I get this fixed.
> If the called Web service is 'One-Way' Type, then an Exception occurs in the Client
> -----------------------------------------------------------------------------------
>
> Key: AXISCPP-925
> URL: https://issues.apache.org/jira/browse/AXISCPP-925
> Project: Axis-C++
> Issue Type: Bug
> Components: Client - Engine
> Reporter: James Jose
> Fix For: current (nightly)
>
>
> For a 'One-Way' service(Client sends a request but no response from the server) client results in a C++ Exception.
> 'SameComplexTypeAndElementName' Test shows this issue.
--
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] Closed: (AXISCPP-925) If the called Web service is 'One-Way'
Type, then an Exception occurs in the Client
Posted by "nadir amra (JIRA)" <ax...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/AXISCPP-925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
nadir amra closed AXISCPP-925.
------------------------------
Resolution: Fixed
Now the code completely supports one-way messaging. Any response data that is returned is assumed to be a fault and thus will result in the initiation of fault processing.
For those interested, ClientAxisEngine now makes use of the transport's isThereResponseData() method to determine if there is non-protocol data to be consumed. If there is, then the header and body elements are consumed (as is done for send/receive messaging). Then ClientAxisEngine invokes new deserializer method initiateFault() which initiates a fault using the same logic as when an element name does not match what is expected.
Works pretty good.
Also created new unit test, OneWayOperation.
> If the called Web service is 'One-Way' Type, then an Exception occurs in the Client
> -----------------------------------------------------------------------------------
>
> Key: AXISCPP-925
> URL: https://issues.apache.org/jira/browse/AXISCPP-925
> Project: Axis-C++
> Issue Type: Bug
> Components: Client - Engine
> Reporter: James Jose
> Assigned To: nadir amra
> Fix For: current (nightly)
>
>
> For a 'One-Way' service(Client sends a request but no response from the server) client results in a C++ Exception.
> 'SameComplexTypeAndElementName' Test shows this issue.
--
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: (AXISCPP-925) If the called Web service is
'One-Way' Type, then an Exception occurs in the Client
Posted by "nadir amra (JIRA)" <ax...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/AXISCPP-925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
nadir amra reassigned AXISCPP-925:
----------------------------------
Assignee: nadir amra
> If the called Web service is 'One-Way' Type, then an Exception occurs in the Client
> -----------------------------------------------------------------------------------
>
> Key: AXISCPP-925
> URL: https://issues.apache.org/jira/browse/AXISCPP-925
> Project: Axis-C++
> Issue Type: Bug
> Components: Client - Engine
> Reporter: James Jose
> Assigned To: nadir amra
> Fix For: current (nightly)
>
>
> For a 'One-Way' service(Client sends a request but no response from the server) client results in a C++ Exception.
> 'SameComplexTypeAndElementName' Test shows this issue.
--
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