|
-
May 11th, 2005, 05:21 AM
#1
Thread Starter
Fanatic Member
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;
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.
Last edited by rjv_rnjn; May 12th, 2005 at 01:36 AM.
-
May 11th, 2005, 07:37 AM
#2
Re: XML as parameter to WebService
Try using an XMLDocument Object?
-
May 11th, 2005, 08:21 AM
#3
Thread Starter
Fanatic Member
Re: XML as parameter to WebService
Can you giving any links to begin with? In any case would be trying that tommorrow. Thanks.
-
May 11th, 2005, 08:39 AM
#4
Re: XML as parameter to WebService
-
May 12th, 2005, 01:28 AM
#5
Thread Starter
Fanatic Member
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.
-
May 12th, 2005, 12:46 PM
#6
Re: XML as parameter to WebService(Resolved)
Hey, we all learn.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|