netjunky

Untitled

Apr 17th, 2011
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.52 KB | None | 0 0
  1. try
  2.         {
  3.             if ( ! conected )
  4.             {
  5.                 for ( int i = 0; i < 10; i++ )
  6.                 {
  7.                     try
  8.                     {
  9.                         HinnakiriService_Service service = new HinnakiriService_Service( wsdlURL );
  10.                         HinnakiriService port            = service.getHinnakiriPort();
  11.                         conected                         = true;
  12.  
  13.                         for ( String value : TestingValues )
  14.                         {
  15.                             response = port.getHinnakiri( value );
  16.                         }
  17.                     }
  18.                     catch ( Exception e )
  19.                     {
  20.                         if ( conected ) break;
  21.                     }
  22.                 }
  23.             }
  24.         }
  25.         catch ( HinnakiriNumberNullPointerException e )
Add Comment
Please, Sign In to add comment