Register / Login
Win a copy of
The Way of the Web Tester: A Beginner's Guide to Automating Tests
this week in the
java2wsdl child elements vs attributes
posted 7 years ago
Lets say there is a
class that has method
public Response hello(Request req)
Response res = new Resonse();
res.setResult( "Received "+req.getValue +", id : " + req.getId());
where Request object is
Now if I generate WSDL for the POJO that has hello method, the WSDL generated will have a Request element that has two child elements value and id.
If I want to make the 'id' as attribute of Request element (instead of child element), how do I configure java2wsdl (axis or websphere) to make id as an attribute?
Get webservice location using wsdl4j api
Sending a Complex element through the Header.
Multiple questions on WSDL elements as per the specifications.
java2wsdl with attribute mapping
How could there be multiple wsdl:message parts for a response?