cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CXF-2508) generation of absolute path in WSDL2Java
Date Thu, 29 Oct 2009 17:47:59 GMT

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


Mime
View raw message