You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The wsdlLocation for EvenMoreGreatStuff.wsdl becomes /GreatStuff.wsdl because "GreatStuff" is a suffix of "EvenMoreGreatStuff":
@WebServiceClient(name = "EvenMoreGreatStuffService",
targetNamespace = "http://j2ee.netbeans.org/wsdl/EvenMoreGreatStuff",
wsdlLocation = "/GreatStuff.wsdl")
public class EvenMoreGreatStuffService
extends Service
If the order of the <wsdlFile> entries is swapped, all is fine. The loop for ( String s : wsdlFiles ) then finds the correct file first.
The text was updated successfully, but these errors were encountered:
I confirm this issue, I encountered the same problem with version jaxws-maven-plugin 2.6. My two wsdl names are Services.wsdl and CallbackServices.wsdl, and the wsdlLocation="" is only generated correctly if CallbackServices.wsdl is listed first.
I think here is an error in the logic to find out the relative path for the wsdlLocation to generate:
My config is roughly like this:
The
wsdlLocation
forEvenMoreGreatStuff.wsdl
becomes/GreatStuff.wsdl
because "GreatStuff" is a suffix of "EvenMoreGreatStuff":If the order of the
<wsdlFile>
entries is swapped, all is fine. The loopfor ( String s : wsdlFiles )
then finds the correct file first.The text was updated successfully, but these errors were encountered: