A
Atul Agarwal
Hello
Lets say I have a WebMethod with the following Attributes
[SoapRpcMethod()]
[WebMethod(MessageName="MyAction",Description="MyAction")]
public short method()
{
return 1;
}
The WSDL for the above Method has the following
<message name="MyActionSoapIn">
</message>
<message name="MyActionSoapout">
<part name="MyActionResult" type="s:short" />
</message>
What do I need to do so that name="MyActionResult" changes to say
name="MyResult" in the above WSDL ?
I tried specifying [return:XmlElement(ElementName="MyResult")]
but that did not help.
Thank you.
Atul Agarwal
Lets say I have a WebMethod with the following Attributes
[SoapRpcMethod()]
[WebMethod(MessageName="MyAction",Description="MyAction")]
public short method()
{
return 1;
}
The WSDL for the above Method has the following
<message name="MyActionSoapIn">
</message>
<message name="MyActionSoapout">
<part name="MyActionResult" type="s:short" />
</message>
What do I need to do so that name="MyActionResult" changes to say
name="MyResult" in the above WSDL ?
I tried specifying [return:XmlElement(ElementName="MyResult")]
but that did not help.
Thank you.
Atul Agarwal