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 To: U2 Users List Subject: Re: [U2] Web Services at Universe 11.n 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 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 Behalf Of Richard Lewis > Sent: Wednesday, October 30, 2013 3:43 PM > To: U2 Users List > Subject: Re: [U2] Web Services at Universe 11.n > > 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 > idiosyncratic parsing involved in the service I am trying to consume, but I > have no control over that. With curl I can see the entire conversation if > the logging is set correctly. With the uv functions, even with the highest > logging level, it doesn't appear that the logging is actually that complete > and exact. I have never had the impression that it was. > > I would love to be able to do it all in uv, but I only have control over > half of the conversation, and with the uv functions, I seem to have a bit > less than half. > > Richard > > > On Wed, Oct 30, 2013 at 2:12 PM, Symeon Breen <syme...@gmail.com> wrote: > > > 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 > > [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Richard Lewis > > Sent: 30 October 2013 20:03 > > To: U2 Users List > > Subject: Re: [U2] Web Services at Universe 11.n > > > > 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 > > it. I switched to using curl, and it all worked perfectly. > > > > Richard Lewis > > > > > > > > On Wed, Oct 30, 2013 at 1:00 PM, Oaks, Harold > > <harold.o...@clark.wa.gov>wrote: > > > > > 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 can be gotten, but I don't see > > > that the other side is implemented, where one accesses an external web > > > service and brings back data into Universe. Am I missing the > something? > > > > > > What are any of you using to fully implement web services with an > > > underlying Universe environment? > > > Thanks- > > > Harold Oaks > > > Sr. Analyst/Programmer > > > Clark County, WA > > > > > > This e-mail and related attachments and any response may be subject to > > > public disclosure under state law. > > > _______________________________________________ > > > U2-Users mailing list > > > U2-Users@listserver.u2ug.org > > > http://listserver.u2ug.org/mailman/listinfo/u2-users > > > > > _______________________________________________ > > U2-Users mailing list > > U2-Users@listserver.u2ug.org > > http://listserver.u2ug.org/mailman/listinfo/u2-users > > > > _______________________________________________ > > U2-Users mailing list > > U2-Users@listserver.u2ug.org > > http://listserver.u2ug.org/mailman/listinfo/u2-users > > > _______________________________________________ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users > _______________________________________________ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users > _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users