To be fair, I'm basing my my assumption of not getting all of the
conversation on the following log entries:

Assembled Request (body omitted,length=0):
(the body of my request is empty, but apparently it isn't logged anyway.)

Response message body(may be partial) length: 1769
(and I'm most definitely _not_ getting the entire response message body
logged!)

And yes, I have logging level set at 10.

As the service deals with sensitive data, it would not be appropriate to
discuss the security situation on a public list, but there is a 'Host'
header present when using the uv functions as well as using curl.

My point, in the end, is that I spent days trying to tweak my usage of uv
functions to get the service I was hitting to recognize my request as
valid, without success, whereas I spent less than a day setting up and
using curl and achieving success.  Then I was able to spend a little time
making various invalid requests to see in detail what error conditions
would look like, and document that as well.  And the curl implementation
took about 1/10 as many lines of code.

Thanks for all the suggestions!

Sincerely Best Regards,

Richard Lewis
IBM Certified Solutions Expert -- U2 Family Application Development
IBM Certified Solutions Expert -- U2 UniVerse V10.1 Administration




On Thu, Oct 31, 2013 at 2:37 AM, Symeon Breen <syme...@gmail.com> wrote:

> That is interesting Richard.  I only have experience in udt with this, and
> if I set logging with protocolLogging("sym.log", "ON", 10)    I get the
> full
> http conversation.  Maybe there is a difference in UV ?
>
>
>
>
>
> -----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 22:43
> 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

Reply via email to