dev@jax-ws.java.net

com.sun.xml.ws.client.WSServiceDelegate

From: Oleksiy Stashok <Oleksiy.Stashok_at_Sun.COM>
Date: Tue, 21 Feb 2006 15:00:24 +0100

Hi,

I found one similar to small bug thing in code of class WSServiceDelegate.
In constructor there is such code:

....................
           if(wsdlDocumentLocation!=null)
               wsdlDocumentLocation = serviceCAnnotations.wsdlLocation;
....................
Seems here is assumed to compare "equal" rather than "not equal"
....................
           if(wsdlDocumentLocation == null)
               wsdlDocumentLocation = serviceCAnnotations.wsdlLocation;
....................


otherwise presiouse wsdlDocumentation value didn't have any sense.

WBR,
Alexey.