[
https://issues.apache.org/jira/browse/CXF-2508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12772485#action_12772485
]
Hans Scholl commented on CXF-2508:
----------------------------------
Due to your answer I could localize the problem myself.:
It seems that it leads back to 2 WSDL files in the same ressource folder. Both
WSDLs are taken also I referenced only one in pom.xml.
Simple solution: Put the WSDL files in several folders - only one WSDL per
folder.
Nevertheless it's a strange behavour which should be changed if possible.
> generation of absolute path in WSDL2Java
> ----------------------------------------
>
> Key: CXF-2508
> URL: https://issues.apache.org/jira/browse/CXF-2508
> Project: CXF
> Issue Type: Bug
> Components: Tooling
> Affects Versions: 2.2.4
> Environment: Windows XP
> Reporter: Hans Scholl
>
> When generating classes from WSDL the path of wsdlLocation etc. in the
> service-class is always generated absolute e.g. wsdlLocation =
> "file:/C:/Projekte/Intern/...
> the configuration in the pom.xml is like this:
> <configuration>
>
> <sourceRoot>./target/generated-sources/jaxws
> </sourceRoot>
> <wsdlOptions>
> <wsdlOption>
> <wsdl>
>
> ./src/main/resources/wsdl/My.wsdl
> </wsdl>
>
> <extraargs>
>
> <extraarg>-wsdlLocation</extraarg>
>
> <extraarg>./src/main/resources/wsdl/My.wsdl</extraarg>
>
> <extraarg>-verbose</extraarg>
>
> </extraargs>
> </wsdlOption>
> </wsdlOptions>
> </configuration>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.