Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » [Axis2 PlugIn] Output path without src(If this is not the right forum, please tell me which one!)
icon11.gif  [Axis2 PlugIn] Output path without src [message #788293] Wed, 01 February 2012 16:02 Go to next message
Adriano Serio is currently offline Adriano SerioFriend
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 Go to previous messageGo to next message
David Wegener is currently offline David WegenerFriend
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.
Re: [Axis2 PlugIn] Output path without src [message #788819 is a reply to message #788293] Thu, 02 February 2012 09:06 Go to previous message
Adriano Serio is currently offline Adriano SerioFriend
Messages: 8
Registered: May 2011
Location: Milan, IT
Junior Member
Ok, thank you!
I'll reopen it there. Wink
Previous Topic:eclipse looses linked sources
Next Topic:InputStream not working in Eclipse for me
Goto Forum:
  


Current Time: Sat Apr 27 04:30:10 GMT 2024

Powered by FUDForum. Page generated in 0.02674 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top