[
https://issues.apache.org/jira/browse/CXF-2508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12771967#action_12771967
]
Daniel Kulp commented on CXF-2508:
----------------------------------
I wasn't able to reproduce this. If I modify the wsdl_first sample pom to
look like:
<wsdlOptions>
<wsdlOption>
<wsdl>./wsdl/CustomerService.wsdl</wsdl>
<bindingFiles>
<bindingFile>${basedir}/wsdl/binding.xml</bindingFile>
</bindingFiles>
<wsdlLocation>./wsdl/CustomerService.wsdl</wsdlLocation>
</wsdlOption>
</wsdlOptions>
and run "mvn install" (ignore the resulting compile failure) but look at
target/generated-sources/cxf/com/example/customerservice/CustomerServiceService.java,
I see:
wsdlLocation = "./wsdl/CustomerService.wsdl",
and:
url = new URL("./wsdl/CustomerService.wsdl");
> 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.