Re: [U2] UV: Consuming https service from within UVBasic using SOAP
You're welcome Peter. Sounds like you're past first base (communications OK) and now the challenge is handing the XML data exchanges. That will be fun! Will you use be the UV BASIC XML DOM routines? -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Peter Cheney Sent: Wednesday, 6 March 2013 11:37 AM To: U2 Users List Subject: Re: [U2] UV: Consuming https service from within UVBasic using SOAP Hi again, Finally had a chance to get back to this and have had success using a slightly modified version of the code here: http://www.mail-archive.com/u2-users@listserver.u2ug.org/msg17243.html After reviewing David's suggestions below and confirming the certificate requirements, the only areas requiring change were the URL (to the https url we had set up), and the path to where our client certificate accessible by UV (e.g. /opt/uv/certificates/Client-Root.cer) This brought some success as I was at least getting a response from the webserver but it was an error code 415 indicating incorrect mime type. e.g. "415 Cannot process the message because the content type 'application/x-www-form-urle". (the output is truncated but is just enough to get an idea of what is wrong) Then I discovered that the http_method parameter for 'POST' in the createSecureRequest function has a default mime type of "application/x-www-form-urlencoded" so I changed the HTTP.POST variable from "POST" to "POST:application/soap+xml". Hey presto! Now I get this reply from the webserver: e.g. ResponseHeaders : Content-Length▒518▒Content-Type▒application/soap+xml; charset=utf-8▒Server▒Microsoft-IIS/7.0▒X-Powered-By▒ASP.NET▒Date▒Tue, 05 Mar 2013 23:41:35 GMT ResponseData: http://www.w3.org/2003/05/soap-envelope"; xmlns:a="http://www.w3.org/2005/08/addressing";>http://tempuri.org/IJobService/CreateJob1UserPartyRoleResponseurn:uuid:5af711cc-4ed3-4208-baa1-48aa9f74af60http://tempuri.org/";>513682af531c9e1090b67f20 HttpStatus : 200 OK Many thanks again to David and Symeon for their assistance in this. Cheers Peter PS My code at this stage is only a prototype and is functionally the same as the example in the URL above but if anyone would like a copy then please let me know. ** IMPORTANT MESSAGE * This e-mail message is intended only for the addressee(s) and contains information which may be confidential. If you are not the intended recipient please advise the sender by return email, do not use or disclose the contents, and delete the message and any attachments from your system. Unless specifically indicated, this email does not constitute formal advice or commitment by the sender or the Commonwealth Bank of Australia (ABN 48 123 123 124) or its subsidiaries. We can be contacted through our web site: commbank.com.au. If you no longer wish to receive commercial electronic messages from us, please reply to this e-mail by typing Unsubscribe in the subject line. ** ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] UV: Consuming https service from within UVBasic using SOAP
Hi again, Finally had a chance to get back to this and have had success using a slightly modified version of the code here: http://www.mail-archive.com/u2-users@listserver.u2ug.org/msg17243.html After reviewing David's suggestions below and confirming the certificate requirements, the only areas requiring change were the URL (to the https url we had set up), and the path to where our client certificate accessible by UV (e.g. /opt/uv/certificates/Client-Root.cer) This brought some success as I was at least getting a response from the webserver but it was an error code 415 indicating incorrect mime type. e.g. "415 Cannot process the message because the content type 'application/x-www-form-urle". (the output is truncated but is just enough to get an idea of what is wrong) Then I discovered that the http_method parameter for 'POST' in the createSecureRequest function has a default mime type of "application/x-www-form-urlencoded" so I changed the HTTP.POST variable from "POST" to "POST:application/soap+xml". Hey presto! Now I get this reply from the webserver: e.g. ResponseHeaders : Content-Length▒518▒Content-Type▒application/soap+xml; charset=utf-8▒Server▒Microsoft-IIS/7.0▒X-Powered-By▒ASP.NET▒Date▒Tue, 05 Mar 2013 23:41:35 GMT ResponseData: http://www.w3.org/2003/05/soap-envelope"; xmlns:a="http://www.w3.org/2005/08/addressing";>http://tempuri.org/IJobService/CreateJob1UserPartyRoleResponseurn:uuid:5af711cc-4ed3-4208-baa1-48aa9f74af60http://tempuri.org/";>513682af531c9e1090b67f20 HttpStatus : 200 OK Many thanks again to David and Symeon for their assistance in this. Cheers Peter PS My code at this stage is only a prototype and is functionally the same as the example in the URL above but if anyone would like a copy then please let me know. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Hona, David Sent: Friday, 22 February 2013 9:33 To: U2 Users List Subject: Re: [U2] UV: Consuming https service from within UVBasic using SOAP Hi Peter, You easily change that sample source code try amending these lines to access any SSL webserver/appserver. For example the Firstmac.com.au website using SSL by default I see - so that'll be a good site to use as an worked example - that uses a CA Root certificate. Basically, all you'll need a copy of you GeoTrust's root certificate accessible by your (UV SOAP/HTTP) client application. You must upload this (or any other SSL certificate) to your UV host and tell you UV application where it can be found... * Assumes client host can resolve and access this URL * For HTTPS SSL www.firstmac.com.au is using GeoTrust CA certificates, hence upload a DER copy of it first. URL = "https://www.firstmac.com.au/home"; * Define the full path to the GeoTrust CA Root certificate, uploaded to the host (exported in DER format) X.CERT.PATH=@PATH:"/geotrust.cer" ;* Full path to a DER copy of GeoTrust CA Root Certificate X.USED.AS="2" ; * 1=Self-signed, 2=CA Issued certificate X.FORMAT="2" ; * DER format X.ALGORITHM="1"; * RSA key Hope this helps. The CA Root SSL certificate business is complex and is part of that steep learning curve! Good luck! Cheers, David -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Peter Cheney Sent: Thursday, 21 February 2013 11:44 AM To: U2 Users List Subject: Re: [U2] UV: Consuming https service from within UVBasic using SOAP Hi David, Thanks for the url - am going through this now and the accompanying log. It seems the "host not found in hostlist" error is not an issues so will continue investigating other causes. I do believe the answer will lie somewhere in my own malformed request so just need to work it out I guess. Will post updates as this progresses. Many thanks, Cheers Peter -Original Message- From: u2-users-boun...@listserver.u2ug.org<mailto:u2-users-boun...@listserver.u2ug.org> [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Hona, David Sent: Wednesday, 20 February 2013 20:17 To: U2 Users List Subject: Re: [U2] UV: Consuming https service from within UVBasic using SOAP Peter, As Symeon mentioned, protocol logging is required to help troubleshoot issues. If you like to use Firefox, the 'Firebug' plug-in is helpful to see what goes on behind the scenes - but only once you have familiarised yourself with the basic concepts of the HTTP protocol. Otherwise, not much will make much sense... The variable unassigned and UV version, shouldn't be an issue... we got UV SOAP going on UV10.1 ...years ago... usi
Re: [U2] UV: Consuming https service from within UVBasic using SOAP
Thanks David, I have obtained a client certificate that I hope will work and will try when I get a chance. Many thanks for your support and advice. Cheers Peter -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Hona, David Sent: Friday, 22 February 2013 9:33 To: U2 Users List Subject: Re: [U2] UV: Consuming https service from within UVBasic using SOAP Hi Peter, You easily change that sample source code try amending these lines to access any SSL webserver/appserver. For example the Firstmac.com.au website using SSL by default I see - so that'll be a good site to use as an worked example - that uses a CA Root certificate. Basically, all you'll need a copy of you GeoTrust's root certificate accessible by your (UV SOAP/HTTP) client application. You must upload this (or any other SSL certificate) to your UV host and tell you UV application where it can be found... * Assumes client host can resolve and access this URL * For HTTPS SSL www.firstmac.com.au is using GeoTrust CA certificates, hence upload a DER copy of it first. URL = "https://www.firstmac.com.au/home"; * Define the full path to the GeoTrust CA Root certificate, uploaded to the host (exported in DER format) X.CERT.PATH=@PATH:"/geotrust.cer" ;* Full path to a DER copy of GeoTrust CA Root Certificate X.USED.AS="2" ; * 1=Self-signed, 2=CA Issued certificate X.FORMAT="2" ; * DER format X.ALGORITHM="1"; * RSA key Hope this helps. The CA Root SSL certificate business is complex and is part of that steep learning curve! Good luck! Cheers, David -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Peter Cheney Sent: Thursday, 21 February 2013 11:44 AM To: U2 Users List Subject: Re: [U2] UV: Consuming https service from within UVBasic using SOAP Hi David, Thanks for the url - am going through this now and the accompanying log. It seems the "host not found in hostlist" error is not an issues so will continue investigating other causes. I do believe the answer will lie somewhere in my own malformed request so just need to work it out I guess. Will post updates as this progresses. Many thanks, Cheers Peter -Original Message- From: u2-users-boun...@listserver.u2ug.org<mailto:u2-users-boun...@listserver.u2ug.org> [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Hona, David Sent: Wednesday, 20 February 2013 20:17 To: U2 Users List Subject: Re: [U2] UV: Consuming https service from within UVBasic using SOAP Peter, As Symeon mentioned, protocol logging is required to help troubleshoot issues. If you like to use Firefox, the 'Firebug' plug-in is helpful to see what goes on behind the scenes - but only once you have familiarised yourself with the basic concepts of the HTTP protocol. Otherwise, not much will make much sense... The variable unassigned and UV version, shouldn't be an issue... we got UV SOAP going on UV10.1 ...years ago... using the IBM UV sample code mentioned in this URL: http://www.mail-archive.com/u2-users@listserver.u2ug.org/msg17243.html We cloned this code for a proof of concept and our version worked for us (if I recall correctly)... Obviously (maybe not), this is sample code in the URL will not actually work anymore - if actually did all those years ago (I can't recall) but it should give you a "heads-up" so to speak and point you in the right direction (more or less - hopefully more!)... Regards, David ** IMPORTANT MESSAGE * This e-mail message is intended only for the addressee(s) and contains information which may be confidential. If you are not the intended recipient please advise the sender by return email, do not use or disclose the contents, and delete the message and any attachments from your system. Unless specifically indicated, this email does not constitute formal advice or commitment by the sender or the Commonwealth Bank of Australia (ABN 48 123 123 124) or its subsidiaries. We can be contacted through our web site: commbank.com.au. If you no longer wish to receive commercial electronic messages from us, please reply to this e-mail by typing Unsubscribe in the subject line. ** ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users --- Note: This email (inc all attachments) is for the use of the intended recipient(s) only. Privileged or confidential information may be contained in this comm
Re: [U2] UV: Consuming https service from within UVBasic using SOAP
Hi Peter, You easily change that sample source code try amending these lines to access any SSL webserver/appserver. For example the Firstmac.com.au website using SSL by default I see - so that'll be a good site to use as an worked example - that uses a CA Root certificate. Basically, all you'll need a copy of you GeoTrust's root certificate accessible by your (UV SOAP/HTTP) client application. You must upload this (or any other SSL certificate) to your UV host and tell you UV application where it can be found... * Assumes client host can resolve and access this URL * For HTTPS SSL www.firstmac.com.au is using GeoTrust CA certificates, hence upload a DER copy of it first. URL = "https://www.firstmac.com.au/home"; * Define the full path to the GeoTrust CA Root certificate, uploaded to the host (exported in DER format) X.CERT.PATH=@PATH:"/geotrust.cer" ;* Full path to a DER copy of GeoTrust CA Root Certificate X.USED.AS="2" ; * 1=Self-signed, 2=CA Issued certificate X.FORMAT="2" ; * DER format X.ALGORITHM="1"; * RSA key Hope this helps. The CA Root SSL certificate business is complex and is part of that steep learning curve! Good luck! Cheers, David -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Peter Cheney Sent: Thursday, 21 February 2013 11:44 AM To: U2 Users List Subject: Re: [U2] UV: Consuming https service from within UVBasic using SOAP Hi David, Thanks for the url - am going through this now and the accompanying log. It seems the "host not found in hostlist" error is not an issues so will continue investigating other causes. I do believe the answer will lie somewhere in my own malformed request so just need to work it out I guess. Will post updates as this progresses. Many thanks, Cheers Peter -Original Message- From: u2-users-boun...@listserver.u2ug.org<mailto:u2-users-boun...@listserver.u2ug.org> [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Hona, David Sent: Wednesday, 20 February 2013 20:17 To: U2 Users List Subject: Re: [U2] UV: Consuming https service from within UVBasic using SOAP Peter, As Symeon mentioned, protocol logging is required to help troubleshoot issues. If you like to use Firefox, the 'Firebug' plug-in is helpful to see what goes on behind the scenes - but only once you have familiarised yourself with the basic concepts of the HTTP protocol. Otherwise, not much will make much sense... The variable unassigned and UV version, shouldn't be an issue... we got UV SOAP going on UV10.1 ...years ago... using the IBM UV sample code mentioned in this URL: http://www.mail-archive.com/u2-users@listserver.u2ug.org/msg17243.html We cloned this code for a proof of concept and our version worked for us (if I recall correctly)... Obviously (maybe not), this is sample code in the URL will not actually work anymore - if actually did all those years ago (I can't recall) but it should give you a "heads-up" so to speak and point you in the right direction (more or less - hopefully more!)... Regards, David ** IMPORTANT MESSAGE * This e-mail message is intended only for the addressee(s) and contains information which may be confidential. If you are not the intended recipient please advise the sender by return email, do not use or disclose the contents, and delete the message and any attachments from your system. Unless specifically indicated, this email does not constitute formal advice or commitment by the sender or the Commonwealth Bank of Australia (ABN 48 123 123 124) or its subsidiaries. We can be contacted through our web site: commbank.com.au. If you no longer wish to receive commercial electronic messages from us, please reply to this e-mail by typing Unsubscribe in the subject line. ** ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] UV: Consuming https service from within UVBasic using SOAP
Hi David, Thanks for the url - am going through this now and the accompanying log. It seems the "host not found in hostlist" error is not an issues so will continue investigating other causes. I do believe the answer will lie somewhere in my own malformed request so just need to work it out I guess. Will post updates as this progresses. Many thanks, Cheers Peter -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Hona, David Sent: Wednesday, 20 February 2013 20:17 To: U2 Users List Subject: Re: [U2] UV: Consuming https service from within UVBasic using SOAP Peter, As Symeon mentioned, protocol logging is required to help troubleshoot issues. If you like to use Firefox, the 'Firebug' plug-in is helpful to see what goes on behind the scenes - but only once you have familiarised yourself with the basic concepts of the HTTP protocol. Otherwise, not much will make much sense... The variable unassigned and UV version, shouldn't be an issue... we got UV SOAP going on UV10.1 ...years ago... using the IBM UV sample code mentioned in this URL: http://www.mail-archive.com/u2-users@listserver.u2ug.org/msg17243.html We cloned this code for a proof of concept and our version worked for us (if I recall correctly)... Obviously (maybe not), this is sample code in the URL will not actually work anymore - if actually did all those years ago (I can't recall) but it should give you a "heads-up" so to speak and point you in the right direction (more or less - hopefully more!)... Regards, David ** IMPORTANT MESSAGE * This e-mail message is intended only for the addressee(s) and contains information which may be confidential. If you are not the intended recipient please advise the sender by return email, do not use or disclose the contents, and delete the message and any attachments from your system. Unless specifically indicated, this email does not constitute formal advice or commitment by the sender or the Commonwealth Bank of Australia (ABN 48 123 123 124) or its subsidiaries. We can be contacted through our web site: commbank.com.au. If you no longer wish to receive commercial electronic messages from us, please reply to this e-mail by typing Unsubscribe in the subject line. ** ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users --- Note: This email (inc all attachments) is for the use of the intended recipient(s) only. Privileged or confidential information may be contained in this communication. If you have received this email in error, please notify the sender immediately and then delete all copies of this message from your computer network. If you are not the intended recipient, you must not keep, use, disclose, copy or distribute this email without the author's prior permission. If you are the intended recipient and you do not wish to receive similar electronic messages from us in future, then please respond to the sender to this effect. We have taken precautions to minimise the risk of transmitting software viruses, but advise you to carry out your own virus checks on this email and its attachments. We do not accept liability for any loss or damage caused by software viruses and do not represent that this transmission is free from viruses or other defects. Firstmac Limited (ABN 59 094 145 963) (AFSL 290600) --- ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] UV: Consuming https service from within UVBasic using SOAP
Thankyou Symeon that logging info is gold... I can see now that I'm getting a "host test.hostname.com:443 not found in hostlist" error so will be investigating that further. Also if you can send me the https post sub that you've mentioned below I'd be keen to see how that works as well. Many thanks for your help Peter -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Symeon Breen Sent: Wednesday, 20 February 2013 19:09 To: 'U2 Users List' Subject: Re: [U2] UV: Consuming https service from within UVBasic using SOAP Hi - the first port of call is to enable the protocol logging E.G. err=protocolLogging("SoapTest.log","ON",10) You can then look at the log for errors Does The https end point you are using allow self certification authentication? If not you may need to do a bit more work on certificates. Restful webservices are nothing magical, it is still just a http(s) endpoint , the difference is you normally send more info in the path as well as post data, and you use the http verbs - Seriously I would encourage you to read up about http so you understand what is going on underneath - it is pretty simple its only a text conversation over a socket, you can do http conversations via telnet, or use a tool outside of uv like curl/wget on linux or wfetch on windows just to see what headers are being passed etc. Also if you want -I can email you my simple https post sub I use with endpoints that allow self cert -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Peter Cheney Sent: 20 February 2013 07:57 To: U2 Users List (u2-users@listserver.u2ug.org) Subject: [U2] UV: Consuming https service from within UVBasic using SOAP Hi Everyone, Think I'm suffering a bit from old dog new trick syndrome... Been reading up on and playing with the Soap functions in UV basic but can't seem to get any joy with https url that I've been supplied to use. Was wondering if anyone might have some advice? In particular I've been playing with the code examples here: https://u2devzone.rocketsoftware.com/accelerate/articles/soap-api/soap-api Also came across this in which I recognised some of the list members: http://comments.gmane.org/gmane.comp.db.u2.general/67904 Upgrading to UV11.1.9 may well be a better choice with availability of Dynamic Objects for JSON but we're stuck with 10.3.4 for a good while yet due to other constraints. Code: Ret = SoapCreateRequest(URL , SoapAction , SoapReq) vs Ret = SoapCreateSecureRequest(URL , SoapAction , SoapReq , SecHandle) For the https url I tried using the SoapCreateSecureRequest but when I compile I get a variable unassigned for the 3rd "SoapReq" parameter. Is our UV version the issue here? Another thought I had was that the security_handle variable is somehow affecting the other variables. Using the SoapCreateRequest function the program compiles OK with no errors (the 3rd "SoapReq" parameter is assigned OK however I get an error 2 - network subsystem failure for the https url. If I point at the http url then I at least get a 404 not found. I can also telnet from the host to both ports 80 and 443 no worries so comms appear OK. The project is required to fire off DB events into our new workflow system hence my focus in this direction. Have also read about just writing a message to a pipe etc and other intermediate solutions as per the above but it'd be real nice if I can get this working via soap. Oh and one other question please. Is it possible to have a UV basic program communicate with or consume / use a restful http service? I may have my wires crossed here so please set me straight. I've seen examples of (and we currently use) a web front end accessing a UV db but not the other way around. Many thanks in advance for your time. Cheers Peter --- Note: This email (inc all attachments) is for the use of the intended recipient(s) only. Privileged or confidential information may be contained in this communication. If you have received this email in error, please notify the sender immediately and then delete all copies of this message from your computer network. If you are not the intended recipient, you must not keep, use, disclose, copy or distribute this email without the author's prior permission. If you are the intended recipient and you do not wish to receive similar electronic messages from us in future, then please respond to the sender to this effect. We have taken precautions to minimise the risk of transmitting software viruses, but advise you to carry out your own virus checks on this email and its attachments. We do not accept liability for any loss or da
Re: [U2] UV: Consuming https service from within UVBasic using SOAP
Peter, As Symeon mentioned, protocol logging is required to help troubleshoot issues. If you like to use Firefox, the 'Firebug' plug-in is helpful to see what goes on behind the scenes - but only once you have familiarised yourself with the basic concepts of the HTTP protocol. Otherwise, not much will make much sense... The variable unassigned and UV version, shouldn't be an issue... we got UV SOAP going on UV10.1 ...years ago... using the IBM UV sample code mentioned in this URL: http://www.mail-archive.com/u2-users@listserver.u2ug.org/msg17243.html We cloned this code for a proof of concept and our version worked for us (if I recall correctly)... Obviously (maybe not), this is sample code in the URL will not actually work anymore - if actually did all those years ago (I can't recall) but it should give you a "heads-up" so to speak and point you in the right direction (more or less - hopefully more!)... Regards, David ** IMPORTANT MESSAGE * This e-mail message is intended only for the addressee(s) and contains information which may be confidential. If you are not the intended recipient please advise the sender by return email, do not use or disclose the contents, and delete the message and any attachments from your system. Unless specifically indicated, this email does not constitute formal advice or commitment by the sender or the Commonwealth Bank of Australia (ABN 48 123 123 124) or its subsidiaries. We can be contacted through our web site: commbank.com.au. If you no longer wish to receive commercial electronic messages from us, please reply to this e-mail by typing Unsubscribe in the subject line. ** ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] UV: Consuming https service from within UVBasic using SOAP
Hi - the first port of call is to enable the protocol logging E.G. err=protocolLogging("SoapTest.log","ON",10) You can then look at the log for errors Does The https end point you are using allow self certification authentication? If not you may need to do a bit more work on certificates. Restful webservices are nothing magical, it is still just a http(s) endpoint , the difference is you normally send more info in the path as well as post data, and you use the http verbs - Seriously I would encourage you to read up about http so you understand what is going on underneath - it is pretty simple its only a text conversation over a socket, you can do http conversations via telnet, or use a tool outside of uv like curl/wget on linux or wfetch on windows just to see what headers are being passed etc. Also if you want -I can email you my simple https post sub I use with endpoints that allow self cert -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Peter Cheney Sent: 20 February 2013 07:57 To: U2 Users List (u2-users@listserver.u2ug.org) Subject: [U2] UV: Consuming https service from within UVBasic using SOAP Hi Everyone, Think I'm suffering a bit from old dog new trick syndrome... Been reading up on and playing with the Soap functions in UV basic but can't seem to get any joy with https url that I've been supplied to use. Was wondering if anyone might have some advice? In particular I've been playing with the code examples here: https://u2devzone.rocketsoftware.com/accelerate/articles/soap-api/soap-api Also came across this in which I recognised some of the list members: http://comments.gmane.org/gmane.comp.db.u2.general/67904 Upgrading to UV11.1.9 may well be a better choice with availability of Dynamic Objects for JSON but we're stuck with 10.3.4 for a good while yet due to other constraints. Code: Ret = SoapCreateRequest(URL , SoapAction , SoapReq) vs Ret = SoapCreateSecureRequest(URL , SoapAction , SoapReq , SecHandle) For the https url I tried using the SoapCreateSecureRequest but when I compile I get a variable unassigned for the 3rd "SoapReq" parameter. Is our UV version the issue here? Another thought I had was that the security_handle variable is somehow affecting the other variables. Using the SoapCreateRequest function the program compiles OK with no errors (the 3rd "SoapReq" parameter is assigned OK however I get an error 2 - network subsystem failure for the https url. If I point at the http url then I at least get a 404 not found. I can also telnet from the host to both ports 80 and 443 no worries so comms appear OK. The project is required to fire off DB events into our new workflow system hence my focus in this direction. Have also read about just writing a message to a pipe etc and other intermediate solutions as per the above but it'd be real nice if I can get this working via soap. Oh and one other question please. Is it possible to have a UV basic program communicate with or consume / use a restful http service? I may have my wires crossed here so please set me straight. I've seen examples of (and we currently use) a web front end accessing a UV db but not the other way around. Many thanks in advance for your time. Cheers Peter --- Note: This email (inc all attachments) is for the use of the intended recipient(s) only. Privileged or confidential information may be contained in this communication. If you have received this email in error, please notify the sender immediately and then delete all copies of this message from your computer network. If you are not the intended recipient, you must not keep, use, disclose, copy or distribute this email without the author's prior permission. If you are the intended recipient and you do not wish to receive similar electronic messages from us in future, then please respond to the sender to this effect. We have taken precautions to minimise the risk of transmitting software viruses, but advise you to carry out your own virus checks on this email and its attachments. We do not accept liability for any loss or damage caused by software viruses and do not represent that this transmission is free from viruses or other defects. Firstmac Limited (ABN 59 094 145 963) (AFSL 290600) --- ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users - No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.2238 / Virus Database: 2639/5616 - Release Date: 02/19/13 ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users