Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » WTP Axis2 client generation from WSDL broken?
WTP Axis2 client generation from WSDL broken? [message #212581] Fri, 18 April 2008 14:48 Go to previous message
Eclipse User
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
 
Read Message
Read Message
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 May 23 03:32:39 EDT 2013

Powered by FUDForum. Page generated in 0.06279 seconds