[Axis2 PlugIn] Output path without src [message #788293] |
Wed, 01 February 2012 16:02 |
Adriano Serio Messages: 8 Registered: May 2011 Location: Milan, IT |
Junior Member |
|
|
Hi all!
I had a trouble with Axis1 on generating Java classes from a wsdl by using "right click on wsdl -> Web Services -> Generate Client".
It couldn't corretcly set object types for complex types with ref.
(The problem was explained in an Oracle forum topic, but seems I can't still link external websites.)
By feeling there was no other solution than passing to Axis2, I decided to try that.
Currently I have two issues with Axis2 Plug-In.
The way I use it:
CTRL+N
Axis2 Code Generator -> Next
Generate Java from WSLD -> Next
I put WSLD file -> Next
Codegen option: Custom, Databinding Name: xmlbeans -> Next
I set "Browse a project from current eclipse workspace" and I put the "Output path" as: <Project Name>\src\ws
Or I can even point that location as a location on file system, seems nothing changes.
My first problem is the fact code generator create an "src" folder on the "Output path" I set, and this makes generated file not work properly!
I need java classes to be generated under \src\ws, not directly on \src directory, neither it have to create a \src\ws\src folder.
How can I do that?
My second problem: Axis1 was in use to generate some "XXXProxy" java classes with method to make calls. Axis2 doesn't create such kind of classes.
It creates different classes with that purpose, or do I have to activate some kind of options to get them?
PS: if you think this is the wrong forum, please excuse me and suggest me which one to use.
|
|
|
Re: [Axis2 PlugIn] Output path without src [message #788641 is a reply to message #788293] |
Thu, 02 February 2012 02:51 |
David Wegener Messages: 1445 Registered: July 2009 |
Senior Member |
|
|
On 02/01/2012 10:02 AM, Patcha Mising name wrote:
> Hi all!
>
> I had a trouble with Axis1 on generating Java classes from a wsdl by
> using "right click on wsdl -> Web Services -> Generate Client".
> It couldn't corretcly set object types for complex types with ref.
> (The problem was explained in an Oracle forum topic, but seems I can't
> still link external websites.)
>
> By feeling there was no other solution than passing to Axis2, I decided
> to try that.
>
>
> Currently I have two issues with Axis2 Plug-In.
>
> The way I use it:
> CTRL+N
> Axis2 Code Generator -> Next
> Generate Java from WSLD -> Next
> I put WSLD file -> Next
> Codegen option: Custom, Databinding Name: xmlbeans -> Next
> I set "Browse a project from current eclipse workspace" and I put the
> "Output path" as: <Project Name>\src\ws
> Or I can even point that location as a location on file system, seems
> nothing changes.
>
>
> My first problem is the fact code generator create an "src" folder on
> the "Output path" I set, and this makes generated file not work properly!
> I need java classes to be generated under \src\ws, not directly on \src
> directory, neither it have to create a \src\ws\src folder.
> How can I do that?
>
>
> My second problem: Axis1 was in use to generate some "XXXProxy" java
> classes with method to make calls. Axis2 doesn't create such kind of
> classes.
> It creates different classes with that purpose, or do I have to activate
> some kind of options to get them?
>
>
> PS: if you think this is the wrong forum, please excuse me and suggest
> me which one to use.
Web tools questions should be asked in the Web Tools Project forum.
|
|
|
|
Powered by
FUDForum. Page generated in 0.02980 seconds