SOAP
SO-S-5 Collaboration with other clients
Consuming a Virtuoso Web Service from Microsoft VB.NET
VB.NET
Virtuoso is able to interact with the Microsoft .NET by providing a WSDL description of all the stored procedures exposed as a SOAP operation within a given virtual directory. The WSDL description is an XML document available at http://<server_http_host_and_port>/SOAP/services.wsdl on any Virtuoso HTTP server.
This allows for easy creation of .NET clients.
fishselect example
The following .NET VBA routine calls the fishselect stored procedure, and prints the results on the console.
- Open a new VB.NET project for Console Application.
- Add a web reference to the Virtuoso WSDL end point (http://host:port/SOAP/services.wsdl).
- Drag and drop the VirtuosoSOAP() from Class wizard in routine code.
Module Module1
Sub Main()
Dim s As New [drop here the VirtuosoSOAP() method from Class wizard]
Dim r As String
r = s.fishselect("G%")
System.Console.WriteLine(r)
End Sub
End Module
OpenLink Home
Technical Support