Hello All:

I have received a reply my counter party regarding the above issue.  Their logs 
indicate that the POST is completing successfully I am timing out.

Below is the code I am using to post dozens of documents, but I get occasional 
timeouts.

                          cr = new ClientResource( IBURL_in );

                          ChallengeScheme scheme = ChallengeScheme.HTTP_BASIC;  
 
                          ChallengeResponse authentication = new 
ChallengeResponse(scheme, strIBUser_in, strIBPWord_in );     
                          cr.setChallengeResponse(authentication);
                        
                          represent = cr.post(writer.toString() );
                          ibXML = represent.getText();
                      log.info( ibXML );
                          log.info( cr.getStatus().toString() );
                          crStatus =  cr.getStatus(); 
                        
                      if ( cr.getStatus().isSuccess()  ) {
                        log.info("post of file: " + reportFileName + " Success 
" );
                      } 
                      else  {                   
                        log.error("post of file: " + reportFileName + "  
Failed");
                      }

Can I please get a hint on how to increase the client timeout period.


thanks

KD

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2785011

Reply via email to