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

2013-11-05 Thread andy baum
Richard,

You don't say what version of Universe you are on but if it is 10.n then the 
default http version is 1.0 most web services I have accessed need version 1.1 
so you will need to use :-

STATUS = setHTTPDefault(VERSION, 1.1)


At 11.n it looks like the default version has been changed to 1.1

HTH,
Andy



 From: Richard Lewis rbl...@gmail.com
To: U2 Users List u2-users@listserver.u2ug.org 
Sent: Wednesday, 30 October 2013, 22:42
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.govwrote:

  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


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

2013-10-31 Thread Symeon Breen
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.govwrote:

  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


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

2013-10-31 Thread Richard Lewis
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.govwrote:
 
   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] 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 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


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 11.n

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://cp.mcafee.com/d/5fHCNEq6xApdEILcELCzBNYQsCXCQrEFLThKCqejqdQkTXEFECzASzt5d-WdSrCQrEFCzBZBxwQsCN6Fe4GhTPMkxFqtokrm-cGNVsSxFqtokrm-cGNVsSqen1PW8Vd_HYMqemkNR-LsKCzu_3zhOyqerTVqWdAklkrKsG7DR8OJMddECQjtPtPo0c-l9Q-9DUYSCShU03wCHIcfBisEeRNJcKTjUQdJFBSWv6xsxlK5LE2zVkDjUCvzPqrp7w09JxNYsrdbojjdbFEw0nO1Ew6fypBrW6y3pCy09MAp-dfd42afgdTdL3ow12Qu
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


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, October 30, 2013 12:01 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] Web Services at Universe 11.n

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


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 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, October 30, 2013 12:01 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] Web Services at Universe 11.n

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

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


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
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.govwrote:

 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


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 2013 19:01
To: u2-users@listserver.u2ug.org
Subject: [U2] Web Services at Universe 11.n

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


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
[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.govwrote:

 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


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 become a sacred cow... now the
middleman rocks and rules.

--Bill

-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 11.n

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


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 Director, U2 Servers Lab
Rocket Software
4600 South Ulster Street  ·  Suite 1100  ·   Denver, CO 80237 ·  USA



-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 1:01 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] Web Services at Universe 11.n

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


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: Wednesday, October 30, 2013 2:25 PM
To: U2 Users List
Subject: Re: [U2] Web Services at Universe 11.n

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 Director, U2 Servers Lab
Rocket Software
4600 South Ulster Street  ·  Suite 1100  ·   Denver, CO 80237 ·  USA



-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 1:01 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] Web Services at Universe 11.n

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

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


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
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.govwrote:

  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


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 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 Director, U2 Servers Lab
 Rocket Software
 4600 South Ulster Street  ·  Suite 1100  ·   Denver, CO 80237 ·  USA



 -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 1:01 PM
 To: u2-users@listserver.u2ug.org
 Subject: [U2] Web Services at Universe 11.n

 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


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 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.govwrote:

  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


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 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.govwrote:
 
   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


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
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.govwrote:
 
   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


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 http://fiddler2.com/features or soapui 
http://www.soapui.org/SOAP-Recording/recording-soap-traffic.html in the past
Once you have setup your proxy server to monitor the http traffic you need to 
configure the proxy in your U2 program before calling SoapCreateRequest.

Below is a test program I have used before with logging with http proxy enabled.
Note: I have dug this up from a test project about a year ago. I hope it's all 
correct and functioning. It might give you a clue on how to debug your issue or 
what you may be missing. It should at least show you how to enable logging, 
enabling proxy and setting headers.


  ERROR.MSG = 
  RESPHEADERS = ''
  RESPDATA = ''
  SOAPSTATUS = ''
  SOAPFAULT = ''
  TIMEOUT = 3
  URL = http:// business.com.au/service/TestService
  SOAPACTION = http://www.business.com.au/ service/v1/TestService

  INPUTXML = ''
  INPUTXML :='?xml version=1.0 encoding=UTF-8?'
INPUTXML :='soap:Envelope'
INPUTXML :=' xmlns:soap=http://www.w3.org/2003/05/soap-envelope;'
INPUTXML := ''
INPUTXML :='soap:Body'
INPUTXML :='/soap:Body'
INPUTXML :='/soap:Envelope'

  RET = protocolLogging(c:\tmp\ITV-SOAP5.log, ON,15)

  IF ERROR.MSG =  THEN
 RET = SOAPSetDefault(VERSION,1.2)
 IF RET  0 THEN
ERROR.MSG = Error in SoapSetDEFAULT:  : RET
 END
  END

  IF ERROR.MSG =  THEN
 RET = setHTTPDefault(PROXY_PORT,)
 RET = setHTTPDefault(PROXY_PORT,)
 IF RET  0 THEN
ERROR.MSG = Error in setHTTPDefault:  : RET
 END
  END

  IF ERROR.MSG =  THEN
 RET = setHTTPDefault(PROXY_NAME,192.100.0.28)
 RET = setHTTPDefault(PROXY_NAME,)
 IF RET  0 THEN
ERROR.MSG = Error in setHTTPDefault:  : RET
 END
  END

  IF ERROR.MSG =  THEN
 RET = SoapCreateRequest(URL, SOAPACTION, SOAPREQ)
 IF RET  0 THEN
ERROR.MSG = Error in SoapCreateSecureRequest:  : RET
 END
  END

  IF ERROR.MSG =  THEN
 HEADER = 'Content-Type':@VM:'application/soap+xml'
 RET = SOAPSetRequestHeader(SOAPREQ, HEADER)
 IF RET  0 THEN
ERROR.MSG = Error in SoapSetRequestHeader:  : RET
 END
  END

  IF ERROR.MSG =  THEN
 RET = SoapSetRequestContent(SOAPREQ, INPUTXML, 1)
 IF RET  0 THEN
ERROR.MSG = Error in SoapSetRequestContent:  : RET
 END
  END

  IF ERROR.MSG =  THEN
 RET = SoapRequestWrite(SOAPREQ, REQUESTXML, 1)
 PRINT 'REQUESTXML=':REQUESTXML
 RET = SoapSubmitRequest(SOAPREQ, TIMEOUT, RESPHEADERS, RESPDATA, 
SOAPSTATUS)
 IF RET  0 THEN
ERROR.MSG = Error in SoapSubmitRequest:  : RET:; : SOAPSTATUS
 END
  END

  CRT ; CRT SOAPSTATUS: :SOAPSTATUS:
  CRT ; CRT RESPHEADER: :RESPHEADERS:
  CRT ; CRT RESPDATA:   :RESPDATA:
  CRT ; CRT ERROR.MSG: :ERROR.MSG

  VAR = protocolLogging(c:\tmp\ITV-SOAP5.log, OFF,15)

Regards

Adrian Halid
  
NOTICE : This e-mail and any attachments are intended for the addressee(s) only 
and may
contain confidential or privileged material. Any unauthorised review, use, 
alteration,
disclosure or distribution of this e-mail (including any attachments) by an 
unintended recipient
is prohibited. If you are not the intended recipient please contact the sender 
as soon as
possible by return e-mail and then delete both messages.
___


-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Richard Lewis
Sent: Thursday, 31 October 2013 6:43 AM
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