You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Florian Wachs <fe...@online.de> on 2007/03/08 21:21:29 UTC
[Axis2] Is Axis2 wsdl autogeneration configureable ?
Hello all !
Is it possible to configure the way axis2 is autogenerating the wsdl ?
I developed a little webservice as POJO´s. Service starts fine and I´m
able to access it with a java and c# client. But the way I have to
access it is to complicated.
I allready posted a similar problem under the topic "Axis2 without
wrapping the response".
I short :
At the moment, I have to use the generated stub (wsdl2java) the
following way:
QuizService service = new QuizService();
QuizQuestionResponse qqr = service.getQuestion();
QuizQuestion question = qqr.get_return();
But I want axis2 to allow me the following way:
QuizService service = new QuizService();
QuizQuestion question = service.getQuestion();
With the great help of Amila Suriarachchi I was able to realize that the
problem is the wsdl file. But I simply don´t want do edit the wsdl by
hand after the service is generated.
I know I can generate a "unwrapped" client stub using "wsdl2java -uri
QuizService.wsdl -d jibx -uw -s. But my lovely C# Net client (which also
autogenerates a stub) is not interested in that.
Maybe it´s simply not possible
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org