Hello,
I'm newbie using CXF.
I have generated a wsdl file from java classes.
My service implementation class has also been created
Now, I'm trying to generate server classes (server interface and other
classes...) from my service implementation class.
So, when I do it, I can see that a XXXResponse and a XXXRequest classes have
been generated (where XXX is my web service method name).
In these classes, I can see that the name of the Response / Request object are
by default, arg0 (for Request) and return (for Response)
The problem is that these wrappers add a level to my xml message.
For exemple, if the type of my method parameter is ParamType.
The generated xml message is now :
<header>
....
</header>
<body>
<arg0>
<param> //ParamType
.....
</param>
</arg0>
</body>
What I want is to get the following message :
<header>
....
</header>
<body>
<param> //ParamType
.....
</param>
</body>
So I want to avoid this arg0 level in my exchanged message.
How can I do such a thing ?
Thanks a lot in advance,
Best regards