Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / February 2005

Tip: Looking for answers? Try searching our database.

Custom Server Protocol

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dan Diephouse - 04 Feb 2005 21:52 GMT
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.