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 / December 2005

Tip: Looking for answers? Try searching our database.

Webservices with raw post data

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Carlo Razzeto - 30 Nov 2005 19:38 GMT
Hello,

I'm working on migrating a webservice my company currently has written in
PHP over to a .Net webservice. Our service works like this:

Applications makes a HTTP POST request to the webservice with the raw post
data consisting of XML.
The XML service creates the request processing object, passing the raw XML
Once the service is done, it returns the response XML on the same
connection.

This webservice does not use SOAP at all, it uses a custom request and
response schema deffined by us. My question is, how do I get access to the
raw post data in an 'offical' XML web service? Or can I even? As far as I
can see right now it seems that SOAP was basically made a requirement for
webservices in ASP.Net, and I can't find any documentation telling me how to
get access to raw post data in an XML web service. Can this be done? Or do I
need to create an ASP.Net website which consits of a single webpage wich
happend to accept only raw posted XML and happens to return only the XML
response? Any help would be appriciated. Thanks,

Carlo Razzeto
DC - 01 Dec 2005 03:01 GMT
What you describe is not "web services" as implemented in .NET (and most
other software app platforms).  It is more like REST or just XML doc
exchange.  So it is what you say - create an ASPX that accepts and generates
XML.   This is possible in .NET but not with [WebMethod] and all the other
webservice goodies.

Check this working example:
http://cheeso.members.winisp.net/xml1/

-D

Signature

-Dino
D i n o . C h i e s a  AT  M i c r o s o f t . c o m

> Hello,
>
[quoted text clipped - 18 lines]
>
> Carlo Razzeto

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



©2009 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.