axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "nadir amra (Commented) (JIRA)" <axis-c-...@ws.apache.org>
Subject [jira] [Commented] (AXISCPP-1084) AxisException: HTTPTransportException:Input streaming error while getting data Timed out waiting for HTTP header message.
Date Mon, 12 Dec 2011 15:26:30 GMT

    [ https://issues.apache.org/jira/browse/AXISCPP-1084?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13167542#comment-13167542
] 

nadir amra commented on AXISCPP-1084:
-------------------------------------

Did you use the existing binaries or did you rebuild the code using source in SVN?  If you
are using existing binaries then the recommendation is for you to rebuild axiscpp using code
in SVN and see if problem persists.  The existing binaries are old and I do plan on generating
a new release.  But until then, you will have to rebuild axiscpp, there are many, many, fixes
in SVN that are not in existing binaries. 

I will wait one week before closing out this issue.  
                
>  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: c-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: c-dev-help@axis.apache.org


Mime
View raw message