Skip to content

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

@CarstenFfm

Description

@CarstenFfm

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions