on 06-10-2015 8:42 AM
Hello everyone.
In the development of the client program in PB, when I create my DW based on a WS system you ask me the path to find the WS and I write 'http: //localhost/*.*' (IIS is on the local machine).
How do I replace the localhost when I'm by the customer? Every customer has a different IIS.
Ty
GMY
You can set a wsconnection to your datawindow during runtime.
SyBooks Online (Archive)Using a Web service data source
int ii_return
wsconnection ws_1
ws_1 = create wsconnection
ws_1.username = "johndoe"
ws_1.password = "mypassword"
ws_1.endpoint = "myendpoint"
ws_1.authenticationmode = "basic"
ws_1.usewindowsintegratedauthentication = true
ii_return = dw_1.setwsobject (ws_1)
hth
Arnd
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Done !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It is not very clear.
I have to change the reference to IIS in every customer installation because IIS is situated Local LAN.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gimmy;
If you are using my STD frameworks (which I believe you are) - I can easily create a DC/DS Base class for a WS DWO that does this automatically for you. This would be applicable to both the Integrated and Web Service frameworks as either one can support a WS DWO today.
Regards ... Chris
Hi Roland .
Is quite simple to store the information.
I don't understand why i have to give to it that information.
In your example:
- Why i have to give it the user name and the password ? In developer mode i don't give uid and password. Why in EXE i have to give it ?
- if i set usewindowsintegratedauthentication = true i don't have to set user name and password. Correct ?
- In your example dw_1 is the dataobject with the datawindows linked to the WS ?
Ty
GMY
OK ... I just created two new Abstract classes .... "vs_dc_webservice_master" and "ns_ds_webservice_master" in both frameworks. You will see these in the new Integrated framework coming out this week.
I still need to work out the logic - but, will give you a special newer version of the frameworks soon that works with WS DWO's inside and utilizes the both frameworks standard INI files to drive the WS DW end points (aka resolve "localhost" to something else).
Thanks ... Flattery will get you everywhere - LOL!
(unless you are in Canada - then a Tim's coffee & some donuts would go further ....
NEW Canadian Back Bacon Breakfast Sandwich at Tims | Tim Hortons )
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.