AxisException: HTTPTransportException:Input streaming error while getting data Timed out waiting for HTTP header message. --------------------------------------------------------------------------------------------------------------------------
Key: AXISCPP-1084 URL: https://issues.apache.org/jira/browse/AXISCPP-1084 Project: Axis-C++ Issue Type: Bug Affects Versions: 1.6 Final Environment: AIX 6.1 Reporter: VijayaKumar S Fix For: 1.6 Alpha We are using Axis CPP tool (WSDL2Ws) to generate and use the client code. Problem description: When the program does not receive any requests for more than 60 seconds, we get below exception: AxisException: HTTPTransportException:Input streaming error while getting data Timed out waiting for HTTP header message. Design approach: 1> C++ stubs are generated from the WSDL. Stubs contain the code for functionality like Authentication, change password etc. 2> A library is generated with the generated stub code. 3> Stand-alone program links the generated library to use the functionality provided in the WSDL. Sample program: Assumption: All the required variables are declared and necessary headers included int main() { CitiSAMLServiceSoap * ws = new CitiSAMLServiceSoap(str,eProtocol); try { UserAuthenticationResponse * response; response = ws->UserAuthentication(id1,pwd1,URL); cout<<response->getmessage()<<endl; sleep(70); response = ws->UserAuthentication(id2,pwd2,URL); cout<<response->getmessage()<<endl; } catch(AxisException &e) { cout<<"AxisException:"<<e.what()<<endl; } delete ws; return 0; } Output: 1. Able to Authenticate with policy server 1st time successfully 2. After 60 sec , we tried to authenticate it's through exception like : AxisException: HTTPTransportException:Input streaming error while getting data Timed out waiting for HTTP header message. Please let us know if there are any project implementations with similar way. Any suggestions/inputs are welcome. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: c-dev-unsubscr...@axis.apache.org For additional commands, e-mail: c-dev-h...@axis.apache.org