[
https://issues.apache.org/jira/browse/AXISCPP-1084?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13168149#comment-13168149
]
nadir amra commented on AXISCPP-1084:
-------------------------------------
The source needs to be extracted from the SVN
repository....http://svn.apache.org/repos/asf/axis/axis1/c/trunk/
Then you should build using ant which is what I use.
> 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
> Labels: patch
> Fix For: 1.6 Alpha
>
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> 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: [email protected]
For additional commands, e-mail: [email protected]