[
https://issues.apache.org/jira/browse/CXF-2508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12771886#action_12771886
]
Hans Scholl commented on CXF-2508:
----------------------------------
Hello Daniel.
I also tried this:
<wsdlLocation>./src/main/resources/wsdl/My.wsdl</wsdlLocation>
but it has no effect.
in -verbose-mode you can see the generated command (with tag <wsdlLocation>):
wsdl2java -d C:\Projekte\Intern\xyz\gen -verbose -wsdlLocation
./src/main/resources/wsdl/My.wsdl file:/C:/Projekte/Intern/xyz/shared
./src/main/resources/wsdl/My.wsdl
When I do this command manually, the wsdlLocation is set correctly. I think
it's the combination of maven and cxf which causes the problem?!
Thanks for your effort,
Hans
> 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.