Re: [U2] Web services at 11.x

2014-05-15 Thread Oaks, Harold
Great!  Thanks!

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Peter Cheney
Sent: Wednesday, May 14, 2014 4:22 PM
To: 'U2 Users List'
Subject: Re: [U2] Web services at 11.x

Found the sample code ...
https://u2devzone.rocketsoftware.com/accelerate/articles/soap-api/soap-api



Peter Cheney
Ultracs Developer
t 07 3017 8837 | f 07 3002 8400
e peter.che...@firstmac.com.au
w firstmac.com.au


-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Peter Cheney
Sent: Thursday, 15 May 2014 08:59
To: 'U2 Users List'
Subject: Re: [U2] Web services at 11.x

We've been using soap requests (UV10.3.4) to read/write data to a number of web 
service front ends since about this time last year.
I found some sample code somewhere (either Rocket dev zone or pick wiki) to get 
me started.
As Symeon has just mentioned, the soap and other commands in the UV Basic 
extensions manual is where you need to look.
It can be a steep learning curve if you have not done any of this before (it 
certainly was for me and I still don't understand some of it!).



Peter Cheney
Ultracs Developer
t 07 3017 8837 | f 07 3002 8400
e peter.che...@firstmac.com.au
w firstmac.com.au


-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Oaks, Harold
Sent: Wednesday, 14 May 2014 03:11
To: U2 Users List (u2-users@listserver.u2ug.org)
Subject: [U2] Web services at 11.x


I have been telling my manager (an Oracle-centric guy) that with Universe 11+  
(we have 10.2 now) the web services will truly allow us to do input and output 
interfacing with other web services.  I need to make sure this is a correct 
understanding.

It is clear from the Web Services manual that one can create a web service (a 
SOAP service) which will allow outside queries and return data.  I write to 
this list to ask those of you who know that it is possible to do the other way, 
that from Universe you are able to connect to outside web services, send 
queries to them, and get back responses.  Because I don't see this in the Web 
manual.

If the latter is not possible via the Web services capabilities built into 
Universe, how are any of you doing it?  Do you need a 3rd-party product?

Here is the data need:  We are to interface our Jail system to another system 
via an ESB (electronic services bus) via 'web services', passing XML.

Thanks-
Harold Oaks
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

 ---
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

 ---
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

Re: [U2] Web services at 11.x

2014-05-14 Thread Symeon Breen
Both consuming web services (soap and otherwise) from within uv and serving
as a web service  have been in uv for years and years.

Consuming is done within data basic - see the extensions manuals.
Serving is done either using uniobject.net/java and creating a .net or java
webservice (my preference), or using the u2 web services tool.




-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Oaks, Harold
Sent: 13 May 2014 18:11
To: U2 Users List (u2-users@listserver.u2ug.org)
Subject: [U2] Web services at 11.x


I have been telling my manager (an Oracle-centric guy) that with Universe
11+  (we have 10.2 now) the web services will truly allow us to do input and
output interfacing with other web services.  I need to make sure this is a
correct understanding.

It is clear from the Web Services manual that one can create a web service
(a SOAP service) which will allow outside queries and return data.  I write
to this list to ask those of you who know that it is possible to do the
other way, that from Universe you are able to connect to outside web
services, send queries to them, and get back responses.  Because I don't see
this in the Web manual.   

If the latter is not possible via the Web services capabilities built into
Universe, how are any of you doing it?  Do you need a 3rd-party product?

Here is the data need:  We are to interface our Jail system to another
system via an ESB (electronic services bus) via 'web services', passing XML.


Thanks-
Harold Oaks
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 11.x

2014-05-14 Thread Peter Cheney
We've been using soap requests (UV10.3.4) to read/write data to a number of web 
service front ends since about this time last year.
I found some sample code somewhere (either Rocket dev zone or pick wiki) to get 
me started.
As Symeon has just mentioned, the soap and other commands in the UV Basic 
extensions manual is where you need to look.
It can be a steep learning curve if you have not done any of this before (it 
certainly was for me and I still don't understand some of it!).



Peter Cheney
Ultracs Developer
t 07 3017 8837 | f 07 3002 8400
e peter.che...@firstmac.com.au
w firstmac.com.au


-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Oaks, Harold
Sent: Wednesday, 14 May 2014 03:11
To: U2 Users List (u2-users@listserver.u2ug.org)
Subject: [U2] Web services at 11.x


I have been telling my manager (an Oracle-centric guy) that with Universe 11+  
(we have 10.2 now) the web services will truly allow us to do input and output 
interfacing with other web services.  I need to make sure this is a correct 
understanding.

It is clear from the Web Services manual that one can create a web service (a 
SOAP service) which will allow outside queries and return data.  I write to 
this list to ask those of you who know that it is possible to do the other way, 
that from Universe you are able to connect to outside web services, send 
queries to them, and get back responses.  Because I don't see this in the Web 
manual.

If the latter is not possible via the Web services capabilities built into 
Universe, how are any of you doing it?  Do you need a 3rd-party product?

Here is the data need:  We are to interface our Jail system to another system 
via an ESB (electronic services bus) via 'web services', passing XML.

Thanks-
Harold Oaks
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

 ---
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] Web services at 11.x

2014-05-14 Thread Peter Cheney
Found the sample code ...
https://u2devzone.rocketsoftware.com/accelerate/articles/soap-api/soap-api



Peter Cheney
Ultracs Developer
t 07 3017 8837 | f 07 3002 8400
e peter.che...@firstmac.com.au
w firstmac.com.au


-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Peter Cheney
Sent: Thursday, 15 May 2014 08:59
To: 'U2 Users List'
Subject: Re: [U2] Web services at 11.x

We've been using soap requests (UV10.3.4) to read/write data to a number of web 
service front ends since about this time last year.
I found some sample code somewhere (either Rocket dev zone or pick wiki) to get 
me started.
As Symeon has just mentioned, the soap and other commands in the UV Basic 
extensions manual is where you need to look.
It can be a steep learning curve if you have not done any of this before (it 
certainly was for me and I still don't understand some of it!).



Peter Cheney
Ultracs Developer
t 07 3017 8837 | f 07 3002 8400
e peter.che...@firstmac.com.au
w firstmac.com.au


-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Oaks, Harold
Sent: Wednesday, 14 May 2014 03:11
To: U2 Users List (u2-users@listserver.u2ug.org)
Subject: [U2] Web services at 11.x


I have been telling my manager (an Oracle-centric guy) that with Universe 11+  
(we have 10.2 now) the web services will truly allow us to do input and output 
interfacing with other web services.  I need to make sure this is a correct 
understanding.

It is clear from the Web Services manual that one can create a web service (a 
SOAP service) which will allow outside queries and return data.  I write to 
this list to ask those of you who know that it is possible to do the other way, 
that from Universe you are able to connect to outside web services, send 
queries to them, and get back responses.  Because I don't see this in the Web 
manual.

If the latter is not possible via the Web services capabilities built into 
Universe, how are any of you doing it?  Do you need a 3rd-party product?

Here is the data need:  We are to interface our Jail system to another system 
via an ESB (electronic services bus) via 'web services', passing XML.

Thanks-
Harold Oaks
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

 ---
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

 ---
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] Web services at 11.x

2014-05-13 Thread Oaks, Harold

I have been telling my manager (an Oracle-centric guy) that with Universe 11+  
(we have 10.2 now) the web services will truly allow us to do input and output 
interfacing with other web services.  I need to make sure this is a correct 
understanding.

It is clear from the Web Services manual that one can create a web service (a 
SOAP service) which will allow outside queries and return data.  I write to 
this list to ask those of you who know that it is possible to do the other way, 
that from Universe you are able to connect to outside web services, send 
queries to them, and get back responses.  Because I don't see this in the Web 
manual.   

If the latter is not possible via the Web services capabilities built into 
Universe, how are any of you doing it?  Do you need a 3rd-party product?

Here is the data need:  We are to interface our Jail system to another system 
via an ESB (electronic services bus) via 'web services', passing XML.  

Thanks-
Harold Oaks
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 11.x

2014-05-13 Thread Nancy Fisher
We query outside services for information via soap.
Universe 10.3.

Nancy Fisher
Federal Way, Washington

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson
Sent: Tuesday, May 13, 2014 10:21 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Web services at 11.x


https://en.wikipedia.org/wiki/Enterprise_service_bus
 
 
 
 
-Original Message-
From: Oaks, Harold harold.o...@clark.wa.gov
To: U2 Users List (u2-users@listserver.u2ug.org)
u2-users@listserver.u2ug.org
Sent: Tue, May 13, 2014 10:11 am
Subject: [U2] Web services at 11.x



I have been telling my manager (an Oracle-centric guy) that with Universe
11+ (we have 10.2 now) the web services will truly allow us to do input and
output interfacing with other web services.  I need to make sure this is a
correct understanding.

It is clear from the Web Services manual that one can create a web service
(a SOAP service) which will allow outside queries and return data.  I write
to this list to ask those of you who know that it is possible to do the
other way, that from Universe you are able to connect to outside web
services, send queries to 
them, and get back responses.  Because I don't see this in the Web manual.


If the latter is not possible via the Web services capabilities built into
Universe, how are any of you doing it?  Do you need a 3rd-party product?

Here is the data need:  We are to interface our Jail system to another
system via an ESB (electronic services bus) via 'web services', passing XML.


Thanks-
Harold Oaks
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 11.x

2014-05-13 Thread Richard Lewis
We have been using a SOAP interface on 10.2 or 10.3 (I forget now which)
and are now on 11.1.  We have also successfully used curl to from within UV
to interact with a web service on 11.1, on linux.

Richard Lewis



On Tue, May 13, 2014 at 11:10 AM, Oaks, Harold harold.o...@clark.wa.govwrote:


 I have been telling my manager (an Oracle-centric guy) that with Universe
 11+  (we have 10.2 now) the web services will truly allow us to do input
 and output interfacing with other web services.  I need to make sure this
 is a correct understanding.

 It is clear from the Web Services manual that one can create a web service
 (a SOAP service) which will allow outside queries and return data.  I write
 to this list to ask those of you who know that it is possible to do the
 other way, that from Universe you are able to connect to outside web
 services, send queries to them, and get back responses.  Because I don't
 see this in the Web manual.

 If the latter is not possible via the Web services capabilities built into
 Universe, how are any of you doing it?  Do you need a 3rd-party product?

 Here is the data need:  We are to interface our Jail system to another
 system via an ESB (electronic services bus) via 'web services', passing XML.

 Thanks-
 Harold Oaks
 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 11.x

2014-05-13 Thread Wjhonson

Wget however only works to pull pages in correct?
You can't actually communicate both ways.
 
 
 
-Original Message-
From: George Gallen ggal...@wyanokegroup.com
To: U2 Users List u2-users@listserver.u2ug.org
Sent: Tue, May 13, 2014 10:56 am
Subject: Re: [U2] Web services at 11.x


We use wget on 10.0.2 / linux  - works but setting up the header lines
Is kludgy.  But since it works we havn't migrated to curl yet.

George

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] 
On Behalf Of Richard Lewis
Sent: Tuesday, May 13, 2014 1:53 PM
To: U2 Users List
Subject: Re: [U2] Web services at 11.x

We have been using a SOAP interface on 10.2 or 10.3 (I forget now which)
and are now on 11.1.  We have also successfully used curl to from within UV
to interact with a web service on 11.1, on linux.

Richard Lewis



On Tue, May 13, 2014 at 11:10 AM, Oaks, Harold harold.o...@clark.wa.govwrote:


 I have been telling my manager (an Oracle-centric guy) that with Universe
 11+  (we have 10.2 now) the web services will truly allow us to do input
 and output interfacing with other web services.  I need to make sure this
 is a correct understanding.

 It is clear from the Web Services manual that one can create a web service
 (a SOAP service) which will allow outside queries and return data.  I write
 to this list to ask those of you who know that it is possible to do the
 other way, that from Universe you are able to connect to outside web
 services, send queries to them, and get back responses.  Because I don't
 see this in the Web manual.

 If the latter is not possible via the Web services capabilities built into
 Universe, how are any of you doing it?  Do you need a 3rd-party product?

 Here is the data need:  We are to interface our Jail system to another
 system via an ESB (electronic services bus) via 'web services', passing XML.

 Thanks-
 Harold Oaks
 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 11.x

2014-05-13 Thread George Gallen
We use wget on 10.0.2 / linux  - works but setting up the header lines
Is kludgy.  But since it works we havn't migrated to curl yet.

George

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Richard Lewis
Sent: Tuesday, May 13, 2014 1:53 PM
To: U2 Users List
Subject: Re: [U2] Web services at 11.x

We have been using a SOAP interface on 10.2 or 10.3 (I forget now which)
and are now on 11.1.  We have also successfully used curl to from within UV
to interact with a web service on 11.1, on linux.

Richard Lewis



On Tue, May 13, 2014 at 11:10 AM, Oaks, Harold harold.o...@clark.wa.govwrote:


 I have been telling my manager (an Oracle-centric guy) that with Universe
 11+  (we have 10.2 now) the web services will truly allow us to do input
 and output interfacing with other web services.  I need to make sure this
 is a correct understanding.

 It is clear from the Web Services manual that one can create a web service
 (a SOAP service) which will allow outside queries and return data.  I write
 to this list to ask those of you who know that it is possible to do the
 other way, that from Universe you are able to connect to outside web
 services, send queries to them, and get back responses.  Because I don't
 see this in the Web manual.

 If the latter is not possible via the Web services capabilities built into
 Universe, how are any of you doing it?  Do you need a 3rd-party product?

 Here is the data need:  We are to interface our Jail system to another
 system via an ESB (electronic services bus) via 'web services', passing XML.

 Thanks-
 Harold Oaks
 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 11.x

2014-05-13 Thread George Gallen
As far as I know - it's just consumes.

We use a different system for serving - which is XML based and a combination of 
PERL and linux script.

George

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson
Sent: Tuesday, May 13, 2014 1:59 PM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Web services at 11.x


Wget however only works to pull pages in correct?
You can't actually communicate both ways.
 
 
 
-Original Message-
From: George Gallen ggal...@wyanokegroup.com
To: U2 Users List u2-users@listserver.u2ug.org
Sent: Tue, May 13, 2014 10:56 am
Subject: Re: [U2] Web services at 11.x


We use wget on 10.0.2 / linux  - works but setting up the header lines
Is kludgy.  But since it works we havn't migrated to curl yet.

George

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] 
On Behalf Of Richard Lewis
Sent: Tuesday, May 13, 2014 1:53 PM
To: U2 Users List
Subject: Re: [U2] Web services at 11.x

We have been using a SOAP interface on 10.2 or 10.3 (I forget now which)
and are now on 11.1.  We have also successfully used curl to from within UV
to interact with a web service on 11.1, on linux.

Richard Lewis



On Tue, May 13, 2014 at 11:10 AM, Oaks, Harold harold.o...@clark.wa.govwrote:


 I have been telling my manager (an Oracle-centric guy) that with Universe
 11+  (we have 10.2 now) the web services will truly allow us to do input
 and output interfacing with other web services.  I need to make sure this
 is a correct understanding.

 It is clear from the Web Services manual that one can create a web service
 (a SOAP service) which will allow outside queries and return data.  I write
 to this list to ask those of you who know that it is possible to do the
 other way, that from Universe you are able to connect to outside web
 services, send queries to them, and get back responses.  Because I don't
 see this in the Web manual.

 If the latter is not possible via the Web services capabilities built into
 Universe, how are any of you doing it?  Do you need a 3rd-party product?

 Here is the data need:  We are to interface our Jail system to another
 system via an ESB (electronic services bus) via 'web services', passing XML.

 Thanks-
 Harold Oaks
 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 11.x

2014-05-13 Thread Oaks, Harold
Nancy:
Great!  Is there any possibility of you sending me some sample code?  I may not 
be able to make it work at 10.2, but it would be instructive to try.  If there 
are security or proprietary issues, or just your time issues, I understand.
Thanks-
Harold

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Nancy Fisher
Sent: Tuesday, May 13, 2014 10:33 AM
To: 'U2 Users List'
Subject: Re: [U2] Web services at 11.x

We query outside services for information via soap.
Universe 10.3.

Nancy Fisher
Federal Way, Washington

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson
Sent: Tuesday, May 13, 2014 10:21 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Web services at 11.x


https://en.wikipedia.org/wiki/Enterprise_service_bus
 
 
 
 
-Original Message-
From: Oaks, Harold harold.o...@clark.wa.gov
To: U2 Users List (u2-users@listserver.u2ug.org) u2-users@listserver.u2ug.org
Sent: Tue, May 13, 2014 10:11 am
Subject: [U2] Web services at 11.x



I have been telling my manager (an Oracle-centric guy) that with Universe
11+ (we have 10.2 now) the web services will truly allow us to do input 
11+ and
output interfacing with other web services.  I need to make sure this is a 
correct understanding.

It is clear from the Web Services manual that one can create a web service (a 
SOAP service) which will allow outside queries and return data.  I write to 
this list to ask those of you who know that it is possible to do the other way, 
that from Universe you are able to connect to outside web services, send 
queries to them, and get back responses.  Because I don't see this in the Web 
manual.


If the latter is not possible via the Web services capabilities built into
Universe, how are any of you doing it?  Do you need a 3rd-party product?

Here is the data need:  We are to interface our Jail system to another
system via an ESB (electronic services bus) via 'web services', passing XML.


Thanks-
Harold Oaks
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 11.x

2014-05-13 Thread Oaks, Harold
Right, Enterprise Service Bus.  Thanks.

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson
Sent: Tuesday, May 13, 2014 10:21 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Web services at 11.x


https://en.wikipedia.org/wiki/Enterprise_service_bus
 
 
 
 
-Original Message-
From: Oaks, Harold harold.o...@clark.wa.gov
To: U2 Users List (u2-users@listserver.u2ug.org) u2-users@listserver.u2ug.org
Sent: Tue, May 13, 2014 10:11 am
Subject: [U2] Web services at 11.x



I have been telling my manager (an Oracle-centric guy) that with Universe 11+ 
(we have 10.2 now) the web services will truly allow us to do input and output 
interfacing with other web services.  I need to make sure this is a correct 
understanding.

It is clear from the Web Services manual that one can create a web service (a 
SOAP service) which will allow outside queries and return data.  I write to 
this list to ask those of you who know that it is possible to do the other way, 
that from Universe you are able to connect to outside web services, send 
queries to 
them, and get back responses.  Because I don't see this in the Web manual.   

If the latter is not possible via the Web services capabilities built into 
Universe, how are any of you doing it?  Do you need a 3rd-party product?

Here is the data need:  We are to interface our Jail system to another system 
via an ESB (electronic services bus) via 'web services', passing XML.  

Thanks-
Harold Oaks
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 11.x

2014-05-13 Thread Bill Haskett

Harold:

Maybe you'd be interested in:

https://u2devzone.rocketsoftware.com/accelerate/resources/videos/rest

HTH,

Bill

Untitled Page

- Original Message -
*From:* harold.o...@clark.wa.gov
*To:* 'U2 Users List' u2-users@listserver.u2ug.org
*Date:* 5/13/2014 11:20 AM
*Subject:* Re: [U2] Web services at 11.x

Right, Enterprise Service Bus.  Thanks.

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson
Sent: Tuesday, May 13, 2014 10:21 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Web services at 11.x


https://en.wikipedia.org/wiki/Enterprise_service_bus

  
-Original Message-

From: Oaks, Harold harold.o...@clark.wa.gov
To: U2 Users List (u2-users@listserver.u2ug.org) u2-users@listserver.u2ug.org
Sent: Tue, May 13, 2014 10:11 am
Subject: [U2] Web services at 11.x

I have been telling my manager (an Oracle-centric guy) that with Universe 11+ 
(we have 10.2 now) the web services will truly allow us to do input and output 
interfacing with other web services.  I need to make sure this is a correct 
understanding.

It is clear from the Web Services manual that one can create a web service (a 
SOAP service) which will allow outside queries and return data.  I write to 
this list to ask those of you who know that it is possible to do the other way, 
that from Universe you are able to connect to outside web services, send 
queries to
them, and get back responses.  Because I don't see this in the Web manual.

If the latter is not possible via the Web services capabilities built into 
Universe, how are any of you doing it?  Do you need a 3rd-party product?

Here is the data need:  We are to interface our Jail system to another system 
via an ESB (electronic services bus) via 'web services', passing XML.

Thanks-
Harold Oaks
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 11.x

2014-05-13 Thread Oaks, Harold
Thanks Bill.

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Bill Haskett
Sent: Tuesday, May 13, 2014 1:37 PM
To: U2 Users List
Subject: Re: [U2] Web services at 11.x

Harold:

Maybe you'd be interested in:

https://u2devzone.rocketsoftware.com/accelerate/resources/videos/rest

HTH,

Bill

Untitled Page

- Original Message -
*From:* harold.o...@clark.wa.gov
*To:* 'U2 Users List' u2-users@listserver.u2ug.org
*Date:* 5/13/2014 11:20 AM
*Subject:* Re: [U2] Web services at 11.x
 Right, Enterprise Service Bus.  Thanks.

 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org 
 [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson
 Sent: Tuesday, May 13, 2014 10:21 AM
 To: u2-users@listserver.u2ug.org
 Subject: Re: [U2] Web services at 11.x


 https://en.wikipedia.org/wiki/Enterprise_service_bus

   
 -Original Message-
 From: Oaks, Harold harold.o...@clark.wa.gov
 To: U2 Users List (u2-users@listserver.u2ug.org) 
 u2-users@listserver.u2ug.org
 Sent: Tue, May 13, 2014 10:11 am
 Subject: [U2] Web services at 11.x

 I have been telling my manager (an Oracle-centric guy) that with Universe 11+ 
 (we have 10.2 now) the web services will truly allow us to do input and 
 output interfacing with other web services.  I need to make sure this is a 
 correct understanding.

 It is clear from the Web Services manual that one can create a web 
 service (a SOAP service) which will allow outside queries and return data.  I 
 write to this list to ask those of you who know that it is possible to do the 
 other way, that from Universe you are able to connect to outside web 
 services, send queries to them, and get back responses.  Because I don't see 
 this in the Web manual.

 If the latter is not possible via the Web services capabilities built into 
 Universe, how are any of you doing it?  Do you need a 3rd-party product?

 Here is the data need:  We are to interface our Jail system to another system 
 via an ESB (electronic services bus) via 'web services', passing XML.

 Thanks-
 Harold Oaks
 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 11.x

2014-05-13 Thread Larry Hiscock
Consuming webservices from the outside world is relatively trivial in UV 11
(and 10.x).  Look in the Basic Extensions manual for details.  

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: Tuesday, May 13, 2014 10:11 AM
To: U2 Users List (u2-users@listserver.u2ug.org)
Subject: [U2] Web services at 11.x


I have been telling my manager (an Oracle-centric guy) that with Universe
11+  (we have 10.2 now) the web services will truly allow us to do input and
output interfacing with other web services.  I need to make sure this is a
correct understanding.

It is clear from the Web Services manual that one can create a web service
(a SOAP service) which will allow outside queries and return data.  I write
to this list to ask those of you who know that it is possible to do the
other way, that from Universe you are able to connect to outside web
services, send queries to them, and get back responses.  Because I don't see
this in the Web manual.   

If the latter is not possible via the Web services capabilities built into
Universe, how are any of you doing it?  Do you need a 3rd-party product?

Here is the data need:  We are to interface our Jail system to another
system via an ESB (electronic services bus) via 'web services', passing XML.


Thanks-
Harold Oaks
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-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

[U2] U2 web services developer

2010-05-26 Thread Clarke, Patrick
I am creating my first U2 web service. While developing on my client machine I 
am trying to test the soap requests calls from a BASIC program however I'm 
having difficulty with the syntax for the URL/Namespace/SOAPACTION variables.

I am starting with a simple case where I provide 1 customer number and return 
Name and address results.

I'm using
URL format: http://host:port/webservicename?keyvalue
Namespace: same as found in the Service Details area namespace of the Web 
Service
SoapAction: http://host:port/webservicename#queryname
Method: queryname
Method Parms: queryKeyvariablename:@VM:keyvalue

I continue to receive error: Exception: Internal Web Service Server Error

Any sugguestions would be appreciated.

Thanks.


Patrick Clarke
Programmer Analyst


___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] U2 web services developer

2010-05-26 Thread iggchamp

Shot in the dark... 


Is connection pooling flag set? Right click on soap server and look at 
properties. 


- Original Message - 
From: Patrick Clarke patrick.cla...@ottoexcellence.com 
To: U2-Users@listserver.u2ug.org U2-Users@listserver.u2ug.org 
Sent: Wednesday, May 26, 2010 10:11:58 AM GMT -06:00 US/Canada Central 
Subject: [U2] U2 web services developer 

I am creating my first U2 web service. While developing on my client machine I 
am trying to test the soap requests calls from a BASIC program however I'm 
having difficulty with the syntax for the URL/Namespace/SOAPACTION variables. 

I am starting with a simple case where I provide 1 customer number and return 
Name and address results. 

I'm using 
URL format: http://host:port/webservicename?keyvalue 
Namespace: same as found in the Service Details area namespace of the Web 
Service 
SoapAction: http://host:port/webservicename#queryname 
Method: queryname 
Method Parms: queryKeyvariablename:@VM:keyvalue 

I continue to receive error: Exception: Internal Web Service Server Error 

Any sugguestions would be appreciated. 

Thanks. 


Patrick Clarke 
Programmer Analyst 


___ 
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] U2 Web Services

2010-01-21 Thread Dan McGrath
Thanks to all who responded to the question.

As always, I'm being made to jump around different projects, so I may
get back to some of you in the near future.

Regards,
Dan

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Tony Gravagno
Sent: Tuesday, 19 January 2010 10:41 PM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] U2 Web Services

 From: Symeon Breen
 The simplest solution is to use uniobjects (either 
 .net or for java) and write your own webservice - in 
 asp.net for example it is about 20 lines of code, 
 asp.net then handles all your soap, or rest, or json 
 stuff for you - there have been examples posted on 
 here before, plus i think in the wiki.

I agree with Symeon and I write web services all the time.
Nay-sayers can say what they will, it's fast and it works.

Thanks to our client, Scott, for the nod.  He had been down this
route, went through standard U2 resources, found lots of
problems, and then I created a solution for him with ASP.NET Web
Services - and he got full source when the project was complete.

Note that while most web services take just a few minutes, the
services I wrote for Scott's company took about 10 hours in
documentation, code, and testing, because very detailed settings
were required to conform to an existing environment.  Anyone
writing their own services won't have to deal with such issues.

Take a look at a video I have on our web site.  It shows two ways
to create web services in 20 minutes, and it would take less time
if I wasn't explaining it.
See remove.thisNebula-RnD.com/products/gallery.htm.
I used mv.NET because it's a Swiss Army knife for a ton of
projects [ad], but as Symeon said, you can easily use UO.NET too.
Follow the concept, don't worry about the connectivity product.
You can do this for Free and within Minutes!

Also, search PickWiki.com for web services and you'll find some
solutions there.  (Side note: we're porting PickWiki.com into
MediaWiki soon. See home page for info.)

Finally, here's another video, (1min40sec) of someone who
evaluated U2 Web Services and decided to do something else:
http://www.youtube.com/watch?v=276F-xKqflQ

If you need any help, let me know.  Our business is based on
doing the things that others find too tough.

HTH
Tony Gravagno
Nebula Research and Development
TG@ remove.pleaseNebula-RnD.com
Nebula RD sells mv.NET and other Pick/MultiValue products
worldwide, and provides related development services
remove.pleaseNebula-RnD.com/blog
Visit PickWiki.com! Contribute!
http://Twitter.com/TonyGravagno


___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__
###
The information transmitted in this message and attachments (if any) is 
intended only
for the person or entity to which it is addressed. The message may contain 
confidential
and/or privileged material.  Any review, retransmission, dissemination or other 
use of
or taking of any action in reliance upon this information by persons or 
entities other
than the intended recipient is prohibited.  If you received this in error, 
please
contact the sender and delete the material from any computer.

The intended recipient of this e-mail may only use, reproduce, disclose or 
distribute
the information contained in this e-mail and any attached files with the 
permission of IMB.
###
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] U2 Web Services

2010-01-19 Thread Symeon Breen
The simplest solution is to use uniobjects (either .net or for java) and
write your own webservice - in asp.net for example it is about 20 lines of
code, asp.net then handles all your soap, or rest, or json stuff for you -
there have been examples posted on here before, plus i think in the wiki.
If you need further examples ask the group we can provide them easily
.



Rgds
Symeon.

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Dan McGrath
Sent: 18 January 2010 21:51
To: U2 Users List
Subject: [U2] U2 Web Services

Hi all,

 

Are there any people out there currently using U2 Web Services in
production?

 

Do you find it stable?

 

From the information I have, I cannot see how we can send SOAP Faults
depending on the results of a subroutine call (For example, an error
message parameter # ), which makes it impossible to use to integrate
with some 3rd party products.

 

Does anyone else have third party products that use SOAP/XML to
communicate with Unidata and use something other than U2 Web Services to
handle it?

 

Cheers,

Dan

 



###
The information transmitted in this message and attachments (if any) is
intended only
for the person or entity to which it is addressed. The message may contain
confidential
and/or privileged material.  Any review, retransmission, dissemination or
other use of
or taking of any action in reliance upon this information by persons or
entities other
than the intended recipient is prohibited.  If you received this in error,
please
contact the sender and delete the material from any computer.

The intended recipient of this e-mail may only use, reproduce, disclose or
distribute
the information contained in this e-mail and any attached files with the
permission of IMB.

###
___
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] U2 Web Services

2010-01-19 Thread Tony Gravagno
 From: Symeon Breen
 The simplest solution is to use uniobjects (either 
 .net or for java) and write your own webservice - in 
 asp.net for example it is about 20 lines of code, 
 asp.net then handles all your soap, or rest, or json 
 stuff for you - there have been examples posted on 
 here before, plus i think in the wiki.

I agree with Symeon and I write web services all the time.
Nay-sayers can say what they will, it's fast and it works.

Thanks to our client, Scott, for the nod.  He had been down this
route, went through standard U2 resources, found lots of
problems, and then I created a solution for him with ASP.NET Web
Services - and he got full source when the project was complete.

Note that while most web services take just a few minutes, the
services I wrote for Scott's company took about 10 hours in
documentation, code, and testing, because very detailed settings
were required to conform to an existing environment.  Anyone
writing their own services won't have to deal with such issues.

Take a look at a video I have on our web site.  It shows two ways
to create web services in 20 minutes, and it would take less time
if I wasn't explaining it.
See remove.thisNebula-RnD.com/products/gallery.htm.
I used mv.NET because it's a Swiss Army knife for a ton of
projects [ad], but as Symeon said, you can easily use UO.NET too.
Follow the concept, don't worry about the connectivity product.
You can do this for Free and within Minutes!

Also, search PickWiki.com for web services and you'll find some
solutions there.  (Side note: we're porting PickWiki.com into
MediaWiki soon. See home page for info.)

Finally, here's another video, (1min40sec) of someone who
evaluated U2 Web Services and decided to do something else:
http://www.youtube.com/watch?v=276F-xKqflQ

If you need any help, let me know.  Our business is based on
doing the things that others find too tough.

HTH
Tony Gravagno
Nebula Research and Development
TG@ remove.pleaseNebula-RnD.com
Nebula RD sells mv.NET and other Pick/MultiValue products
worldwide, and provides related development services
remove.pleaseNebula-RnD.com/blog
Visit PickWiki.com! Contribute!
http://Twitter.com/TonyGravagno


___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] U2 Web Services

2010-01-19 Thread Cooper, Rudy
Dan,

We've been using U2 web services for over a year.  It was easy to implement and 
so far no problems, seems to very stable.

Rudy

Message: 1
Date: Tue, 19 Jan 2010 08:50:42 +1100
From: Dan McGrath dmc...@imb.com.au
To: U2 Users List u2-users@listserver.u2ug.org
Subject: [U2] U2 Web Services
Message-ID: ddc8e880ea0e4f438407b6fa651ca12f06a62...@es02.imb.net
Content-Type: text/plain; charset=us-ascii

Hi all,



Are there any people out there currently using U2 Web Services in production?



Do you find it stable?


Rudy Cooper
Technical Lead
Sage Publications Inc.
2455 Teller Road
Thousand Oaks, Ca. 91320
USA

T:805.410.7724
www.sagepub.comhttp://www.sagepub.com

Los Angeles | London | New Delhi
Singapore | Washington DC

The natural home for authors, editors  societies

Please consider the environment before printing this email

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


[U2] U2 Web Services

2010-01-18 Thread Dan McGrath
Hi all,

 

Are there any people out there currently using U2 Web Services in
production?

 

Do you find it stable?

 

From the information I have, I cannot see how we can send SOAP Faults
depending on the results of a subroutine call (For example, an error
message parameter # ), which makes it impossible to use to integrate
with some 3rd party products.

 

Does anyone else have third party products that use SOAP/XML to
communicate with Unidata and use something other than U2 Web Services to
handle it?

 

Cheers,

Dan

 


###
The information transmitted in this message and attachments (if any) is 
intended only
for the person or entity to which it is addressed. The message may contain 
confidential
and/or privileged material.  Any review, retransmission, dissemination or other 
use of
or taking of any action in reliance upon this information by persons or 
entities other
than the intended recipient is prohibited.  If you received this in error, 
please
contact the sender and delete the material from any computer.

The intended recipient of this e-mail may only use, reproduce, disclose or 
distribute
the information contained in this e-mail and any attached files with the 
permission of IMB.
###
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] U2 Web Services

2010-01-18 Thread Craig Bennett

Hi Dan,

I have a java stack for sale to do this using REST and Uniobjects.

Please contact me off list if you would like to discuss [craig AT 
amajuba.com]



regards,


Craig

Dan McGrath wrote:

Hi all,

 


Are there any people out there currently using U2 Web Services in
production?

 


Do you find it stable?

 


From the information I have, I cannot see how we can send SOAP Faults
depending on the results of a subroutine call (For example, an error
message parameter # ), which makes it impossible to use to integrate
with some 3rd party products.

 


Does anyone else have third party products that use SOAP/XML to
communicate with Unidata and use something other than U2 Web Services to
handle it?

 


Cheers,

Dan

 



###
The information transmitted in this message and attachments (if any) is 
intended only
for the person or entity to which it is addressed. The message may contain 
confidential
and/or privileged material.  Any review, retransmission, dissemination or other 
use of
or taking of any action in reliance upon this information by persons or 
entities other
than the intended recipient is prohibited.  If you received this in error, 
please
contact the sender and delete the material from any computer.

The intended recipient of this e-mail may only use, reproduce, disclose or 
distribute
the information contained in this e-mail and any attached files with the 
permission of IMB.
###
___
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] U2 Web Services

2010-01-18 Thread iggchamp


We tried to go the U2 Web Services route and found that it could not meet our 
needs.  We wound up purchasing mv.net and having him provide us with a web 
service that is very solid .  Our service is a very complex one that delivers 
pricing information to our sales reps in the field.  We were duplicating a 
service that our corporate site provides to users at another site.  Our 
corporate IT folks were blown away by the performance of our service versus 
theirs.   While the performance is  great, what really makes me happy is that  
I've had 0 problems with it  right out of the box. 



Long story short...  Don't waste your time, give Tony a shout.  You won't be 
sorry! 








- Original Message - 
From: Dan McGrath dmc...@imb.com.au 
To: U2 Users List u2-users@listserver.u2ug.org 
Sent: Monday, January 18, 2010 3:50:42 PM GMT -06:00 US/Canada Central 
Subject: [U2] U2 Web Services 

Hi all, 

  

Are there any people out there currently using U2 Web Services in 
production? 

  

Do you find it stable? 

  

From the information I have, I cannot see how we can send SOAP Faults 
depending on the results of a subroutine call (For example, an error 
message parameter # ), which makes it impossible to use to integrate 
with some 3rd party products. 

  

Does anyone else have third party products that use SOAP/XML to 
communicate with Unidata and use something other than U2 Web Services to 
handle it? 

  

Cheers, 

Dan 

  


###
 
The information transmitted in this message and attachments (if any) is 
intended only 
for the person or entity to which it is addressed. The message may contain 
confidential 
and/or privileged material.  Any review, retransmission, dissemination or other 
use of 
or taking of any action in reliance upon this information by persons or 
entities other 
than the intended recipient is prohibited.  If you received this in error, 
please 
contact the sender and delete the material from any computer. 

The intended recipient of this e-mail may only use, reproduce, disclose or 
distribute 
the information contained in this e-mail and any attached files with the 
permission of IMB. 
###
 
___ 
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] U2 Web Services

2010-01-18 Thread iggchamp








When I said him I meant to include his name.  Tony Gravagno ( 
t...@nebula-rnd.com ) .  http://www.nebula-rnd.com/ 










- Original Message - 
From: iggch...@comcast.net 
To: U2 Users List u2-users@listserver.u2ug.org 
Sent: Monday, January 18, 2010 5:52:56 PM GMT -06:00 US/Canada Central 
Subject: Re: [U2] U2 Web Services 



We tried to go the U2 Web Services route and found that it could not meet our 
needs.  We wound up purchasing mv.net and having him provide us with a web 
service that is very solid .  Our service is a very complex one that delivers 
pricing information to our sales reps in the field.  We were duplicating a 
service that our corporate site provides to users at another site.  Our 
corporate IT folks were blown away by the performance of our service versus 
theirs.   While the performance is  great, what really makes me happy is that  
I've had 0 problems with it  right out of the box. 



Long story short...  Don't waste your time, give Tony a shout.  You won't be 
sorry! 








- Original Message - 
From: Dan McGrath dmc...@imb.com.au 
To: U2 Users List u2-users@listserver.u2ug.org 
Sent: Monday, January 18, 2010 3:50:42 PM GMT -06:00 US/Canada Central 
Subject: [U2] U2 Web Services 

Hi all, 

  

Are there any people out there currently using U2 Web Services in 
production? 

  

Do you find it stable? 

  

From the information I have, I cannot see how we can send SOAP Faults 
depending on the results of a subroutine call (For example, an error 
message parameter # ), which makes it impossible to use to integrate 
with some 3rd party products. 

  

Does anyone else have third party products that use SOAP/XML to 
communicate with Unidata and use something other than U2 Web Services to 
handle it? 

  

Cheers, 

Dan 

  


###
 
The information transmitted in this message and attachments (if any) is 
intended only 
for the person or entity to which it is addressed. The message may contain 
confidential 
and/or privileged material.  Any review, retransmission, dissemination or other 
use of 
or taking of any action in reliance upon this information by persons or 
entities other 
than the intended recipient is prohibited.  If you received this in error, 
please 
contact the sender and delete the material from any computer. 

The intended recipient of this e-mail may only use, reproduce, disclose or 
distribute 
the information contained in this e-mail and any attached files with the 
permission of IMB. 
###
 
___ 
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] IBM U2 Web services Deployment

2009-11-21 Thread icePhalanx

You're bang on the money, thanks Carl, you rock!

Anyone else who has this issue, download the latest version:

http://www.rocketsoftware.com/u2/downloads/unidataclient.asp



Carl Dula wrote:
 
 The latest version of the Web Services Developer is:
  
 Version 1.2.3
 Build id: 20090925_7384
 
 I am using this, and do not experience the problem you describe.
 
 Perhaps you should upgrade and see what happens, since the version you
 have appears quite old.
 
 --
 Carl Dula   Voice: 973-227-8440 X111
 Pulsar Systems, Inc.Fax: 973-227-8440
 271 Route 46 West, Suite H209   email:c...@pulsarsystems.com
 Fairfield, NJ 07004-2474http://www.pulsarsystems.com
 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users
 
 

-- 
View this message in context: 
http://old.nabble.com/IBM-U2-Web-services-Deployment-tp26436471p26461323.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] accessing subrotines via IBM u2 Web Services Developer

2009-11-20 Thread icePhalanx

Turning off connection pooling worked a treat, thanks Michael.

Just in addition to this, I found that on the Unidata 7.1A client that the
check box for toggling connection pooling is missing, but it is there on
Unidata 7.1B client.  That had me foxed for a while just in case anyone else
is experiencing the same issue.



Michael Rajkowski wrote:
 
 Rich,
 
 First thing I would check is that your SOAP Service is not set to use
 connection pooling (check this by looking at the properties).
 
 Note that turning this off is a must, if you do not have connection
 pooling licenses on your system.
 
 While you are in the properties screen I would recommend that you turn on
 the Debug logging.
 
 Start the server again, and try your request again.
 
 If it does not work, look at the log, it should provide you with some
 additional information.
 
 Michael Rajkowski
 SWG Client Support - Information Management Software
 Software Engineer ? IBM U2 Client Support Team
 1-800-729-3553
 mraj...@us.ibm.com
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 Rich Unsworth ri...@rell.com
 Sent by: owner-u2-us...@listserver.u2ug.org
 02/18/2009 02:52 PM
 Please respond to
 u2-users@listserver.u2ug.org
 
 
 To
 u2-users@listserver.u2ug.org
 cc
 
 Subject
 [U2] accessing subrotines via IBM u2 Web Services Developer
 
 
 
 
 
 
 I am trying to use the web services developer gui with a trial version
 of universe 10.2 to access a subroutine or, just run a query against a
 test database and return data to a web page.
 
 
 
 My setup is as follows:
 
 
 
 Universe 10.2 running on an ibm p-series machine running aix 5.3 mu06
 
 Web services developer tool installed on a windows 2003 server and on a
 windows xp laptop (trying the process in two different locations)
 
 Soap server setup on box the 2003 server and the laptop using the SOAP
 setup via the web services developer program.
 
 
 
 I have followed the documentation for setting up access to the
 subroutine that allows you to input a customer number and return the
 data (this is the example that's in the universe documentation).
 
 
 
 I cannot get this to work. There is connectivity to the database, I have
 verified this using the connection test that's built into the web
 services developer software and I can see all of my test files, my test
 cataloged routines etc.
 
 
 
 After going through the example, whether it's a query or using a
 subroutine I get the following error:
 
 
 
 There is nothing to be displayed in the form view. Please switch to the
 source view for the SOAP request and response.
 
 
 
 When I view the source for the SOAP request, within the soap/xml tags it
 basically says:
 
 
 
 Exception: Internal Web Service Server Error
 
 
 
 My main question I guess is does the web services developer method allow
 you to have the web services developer software on windows, the soap
 server on windows and your universe database on an separate aix machine?
 The URL for the testing always defaults back to my local laptop or
 server when running the web service that was created. i.e.
 
 
 
 H TTP://myusername-d620.company.corp:8181/CUSTOMER
 
 
 
 Any help would be appreciated. I am trying to setup a show and tell and
 have roughly 40 days left on the trial of universe. Based on the
 effectiveness of how we can pull data determines if we upgrade to 10.2
 of universe as 10.1.14 suits our needs right now (outside of the desire
 to pull data back to web pages efficiently).
 
 
 
 Thanks in advance,
 
 Rich
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/
 
 [demime 1.01d removed an attachment of type image/gif]
 
 [demime 1.01d removed an attachment of type image/gif]
 
 [demime 1.01d removed an attachment of type image/jpeg]
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/
 
 

-- 
View this message in context: 
http://old.nabble.com/accessing-subrotines-via-IBM-u2-Web-Services-Developer-tp22089565p26435979.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


[U2] IBM U2 Web services Deployment

2009-11-20 Thread icePhalanx

Hi,

Can anyone throw some light on deploying a web service within IBM U2 Web
services developer?  I've created the web service and it works a treat, but
when I go to deploy it by right clicking on the SOAP server in the U2 Web
Services pane, the export option is ghosted out and I can't select it.

I'm using version 1.1.1 from the Unidata 7.1B client disc.

I've attached a screenshot of where this export option is ghosted out.  In
the screenshot the SOAP server is switched off, but the export option is
still ghosted when the SOAP server is started as well.

http://old.nabble.com/file/p26436471/ws.gif ws.gif 

Many thanks,
-- 
View this message in context: 
http://old.nabble.com/IBM-U2-Web-services-Deployment-tp26436471p26436471.html
Sent from the U2 - Users mailing list archive at Nabble.com.
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] IBM U2 Web services Deployment

2009-11-20 Thread Carl Dula
The latest version of the Web Services Developer is:
 
Version 1.2.3
Build id: 20090925_7384

I am using this, and do not experience the problem you describe.

Perhaps you should upgrade and see what happens, since the version you have 
appears quite old.

--
Carl Dula   Voice: 973-227-8440 X111
Pulsar Systems, Inc.Fax: 973-227-8440
271 Route 46 West, Suite H209   email:c...@pulsarsystems.com
Fairfield, NJ 07004-2474http://www.pulsarsystems.com
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


[U2] Web Services, Infopath and Sharepoint

2009-11-11 Thread Riaan Laubscher
Hi There

Got a bit of a problem and hoping someone has some idea.


We have a couple of web services that we are running and we can get the 
information into infopath forms without any problems, as soon as we publish the 
infopath forms to sharepoint it refuses to connect to the web services.

Used web services developer to create the web services (Version 1.2.2  Build 
id: 20090131_7327)

If anyone has some idea I'd appreciate any input


Thanks

Riaan Laubscher

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Web services

2009-06-09 Thread Tony G
I just went over the U2 Web Service Developer documentation
carefully.  This is really just a GUI wrapped around an
HttpListener, forwarding requests to a completely non-SOAPish
BASIC program.  (Just like my web service video.)  It's not a
developer tool, it's a deployment tool.  I thought they were
connecting directly into U2 and wrapping data in a SOAP envelope
there.

So the problem really has nothing to do with U2 Web Services, but
how do we stop anyone from accessing a privileged port on a
public web server?.

David, sorry if I missed comments on this before: if your web
service is facing out to the internet then why can't you open a
firewall port for authorized IP addresses?

If firewall management isn't practical, I'd think that it would
be pretty easy to use a software-based proxy that accepts
connections on a socket and then forwards them to the the U2
service.  You can then filter IP addresses here so that
unauthorized clients never actually hit the DBMS, which I believe
is your goal. 

If you can't find something you like (though there are any number
of free/commercial offerings out there), you could write your own
HttpListener, authenticate requests based on a modified
querystring which you provide to your clients (you can use LDAP,
IP address, or use the encryption method I described on 4-june).
When you're satisfied that the client is OK, forward the request
to a different local connection - the web service created with
the IBM product.

You're probably using U2 Web Services so that you don't need to
write code.  Well, it doesn't look like security is built into
the software (except for SSL) so unless IBM comes up with an
enhancement soon this becomes a DIY project.  You can find lots
of info if you search for proxy web service.  Here is one
article that I believe describes your scenario - and for the I
hate Microsoft crowd I selected something written by Java
developers. ;)
http://www.developer.com/java/web/article.php/3320851

Since you're a .NET developer, I'm really surprised that you see
any value in this product.  There are tools in our industry for
BASIC programmers who don't know and don't want to know about
other technologies.  I think they provide a valuable service and
it seems the U2 offerings fits this category.  But when you know
what goes under the hood and it only takes a couple minutes to do
this stuff on your own, why bother with something else?  The U2
Web Developer simply shifts complexities: rather than learning
how to do something on your own, you're learning how they want
you to do it.  How much value is there to a side-ways shift in
responsibility?

If anyone else here finds limitations in the U2 Web Service
Developer product, let me know - I'm sure I can write a
replacement relatively quickly.  :)

Tony Gravagno
Nebula Research and Development
TG@ remove.pleaseNebula-RnD.com
Author of web services articles for the MV market before anyone
in this market was even interested in web services...
nospamNebula-RnD.com/articles/

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Web services

2009-06-08 Thread Hona, David
Hi Craig

No, I was more talking at the TCP/IP socket level. We use this method 
extensively due to internal and external firewalls - filtering source and 
destination IP, inspecting packet type - sometimes using security tokens as 
well authenticating the Active Directory logons.

Of course these are dedicated firewalls, so a little easier to do it. 

Regards,
David


-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Craig Bennett
Sent: Friday, 5 June 2009 11:20 PM
To: U2 Users List
Subject: Re: [U2] Web services

David,
 The Web Services Developer is very quick and easy to set up a service talking 
 to a Basic Subroutine.  The only issue I have is the authorisation and why in 
 the past I have used .Net.
   

I haven't been following this thread too closely, but do you mean 
authorisation as part of the underlying HTTP protocol?

I have seen this used with both BELogic and IIS based webservices. AFAIK 
you can't do this with the U2 WSD as you don't have access to the HTTP 
headers and besides anything other than HTTP Basic authentication 
becomes a pain without using external libraries.


regards,


Craig

** 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] Web services

2009-06-05 Thread Ross Ferris
Not using WebDE, but 2 things we have done in the past is simple IP
checking (only allowing access from specific/authorized IP addresses),
and also (AND or OR) using locking access to specific machines using a
hash of some machine attributes (typically Mac ID, Disk ID  such --
but we have the advantage of having an ActiveX that grabs  encodes this
for us)

Whilst not quite the same as the money market, we have clients that
operate with other liquid assets (Beer, Wine  Spirits) and some of the
information is extremely sensitive in the market, so needed to ensure
that if an employee left, no data went with them or was accessible
remotely!

Ross Ferris
Stamina Software
Visage  Better by Design!

-Original Message-
From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-
boun...@listserver.u2ug.org] On Behalf Of David Jordan
Sent: Friday, 5 June 2009 12:40 AM
To: U2 Users List
Subject: Re: [U2] Web services

I am trying to work out how to identify who the person is that is
consuming a web service using the U2 web services developer.  I know
techniques to do it in .Net.

How do ensure that a person is authorized to consume that service.

What approaches have others taken to tackle this.

Regards

David Jordan
___
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

2009-06-05 Thread Hona, David
In general, you want web services to stick to what they do best and handle 
custom/specific security requirement/issues outside of them. Such an approach 
could including installing a proxy server or firewall (hardware or software) 
between the web service server and the web services consumers.

Bear in mind that your rarely can you have your cake and eat it when it comes 
to robust security solutions. Generally - it's *all* or nothing. Otherwise, you 
introduce exceptions and workarounds that ultimately defeat the original 
intent...plus break your existing application. :)

This is not a U2 Web Services specific issue, but impacts similar such products 
and middleware as well. Some have built-in security like ACLs or IP-address 
restrictions at the service/provider and/or queue-level. 

Regards,
David

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of David Jordan
Sent: Friday, 5 June 2009 2:50 PM
To: U2 Users List
Subject: Re: [U2] Web services


The Web Services Developer is very quick and easy to set up a service talking 
to a Basic Subroutine.  The only issue I have is the authorisation and why in 
the past I have used .Net.

I was trying to work out whether PAM/LDAP could be used as it is available with 
UniVerse 10.3, but there is little documentation.

Regards

David Jordan
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

** 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] Web services

2009-06-04 Thread David Jordan
I am trying to work out how to identify who the person is that is consuming a 
web service using the U2 web services developer.  I know techniques to do it in 
.Net.  

How do ensure that a person is authorized to consume that service.

What approaches have others taken to tackle this.

Regards

David Jordan
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Web services

2009-06-04 Thread Tony G
 From:David Jordan 
 I am trying to work out how to identify who the person is 
 that is consuming a web service using the U2 web services 
 developer.  I know techniques to do it in .Net.  
 
 How do ensure that a person is authorized to consume that
service. 
 What approaches have others taken to tackle this.

Why would the techniques be different depending on the tools you
use?  The whole point of a web service is that you should be able
to implement various protocols on all sides independent of the
technologies used in clients and servers.

The following is not specifically related to the U2 web services
but you should be able to implement it without special code.

The simplest mechanism would be to use ID/password fields in your
service signature or payload.

You could pre-authenticate using the above, and return
time-restricted transaction tokens for actual transactions.

A more rigorous approach is not to use plaintext passwords but to
use encrypted tokens.  This requires clients to add special code
to agree with your server, beyond basic WS connectivity.  You can
provide your encryption algorithm to trading partners or you can
provide object-only encryption modules that agree with your BASIC
algorithms.  Service consumers send you data with a user ID and
the token.  You read the real password from a U2 file using their
user ID and try to decrypt the token with it.  Trash the
transaction if you can't decrypt.

Encrypting an entire transaction may be necessary for some
purposes but it's an unwelcome performance hit for others.  You
could use true encryption for the above tokens plus simple
munging for the payload just to deter prying eyes.

If you only encode a single value then you need to make sure that
someone can't just put that value into a different transaction.
The value that you encrypt might be the IP address of the sender.
If you decrypt the value and it's not equal to the IP address
(perhaps one you have registered for the user) then the
transaction is bad.  I don't know if you can get the IP address
of the sender from HTTP headers with U2 web services.

If you encrypt the entire transaction then the transactions need
to include a timestamp and the server should reject anything that
looks old or like it's already been processed.

David, I hope that helps, but if you're already on top of all of
this, then please disregard and let's hope it helps someone else.

Tony Gravagno
Nebula Research and Development
TG@ remove.pleaseNebula-RnD.com
Nebula RD provides tools and services for web development,
  including GUI and Web Services.
remove.pleaseNebula-RnD.com/blog 
Visit PickWiki.com!  Contribute!

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Web services

2009-06-04 Thread ozemail
Hi Tony

The Web Services Developer limits what can be done by programming, which
takes away the ability to use facilities such as Microsoft authorization.

If the consumer comes through something like excel, it limits
programmatically what can be done from the client sides as well.

I am seeing if someone has a clever trick to solve these issues that I have
not thought of.  

David Jordan



___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Web services

2009-06-04 Thread Tony G
From: David Jordan

 The Web Services Developer limits what can be done by 
 programming, which takes away the ability to use 
 facilities such as Microsoft authorization.
 
 If the consumer comes through something like excel, it 
 limits programmatically what can be done from the 
 client sides as well.
 
 I am seeing if someone has a clever trick to solve 
 these issues that I have not thought of.

I see.  Just to be clear, there was nothing in my note related to
Microsoft authentication.  I was talking about doing all of the
functions from BASIC, and that includes any *nix-only platform.
I have implemented this sort of authentication with different
kinds of web interfaces and on various MV platforms, and I'd hope
that U2 web services would allow you to execute common BASIC
code.

My only experience with U2 web services comes from two sources:
1) A client who tried hard but had to give up on U2 web services
because it simply couldn't do what was required.  We solved the
problem with another product.
2) Someone else's client who also gave up:
http://www.youtube.com/watch?v=276F-xKqflQ

So far I'm not impressed with what I'm hearing about this
interface.

Good luck.
T

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Web services

2009-06-04 Thread David Jordan

The Web Services Developer is very quick and easy to set up a service talking 
to a Basic Subroutine.  The only issue I have is the authorisation and why in 
the past I have used .Net.

I was trying to work out whether PAM/LDAP could be used as it is available with 
UniVerse 10.3, but there is little documentation.

Regards

David Jordan
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


RE: [U2] Web Services

2009-03-13 Thread Symeon Breen
Ok so you want to accept xml as part of your web service input - this would
be normal and just requires you to define public properties for the returned
class as xml.

I have not seen Tonys video - it may be that he shows you how to do that
there.

The basic structure would be something like :-


Public Class retclass
Dim lvar, lfoo as string
XmlAttribute(AttributeName:=var) _
Public Property var() As String
Get
Return lvar
End Get
Set(ByVal newval As String)
lvar = newval
End Set
End Property
XmlElement(ElementName:=foo) _
Public Property foo () As String
Get
Return l foo
End Get
Set(ByVal newval As String)
lfoo = newval
End Set
End Property
End Class


Then your method for the webservice class
WebMethod(Description:=Example method) _
Public Function example(ByVal blah blah) As retclass

Dim ret as retclass = New retclass
ret.var = something
ret.foo = something else


Return ret


If you already have an xsd or a dtd or even an example xml for the xml
payload of the soap of webservice, then you can use a command line tool that
comes visual studio called xsd. This will generate the class for you.

The advantage of this is it includes the definition of the xml inside the
wsdl generated for your web service and so helps consumers of your web
service use your service.


Alternative 1
If you do not want to use the class as the return for the webservice and
just take the xml as a string then you can then pass it directly to the
databasic and use the databasic XML extensions to get the data out of it -
just write an EXT (extract) file for it

Alternative 2
You could do the class approach above but still want to pass the entire xml
through to your databasic. You will need to serialise the instance of the
class to a string and pass this - this is not immediately obvious in .net
but I have example code for this if you require (about 30 lines of code).

Alternative 3
You could do alternative 1 but then deserialize the xml string into an
object before passing the individual variables to your databasic. Again i
have examples on how to deserialize, you would have to create a class
similar to the main approach but utilise it within your code rather than let
asp.net do the work for you.

Alternative 4 - you could use the DOM in your .net code

Alternative x - possibly many altertnatives.


Hth 
Symeon.


-Original Message-
From: owner-u2-us...@listserver.u2ug.org
[mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of
iggch...@comcast.net
Sent: 12 March 2009 22:57
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Web Services

Hey, thanks a lot for taking the time to offer this.



Now for some follow up questions.



In Universe, a basic example of my subroutine would look likeb





B 

subroutine pricing(cust,items,qtys,prices)



B7 B B B B B B B B  pass in cust,items, and qtys



B7 B B B B B B B B  return prices associated to each item



B B  item.max = dcount(items,@am)



B B  for item.ptr = 1 to item.max



B B B B B B  prices item.ptr = 12345



B B  next item.ptr



return





B 

B 



What I'm supposed to be offering up as input is B something like (trimmed
down
to save space)...





B 

GETPRICEQUOTEInput



B  QUOTES



B B B  CUSTOMERID31997/CUSTOMERID



B  /QUOTES



B  QUOTEITEMS



B B B  QUOTEITEM



B B B B B  ITEMID5017/ITEMID



B B B B B  QTY2/QTY



B B B  /QUOTEITEM



B  /QUOTEITEMS



/GETPRICEQUOTEInput







B 



The closest I could get with the u2wsd was...





B 

GETPRICEQUOTEInput



B B B  CUSTOMERID31997/CUSTOMERID



B  QUOTEITEMS



B B B B B  ITEMID5017/ITEMID



B B B B B  QTY2/QTY



B  /QUOTEITEMS



/GETPRICEQUOTEInput









B 

What I need to return is basically the same thing as the xml passed in but
with an additional element named PRICE.









You wouldn't happen to have an example of how to parse the xml data into
arrays for arguments to the uv sub would you?



As long as I'm asking for that...B  What about an example of how to create
the
xml from the uv arrays?B 



And heck, as long as I'm getting bold... How would I generateB the wsdl so
the
client knows what I'm offering?







Although I do have visual studio 2008, I haven't done anything with it
yet.B B I was hoping to start learning it, but at my own pace.



Now I'm under the gun!

B 



B 

Sorry for such basic questions and thanks a ton B for the guidance.



I remember writing the backend for a website on our Universe system back in
2000.B  I was creating xml and pushing it out to Microsoft Message Queue
service using a GCI routine someone wrote for usB in C.B  It was so easy to
build the XML and pass it back.B  This stuff seems pretty complicated.





Here's another question.B  I have a thermos.B  I can put hot stuff in it, it
keeps it hot.B  I can put cold stuff in it, it keeps it cold.B  How do it
know?



B 




- Original Message

[U2] Web Services

2009-03-12 Thread iggchamp
Hi all,



UV10.2.7

HPUX 11.23



Does anyone know if it is possible to use IBM WebSphere Development Studio
Client Tool to develop web services for Universe?B  I've been trying to use
the Web Services Developer but cannot seem to create all of the necessary
nesting levels required by the client application .B  I am now searching for
alternatives.



Thanks much for any info you can provide,



Scott Thompson
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Web Services

2009-03-12 Thread Symeon Breen
It is very easy to write an asp.net web service that connects to unidata
using uniobjects.net - hey i have even included some code below for you to
look at 


Imports System.Web
Imports System.Web.Services
Imports System.Web.Services.Protocols
Imports IBMU2.UODOTNET

' Example web service by Symeon Breen, a2c limited, Lancashire, UK
' Please change the namespace if it is to be used or copied.

WebService(Description:=example web service using uniobjects.net,
name:=WebService, Namespace:=http://tempuri.org/;) _
WebServiceBinding(ConformsTo:=WsiProfiles.BasicProfile1_1) _
Public Class WebService
Inherits System.Web.Services.WebService



WebMethod(Description:=Example method) _
Public Function example1(ByVal host As String, ByVal account As String,
ByVal connection As String, ByVal login As String, ByVal password As String,
ByVal param As String) As String

' example 1 takes in parameters of :-
' host - u2 host ip or name
' account - account path or name
' connection - connection type e.g udcs for unidata
' login - username to login as
' password - password for username
' These parameters are passed in as an example, for security you may
wish to hard code or parameterise these at the webserver in the web.config
as connection strings. Then the data passed into the webservice would be for
its function not connection.

' This webservice will connect to u2 on host and account and run the
databasic program WSexample passing in param. WSexample will pass back some
text that this web service then passes back to the client as a string.
Ideally a class should be defined with public properties exposed as XML and
this method would return the class hence a full xml doc can be produced.

' NB bin directory should contain the uniobjects.net dll
(UODOTNET.dll)


Dim u2Session As UniSession = Nothing
Dim rtnMessage As String = String.Empty
Dim u2Sub As UniSubroutine

UniObjects.UOPooling = True
UniObjects.MaxPoolSize = 2
UniObjects.MinPoolSize = 1


Try
u2Session = UniObjects.OpenSession(host, login, password,
account, connection)

Try
u2Sub = u2Session.CreateUniSubroutine(WSexample, 2)
u2Sub.SetArg(0, param)

u2Sub.Call()
rtnMessage = u2Sub.GetArg(1)

Catch ex As Exception
rtnMessage = ERROR - In call to sub -   ex.ToString
Finally
u2Sub = Nothing
UniObjects.CloseSession(u2Session)
End Try
Catch ex As Exception
rtnMessage = ERROR -   ex.ToString
Finally
u2Session = Nothing
End Try

Return rtnMessage

End Function

End Class





Easy ??   I thinks so 




-Original Message-
From: owner-u2-us...@listserver.u2ug.org
[mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of
iggch...@comcast.net
Sent: 12 March 2009 19:32
To: u2-Users
Subject: [U2] Web Services

Hi all,



UV10.2.7

HPUX 11.23



Does anyone know if it is possible to use IBM WebSphere Development Studio
Client Tool to develop web services for Universe?B  I've been trying to use
the Web Services Developer but cannot seem to create all of the necessary
nesting levels required by the client application .B  I am now searching for
alternatives.



Thanks much for any info you can provide,



Scott Thompson
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Web Services

2009-03-12 Thread iggchamp
Hey, thanks a lot for taking the time to offer this.



Now for some follow up questions.



In Universe, a basic example of my subroutine would look likeb





B 

subroutine pricing(cust,items,qtys,prices)



B7 B B B B B B B B  pass in cust,items, and qtys



B7 B B B B B B B B  return prices associated to each item



B B  item.max = dcount(items,@am)



B B  for item.ptr = 1 to item.max



B B B B B B  prices item.ptr = 12345



B B  next item.ptr



return





B 

B 



What I'm supposed to be offering up as input is B something like (trimmed down
to save space)...





B 

GETPRICEQUOTEInput



B  QUOTES



B B B  CUSTOMERID31997/CUSTOMERID



B  /QUOTES



B  QUOTEITEMS



B B B  QUOTEITEM



B B B B B  ITEMID5017/ITEMID



B B B B B  QTY2/QTY



B B B  /QUOTEITEM



B  /QUOTEITEMS



/GETPRICEQUOTEInput







B 



The closest I could get with the u2wsd was...





B 

GETPRICEQUOTEInput



B B B  CUSTOMERID31997/CUSTOMERID



B  QUOTEITEMS



B B B B B  ITEMID5017/ITEMID



B B B B B  QTY2/QTY



B  /QUOTEITEMS



/GETPRICEQUOTEInput









B 

What I need to return is basically the same thing as the xml passed in but
with an additional element named PRICE.









You wouldn't happen to have an example of how to parse the xml data into
arrays for arguments to the uv sub would you?



As long as I'm asking for that...B  What about an example of how to create the
xml from the uv arrays?B 



And heck, as long as I'm getting bold... How would I generateB the wsdl so the
client knows what I'm offering?







Although I do have visual studio 2008, I haven't done anything with it
yet.B B I was hoping to start learning it, but at my own pace.



Now I'm under the gun!

B 



B 

Sorry for such basic questions and thanks a ton B for the guidance.



I remember writing the backend for a website on our Universe system back in
2000.B  I was creating xml and pushing it out to Microsoft Message Queue
service using a GCI routine someone wrote for usB in C.B  It was so easy to
build the XML and pass it back.B  This stuff seems pretty complicated.





Here's another question.B  I have a thermos.B  I can put hot stuff in it, it
keeps it hot.B  I can put cold stuff in it, it keeps it cold.B  How do it
know?



B 




- Original Message -
From: Symeon Breen syme...@gmail.com
To: u2-users@listserver.u2ug.org
Sent: Thursday, March 12, 2009 3:34:10 PM GMT -06:00 US/Canada Central
Subject: RE: [U2] Web Services

It is very easy to write an asp.net web service that connects to unidata
using uniobjects.net - hey i have even included some code below for you to
look at


Imports System.Web
Imports System.Web.Services
Imports System.Web.Services.Protocols
Imports IBMU2.UODOTNET

' Example web service by Symeon Breen, a2c limited, Lancashire, UK
' Please change the namespace if it is to be used or copied.

WebService(Description:=example web service using uniobjects.net,
name:=WebService, Namespace:=http://tempuri.org/;) _
WebServiceBinding(ConformsTo:=WsiProfiles.BasicProfile1_1) _
Public Class WebService
B B  B Inherits System.Web.Services.WebService



B B  B WebMethod(Description:=Example method) _
B B  B Public Function example1(ByVal host As String, ByVal account As String,
ByVal connection As String, ByVal login As String, ByVal password As String,
ByVal param As String) As String

B B  B  B  B ' example 1 takes in parameters of :-
B B  B  B  B ' host - u2 host ip or name
B B  B  B  B ' account - account path or name
B B  B  B  B ' connection - connection type e.g udcs for unidata
B B  B  B  B ' login - username to login as
B B  B  B  B ' password - password for username
B B  B  B  B ' These parameters are passed in as an example, for security you
may
wish to hard code or parameterise these at the webserver in the web.config
as connection strings. Then the data passed into the webservice would be for
its function not connection.

B B  B  B  B ' This webservice will connect to u2 on host and account and run
the
databasic program WSexample passing in param. WSexample will pass back some
text that this web service then passes back to the client as a string.
Ideally a class should be defined with public properties exposed as XML and
this method would return the class hence a full xml doc can be produced.

B B  B  B  B ' NB bin directory should contain the uniobjects.net dll
(UODOTNET.dll)


B B  B  B  B Dim u2Session As UniSession = Nothing
B B  B  B  B Dim rtnMessage As String = String.Empty
B B  B  B  B Dim u2Sub As UniSubroutine

B B  B  B  B UniObjects.UOPooling = True
B B  B  B  B UniObjects.MaxPoolSize = 2
B B  B  B  B UniObjects.MinPoolSize = 1


B B  B  B  B Try
B B  B  B  B  B  B u2Session = UniObjects.OpenSession(host, login, password,
account, connection)

B B  B  B  B  B  B Try
B B  B  B  B  B  B  B  B u2Sub = u2Session.CreateUniSubroutine(WSexample, 2)
B B  B  B  B  B  B  B  B u2Sub.SetArg(0, param)

B B  B  B  B  B  B  B  B u2Sub.Call()
B B  B  B  B  B  B  B  B rtnMessage = u2Sub.GetArg(1

RE: [U2] Web Services

2009-03-12 Thread Tony G
To answer your question about creating WSDL, etc, have a look at
the video I put on our site for how to create and consume web
services:
nospamNebula-RnD.com/products/gallery.htm

The example uses mv.NET for connectivity but you can easily
substitute UO.NET or any other connectivity pipe.  Just focus on
the web service stuff.

Since I have to mention a product that we sell, only to tell you
to ignore it, I'm compelled by the purists in this forum to
disclaim this posting with the moniker: ... [AD] ... even though
it's not.  *sigh*

BTW, Scott, can you please do something about the formatting of
your emails.  Your Tab key is translated poorly by your email
client or some middleware.

Good luck,
Tony Gravagno
Nebula Research and Development
TG@ remove.pleaseNebula-RnD.com

 From:iggchamp
 subroutine pricing(cust,items,qtys,prices)
 B7 B B B B B B B B  pass in cust,items, and qtys
 B7 B B B B B B B B  return prices associated to each item
 B B  item.max = dcount(items,@am)
[snip]
 And heck, as long as I'm getting bold... How would I 
 generateB the wsdl so the client knows what I'm offering?
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Web Services

2009-03-12 Thread iggchamp
Great Stuff!B  Thanks Tony!



I didn't see anything about the wsdl in the video though.B  However, I am
cross-eyed from working until 1am this morning followed up by a long day at
work and 3 hours of commute timeB so it's real possible that I just plain
missed it.



I'll have another look with fresh eyes tomorrow.



Thanks again for this and all of the great infoB that you take the time
toB share on a regular basis.B  For that reason alone, I think that you should
be able to make any kind of post at any time you want without strapping the
[AD] [/AD] on them. LOL






- Original Message -
From: Tony G 1tlx6h...@sneakemail.com
To: u2-users@listserver.u2ug.org
Sent: Thursday, March 12, 2009 7:19:53 PM GMT -06:00 US/Canada Central
Subject: RE: [U2] Web Services

To answer your question about creating WSDL, etc, have a look at
the video I put on our site for how to create and consume web
services:
nospamNebula-RnD.com/products/gallery.htm

The example uses mv.NET for connectivity but you can easily
substitute UO.NET or any other connectivity pipe. B Just focus on
the web service stuff.

Since I have to mention a product that we sell, only to tell you
to ignore it, I'm compelled by the purists in this forum to
disclaim this posting with the moniker: ... [AD] ... even though
it's not. B *sigh*

BTW, Scott, can you please do something about the formatting of
your emails. B Your Tab key is translated poorly by your email
client or some middleware.

Good luck,
Tony Gravagno
Nebula Research and Development
TG@ remove.pleaseNebula-RnD.com

 From:iggchamp
 subroutine pricing(cust,items,qtys,prices)
 B7 B B B B B B B B B pass in cust,items, and qtys
 B7 B B B B B B B B B return prices associated to each item
 B B B item.max = dcount(items,@am)
[snip]
 And heck, as long as I'm getting bold... How would I
 generateB the wsdl so the client knows what I'm offering?
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Web Services

2009-03-12 Thread Tony G
 From: iggchamp
 I didn't see anything about the wsdl in the video though.

Glad the stuff on our site helps!
You saw in the video how easy it is to create a web service from
Visual Studio.  The beauty of it is that you never need to see
the WSDL.  Many of our colleagues spend time manually building
SOAP documents in BASIC or tweaking WSDL when there are tools to
do this automatically and transparently.  When you point your
browser to the service you get a web page with a summary of the
service and a list of functions.  Your URL would look something
like this:
http://localhost:8181/OurServices/WS1.asmx
There is a link on that page to Service Description.  Click on
that and you're presented with the full WSDL for your service.
The URL looks like this:
http://localhost:8181/OurServices/WS1.asmx?WSDL
Give your associates either link, or email them the WSDL.  They
should be able to access the service from any language or
framework.

Seriously, this part of it takes about 10 minutes.  Plug in the
code that Symeon provided for UO.NET and you have a complete
solution in less than 1/2 hour.  The only thing that might
complicate this is if you really need to accept XML and return
XML, not as part of the envelope but as the payload, or if you
need to deal with arrays of objects.  These things are still easy
in a full .NET solution but if the client isn't .NET then all
parties need to be more generic about the data types.  Research
will lead you to solutions.

HTH
T
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] accessing subrotines via IBM u2 Web Services Developer

2009-02-19 Thread Michael Rajkowski
Rich,

First thing I would check is that your SOAP Service is not set to use
connection pooling (check this by looking at the properties).

Note that turning this off is a must, if you do not have connection
pooling licenses on your system.

While you are in the properties screen I would recommend that you turn on
the Debug logging.

Start the server again, and try your request again.

If it does not work, look at the log, it should provide you with some
additional information.

Michael Rajkowski
SWG Client Support - Information Management Software
Software Engineer ? IBM U2 Client Support Team
1-800-729-3553
mraj...@us.ibm.com


















Rich Unsworth ri...@rell.com
Sent by: owner-u2-us...@listserver.u2ug.org
02/18/2009 02:52 PM
Please respond to
u2-users@listserver.u2ug.org


To
u2-users@listserver.u2ug.org
cc

Subject
[U2] accessing subrotines via IBM u2 Web Services Developer






I am trying to use the web services developer gui with a trial version
of universe 10.2 to access a subroutine or, just run a query against a
test database and return data to a web page.



My setup is as follows:



Universe 10.2 running on an ibm p-series machine running aix 5.3 mu06

Web services developer tool installed on a windows 2003 server and on a
windows xp laptop (trying the process in two different locations)

Soap server setup on box the 2003 server and the laptop using the SOAP
setup via the web services developer program.



I have followed the documentation for setting up access to the
subroutine that allows you to input a customer number and return the
data (this is the example that's in the universe documentation).



I cannot get this to work. There is connectivity to the database, I have
verified this using the connection test that's built into the web
services developer software and I can see all of my test files, my test
cataloged routines etc.



After going through the example, whether it's a query or using a
subroutine I get the following error:



There is nothing to be displayed in the form view. Please switch to the
source view for the SOAP request and response.



When I view the source for the SOAP request, within the soap/xml tags it
basically says:



Exception: Internal Web Service Server Error



My main question I guess is does the web services developer method allow
you to have the web services developer software on windows, the soap
server on windows and your universe database on an separate aix machine?
The URL for the testing always defaults back to my local laptop or
server when running the web service that was created. i.e.



H TTP://myusername-d620.company.corp:8181/CUSTOMER



Any help would be appreciated. I am trying to setup a show and tell and
have roughly 40 days left on the trial of universe. Based on the
effectiveness of how we can pull data determines if we upgrade to 10.2
of universe as 10.1.14 suits our needs right now (outside of the desire
to pull data back to web pages efficiently).



Thanks in advance,

Rich
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

[demime 1.01d removed an attachment of type image/gif]

[demime 1.01d removed an attachment of type image/gif]

[demime 1.01d removed an attachment of type image/jpeg]
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Web Services Developer Help

2009-01-28 Thread Symeon Breen
That would be the namespace - i have not used web services developer in
anger (i just write my web services in asp.net and uniobjects.net) so i
don't know if it is supposed to do that or how to get rid of it, but i may
have provided a clue for you there ...


Rgds
Symeon.



-Original Message-
From: owner-u2-us...@listserver.u2ug.org
[mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of
iggch...@comcast.net
Sent: 27 January 2009 23:56
To: u2-Users
Subject: [U2] Web Services Developer Help

Hi All,



I am attempting to provide a web service that provides pricing info from our
system.B  I am able to do this pretty easily with the web services
developer.B  However, I am confused by something.



Why do I have extra data in my tags?B  For example, I have defined a field
named QUOTE and I am seeing q0:QUOTE being returned by the web service.B

I have looked at the wsdl and do not see that anywhere.B  Is there some way
that I can get rid of the q0:???





Thanks for any help you can spare,



Scott
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Web Services Developer Help

2009-01-27 Thread iggchamp
Hi All,



I am attempting to provide a web service that provides pricing info from our
system.B  I am able to do this pretty easily with the web services
developer.B  However, I am confused by something.



Why do I have extra data in my tags?B  For example, I have defined a field
named QUOTE and I am seeing q0:QUOTE being returned by the web service.B 
I have looked at the wsdl and do not see that anywhere.B  Is there some way
that I can get rid of the q0:???





Thanks for any help you can spare,



Scott
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Web Services Developer

2008-12-17 Thread iggchamp
Thanks Geoff, I'll take a look at that.




- Original Message -
From: Geoff Mitchell geoff_mitch...@gw.homedecorators.com
To: u2-users@listserver.u2ug.org
Sent: Tuesday, December 16, 2008 4:10:47 PM GMT -06:00 US/Canada Central
Subject: Re: [U2] Web Services Developer

(This did not seem to go through the first time I sent it. B I think maybe my
list subscription was from the wrong account? B Hopefully, it is fixed now.)

If you are just wanting a mock version of the web service to test against,
take a look at SoapUI (www.soapui.org). B It's free and does exactly what I
think you want. B You can give it a wsdl, and tell it to run a service
matching
that wsdl. B You can make calls against it and see what is passed by the
caller. B You can also use it in the reverse direction to test your own web
services.

On 12/15/2008 at 12:14 PM, iggch...@comcast.net wrote:
No, someone had given me a wsdl from an as400 that I need to communicate
with.B B Not knowing much about webservices, I was hoping I could, somehow,
load that into the u2 web services developer, create a matching subroutine,
and be flying.B B Probably not that simple eh?



Thanks




- Original Message -
From: David S Hona david.h...@eds.com
To: u2-users@listserver.u2ug.org
Sent: Friday, December 12, 2008 12:42:32 AM GMT -06:00 US/Canada Central
Subject: RE: [U2] Web Services Developer

Do you mean an existing WSDL file, that you have previously
defined/created using U2WSD, but you're moving from a different PC?


-Original Message-
From: owner-u2-us...@listserver.u2ug.org
[mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of
iggch...@comcast.net
Sent: Friday, 12 December 2008 7:27 AM
To: u2-Users
Subject: [U2] Web Services Developer

Hi All,



Does anyone know of a way to import an existing wsdl into the Web
Services Developer?



Thanks in advance for any info provided.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Web Services Developer [ad]

2008-12-17 Thread iggchamp
Thanks Tony, I'll give that some thought.




- Original Message -
From: Tony G 1tlx6h...@sneakemail.com
To: u2-users@listserver.u2ug.org
Sent: Tuesday, December 16, 2008 10:20:51 PM GMT -06:00 US/Canada Central
Subject: RE: [U2] Web Services Developer [ad]

 From: B iggchamp
 No, someone had given me a wsdl from an as400 that I
 need to communicate with.B B Not knowing much about
 webservices, I was hoping I could, somehow, load that
 into the u2 web services developer, create a matching
 subroutine, and be flying.B B Probably not that simple
 eh?

It doesn't look like you have a solution yet, so I'll make a
suggestion.

mv.NET has a feature that allows you to trigger remote operations
simply by writing items to an MV file. B So if you want to call a
remote web service, write the parameter data to a file, an
external mv.NET process will see the item, read it, then make the
web service call. B The results can then be pushed back to your U2
system in any file or format you wish, and read by the program
managing the call. B I do this sort of thing all the time. B It's
easy. B So if the tools you have don't do the job, let me know and
I'll do a mock-up prototype so that you can see how it works. B In
fact, if you send me the URL to the web service I may be able to
write up the whole thing and offer it as a complete deliverable
solution.

The cost for this would be less than $500 and you could have it
by Chrismas. B If there were enough demand to productize a MV Web
Service Client, we could probably make it available to a wider
audience for $200 per server.

I hope people see the ongoing message here: Rather than using
Java for this, PHP for that, shell scripts for this, Web
Developer for that, CallHTTP for this, sockets for that, BCI for
this and SQL for that... mv.NET is one tool that can be used for
Many purposes, and it's also very inexpensive, especially when
you factor in the time it takes to research (and sometimes
purchase) all of these other tools.

You can visit our product page, see the videos, and we can
provide downloads and pricing information to anyone who is
interested.

remove.pleaseNebula-RnD.com/products/mvdotnet

Thanks for your time.

Tony Gravagno
Nebula Research and Development
TG@ remove.pleaseNebula-RnD.com
Nebula RD sells mv.NET and other Pick/MultiValue products
worldwide, and provides related development and training services
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Web Services Developer

2008-12-17 Thread Symeon Breen
So you are consuming a web service rather than providing one - i may be
wrong here - i have never used the web services developer but is it not for
the providing of web services as opposed to the consuming ?


If you want to consume one then just write it in databasic using the soap or
the http api - it will be about 30 lines of code !  I presume it then
responds with xml - again just use the xml api to parse that using an EXT is
very simple again and is only 10 lines of code.

If you are not able, from the wsdl, to make out what the format of the
request or the response may be or if the web service itself does not have an
example page (asp.net web services do by default) then as suggested
elsewhere i can recommend soapui.org it will generate example requests and
responses for you so you can work with these in your databasic. If it is
soap you can either use the databasic soap ui or it may be simpler to just
formulate the soap message yourself (as per the example done by soapui) and
use the http api straight up.


I would certainly recommend you do it in databasic - web services are
basically very simple and it is worth your while spending half a day to do
this and you will then understand them inside out and become a web services
guru ;)


Rgds
Symeon.


-Original Message-
From: owner-u2-us...@listserver.u2ug.org
[mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of
iggch...@comcast.net
Sent: 15 December 2008 18:14
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Web Services Developer

No, someone had given me a wsdl from an as400 that I need to communicate
with.B  Not knowing much about webservices, I was hoping I could, somehow,
load that into the u2 web services developer, create a matching subroutine,
and be flying.B  Probably not that simple eh?



Thanks




- Original Message -
From: David S Hona david.h...@eds.com
To: u2-users@listserver.u2ug.org
Sent: Friday, December 12, 2008 12:42:32 AM GMT -06:00 US/Canada Central
Subject: RE: [U2] Web Services Developer

Do you mean an existing WSDL file, that you have previously
defined/created using U2WSD, but you're moving from a different PC?


-Original Message-
From: owner-u2-us...@listserver.u2ug.org
[mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of
iggch...@comcast.net
Sent: Friday, 12 December 2008 7:27 AM
To: u2-Users
Subject: [U2] Web Services Developer

Hi All,



Does anyone know of a way to import an existing wsdl into the Web
Services Developer?



Thanks in advance for any info provided.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.176 / Virus Database: 270.9.17/1844 - Release Date: 14/12/2008
12:28
No virus found in this outgoing message.
Checked by AVG - http://www.avg.com 
Version: 8.0.176 / Virus Database: 270.9.18/1850 - Release Date: 16/12/2008
18:11
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Web Services Developer

2008-12-17 Thread iggchamp
Thanks Symeon.B 



Actually, someone provided me the wsdl from another machine as aB project
spec.B  This wsdl comes from an as400B that is providing a webservice just
like the one that I am supposed to provide.B  I was able to create a
webservice that lookedB fine to me (ie pass customer/items and get accurate
pricing in return)B but the developers of the application that are attempting
to consume it had problems with certain tags that were generated by the
wsB developer.B  Before I started looking into itB (no time right now), I
thought I'd ask if loading their wsdl into the ws developer was an option.B 
soapui sounds interesting - I'll take a look at that later.



Thanks much.




- Original Message -
From: Symeon Breen syme...@gmail.com
To: u2-users@listserver.u2ug.org
Sent: Wednesday, December 17, 2008 3:23:15 AM GMT -06:00 US/Canada Central
Subject: RE: [U2] Web Services Developer

So you are consuming a web service rather than providing one - i may be
wrong here - i have never used the web services developer but is it not for
the providing of web services as opposed to the consuming ?


If you want to consume one then just write it in databasic using the soap or
the http api - it will be about 30 lines of code ! B I presume it then
responds with xml - again just use the xml api to parse that using an EXT is
very simple again and is only 10 lines of code.

If you are not able, from the wsdl, to make out what the format of the
request or the response may be or if the web service itself does not have an
example page (asp.net web services do by default) then as suggested
elsewhere i can recommend soapui.org it will generate example requests and
responses for you so you can work with these in your databasic. If it is
soap you can either use the databasic soap ui or it may be simpler to just
formulate the soap message yourself (as per the example done by soapui) and
use the http api straight up.


I would certainly recommend you do it in databasic - web services are
basically very simple and it is worth your while spending half a day to do
this and you will then understand them inside out and become a web services
guru ;)


Rgds
Symeon.


-Original Message-
From: owner-u2-us...@listserver.u2ug.org
[mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of
iggch...@comcast.net
Sent: 15 December 2008 18:14
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Web Services Developer

No, someone had given me a wsdl from an as400 that I need to communicate
with.B B Not knowing much about webservices, I was hoping I could, somehow,
load that into the u2 web services developer, create a matching subroutine,
and be flying.B B Probably not that simple eh?



Thanks




- Original Message -
From: David S Hona david.h...@eds.com
To: u2-users@listserver.u2ug.org
Sent: Friday, December 12, 2008 12:42:32 AM GMT -06:00 US/Canada Central
Subject: RE: [U2] Web Services Developer

Do you mean an existing WSDL file, that you have previously
defined/created using U2WSD, but you're moving from a different PC?


-Original Message-
From: owner-u2-us...@listserver.u2ug.org
[mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of
iggch...@comcast.net
Sent: Friday, 12 December 2008 7:27 AM
To: u2-Users
Subject: [U2] Web Services Developer

Hi All,



Does anyone know of a way to import an existing wsdl into the Web
Services Developer?



Thanks in advance for any info provided.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.176 / Virus Database: 270.9.17/1844 - Release Date: 14/12/2008
12:28
No virus found in this outgoing message.
Checked by AVG - http://www.avg.com
Version: 8.0.176 / Virus Database: 270.9.18/1850 - Release Date: 16/12/2008
18:11
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Web Services Developer

2008-12-16 Thread Geoff Mitchell
(This did not seem to go through the first time I sent it.  I think maybe my
list subscription was from the wrong account?  Hopefully, it is fixed now.)

If you are just wanting a mock version of the web service to test against,
take a look at SoapUI (www.soapui.org).  It's free and does exactly what I
think you want.  You can give it a wsdl, and tell it to run a service matching
that wsdl.  You can make calls against it and see what is passed by the
caller.  You can also use it in the reverse direction to test your own web
services.

On 12/15/2008 at 12:14 PM, iggch...@comcast.net wrote:
No, someone had given me a wsdl from an as400 that I need to communicate
with.B  Not knowing much about webservices, I was hoping I could, somehow,
load that into the u2 web services developer, create a matching subroutine,
and be flying.B  Probably not that simple eh?



Thanks




- Original Message -
From: David S Hona david.h...@eds.com
To: u2-users@listserver.u2ug.org
Sent: Friday, December 12, 2008 12:42:32 AM GMT -06:00 US/Canada Central
Subject: RE: [U2] Web Services Developer

Do you mean an existing WSDL file, that you have previously
defined/created using U2WSD, but you're moving from a different PC?


-Original Message-
From: owner-u2-us...@listserver.u2ug.org
[mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of
iggch...@comcast.net
Sent: Friday, 12 December 2008 7:27 AM
To: u2-Users
Subject: [U2] Web Services Developer

Hi All,



Does anyone know of a way to import an existing wsdl into the Web
Services Developer?



Thanks in advance for any info provided.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Web Services Developer [ad]

2008-12-16 Thread Tony G
 From:  iggchamp
 No, someone had given me a wsdl from an as400 that I 
 need to communicate with.B  Not knowing much about 
 webservices, I was hoping I could, somehow, load that 
 into the u2 web services developer, create a matching 
 subroutine, and be flying.B  Probably not that simple 
 eh?

It doesn't look like you have a solution yet, so I'll make a
suggestion.

mv.NET has a feature that allows you to trigger remote operations
simply by writing items to an MV file.  So if you want to call a
remote web service, write the parameter data to a file, an
external mv.NET process will see the item, read it, then make the
web service call.  The results can then be pushed back to your U2
system in any file or format you wish, and read by the program
managing the call.  I do this sort of thing all the time.  It's
easy.  So if the tools you have don't do the job, let me know and
I'll do a mock-up prototype so that you can see how it works.  In
fact, if you send me the URL to the web service I may be able to
write up the whole thing and offer it as a complete deliverable
solution. 

The cost for this would be less than $500 and you could have it
by Chrismas.  If there were enough demand to productize a MV Web
Service Client, we could probably make it available to a wider
audience for $200 per server.

I hope people see the ongoing message here: Rather than using
Java for this, PHP for that, shell scripts for this, Web
Developer for that, CallHTTP for this, sockets for that, BCI for
this and SQL for that... mv.NET is one tool that can be used for
Many purposes, and it's also very inexpensive, especially when
you factor in the time it takes to research (and sometimes
purchase) all of these other tools.

You can visit our product page, see the videos, and we can
provide downloads and pricing information to anyone who is
interested.

remove.pleaseNebula-RnD.com/products/mvdotnet

Thanks for your time.

Tony Gravagno
Nebula Research and Development
TG@ remove.pleaseNebula-RnD.com
Nebula RD sells mv.NET and other Pick/MultiValue products
worldwide, and provides related development and training services
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Web Services Developer

2008-12-11 Thread iggchamp
Hi All, 



Does anyone know of a way to import an existing wsdl into the Web Services 
Developer? 



Thanks in advance for any info provided. 
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Web Services Developer

2008-12-11 Thread Hona, David S
Do you mean an existing WSDL file, that you have previously
defined/created using U2WSD, but you're moving from a different PC?


-Original Message-
From: owner-u2-us...@listserver.u2ug.org
[mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of
iggch...@comcast.net
Sent: Friday, 12 December 2008 7:27 AM
To: u2-Users
Subject: [U2] Web Services Developer

Hi All, 



Does anyone know of a way to import an existing wsdl into the Web
Services Developer? 



Thanks in advance for any info provided. 
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Web Services - How to make available

2008-09-10 Thread iggchamp
Hi all,

UV10.2 Pick Flavor
HPUX 11

We just upgraded from 10.1 to 10.2.  

I created my first web service using the web service developer.  The big 
question that I have is, now what do I do with it? 

I can test it using the web service explorer but I don't think that the 
explorer is intended to be run as a server.  Do I need to have a web server 
program like apache or iis running to invoke my new web service?  If so, can 
anyone tell me what is involved with that or where I can look for good info?

Any help would be greatly appreciated.

Scott Thompson
Southern Wine  Spirits
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] IBM U2 Web services deployment

2007-10-04 Thread Hona, David S
Hello,

Has anyone yet deployed any webservices that they have developed using
IBM's U2 Web Service Developer tool?

If so, how have you deployed into your test and/or production
enviroments?

Thanks,
David
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/