XML as parameter to WebService(Resolved)
Hi all,
I've made a web service in VB.Net which can read an XML file at a predefined location and take the required action. What I am interested in knowing is: Can I pass the XML document itself to the web service?
To make myself very clear I will detail a bit more here;
Quote:
WebService:
Public Function FuncA(XML document) : Calls a private function which processes the XML data.
Client App:
VB Code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim test As New localhost.ExampleWebService
test.FuncA(XMLObject)
End Sub
I think this makes clear what I want to achieve. If any further clarifications are required please let me know.
Thanks.
Re: XML as parameter to WebService
Try using an XMLDocument Object?
Re: XML as parameter to WebService
Can you giving any links to begin with? In any case would be trying that tommorrow. Thanks.
Re: XML as parameter to WebService
Re: XML as parameter to WebService
Oh, that was so easy... I'm very thankful mendhak that you took the pain to answer such question and I'm sorry for not trying this possibility... Thanks anyways to all of you.
Re: XML as parameter to WebService(Resolved)