[U2] Web Services at Universe 11.n

2013-10-30 Thread Oaks, Harold
I've been telling my boss that if we upgraded to Universe 11.23, we can implement web services. (We're currently on 10.2) But, finally looking in detail at the appropriate manual (Universe Web Services Developer) it seems that one can publish a web service easily enough so that Universe data

Re: [U2] Web Services at Universe 11.n

2013-10-30 Thread Israel, John R.
Using Redback w/ UniData here. JRI -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Oaks, Harold Sent: Wednesday, October 30, 2013 3:01 PM To: u2-users@listserver.u2ug.org Subject: [U2] Web Services at Universe

Re: [U2] Web Services at Universe 11.n

2013-10-30 Thread Larry Hiscock
Look in the UniVerse Basic Extensions manual at the Simple Object Access Protocol (SOAP) chapter. Larry Hiscock Western Computer Services -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Oaks, Harold Sent: Wednesday,

Re: [U2] Web Services at Universe 11.n

2013-10-30 Thread Oaks, Harold
Thanks Larry! -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Larry Hiscock Sent: Wednesday, October 30, 2013 12:16 PM To: 'U2 Users List' Subject: Re: [U2] Web Services at Universe 11.n Look in the UniVerse Basic

Re: [U2] Web Services at Universe 11.n

2013-10-30 Thread Richard Lewis
I've recently been tasked with accessing a webservice, and couldn't get a valid response from the webservice. It kept not recognizing the headers that were sent, and with the maximum logging set on the uv side, it looked like everything was being sent just fine, but the webservice still failed

Re: [U2] Web Services at Universe 11.n

2013-10-30 Thread Symeon Breen
The unibasic extensions have had sockets, http requests and soap (each built on the former) for many years - look it up in the manuals. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Oaks, Harold Sent: 30 October

Re: [U2] Web Services at Universe 11.n

2013-10-30 Thread Symeon Breen
That means you where probably missing a header. http is just a text conversation, if the same headers are passed as passed with curl it will work. You can test using curl, or even better with telnet. -Original Message- From: u2-users-boun...@listserver.u2ug.org

Re: [U2] Web Services at Universe 11.n

2013-10-30 Thread Bill Brutzman
1. We use ColdFusion... as middleware. 2. I think of UniVerse as the back-end database. 3. Consider other middleware options... ASP.net, PHP, Java, TomCat, Spring, Ruby, Node.JS...etc. 4. I suppose a browser client app doing REST could maybe be workable. 5. Although bashing the middleman has

Re: [U2] Web Services at Universe 11.n

2013-10-30 Thread Daniel McGrath
We haven't built 11.23 yet. 11.2 is the next one about to come out :) As others have mentioned, U2 Basic supports HTTP/HTTPS calls as well as SOAP. More recent improvements include the UDO functions, which makes handling REST/JSON web-services at lot easier. Regards, Dan McGrath Managing

Re: [U2] Web Services at Universe 11.n

2013-10-30 Thread Oaks, Harold
Thanks Dan. Will those SOAP calls (the unibasic extensions mentioned by Larry Hiscock) work from Basic work at 10.2 ? Thanks so much- Harold -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Daniel McGrath Sent:

Re: [U2] Web Services at Universe 11.n

2013-10-30 Thread Richard Lewis
Yes, as I said, I've tested with curl and it works perfectly. The problem I have is not being able to clearly/cleanly see the raw text being sent by the uv functions, in order to determine the difference in what curl sends (success) and what the uv functions send (failure). There may be certain

Re: [U2] Web Services at Universe 11.n

2013-10-30 Thread Richard Lewis
Dan, Where would I find documentation on the 'UDO functions'? Thanks! Richard Lewis On Wed, Oct 30, 2013 at 3:24 PM, Daniel McGrath dmcgr...@rocketsoftware.com wrote: We haven't built 11.23 yet. 11.2 is the next one about to come out :) As others have mentioned, U2 Basic supports

Re: [U2] Web Services at Universe 11.n

2013-10-30 Thread Rick Nuckolls
If you have not done so yet, try adding the header for Content-Type before making the request. ie. setRequestHeader(handle, 'Content-Type', 'text/html') Rick Nuckolls Lynden -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On

Re: [U2] Web Services at Universe 11.n

2013-10-30 Thread Richard Lewis
Tried that already, but thanks for the suggestion. By the way, the curl solution doesn't require that header to get a successful response. Richard Lewis On Wed, Oct 30, 2013 at 5:01 PM, Rick Nuckolls r...@lynden.com wrote: If you have not done so yet, try adding the header for Content-Type

Re: [U2] Web Services at Universe 11.n

2013-10-30 Thread Rick Nuckolls
Is there any security on the target url? You might need a Host header, if the url/ db is checking. -Rick -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Richard Lewis Sent: Wednesday, October 30, 2013 4:17 PM

Re: [U2] Web Services at Universe 11.n

2013-10-30 Thread Adrian Halid
Hi Richard, I think you have a few of options to see the raw traffic between the UV and your web service. 1. Enable protocol logging before calling SoapCreateRequest protocolLogging(c:\tmp\soap.log, ON,10) 2. Setup a proxy server that can view the request. I think we have used fiddler2