<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>16 Mar 2016 07:30:58 Z</lastBuildDate><pubDate>14 Mar 2016 14:04:02 Z</pubDate><description>Hi All&#13;
&#13;
I have a WEBSERVICE that connects to a database.  I want the ability for the webservice to change the connection to the database based on a parameter received from the calling client website.&#13;
&#13;
I would like to use the same webservice across multiple customers as each customer's data is maintained in a different database.  Its a bit like the SAAS model provided with WB but at a webservice level and not at a website level.&#13;
&#13;
The model I would like is as follows:&#13;
&#13;
1.  Website connects to a webservice and passes a parameter (the parameter specifies which customer is connecting).  Here I would like to know how the website can pass the parameter to the webservice?&#13;
&#13;
2.  The webservice uses the parameter to setup the connection to the correct database (specific database of the customer).  Here I would like to know how the webservice can read the parameter that was sent by the calling website in 1 above.&#13;
&#13;
3.  After the above is done each procedure call to the webservice must automatically connect to the relevant customer database and provide results based on data in the custoemers database.&#13;
&#13;
The webservice runs in a secure internal network and the calling website runs in a DMZ.  The website must not make direct calls to the underlying database.  Only the webservice can access the database.&#13;
&#13;
Can anyone guide me on how to achieve the above?&#13;
&#13;
Gautam</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56820-pass-parameters-webservice/read.awp</link><title>Pass parameters to a Webservice</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>Gautam</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56820-pass-parameters-webservice-56849/read.awp</comments><pubDate>16 Mar 2016 07:30:58 Z</pubDate><description>Thanks Fabrice.&#13;
&#13;
I was hoping to avoid the situation of having to pass a session identifier in each procedure call of the webs…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56820-pass-parameters-webservice-56849/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56820-pass-parameters-webservice-56849/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56820-pass-parameters-webservice/read.awp">Pass parameters to a Webservice</source><title>Re: Pass parameters to a Webservice</title></item><item><author>fromweb</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56820-pass-parameters-webservice-56843/read.awp</comments><pubDate>15 Mar 2016 13:46:37 Z</pubDate><description>Hi again&#13;
&#13;
This is just what -I- in a case like that (mostly with rest webservices, &#13;
but the principle will work here too)&#13;
&#13;
…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56820-pass-parameters-webservice-56843/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56820-pass-parameters-webservice-56843/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56820-pass-parameters-webservice/read.awp">Pass parameters to a Webservice</source><title>Re: Pass parameters to a Webservice</title></item><item><author>Gautam</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56820-pass-parameters-webservice-56842/read.awp</comments><pubDate>15 Mar 2016 12:41:59 Z</pubDate><description>Hi Fabrice&#13;
&#13;
Yes, I understand webservices are procedures.  &#13;
&#13;
My application's architecture is as follows:&#13;
&#13;
1.  A website t…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56820-pass-parameters-webservice-56842/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56820-pass-parameters-webservice-56842/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56820-pass-parameters-webservice/read.awp">Pass parameters to a Webservice</source><title>Re: Pass parameters to a Webservice</title></item><item><author>fromweb</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56820-pass-parameters-webservice-56834/read.awp</comments><pubDate>14 Mar 2016 20:08:07 Z</pubDate><description>Hi&#13;
&#13;
read up on webservices in the windev help: What you can call in a &#13;
webservice are PROCEDURES, and therefore passing and u…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56820-pass-parameters-webservice-56834/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56820-pass-parameters-webservice-56834/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56820-pass-parameters-webservice/read.awp">Pass parameters to a Webservice</source><title>Re: Pass parameters to a Webservice</title></item><item><author>Gautam</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56820-pass-parameters-webservice-56828/read.awp</comments><pubDate>14 Mar 2016 17:11:34 Z</pubDate><description>Hi Fabrice&#13;
&#13;
Thanks for responding.&#13;
&#13;
My webservice is SOAP.  I want to pass a parameter when calling the webservice for examp…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56820-pass-parameters-webservice-56828/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56820-pass-parameters-webservice-56828/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56820-pass-parameters-webservice/read.awp">Pass parameters to a Webservice</source><title>Re: Pass parameters to a Webservice</title></item><item><author>fromweb</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56820-pass-parameters-webservice-56826/read.awp</comments><pubDate>14 Mar 2016 15:45:08 Z</pubDate><description>Hi&#13;
&#13;
all your questions first depends on the TYPE of webservice you plan to &#13;
use, SOAP, or REST&#13;
&#13;
SOAP is described in detail…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56820-pass-parameters-webservice-56826/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56820-pass-parameters-webservice-56826/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56820-pass-parameters-webservice/read.awp">Pass parameters to a Webservice</source><title>Re: Pass parameters to a Webservice</title></item></channel></rss>
