wood burning stoves 2.0*
The moose likes Web Services and the fly likes java2wsdl with attribute mapping Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "java2wsdl with attribute mapping" Watch "java2wsdl with attribute mapping" New topic
Author

java2wsdl with attribute mapping

Babji Reddy
Ranch Hand

Joined: Jan 24, 2006
Posts: 106
Hi
If I have a java object like
class MyRequest
{
String id;
String name;
}
how can I configure java2wsdl (axis 1.2) to generate the WSDL that specifies id as the attribute of <MyRequest> element and name as child element of <MyRequest>

Thanks
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: java2wsdl with attribute mapping