I'm writing an extension with WSE 2.0 to send/receive soap messages over
Jabber. I've generated a server stub which I've implemented:
public abstract class ArticleService : System.Web.Services.WebService {
/// <remarks/>
[System.Web.Services.WebMethodAttribute()]
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("",
RequestNamespace="http://norgould.com/demo",
ResponseNamespace="http://norgould.com/demo",
Use=System.Web.Services.Description.SoapBindingUse.Literal,
ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public abstract void newArticle(string subject, string text);
}
And I can also send/receive messages over jabber. But I am confused -
how do I actually invoke the method on my service given a soap message?
All the custom transport examples I've seen just parse the xml...
- Dan
Dilip Krishnan - 04 Feb 2005 23:50 GMT
Hello Dan,
Thats because WebMethod attribute only works with the asmx model (read
http over iis). If you move away from that model to custom transport you
would need to take care of the de-serialization of the message.
HTH
Regards,
Dilip Krishnan
MCAD, MCSD.net
dkrishnan at geniant dot com
http://www.geniant.com
> I'm writing an extension with WSE 2.0 to send/receive soap messages
> over Jabber. I've generated a server stub which I've implemented:
[quoted text clipped - 17 lines]
> All the custom transport examples I've seen just parse the xml...
> - Dan