???????
`
I have this two classes:
`@Xml(
name = "soapenv:Envelope",
writeNamespaces = {
"soapenv=http://schemas.xmlsoap.org/soap/envelope/",
"con=http://consultartiposdedocumento.wsbeans.iseries/"
}
)
public class RequestEnvelope {
@Element(name = "soapenv:Body")
private RequestBody requestBody;
public RequestEnvelope() {
this.requestBody = new RequestBody();
}
public RequestEnvelope(RequestBody requestBody) {
this.requestBody = requestBody;
}
public RequestBody getRequestBody() {
return requestBody;
}
public void setRequestBody(RequestBody requestBody) {
this.requestBody = requestBody;
}
}`
And this one:
`@Xml(name = "soapenv:Body")
public class RequestBody {
@Element(name = "con:mtrtipdocc")
private RequestContent requestContent;
public RequestBody() {
}
public RequestBody(RequestContent requestContent) {
this.requestContent = requestContent;
}
public RequestContent getRequestContent() {
return requestContent;
}
public void setRequestContent(RequestContent requestContent) {
this.requestContent = requestContent;
}
}`
Instead of @Element, I tried with @ElementNameMatcher but it only generates this XML:
``
@sockeqwe
I'm trying to generate this: `