Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » WTP Axis2 client generation from WSDL broken?
WTP Axis2 client generation from WSDL broken? [message #212581] Fri, 18 April 2008 18:48 Go to next message
Eclipse UserFriend
Originally posted by: dajudge.t-online.de

Hi all,

I am trying to get the full round-trip of webservice/-client generation
working on WTP using axis2, and the webservice generation itself works
like a charm.

however, in the second step when the client code is to be generated from
the WSDL provided by axis2, the resulting code is either incomplete or
bogus - I can't tell really since I never saw a good result up to now.

to be more precise I tried a little example project of my own: for my
"MyService" webservice with a function "String wrap(String toWrap)" I
get two classes in the client project:

1. MyWebserviceCallbackHandler
2. MyWebserviceStub

Reading some tutorials makes me think there are actually some classes
missing? (Something about a SOAP12 http port?) The stub class itself
does indeed have a wrap() method, but it takes a Wrap object as
parameter and returns a WrapResponse object. This looks like a 1:1
mapping from the generated WSDL?

Calling those functions works - but of course that's far away from what
the original webservice looked like - and really cumbersome to use.

Following the tutorial from
http://www.eclipsecon.com/webtools/community/tutorials/Botto mUpAxis2WebService/bu_tutorial.html
resulted in the same problem: I didn't get the classes I was supposed to
according to the tutorial.

So finally my question: has anyone seen this before? Am I doing
something wrong?

I really appreciate your help!

Thanks,
Alex
Re: WTP Axis2 client generation from WSDL broken? [message #212661 is a reply to message #212581] Sat, 19 April 2008 08:26 Go to previous message
Eclipse UserFriend
Originally posted by: dajudge.t-online.de

Hi all,

I got into this a little more over night - and it looks to me like the
generation of the ADB style webservice client works nicely - but WTP
simply stops there and doesn't generate the wrapper classes around it
anymore that look like the original service classes on the server side.

Any ideas why this isn't happening?

Thanks,
Alex

Alexander Stockinger wrote:
> Hi all,
>
> I am trying to get the full round-trip of webservice/-client generation
> working on WTP using axis2, and the webservice generation itself works
> like a charm.
>
> however, in the second step when the client code is to be generated from
> the WSDL provided by axis2, the resulting code is either incomplete or
> bogus - I can't tell really since I never saw a good result up to now.
>
> to be more precise I tried a little example project of my own: for my
> "MyService" webservice with a function "String wrap(String toWrap)" I
> get two classes in the client project:
>
> 1. MyWebserviceCallbackHandler
> 2. MyWebserviceStub
>
> Reading some tutorials makes me think there are actually some classes
> missing? (Something about a SOAP12 http port?) The stub class itself
> does indeed have a wrap() method, but it takes a Wrap object as
> parameter and returns a WrapResponse object. This looks like a 1:1
> mapping from the generated WSDL?
>
> Calling those functions works - but of course that's far away from what
> the original webservice looked like - and really cumbersome to use.
>
> Following the tutorial from
> http://www.eclipsecon.com/webtools/community/tutorials/Botto mUpAxis2WebService/bu_tutorial.html
> resulted in the same problem: I didn't get the classes I was supposed to
> according to the tutorial.
>
> So finally my question: has anyone seen this before? Am I doing
> something wrong?
>
> I really appreciate your help!
>
> Thanks,
> Alex
Previous Topic:Eclipse WTP with WebSphere Portal Server
Next Topic:Error: Type name xxx does not exist when it's in fact in the project?
Goto Forum:
  


Current Time: Thu Mar 28 16:56:06 GMT 2024

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

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

Back to the top