msvisual.com Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

MSSOAP.SoapClient

 
Post new topic   Reply to topic    msvisual.com Forum Index -> VB Syntax
Author Message
Michel



Joined: 04 Oct 2007
Posts: 3

PostPosted: Sat Jul 08, 2006 3:31 pm    Post subject: MSSOAP.SoapClient Reply with quote

Hi

Im trying to call a webservice with vbs and to display the returned values.
If I call a service which returns a single string or only one row odf datas
there is no problem. But if I recieve an array of values I cannot access any
item or value of an item.

Should I retrun an XML String in case of an objet array?

Here is a sample of my code.

strWsdl = "http://www.omnisolutions.ch/SLXService/service.asmx?WSDL"
set objSoap = createObject("MSSOAP.SoapClient")
objSoap.mssoapinit(strWsdl)
items = objSoap.GetDocuments("Name")

for i=0 to UBound(items) step 1
msgbox items(i).item(0)
next

' msgbox items

set objSoap = nothing

Archived from group: microsoft>public>vb>syntax
Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
writing text to file I am using Open "test.txt" For Output As #2 For i = 1 To n Write #2, dfile(i) Next Close #2 to write string data to a file. It works ok but when I view the resultant file in a text editor all the text records are enclosed in double quotes eg "This is some

Access Denied Hi, I have installed my device My USB device under HID class. I am getting the deive path, but not able to create the Handle for my device. It says Access Denied. I am using Windows 2000 professional. I am logged in as Administrator and installed the Visu

Minimizing a modal form to the task bar I have a main form which displays several other modal forms. When one of these modal forms is displayed, if I minimize it, it minimizes to the desktop and not the task bar (XP Pro). How can I minimize it to the task bar instead of the desktop. TIA Daryl

Change this Program Hi I need some help please, can I delete the Button Options and code the file to Burn into the program somewhere, it will always be the same. I have tried all options I can think of without any success, at the moment I do not fully understand all of the p

Getting the File Name from a String which contains the PATH Hii All I am writing an application in VBA .I am new to Vb. I have taken the path name in a String and i want only the File name not the whole path. Eg strPath = report.csv I want only the file name. How to move ahead. I a
Post new topic   Reply to topic    msvisual.com Forum Index -> VB Syntax All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group