הצטרפו לקבוצות שלנו לקבלת עדכונים מרוכזים פעם בשבוע:

ווטסאפ:
http://wa.dwh.co.il
טלגרם:
http://telegram.dwh.co.il

התממשקות ל- web service עם סיסמה

More
15 years 3 months ago #6389 by eran
למישהו יש ניסיון בהתממשקות ל web service עם סיסמה ופונקציית פניה?

הקוד שאני מכניס למאקרו נראה כך:

("Set xmlhttp = CreateObject("Microsoft.XMLHTTP

xmlhttp.open "GET", URL & "/GetQuestionnairesFindings(DateTime fromDate, DateTime toDate)" , false, username, pasword

ואני מקבל שגיאת התחברות
Permission denied

אם למישהו יש דוגמאות לסוג התחברות שכזה אני מאד אשמח..

תודה

Please התחברות to join the conversation.

More
15 years 3 months ago #6395 by Daniel Chotzen
הי מצטער
לא היה לי זמן לחטט עמוק יותר. זה גם לא כלכך קשור לקליקוויו בלבד אז אוי יהיה לך מזל גם בפורומים אחרים. מה שאני מביא זה ציטוט ממדריך מיקרוסופט לפונקציה OPEN של האובייקט: Microsoft.XMLHTTP
בו אתה משתמש.
מקווה שזה עוזר.

Script Syntax
Copy

oXMLHttpRequest.open(bstrMethod, bstrUrl, varAsync, bstrUser, bstrPassword);

Remarks
Script Parameters

bstrMethod

String. HTTP method used to open the connection, such as GET, POST, PUT, or PROPFIND.

bstrUrl

String. Requested URL. This must be an absolute URL, such as "http://Myserver/Mypath/Myfile.asp".

varAsync

[optional] Boolean. Indicator of whether the call is asynchronous. The default is True (the call returns immediately). If set to True, attach an onreadystatechange Property (IXMLHTTPRequest) callback so that you can tell when the send call has completed.

bstrUser

[optional] Name of the user for authentication. If this parameter is Null ("") or missing and the site requires authentication, the component displays a logon window.

bstrPassword

[optional] Password for authentication. This parameter is ignored if the user parameter is Null ("") or missing.

Please התחברות to join the conversation.

Moderators: avishaylgiladlDaniel Chotzenodedth
Time to create page: 0.252 seconds