Hello all
We want to call a web service from several different Uniface runtime environments (eg development, live) and the location of the web service will reflect the different Uniface environment (ie Uniface development will call the development web service, live will call live).
It would appear that we will need a different signature for each environment, with each signature pointing to a different WSDL which in turns points to a different web service. Is this correct or is there a way of setting the WSDL URL dynamically? If this is possible then obviously we can use a $logical to check the environment and point to the appropriate WSDL.
Thanks in advance.
Martyn Thomas
==============================================================================
For more information on Hargreaves Lansdown, visit our web site http://www.H-L.co.uk
IMPORTANT NOTICE
This email is intended solely for the recipient and is confidential and not for third party unauthorised distribution. If an addressing, or transmission, error has misdirected this email, please notify the author by replying to this email or notifying the system manager (internal...@hargreaveslansdown.co.uk) if you are not the intended recipient you must not disclose, distribute, copy, print or rely on this email.
Any opinions expressed in this document are those of the author and do not necessarily reflect the opinions of Hargreaves Lansdown. In addition, staff are not authorised to enter into any contract through email and therefore nothing contained herein should be construed as such. This email has been prepared using information believed by the author to be reliable and accurate but Hargreaves Lansdown makes no warranty as to the accuracy or completeness. In particular, Hargreaves Lansdown does not accept responsibility for any changes made to this email after it was sent.
Hargreaves Lansdown Asset Management Limited (Company Registration No 1896481), Hargreaves Lansdown Fund Managers Limited (No 2707155), Hargreaves Lansdown Pensions Direct Limited (No 3509545) and Hargreaves Lansdown Stockbrokers Limited (No 1822701) are authorised and regulated by the Financial Services Authority and registered in England and Wales. The registered office for all companies is Kendal House, 4 Brighton Mews, Clifton, Bristol, BS8 2NX. Telephone: 0117 988 9880
The solution is to use some signature :
Web Service name : AWS
In dev , create AWSDEV
In Acceptance : AWSACC
In Prod : AWSPRO
Use a table of parameter to specify where you wants web service.
Regards,
Antoine
have a look in the uniface community. There is also this discussion.
http://uniface.communityzero.com/uniface?go=2210836
Reference to a local wsdl (for each environment) and in the wsdl you
can redirect to your server.
HTH
THOMAS
That discussion appears to focus on a slightly different issue. The
solution offered still only has one version of the wsdl available to
Uniface at any one time. We want to be able to call different wsdls from
the same signature at any one time.
Thanks anyway though :)
Martyn
Hi,
HTH
THOMAS
_______________________________________________
Uniface User Group Discussion Forum
For more information:
http://lists.umanitoba.ca/mailman/listinfo/uniface-l
To unsubscribe/set options:
http://lists.umanitoba.ca/mailman/options/uniface-l
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
==============================================================================
For more information on Hargreaves Lansdown, visit our web site http://www.H-L.co.uk
IMPORTANT NOTICE
This email is intended solely for the recipient and is confidential and not for third party unauthorised distribution. If an addressing, or transmission, error has misdirected this email, please notify the author by replying to this email or notifying the system manager (internal...@hargreaveslansdown.co.uk) if you are not the intended recipient you must not disclose, distribute, copy, print or rely on this email.
What about:
SELECTCASE v_CHOICE
CASE 1
v_SIG="WSDL_SIG_1"
CASE 2
v_SIG="WSDL_SIG_2"
CASE 3
v_SIG="WSDL_SIG_3"
...
ENDSELECTCASE
v_HNDL=""
newinstance v_SIG,v_HNDL
Okay, you are still restricted to n addresses, but better then on :-)
Ingo
Martyn
-----Original Message-----
From: uniface-...@uug.org [mailto:uniface-...@uug.org] On
Behalf Of Ingo Stiller
Sent: 01 July 2009 13:14
To: uniface...@lists.umanitoba.ca
Subject: [Uniface-L] Re: Dynamic WSDL-setting
Hi Martyn
What about:
v_HNDL=""
newinstance v_SIG,v_HNDL
Ingo
What about $ude ("compile") :-))
Change the URL in USIMPL and compile the signature
Ingo
What about $ude ("compile") :-))
That would work well for a Uniface component - change the URL, compile
and put the executable in the relevant environment.
However because it is a SOAP component it only exists in the URR and so
each time we recreate the URR (which we do regularly), we would have to
go through the same process each time.
Martyn
-----Original Message-----
From: uniface-...@uug.org [mailto:uniface-...@uug.org] On
Behalf Of Ingo Stiller
Sent: 01 July 2009 16:57
To: uniface...@lists.umanitoba.ca
Subject: [Uniface-L] Re: Dynamic WSDL-setting
Ingo
That would work well for a Uniface component - change the URL, compile
and put the executable in the relevant environment.
However because it is a SOAP component it only exists in the URR and so
each time we recreate the URR (which we do regularly), we would have to
go through the same process each time.
Martyn
-----Original Message-----
From: uniface-...@uug.org [mailto:uniface-...@uug.org] On
Behalf Of Ingo Stiller
Sent: 01 July 2009 16:57
To: uniface...@lists.umanitoba.ca
Subject: [Uniface-L] Re: Dynamic WSDL-setting
Ingo
I tried the first idea locally and it seems to compile however I don't
have the environment to test it and have no clue about setting up proxy
servers.
-----Original Message-----
From: uniface-...@uug.org [mailto:uniface-...@uug.org] On
Behalf Of Martyn Thomas
Sent: 02 July 2009 09:04
To: Uniface User Group Discussion Forum;
uniface...@lists.umanitoba.ca
Subject: RE: [Uniface-L] Re: Dynamic WSDL-setting
Hi Ingo
That would work well for a Uniface component - change the URL, compile
and put the executable in the relevant environment.
However because it is a SOAP component it only exists in the URR and so
each time we recreate the URR (which we do regularly), we would have to
go through the same process each time.
Martyn
-----Original Message-----
From: uniface-...@uug.org [mailto:uniface-...@uug.org] On
Behalf Of Ingo Stiller
Sent: 01 July 2009 16:57
To: uniface...@lists.umanitoba.ca
Subject: [Uniface-L] Re: Dynamic WSDL-setting
Ingo
Checked by AVG - www.avg.com
Version: 8.5.375 / Virus Database: 270.13.1/2212 - Release Date:
07/01/09 05:53:00