You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2009/10/29 18:47:59 UTC

[jira] Commented: (CXF-2508) generation of absolute path in WSDL2Java

    [ https://issues.apache.org/jira/browse/CXF-2508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12771514#action_12771514 ] 

Daniel Kulp commented on CXF-2508:
----------------------------------



Can you try by setting the wsdlLocation config:

<wsdlOption> 
 <wsdl>./src/main/resources/wsdl/My.wsdl</wsdl> 
 <wsdlLocation>./src/main/resources/wsdl/My.wsdl</wsdlLocation</wsdl>
 </wsdlOption> 



> 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.