Web Service en XML RPC + VB.net (SSIS)
Bonjour,
Je cherche un bon tuto , exemple montant comment appeler un WEB Service en XML RPC via VB.net.
J'en ai trouvé un a cette adresse : http://www.emadibrahim.com/2007/07/3...pi-from-vbnet/
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
| 'Create a struct for the return result
Public Structure category
Public categoryId As Object
Public parentId As Object
Public description As Object
Public categoryName As Object
Public htmlUrl As Object
Public rssUrl As Object
End Structure
'Create the interface for the API
<XmlRpcUrl("http://myblog.blogstogo.com/xmlrpc.php")> _
Public Interface IWP
Inherits IXmlRpcProxy
<XmlRpcMethod("wp.getCategories")> _
Function getCategories(ByVal args() As String) As category()
End Interface
'Call the API
Dim proxy As IWP = XmlRpcProxyGen.Create(Of IWP)()
Dim args() As String = {"http://myblog.blogstogo.com", _
"username", "password"}
Dim categories() As category
categories = proxy.getCategories(args) |
mais il me dit que la variable XmlRpcProxyGen n'est pas déclaré.
pour info : Je veux developper un programme .net qui sera contenu dans un lot ETL SSIS.
merci d'avance.