Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jaxws-maven-plugin - wsimport: wrong wsdlLocation generated and ObjectFactory with missing methods #705

Open
CarstenFfm opened this issue Jan 30, 2025 · 0 comments

Comments

@CarstenFfm
Copy link

Plugin version 4.0.3
Using following configuration for execution (snippet)

true
org.mypackage
${src.generated.java}
${basedir}/src/main/resources/wsdl
/wsdl/*

.....wsdl
.....wsdl
.....wsdl
........
OBJEKT_LESENws.wsdl
OBJEKTE_ZU_OE_OBJEKT_LESENws.wsdl
.....wsdl
.......
If there are many wsdlFile entries and 2 have similar name, wsdlLocation is mixed.
First generated service class is correct. In the second service class it is
@WebServiceClient(name = "OBJEKTE_ZU_OE_OBJEKT_LESENService", targetNamespace = "http://dyns", wsdlLocation = "/wsdl/OBJEKT_LESENws.wsdl")
and in the static block
OBJEKTEZUOEOBJEKTLESENService.class.getResource("/wsdl/OBJEKT_LESENws.wsdl")
Workaround here is to split execution but that causes duplication...

The ObjectFactory generated for all the wsdl files contains methods for the last wsdlFile in the list only.

Best regards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant