VB.Net - Web Service - Save Request Disk

  • Thread starter Thread starter Vlad
  • Start date Start date
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
 
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
 
Back
Top