J
jeff
I have a Web Service with the following structure...
[WebMethod]
[return: XmlElementAttribute("Response", Namespace="http://
www.abc.biz/")]
public ResponseType DeliverRequest(string M, StateType CS,
ErrorCodeType EC, InfoType I)
{
ResponseType c = new ResponseType();
Return c;
}
Its Soap Response is ...
<soap:Envelope ...>
<soap:Body>
<DeliverRequestResponse xmlns="http://www.abc.biz/">
<Response />
</DeliverRequestResponse >
</soap:Body>
</soap:Envelope>
But I want it to be...
<soap:Envelope ...>
<soap:Body>
<Response />
</soap:Body>
</soap:Envelope>
Is there a method attribute that I can set to accomplish this?
[WebMethod]
[return: XmlElementAttribute("Response", Namespace="http://
www.abc.biz/")]
public ResponseType DeliverRequest(string M, StateType CS,
ErrorCodeType EC, InfoType I)
{
ResponseType c = new ResponseType();
Return c;
}
Its Soap Response is ...
<soap:Envelope ...>
<soap:Body>
<DeliverRequestResponse xmlns="http://www.abc.biz/">
<Response />
</DeliverRequestResponse >
</soap:Body>
</soap:Envelope>
But I want it to be...
<soap:Envelope ...>
<soap:Body>
<Response />
</soap:Body>
</soap:Envelope>
Is there a method attribute that I can set to accomplish this?