VB.Net - Web Service - Save Request Disk

V

Vlad

I'm building a web service using vb.net and visual studio 2008. I
want to be able to save the entire XML soap request that is received
by the web service onto the server where the soap service is running.

I've been searching for an example but am having difficulty - can
anyone suggest a good example, or point me in the right direction?
I'm a bit new to this so don't know what I need to be searching for.

Thanks
 
V

V

Imports System.Web.Services
Imports System.Web.Services.Protocols
Imports System.ComponentModel

' To allow this Web Service to be called from script, using ASP.NET
AJAX, uncomment the following line.
' <System.Web.Script.Services.ScriptService()> _
<System.Web.Services.WebService(Namespace:="http://tempuri.org/")> _
<System.Web.Services.WebServiceBinding
(ConformsTo:=WsiProfiles.BasicProfile1_1)> _
<ToolboxItem(False)> _
Public Class Service1
Inherits System.Web.Services.WebService

<WebMethod()> _
Public Function HelloWorld(ByVal message As SoapMessage) As String
Return "Hello World"
End Function

End Class
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top