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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to