views:

23

answers:

0

I found that the javax.xml.ws.Service.create() multiple calls case memory leak.

I solve that issue by reuse the result of this command.

I don't understand what was the reason of this memory leak, cause all the members that we declared is local (inside the one method).

public String callService()
{

  ...................

  QName serviceName = new QName( Url, "SERVICE_NAME"  );

  Service service = Service.create( serviceName );

  .......................

}

Any idea?