M
matthew.wooding
Hello Wise people,
I have created a WebMethod declared like this:
[WebMethod]
[SoapDocumentMethod(ParameterStyle = SoapParameterStyle.Bare)]
public System.Xml.XmlDocument APIMessage(string xRequestString)
{
...
which works fine if you access it via http://www.blah.com/service.aspx/APIMessage
and pass in XML as a string starting xRequestString=...
My colleague needs to be able to post to the bare URL, eg:
http://www.blah.com/service.aspx. Is this possible? I've been prodding
this problem for a while but I'm a bit in the dark about SOAP and so
on. It doesn't seem like a wierd thing to want to do. (it was so easy
in classic asp!).
All advice appreciated.
Thanks.
--Matt
I have created a WebMethod declared like this:
[WebMethod]
[SoapDocumentMethod(ParameterStyle = SoapParameterStyle.Bare)]
public System.Xml.XmlDocument APIMessage(string xRequestString)
{
...
which works fine if you access it via http://www.blah.com/service.aspx/APIMessage
and pass in XML as a string starting xRequestString=...
My colleague needs to be able to post to the bare URL, eg:
http://www.blah.com/service.aspx. Is this possible? I've been prodding
this problem for a while but I'm a bit in the dark about SOAP and so
on. It doesn't seem like a wierd thing to want to do. (it was so easy
in classic asp!).
All advice appreciated.
Thanks.
--Matt