AxisBench Test loses its endpoint settings if the ws fails.  Thus any further 
reconnection attempts will be made with the WSDL defaults.
----------------------------------------------------------------------------------------------------------------------------------------

         Key: AXISCPP-969
         URL: http://issues.apache.org/jira/browse/AXISCPP-969
     Project: Axis-C++
        Type: Bug

  Components: Test  
 Environment: n/a
    Reporter: Fred Preston
    Priority: Minor


The AxisBench Test loses its endpoint settings if the webservice calls fail.  
Thus any further reconnection attempts will be made with the WSDL defaults.  
The existing code is as follows:-

if( endpoint_set)
{
  ws = new AxisBench( endpoint, APTHTTP1_1);

  free( endpoint);
                
  endpoint_set = false;
}
else
{
  ws = new AxisBench();
}

Should be:-

if( endpoint_set)
{
  ws = new AxisBench( endpoint, APTHTTP1_1);
}
else
{
  ws = new AxisBench();
}

and then, at the end, before the return;-

if( endpoint_set)
{
  free( endpoint);
}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to