Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Web Service in Excel 2000
This code works fine in Excel 2007 but not in Excel 2000. I have the soap
toolkit installed. I have tried changing ReturnValue for an Object but it doesn't work either. Any Idea on how can I make this work ? The Web service don't have parameters and only return a string. Here's the function Public Sub CallWebService() On Error GoTo CallWebService_error Dim adress As String Dim ReturnValue As String Dim soap As SoapClient30 Set soap = New SoapClient30 adress = "http://test.org/Service.asmx?WSDL" soap.MSSoapInit adress ReturnValue = soap.GetExcelInfo() Set soap = Nothing Exit Sub CallWebService_error: Debug.Print Err.Number Debug.Print Err.Description End Sub Thanks In Advance François Houde |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Web Service in Excel 2000
Forgot to say that I have this error message :
-2147467259 Attachment:Maximum retry on the connection exceeded. HRESULT=0x80004005: Erreur non spécifiée - Client:An unanticipated error occurred during the processing of this request. HRESULT=0x80004005: Erreur non spécifiée - Client:Sending the Soap message failed or no recognizable response was received HRESULT=0x80004005: Erreur non spécifiée - Client:Unspecified client error. HRESULT=0x80004005: Erreur non spécifiée "Francois Houde" wrote: This code works fine in Excel 2007 but not in Excel 2000. I have the soap toolkit installed. I have tried changing ReturnValue for an Object but it doesn't work either. Any Idea on how can I make this work ? The Web service don't have parameters and only return a string. Here's the function Public Sub CallWebService() On Error GoTo CallWebService_error Dim adress As String Dim ReturnValue As String Dim soap As SoapClient30 Set soap = New SoapClient30 adress = "http://test.org/Service.asmx?WSDL" soap.MSSoapInit adress ReturnValue = soap.GetExcelInfo() Set soap = Nothing Exit Sub CallWebService_error: Debug.Print Err.Number Debug.Print Err.Description End Sub Thanks In Advance François Houde |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
excel 2000 post service pack 3 hotfix - correct an issue with solver with VBA | Excel Programming | |||
what service pack do I have with my windows 2000? | Excel Discussion (Misc queries) | |||
calling web service from excel 2000 | Excel Programming | |||
Excel 2000 post-Service Pack 3 hotfix package Q841881 | Excel Discussion (Misc queries) | |||
Excel 2000 Web service programming help | Excel Programming |