Hello Sir,
I am developing a Web Service That will Communicate With Another Server to Exchange XML Data
The data sent via HTTP Post will be xml, hence the content type is text/xml. The request message will not be in a parameter but a raw post directly to stream.
I WANT TO READ THE raw stream Data and Read the XML posted for processing . That is where i am stack.
This is the Web Method i have tried
<WebMethod>
Public Function payment() As String
Dim reader As StreamReader = New StreamReader(HttpContext.Current.Request.InputStream)
Dim requestFromPost As String = reader.ReadToEnd
Return requestFromPost
End Function
I am New In this forum , ihad from a friend that people in this forum solved almost all problem posted.
Please Help me.