Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 8 and IIS Server 2000
Message
 
To
17/03/2004 15:41:31
Jean Haidar
Arkansas Blue Cross/Blue shield
Little Rock, Arkansas, United States
General information
Forum:
Visual FoxPro
Category:
Web Services
Miscellaneous
Thread ID:
00887239
Message ID:
00887391
Views:
15
Jean,
Check out thread #846504 and follow the messages.
>Here is the scenario:
>
> A user request is coming from a Web Page within our Intranet and connect to Our Web Service implemented with IIS on Windows 2000 Server.
>
> The Web Service is generated using Microsoft SOAP toolkit 3.0, It Create a. WSDL file which is a wrapper around our VFP COM+ Multithreaded DLL.
>
>COM+ DLL is registered on the IIS Server.
>
> The problem is: Web Pages requesting data from our Web Service using anonymous user and the VFP DATA and APPS are located on a Server other the Web Server where IIS is located.
>
> Because the user is anonymous, he only has Access to local drive on the Web Server.
> We need a solution where we can pass authentication and Required Credential to allow Access to other Server in our Intranet.
>
>
>As a test:
>We Have included section of code in a Method in the DLL (for test) to impersonate the Anonymous user into a User who has access to NTFS Resources on the SERVER (using a Call to LogonUser).
>Also hosted the Web Services under an XP machine as Test Server.
>And The Result is successful.
>
>When we take out Windows User Impersonation code, we get the following error:
> Error 1429- OLE Exception ISDisptach Code 0-.... Error at line 352 File \\lrd1fil2\vfptest\icu\libs\appobject.app does not exist
>
>The Method code in VFP multithreaded DLL that is generated the error above is:
>
>PROCEDURE groupcancellation(lcxmldata as String) as VOID
>This.MyAppObject = NEWOBJECT("AppObject","AppObject","\\lrd1fil2\vfptest\icu\libs\AppObject.app")
>
>
>Note: FILE ","\\lrd1fil2\vfptest\icu\libs\AppObject.app does exist and we can access ok within the LAN from VFP 8 Development.
>
>
>
>*-- The VFP test Program that call the Web Services is as follows:
>
>loolegrpcancellation.MSSoapInit("http://lrd1web1/MarketWrite_Test/olegrpcancellation.wsdl", "olegrpcancellation", "olegrpcancellationSoapPort","\\lrd1web1\web services\cancellation\olegrpcancellationClient.wsml")
>
>Where lrd1web1/MarketWrite_Test is under IIS Server 2000
>
>
>Again, we need a solution to work under Windows 2000 IIS server eventhough we have a solution under XP to impersonnate the User.
>
>
>
>Any Suggestions I appreciated!
>
>Thanks,
>Jean Haidar
>
>jjhaidar@arkbluecross.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform