axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amila Suriarachchi" <amilasuriarach...@gmail.com>
Subject Re: package issue of WSDL2Java and Eclipse
Date Wed, 17 Jan 2007 05:31:12 GMT
I can't realy understand your problem. but I can tell you that you can use
the ns2p option to set a package name for any url in the wsdl.
eg -ns2p http://xml.org=test.com

Try to use the eclipse plugin for axis2 codegeneration.
http://ws.apache.org/axis2/tools/1_1/eclipse/wsdl2java-plugin.html

On 1/16/07, Jiang Liu <S3075163@student.rmit.edu.au> wrote:
>
> Hi all
> I found that, well it actually could not be called as a
> problem,  WSDL2Java generates all source files and put them into a folder
> called "...\src\". But the problem is most client files keep the original
> package from WSDL's definition, so when integrating all sources with
> Eclipse, there is always package error.
>
> For this error, i can do nothing but just hand code my Client "easily".
> Any suggestions that i could keep the "original" file structure when using
> WSDL2Java so at least there is no problem when integrating with Eclipse? I
> tried '-p' when different defined package name, but it seems like only stub
> file changed, others not.
>
> cheers!!
> -----------------------------
> Jiang Liu
> Student Number: 3075163
> CS/Yallara Name: ljiang
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
Amila Suriarachchi,
WSO2 Inc.

Mime
View raw message