J Juan Vargas (Bioagro) Member Licensed User Longtime User Jan 2, 2024 #1 I have been looking for an example to call a .NET webservice function, with an Xml parameter. Most examples are like this Code: Dim j As HttpJob j.Initialize("", Me) j.Download("https://www.google.com") Wait For (j) JobDone(j As HttpJob) If j.Success Then Log(j.GetString) End If j.Release But a webservice expect a xml parameter. How do I send the parameter with this example?
I have been looking for an example to call a .NET webservice function, with an Xml parameter. Most examples are like this Code: Dim j As HttpJob j.Initialize("", Me) j.Download("https://www.google.com") Wait For (j) JobDone(j As HttpJob) If j.Success Then Log(j.GetString) End If j.Release But a webservice expect a xml parameter. How do I send the parameter with this example?
OliverA Expert Licensed User Longtime User Jan 2, 2024 #2 Can you post any documentation on the API of the service you are trying to use? Upvote 0
J Juan Vargas (Bioagro) Member Licensed User Longtime User Jan 3, 2024 #3 Thanks. I solved with the library Xml2map posted by erel. Upvote 0
MicroDrie Well-Known Member Licensed User Longtime User Jan 3, 2024 #4 Juan Vargas (Bioagro) said: Thanks. I solved with the library Xml2map posted by erel. Click to expand... Great, but can you provide the source of your solution? Upvote 0
Juan Vargas (Bioagro) said: Thanks. I solved with the library Xml2map posted by erel. Click to expand... Great, but can you provide the source of your solution?
J Juan Vargas (Bioagro) Member Licensed User Longtime User Jan 3, 2024 #5 Is too big, but you can see an example here Xml Parse example Upvote 0
MicroDrie Well-Known Member Licensed User Longtime User Jan 3, 2024 #6 I thought you had to pass an XML parameter to the download url. Upvote 0