איך לגשת ל WS עם השם משתמש מ ASP פשוט?

ורד95

New member
איך לגשת ל WS עם השם משתמש מ ASP פשוט?

בס"ד שלום, יש לי אפליקציה ב ASP שמשתמשת ב WS דוטנטי, כל עוד התיקיה של ה WS מוגדרת כאנונימוס, הכל עובד. ברגע שה WS מוגדר windows authentication (כדי לעבוד עם kerberos), הוא נופל בהתחברות. איך ניתן להעביר ב ASP CLASSIC, את השם משתמש והסיסמא בהתחברות ל WS? השגיאה שאני מקבלת היא:
XML Parser failed at linenumber 0, lineposition 0, reason is: System error: -2146697208. HRESULT=0x1: Incorrect function. - WSDLReader:Loading of the WSDL file failed HRESULT=0x80070057: The parameter is incorrect. - Client:One of the parameters supplied is invalid. HRESULT=0x80070057: The parameter is incorrect.​
תודה מראש..
 

ורד95

New member
ניסיתי ולא עזר.. (ותודה על התגובה!)

בס"ד גם כך:
x = soapclient.mssoapinit("http://user:pwd@ws-server/ws.wsdl")​
וגם עם:
x = soapclient.mssoapinit("http://user:pwd@ws-server/ws.asmx?wsdl")​
ניסיתי גם להשתמש ב:
ConnectorProperty("AuthUser") ConnectorProperty("AuthPassword") ConnectorProperty("WinHTTPAuthScheme")​
אבל עדיין הוא נופל על האתחול עם: XML Parser failed at linenumber 1, lineposition 0, reason is: System error: -2146697209 וכו'...
 
למעלה