[U2] Authentication Type

2013-09-03 Thread Steve Long
Hi All -

When submitting an HTTP request, you can setup the HTTPDefault and specify the 
AUTHENTICATE type/method.  If it's not specified, it's just basic.  Does anyone 
know the other types that are allowed?


Steve Long
Spyderweb Technical Services, Inc.
(360) 687-8797 Washington
(503) 406-8797 Oregon
(866) 354-5913 Fax
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Select Statement Invalid

2012-07-11 Thread Steve Long
Just curious, have you tried the select statement at TCL? 

Sent from my iPhone

On Jul 11, 2012, at 2:16 PM, David Jordan da...@dacono.com.au wrote:

 Have you tried putting spaces between the IDs you are selecting.
 
 David
 
 
 ___
 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] SB Client PE download

2012-03-08 Thread Steve Long
I believe you can get a 5.x version from Strategy 7. 877-582-3216, and
ask for Bob Serafini.

Thanks,

Steve Long
Spyderweb Technical Services, Inc.
(360) 687-8797 Washington
(503) 406-8797 Oregon
(866) 354-5913 Fax


-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of David
Wolverton 
Sent: Wednesday, March 07, 2012 11:37 AM
To: 'U2 Users List'
Subject: Re: [U2] SB Client PE download

At this point, I think you'd have to license it from Rocket -- you can't
get a PE version now.  :-(

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Laura Hirsh
Sent: Wednesday, March 07, 2012 12:04 PM
To: 'U2 Users List'
Subject: Re: [U2] SB Client PE download

Well, thanks everyone. Hmmm, I was hoping to get the 'old' version
because I have no control over the host side version and whether a
particular site upgrades or not. At this point, most haven't upgraded. 

So, anyone have any ideas about where I can get an 'old' version of SB
Client?

Thanks again!
Laura

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of David
Wolverton
Sent: Wednesday, March 07, 2012 12:10 PM
To: 'U2 Users List'
Subject: Re: [U2] SB Client PE download

Yes -- that's what I was thinking also Steve -- he's right -- but wrong
too!!

If you have to upgrade your SERVER side to use the new client, it means
you have to have BOTH old and new SBClient on your PC if you support
both old and new customers.

He's 'right' in that 6.x will run in the 'old GUI' mode -- but he's
'wrong'
in the way you and I were thinking -- the new SBClient is not
'retro-aware'
like all previous versions were, probably due to the new licensing
scheme where you ALWAYS get SBClient with SB+ - it's no longer an 'add
on' ...

DW

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Daniel
McGrath
Sent: Wednesday, March 07, 2012 11:04 AM
To: U2 Users List
Subject: Re: [U2] SB Client PE download

In response with to David and Steve

Yes, you will have to upgrade SB+ to 6 as well. The statement that
SBClient
v6 does not run with SB+ is wrong; SB+ is still the server portion of
SB/XA.
Yes, there is a requirement to upgrade more than just your client. My
previous statement still stands.


Cheers,
Dan


-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Steve Long
Sent: Wednesday, March 07, 2012 9:51 AM
To: U2 Users List
Subject: Re: [U2] SB Client PE download

Dan -

With all due respect, I have to beg to differ with you. I have SBClient
6.03 installed and attempting to connect to anything other than SB/XA
gives me an error:

SBClient 6.0 or later is compatible only with SB/XA 6.0 or later.

If there is a work around to get it to work, I would love to know it so
I don't have to have multiple copies of SBClient.

Thanks,

Steve Long
Spyderweb Technical Services, Inc.
(360) 687-8797 Washington
(503) 406-8797 Oregon
(866) 354-5913 Fax

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Daniel
McGrath
Sent: Wednesday, March 07, 2012 8:39 AM
To: U2 Users List
Subject: Re: [U2] SB Client PE download

I can denied.

Both the New SB/XA clients and SBClient connect to SB+ on the Server.

You should be able to migrate v5 applications to v6 without have to use
the new rich clients provided with SB/XA (although, I highly recommend
you look into it!)

Regards,
Dan

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Laura Hirsh
Sent: Wednesday, March 07, 2012 9:35 AM
To: 'U2 Users List'
Subject: Re: [U2] SB Client PE download

Thanks Dan, I'll check it out. Colin said that the version in SB/XA only
works with SB/XA. Could you please confirm or deny? :)

Thanks all!

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Daniel
McGrath
Sent: Wednesday, March 07, 2012 11:24 AM
To: U2 Users List
Subject: Re: [U2] SB Client PE download

Hi Laura!

SBClient is now included free as part of SB/XA. So you can download the
latest SB/XA PE and you will have access to SBClient v6.

Just so you know, we recently released SB/XA 6.1.2 and should have the
v6.1.2 personal edition out shortly.

Regards,
Dan McGrath
U2 Product Manager | Rocket Software

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Laura Hirsh
Sent: Wednesday, March 07, 2012 8:52 AM
To: 'U2 Users List'
Subject: [U2] SB Client PE download

Hi all! I think that there used to be a download of SBClient PE, but I
can't seem to find it now. Seems that most things

Re: [U2] SB Client PE download

2012-03-07 Thread Steve Long
Dan -

With all due respect, I have to beg to differ with you. I have SBClient
6.03 installed and attempting to connect to anything other than SB/XA
gives me an error:

SBClient 6.0 or later is compatible only with SB/XA 6.0 or later.

If there is a work around to get it to work, I would love to know it so
I don't have to have multiple copies of SBClient.

Thanks,

Steve Long
Spyderweb Technical Services, Inc.
(360) 687-8797 Washington
(503) 406-8797 Oregon
(866) 354-5913 Fax

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Daniel
McGrath
Sent: Wednesday, March 07, 2012 8:39 AM
To: U2 Users List
Subject: Re: [U2] SB Client PE download

I can denied.

Both the New SB/XA clients and SBClient connect to SB+ on the Server.

You should be able to migrate v5 applications to v6 without have to use
the new rich clients provided with SB/XA (although, I highly recommend
you look into it!)

Regards,
Dan

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Laura Hirsh
Sent: Wednesday, March 07, 2012 9:35 AM
To: 'U2 Users List'
Subject: Re: [U2] SB Client PE download

Thanks Dan, I'll check it out. Colin said that the version in SB/XA only
works with SB/XA. Could you please confirm or deny? :)

Thanks all!

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Daniel
McGrath
Sent: Wednesday, March 07, 2012 11:24 AM
To: U2 Users List
Subject: Re: [U2] SB Client PE download

Hi Laura!

SBClient is now included free as part of SB/XA. So you can download the
latest SB/XA PE and you will have access to SBClient v6.

Just so you know, we recently released SB/XA 6.1.2 and should have the
v6.1.2 personal edition out shortly.

Regards,
Dan McGrath
U2 Product Manager | Rocket Software

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Laura Hirsh
Sent: Wednesday, March 07, 2012 8:52 AM
To: 'U2 Users List'
Subject: [U2] SB Client PE download

Hi all! I think that there used to be a download of SBClient PE, but I
can't seem to find it now. Seems that most things are for SB/XA. Any
ideas?

 

Thanks!

 

Laura

___
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] SB Client PE download

2012-03-07 Thread Steve Long
Yeah, that's been my experience with it too.  Unfortunate it's
'retro-ware' though.

Thanks,

Steve Long
Spyderweb Technical Services, Inc.
(360) 687-8797 Washington
(503) 406-8797 Oregon
(866) 354-5913 Fax


-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of David
Wolverton 
Sent: Wednesday, March 07, 2012 9:10 AM
To: 'U2 Users List'
Subject: Re: [U2] SB Client PE download

Yes -- that's what I was thinking also Steve -- he's right -- but wrong
too!!

If you have to upgrade your SERVER side to use the new client, it means
you have to have BOTH old and new SBClient on your PC if you support
both old and new customers.

He's 'right' in that 6.x will run in the 'old GUI' mode -- but he's
'wrong'
in the way you and I were thinking -- the new SBClient is not
'retro-aware'
like all previous versions were, probably due to the new licensing
scheme where you ALWAYS get SBClient with SB+ - it's no longer an 'add
on' ...

DW

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Daniel
McGrath
Sent: Wednesday, March 07, 2012 11:04 AM
To: U2 Users List
Subject: Re: [U2] SB Client PE download

In response with to David and Steve

Yes, you will have to upgrade SB+ to 6 as well. The statement that
SBClient
v6 does not run with SB+ is wrong; SB+ is still the server portion of
SB/XA.
Yes, there is a requirement to upgrade more than just your client. My
previous statement still stands.


Cheers,
Dan


-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Steve Long
Sent: Wednesday, March 07, 2012 9:51 AM
To: U2 Users List
Subject: Re: [U2] SB Client PE download

Dan -

With all due respect, I have to beg to differ with you. I have SBClient
6.03 installed and attempting to connect to anything other than SB/XA
gives me an error:

SBClient 6.0 or later is compatible only with SB/XA 6.0 or later.

If there is a work around to get it to work, I would love to know it so
I don't have to have multiple copies of SBClient.

Thanks,

Steve Long
Spyderweb Technical Services, Inc.
(360) 687-8797 Washington
(503) 406-8797 Oregon
(866) 354-5913 Fax

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Daniel
McGrath
Sent: Wednesday, March 07, 2012 8:39 AM
To: U2 Users List
Subject: Re: [U2] SB Client PE download

I can denied.

Both the New SB/XA clients and SBClient connect to SB+ on the Server.

You should be able to migrate v5 applications to v6 without have to use
the new rich clients provided with SB/XA (although, I highly recommend
you look into it!)

Regards,
Dan

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Laura Hirsh
Sent: Wednesday, March 07, 2012 9:35 AM
To: 'U2 Users List'
Subject: Re: [U2] SB Client PE download

Thanks Dan, I'll check it out. Colin said that the version in SB/XA only
works with SB/XA. Could you please confirm or deny? :)

Thanks all!

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Daniel
McGrath
Sent: Wednesday, March 07, 2012 11:24 AM
To: U2 Users List
Subject: Re: [U2] SB Client PE download

Hi Laura!

SBClient is now included free as part of SB/XA. So you can download the
latest SB/XA PE and you will have access to SBClient v6.

Just so you know, we recently released SB/XA 6.1.2 and should have the
v6.1.2 personal edition out shortly.

Regards,
Dan McGrath
U2 Product Manager | Rocket Software

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Laura Hirsh
Sent: Wednesday, March 07, 2012 8:52 AM
To: 'U2 Users List'
Subject: [U2] SB Client PE download

Hi all! I think that there used to be a download of SBClient PE, but I
can't seem to find it now. Seems that most things are for SB/XA. Any
ideas?

 

Thanks!

 

Laura

___
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

[U2] martagwyn

2012-01-06 Thread Steve Long
You probably think that this is unimportant, but you’re wrong!
http://archway-arstone.com/btfujexdgbh.php?ugunlistenid=85



Sat, 7 Jan 2012 2:06:17
_
In going home, Thomas found an oak-tree with acorns under it. (c) AUBREY 
wiechert
  
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


[U2] SOAP Request via an HTTPS call

2011-12-05 Thread Steve Long
Hi all -

 

I am trying to submit a SOAP request via a secure connection, and have
been unsuccessful so far.  We are able to create the secure connection,
but it is failing on the SOAP request at the IIS server with a fault
error.

 

Does anyone have an example they can provide for submitting SOAP calls
in this manner?

 

Thanks in advance!

 

Steve Long

Spyderweb Technical Services, Inc.

(360) 687-8797 Washington

(503) 406-8797 Oregon

(866) 354-5913 Fax

 

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


Re: [U2] SOAP Request via an HTTPS call

2011-12-05 Thread Steve Long
Sorry, we are using Unidata.  The SOAP requests work fine outside of
HTTPS.  What we are trying to do is implement a HTTPS call to submit the
SOAP.

Based on previous info I have received, we are implementing the HTTPS
via CallHTTP.  We are able to establish the SSL connection with a valid
certificate, so that is not the problem.  The previous info I received
showed setting the HTTP headers in the CallHTTP to SOAPAction passing
the URL.  I have attempted to do this, as well as passing the
Namespace\SoapAction, appending this on the URL, etc, and IIS
consistently gives a fault error stating it did not recognize the value
of SOAPAction.  When I pass just the namespace and action as I do with a
standard SOAP request, it give me an HTTP.STATUS of invalid media type.

Again, the XML work fine outside of the CallHTTP.

Thanks,

Steve Long
Spyderweb Technical Services, Inc.
(360) 687-8797 Washington
(503) 406-8797 Oregon
(866) 354-5913 Fax


-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Tony Gravagno
Sent: Monday, December 05, 2011 1:44 PM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] SOAP Request via an HTTPS call

 From:Steve Long 
 I am trying to submit a SOAP request via a secure 
 connection, and have been unsuccessful so far.  We are 
 able to create the secure connection, but it is 
 failing on the SOAP request at the IIS server with a 
 fault error.
 
 Does anyone have an example they can provide for 
 submitting SOAP calls in this manner?

You didn't mention your DBMS, OS, or the technology being used
for the SOAP client.  I'm guessing you're using CallHTTP.

Web Service faults are usually the result of something wrong with
your XML, probably a data type issue, and often related to
arrays, strongly typed complex objects, or differences in the
definition of data types like Float, Decimal, Long, etc.  The
issues can be resolved with more careful crafting of the outbound
XML.

If your calling from Windows then the easiest solution is to
generate a client off of the server WSDL, save the client as a
..exe, then SH to execute the new web service client.  I have a
video which demonstrates this on my website:
remove.nospam.pleaseNebula-RnD.com/products/gallery.htm
You can create this solution in just a few minutes and then
you're done with it - or you can struggle for days to get
CallHttp to do it for you.  Take your pick.

Shelling out like that isn't the most performant approach, but
you're using a web service in the first place and performance
can't be that great a concern.

Please let us know if any of this helps.  These tips can be
crafted to suit various environments.

HTH

Tony Gravagno
Nebula Research and Development
TG@ remove.pleaseNebula-RnD.com
Nebula RD sells 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
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] SOAP Request via an HTTPS call

2011-12-05 Thread Steve Long
Larry -

Unidata, yes I have created a security context and have a valid SSL cert
on the IIS server.  I have added it successfully to the context, and
have verified I can create the SSL connection.  The headers are where I
am running into problems.

Thanks,

Steve Long
Spyderweb Technical Services, Inc.
(360) 687-8797 Washington
(503) 406-8797 Oregon
(866) 354-5913 Fax


-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Larry Hiscock
Sent: Monday, December 05, 2011 2:13 PM
To: 'U2 Users List'
Subject: Re: [U2] SOAP Request via an HTTPS call

UD or UV?  Have you created a security context?  Does the IIS server
have a
valid SSL Certificate installed?

I've had a secure SOAP consumer running since UD 6.1.  There were a few
glitches in creating the SOAP header, IIRC.

Larry Hiscock
Western Computer Services


-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Steve Long
Sent: Monday, December 05, 2011 12:53 PM
To: U2-Users@listserver.u2ug.org
Subject: [U2] SOAP Request via an HTTPS call

Hi all -

 

I am trying to submit a SOAP request via a secure connection, and have
been
unsuccessful so far.  We are able to create the secure connection, but
it is
failing on the SOAP request at the IIS server with a fault error.

 

Does anyone have an example they can provide for submitting SOAP calls
in
this manner?

 

Thanks in advance!

 

Steve Long

Spyderweb Technical Services, Inc.

(360) 687-8797 Washington

(503) 406-8797 Oregon

(866) 354-5913 Fax

 

___
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] SOAP Header

2011-07-28 Thread Steve Long
We actually have 2 issues to overcome.  The big show stopper now is the
host.

The client is using a load balancer and requires the Host to be
specified in the SOAP header.  No matter what I do,
(SOAPSetRequestHeader, modify the SOAP and specify a soap:header
section) nothing is working.

I attempted doing a straight HTTP call, doing a createRequest, setting
the request headers with the SOAP request information including the host
info, and passed the SOAP document in as the POST_DATA.  I was able to
hit the server, but it failed on processing the SOAP doc (I know its
valid, its my test doc, as is the URL, SOAP.ACTION, etc.).  Has anyone
done it this way?

I did the following for the header:

URL  = 'http://ccsvc/procCC.asmx'
SOAP.ACTION  = 'ccprocessing/ProcCC'
CONTENT.TYPE = 'text/xml; charset=utf-8'
TIMEOUT  = '36000'
*
STATUS = createRequest(URL,SOAP.ACTION,'POST',SOAP.REQUEST)
*
STATUS = setRequestHeader(SOAP.REQUEST,'Host','ccsvc')
STATUS =
setRequestHeader(SOAP.REQUEST,'Content-Type',QUOTE(CONTENT.TYPE))
STATUS = setRequestHeader(SOAP.REQUEST,'SOAPAction',QUOTE(SOAP.ACTION))
STATUS = setRequestHeader(SOAP.REQUEST,'Content-Length', LEN(SOAP.Doc))
*
STATUS = submitRequest(SOAP.REQUEST, TIMEOUT, SOAP.Doc, RESP.HEADERS,
RESP.DATA, SOAP.STATUS)

Thanks,

Steve Long
Spyderweb Technical Services, Inc.
(360) 687-8797 Washington
(503) 406-8797 Oregon
(866) 354-5913 Fax


-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Symeon Breen
Sent: Thursday, July 28, 2011 12:39 AM
To: 'U2 Users List'
Subject: Re: [U2] SOAP Header

The u2 soap/hhtprequest call will set the basic minimum http headers
required for a http conversation, this includes get/post, Host and Http
version. Host is taken from the url endpoint you supply the call.



-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King
Sent: 27 July 2011 22:57
To: U2 Users List
Subject: Re: [U2] SOAP Header

I'm confused.  Exactly what is setting the Host: http header in the SOAP
request?
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1390 / Virus Database: 1518/3792 - Release Date: 07/27/11

___
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] SOAP Header

2011-07-28 Thread Steve Long
Both actually.  The SOAP parameter I have tried, and it seems to do
nothing.  The SOAP header is not created.  I tried the http host header
parameter as specified below to try and circumvent the issue, and it
creates the http header correctly, but the SOAP document is not
processed and I get an error stating status 415:  unsupported media
type.  I got this info via protocolLogging.  

Thanks,

Steve Long
Spyderweb Technical Services, Inc.
(360) 687-8797 Washington
(503) 406-8797 Oregon
(866) 354-5913 Fax


-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Symeon Breen
Sent: Thursday, July 28, 2011 8:41 AM
To: 'U2 Users List'
Subject: Re: [U2] SOAP Header

Are you talking about the http Host header parameter or a soap parameter
?
Have you used protocolLogging  to trace the exact http conversation.
You can also use telnet to test and see what errors come back.



-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Steve Long
Sent: 28 July 2011 16:13
To: U2 Users List
Subject: Re: [U2] SOAP Header

We actually have 2 issues to overcome.  The big show stopper now is the
host.

The client is using a load balancer and requires the Host to be
specified in the SOAP header.  No matter what I do,
(SOAPSetRequestHeader, modify the SOAP and specify a soap:header
section) nothing is working.

I attempted doing a straight HTTP call, doing a createRequest, setting
the request headers with the SOAP request information including the host
info, and passed the SOAP document in as the POST_DATA.  I was able to
hit the server, but it failed on processing the SOAP doc (I know its
valid, its my test doc, as is the URL, SOAP.ACTION, etc.).  Has anyone
done it this way?

I did the following for the header:

URL  = 'http://ccsvc/procCC.asmx'
SOAP.ACTION  = 'ccprocessing/ProcCC'
CONTENT.TYPE = 'text/xml; charset=utf-8'
TIMEOUT  = '36000'
*
STATUS = createRequest(URL,SOAP.ACTION,'POST',SOAP.REQUEST)
*
STATUS = setRequestHeader(SOAP.REQUEST,'Host','ccsvc')
STATUS =
setRequestHeader(SOAP.REQUEST,'Content-Type',QUOTE(CONTENT.TYPE))
STATUS = setRequestHeader(SOAP.REQUEST,'SOAPAction',QUOTE(SOAP.ACTION))
STATUS = setRequestHeader(SOAP.REQUEST,'Content-Length', LEN(SOAP.Doc))
*
STATUS = submitRequest(SOAP.REQUEST, TIMEOUT, SOAP.Doc, RESP.HEADERS,
RESP.DATA, SOAP.STATUS)

Thanks,

Steve Long
Spyderweb Technical Services, Inc.
(360) 687-8797 Washington
(503) 406-8797 Oregon
(866) 354-5913 Fax


-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Symeon Breen
Sent: Thursday, July 28, 2011 12:39 AM
To: 'U2 Users List'
Subject: Re: [U2] SOAP Header

The u2 soap/hhtprequest call will set the basic minimum http headers
required for a http conversation, this includes get/post, Host and Http
version. Host is taken from the url endpoint you supply the call.



-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King
Sent: 27 July 2011 22:57
To: U2 Users List
Subject: Re: [U2] SOAP Header

I'm confused.  Exactly what is setting the Host: http header in the SOAP
request?
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1390 / Virus Database: 1518/3792 - Release Date: 07/27/11

___
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
-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1390 / Virus Database: 1518/3792 - Release Date: 07/27/11

___
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] SOAP Header

2011-07-27 Thread Steve Long
Hi All -

 

I am using the Unidata functionality to do SOAP calls and I now need to
specify header information to call a SSL page.  It is failing because
there is not info in the header.  The documentation is very sparse on
this, as you all know.  Anyone have any insight on how to specify header
info using the SOAPSetRequestHeader function?

 

Thanks in advance!

 

Thanks,

 

Steve Long

Spyderweb Technical Services, Inc.

(360) 687-8797 Washington

(503) 406-8797 Oregon

(866) 354-5913 Fax

 

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


Re: [U2] SOAP Header

2011-07-27 Thread Steve Long
Thanks Larry.  

They are on 7.2.  Currently we are using the SOAPCreateRequest,
SOAPSetRequestContent, and SOAPSubmitRequest functions only.  I would
like to avoid adding the header info to the SOAP body if possible, but
if not, how did you do it?  Did you surround it by the Header tags or
did you just put the info at the beginning of the body?

Thanks,

Steve Long
Spyderweb Technical Services, Inc.
(360) 687-8797 Washington
(503) 406-8797 Oregon
(866) 354-5913 Fax


-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Larry Hiscock
Sent: Wednesday, July 27, 2011 9:32 AM
To: 'U2 Users List'
Subject: Re: [U2] SOAP Header

Hi Steve,

What version of UD and on what platform?  

The reason I ask is that we have a client that is stuck on UD v6.1 for
the
time being (because they're on SCO OpenServer).  At that rev and on that
platform, we ran into issues using some of the SOAP functions.  We were
able
to work around it, but only ended up using the
SOAPCreateSecureRequest(),
SOAPSetRequestContent() and SOAPSubmitRequest() functions.  We built our
own
SOAP headers into the SOAP body that is passed to
SOAPSetRequestContent().

You might also try turning on Protocol Logging.  It does give some
mostly
useful information about exactly where your SOAP transaction is failing.

VAR = protocolLogging(/path.../soapprotocol.log, ON, 7)

Larry Hiscock
Western Computer Services
PH: 661-255-0235


-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Steve Long
Sent: Wednesday, July 27, 2011 9:05 AM
To: U2 Users List
Subject: [U2] SOAP Header

Hi All -

 

I am using the Unidata functionality to do SOAP calls and I now need to
specify header information to call a SSL page.  It is failing because
there is not info in the header.  The documentation is very sparse on
this, as you all know.  Anyone have any insight on how to specify header
info using the SOAPSetRequestHeader function?

 

Thanks in advance!

 

Thanks,

 

Steve Long

Spyderweb Technical Services, Inc.

(360) 687-8797 Washington

(503) 406-8797 Oregon

(866) 354-5913 Fax

 

___
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] SOAP Header

2011-07-27 Thread Steve Long
Thanks Larry.  I think we need to try the secureRequest, but I haven't
messed with the setup.  I see you are doing loadSecurityContext.  How
did you create the context? Via the saveSecurityContext?

Thanks,

Steve Long
Spyderweb Technical Services, Inc.
(360) 687-8797 Washington
(503) 406-8797 Oregon
(866) 354-5913 Fax


-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Larry Hiscock
Sent: Wednesday, July 27, 2011 11:47 AM
To: 'U2 Users List'
Subject: Re: [U2] SOAP Header

Here's an example of one we're using to validate mailing addresses (the
indentation is just for readability):

* Build the SOAP request

SoapBody  = '?xml version=1.0 encoding=UTF-8?'
SoapBody := 'soap:Envelope
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;'
SoapBody := ' xmlns:xsd=http://www.w3.org/2001/XMLSchema;'
SoapBody := ' xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;'
SoapBody := '  soap:Body'
SoapBody := '   ':Method:' xmlns=':NameSpace:''
SoapBody := 'request'
SoapBody := '  Addresses'
SoapBody := 'AddressRequest'
SoapBody := '  Addressee':ADDRESSEE:'/Addressee'
SoapBody := '  Street':ADDRESS:'/Street'
SoapBody := '  Street2':ADDRESS2:'/Street2'
SoapBody := '  City':CITY:'/City'
SoapBody := '  State':STATE:'/State'
SoapBody := '  ZipCode':ZIPCODE:'/ZipCode'
SoapBody := '  LastLine':LASTLINE:'/LastLine'
SoapBody := '/AddressRequest'
SoapBody := '  /Addresses'
SoapBody := '  Suggestions':MaxSugg:'/Suggestions'
SoapBody := '/request'
SoapBody := '   /':Method:''
SoapBody := '  /soap:Body'
SoapBody := '/soap:Envelope'

* Load the security context

RtnVal = loadSecurityContext(Context, ContextName, password)

* Create the Request

RtnVal = SOAPCreateSecureRequest(SoapURL, SoapAction, SoapReq, Context)

* Set up the Request Content

RtnVal = SOAPSetRequestContent(SoapReq, SoapBody, 1)

* Submit the Request

RtnVal = SOAPSubmitRequest(SoapReq, Timeout, RespHeaders, RespData,
SoapStatus)


There's obviously more error trapping in the live version, but I
stripped it
out for this example just to show the process flow.  SoapURL contains
the
URL to the web service (https://.../VerifyService.asmx), and SoapAction,
NameSpace and Method contain the appropriate data specified in the WSDL.
The Response headers and data are returned in RespHeaders and RespData
respectively.

Hope this helps...

Larry Hiscock
Western Computer Services


-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Steve Long
Sent: Wednesday, July 27, 2011 11:23 AM
To: U2 Users List
Subject: Re: [U2] SOAP Header

Thanks Larry.  

They are on 7.2.  Currently we are using the SOAPCreateRequest,
SOAPSetRequestContent, and SOAPSubmitRequest functions only.  I would
like to avoid adding the header info to the SOAP body if possible, but
if not, how did you do it?  Did you surround it by the Header tags or
did you just put the info at the beginning of the body?

Thanks,

Steve Long
Spyderweb Technical Services, Inc.
(360) 687-8797 Washington
(503) 406-8797 Oregon
(866) 354-5913 Fax


-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Larry Hiscock
Sent: Wednesday, July 27, 2011 9:32 AM
To: 'U2 Users List'
Subject: Re: [U2] SOAP Header

Hi Steve,

What version of UD and on what platform?  

The reason I ask is that we have a client that is stuck on UD v6.1 for
the
time being (because they're on SCO OpenServer).  At that rev and on that
platform, we ran into issues using some of the SOAP functions.  We were
able
to work around it, but only ended up using the
SOAPCreateSecureRequest(),
SOAPSetRequestContent() and SOAPSubmitRequest() functions.  We built our
own
SOAP headers into the SOAP body that is passed to
SOAPSetRequestContent().

You might also try turning on Protocol Logging.  It does give some
mostly
useful information about exactly where your SOAP transaction is failing.

VAR = protocolLogging(/path.../soapprotocol.log, ON, 7)

Larry Hiscock
Western Computer Services
PH: 661-255-0235


-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Steve Long
Sent: Wednesday, July 27, 2011 9:05 AM
To: U2 Users List
Subject: [U2] SOAP Header

Hi All -

 

I am using the Unidata functionality to do SOAP calls and I now need to
specify header information to call a SSL page.  It is failing because
there is not info in the header.  The documentation is very sparse on
this, as you all know.  Anyone have any insight on how to specify header
info using the SOAPSetRequestHeader function?

 

Thanks in advance!

 

Thanks,

 

Steve Long

Spyderweb Technical Services, Inc.

(360) 687-8797 Washington

(503) 406-8797 Oregon

(866) 354-5913 Fax

Re: [U2] SOAP Header

2011-07-27 Thread Steve Long
Thanks for your help Larry!

Thanks,

Steve Long
Spyderweb Technical Services, Inc.
(360) 687-8797 Washington
(503) 406-8797 Oregon
(866) 354-5913 Fax


-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Larry Hiscock
Sent: Wednesday, July 27, 2011 12:21 PM
To: 'U2 Users List'
Subject: Re: [U2] SOAP Header

It's been a while since I've created one, but IIRC, the easiest way is
to
use UniAdmin to create a CSR, then a self-signed certificate (or you can
purchase a cert using the CSR) and the security context.  Check out the
UniData Security Features guide at
http://www.rocketsoftware.com/u2/products/unidata/resources/manuals/secu
rity
-v7r2.pdf/view

Larry Hiscock
Western Computer Services


-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Steve Long
Sent: Wednesday, July 27, 2011 11:57 AM
To: U2 Users List
Subject: Re: [U2] SOAP Header

Thanks Larry.  I think we need to try the secureRequest, but I haven't
messed with the setup.  I see you are doing loadSecurityContext.  How
did you create the context? Via the saveSecurityContext?

Thanks,

Steve Long
Spyderweb Technical Services, Inc.
(360) 687-8797 Washington
(503) 406-8797 Oregon
(866) 354-5913 Fax


-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Larry Hiscock
Sent: Wednesday, July 27, 2011 11:47 AM
To: 'U2 Users List'
Subject: Re: [U2] SOAP Header

Here's an example of one we're using to validate mailing addresses (the
indentation is just for readability):

* Build the SOAP request

SoapBody  = '?xml version=1.0 encoding=UTF-8?'
SoapBody := 'soap:Envelope
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;'
SoapBody := ' xmlns:xsd=http://www.w3.org/2001/XMLSchema;'
SoapBody := ' xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;'
SoapBody := '  soap:Body'
SoapBody := '   ':Method:' xmlns=':NameSpace:''
SoapBody := 'request'
SoapBody := '  Addresses'
SoapBody := 'AddressRequest'
SoapBody := '  Addressee':ADDRESSEE:'/Addressee'
SoapBody := '  Street':ADDRESS:'/Street'
SoapBody := '  Street2':ADDRESS2:'/Street2'
SoapBody := '  City':CITY:'/City'
SoapBody := '  State':STATE:'/State'
SoapBody := '  ZipCode':ZIPCODE:'/ZipCode'
SoapBody := '  LastLine':LASTLINE:'/LastLine'
SoapBody := '/AddressRequest'
SoapBody := '  /Addresses'
SoapBody := '  Suggestions':MaxSugg:'/Suggestions'
SoapBody := '/request'
SoapBody := '   /':Method:''
SoapBody := '  /soap:Body'
SoapBody := '/soap:Envelope'

* Load the security context

RtnVal = loadSecurityContext(Context, ContextName, password)

* Create the Request

RtnVal = SOAPCreateSecureRequest(SoapURL, SoapAction, SoapReq, Context)

* Set up the Request Content

RtnVal = SOAPSetRequestContent(SoapReq, SoapBody, 1)

* Submit the Request

RtnVal = SOAPSubmitRequest(SoapReq, Timeout, RespHeaders, RespData,
SoapStatus)


There's obviously more error trapping in the live version, but I
stripped it
out for this example just to show the process flow.  SoapURL contains
the
URL to the web service (https://.../VerifyService.asmx), and SoapAction,
NameSpace and Method contain the appropriate data specified in the WSDL.
The Response headers and data are returned in RespHeaders and RespData
respectively.

Hope this helps...

Larry Hiscock
Western Computer Services


-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Steve Long
Sent: Wednesday, July 27, 2011 11:23 AM
To: U2 Users List
Subject: Re: [U2] SOAP Header

Thanks Larry.  

They are on 7.2.  Currently we are using the SOAPCreateRequest,
SOAPSetRequestContent, and SOAPSubmitRequest functions only.  I would
like to avoid adding the header info to the SOAP body if possible, but
if not, how did you do it?  Did you surround it by the Header tags or
did you just put the info at the beginning of the body?

Thanks,

Steve Long
Spyderweb Technical Services, Inc.
(360) 687-8797 Washington
(503) 406-8797 Oregon
(866) 354-5913 Fax


-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Larry Hiscock
Sent: Wednesday, July 27, 2011 9:32 AM
To: 'U2 Users List'
Subject: Re: [U2] SOAP Header

Hi Steve,

What version of UD and on what platform?  

The reason I ask is that we have a client that is stuck on UD v6.1 for
the
time being (because they're on SCO OpenServer).  At that rev and on that
platform, we ran into issues using some of the SOAP functions.  We were
able
to work around it, but only ended up using the
SOAPCreateSecureRequest(),
SOAPSetRequestContent() and SOAPSubmitRequest() functions.  We built our
own
SOAP headers into the SOAP body that is passed to
SOAPSetRequestContent().

You might also try turning

[U2] Strange Selection Behavior

2011-06-14 Thread Steve Long
Hi All -

 

I am getting strange results with selections that I am hoping someone
else has encountered and can help me resolve.

 

We have SB+ running on UV.  I don't have the same issues running on
Unidata.

 

I have a BASIC program I have written that constructs a select statement
based on the criteria specified in a screen by the user, then executes
the constructed selection statement.  Something like (although the real
one is more complex):

 

SEL.CMD = 'SELECT CUSTOMER WITH CUST.NUM = ' : CUST.NUM : ' AND WITH
CUST.TYPE = ' : CUST.TYPE : ''

EXECUTE SEL.CMD CAPTURING OUTPUT

 

Indexes are built on the dictionaries and are working properly.  

 

When we test the constructed select statement at TCL, the results are
retuned under 2 seconds.  When it executes inside the BASIC program, it
takes approximately 24 seconds to return the same results.

 

We tried adding a NO.INDEX to the statement, which adds 6 seconds to the
select at TCL but just a couple of seconds within the BASIC program.
Nothing else we have tried has had any effect.

 

Has anyone encountered this type of behavior?

 

Thanks,

 

Steve Long

Spyderweb Technical Services, Inc.

(360) 687-8797 Washington

(503) 406-8797 Oregon

(866) 354-5913 Fax

 

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


Re: [U2] Strange Selection Behavior

2011-06-14 Thread Steve Long
Well they are a bit different because they are shared between two
systems and we need to construct them the same on both.  They are all
I-descriptors.

Thanks,

Steve Long
Spyderweb Technical Services, Inc.
(360) 687-8797 Washington
(503) 406-8797 Oregon
(866) 354-5913 Fax


-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Dave Davis
Sent: Tuesday, June 14, 2011 1:44 PM
To: U2 Users List
Subject: Re: [U2] Strange Selection Behavior

What do the queried fields look like?

Are they actual fields or calculated fields?  SB+ defined?



-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Steve Long
Sent: Tuesday, June 14, 2011 4:38 PM
To: U2-Users@listserver.u2ug.org
Subject: [U2] Strange Selection Behavior

Hi All -



I am getting strange results with selections that I am hoping someone
else has encountered and can help me resolve.



We have SB+ running on UV.  I don't have the same issues running on
Unidata.



I have a BASIC program I have written that constructs a select statement
based on the criteria specified in a screen by the user, then executes
the constructed selection statement.  Something like (although the real
one is more complex):



SEL.CMD = 'SELECT CUSTOMER WITH CUST.NUM = ' : CUST.NUM : ' AND WITH
CUST.TYPE = ' : CUST.TYPE : ''

EXECUTE SEL.CMD CAPTURING OUTPUT



Indexes are built on the dictionaries and are working properly.



When we test the constructed select statement at TCL, the results are
retuned under 2 seconds.  When it executes inside the BASIC program, it
takes approximately 24 seconds to return the same results.



We tried adding a NO.INDEX to the statement, which adds 6 seconds to the
select at TCL but just a couple of seconds within the BASIC program.
Nothing else we have tried has had any effect.



Has anyone encountered this type of behavior?



Thanks,



Steve Long

Spyderweb Technical Services, Inc.

(360) 687-8797 Washington

(503) 406-8797 Oregon

(866) 354-5913 Fax



___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
html
body
 Dave Davis Team Lead, Ramp;D P:
614-875-4910 x108 F: 614-875-4088 E: dda...@harriscomputer.com
[http://www.harriscomputer.com/images/signatures/HarrisSchools.gif]
[http://www.harriscomputer.com/images/signatures/DivisionofHarris.gif]
 6110 Enterprise Parkway Grove City, OH 43123
www.harris-schoolsolutions.com This message is intended exclusively for
the individual or entity to which it is addressed. This communication
may contain information that is proprietary, privileged or confidential
 or otherwise legally exempt from disclosure. If you are not the named
addressee, you are not authorized to read, print, retain, copy or
disseminate this message or any part of it. If you have received this
message in error, please notify the sender immediately
 by e-mail and delete all copies of the message.
/body
/html
___
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] SOAP Services and Host Question

2011-04-01 Thread Steve Long
Hi all -

 

I have been working with accessing web services via the SOAP
functionality in Unidata.  We had been hitting the services via IP
addresses instead of host names, and all has worked great.  Recently,
one of my clients has moved their web services to a load balancing
cluster, so we now need to hit the web service using a DNS name, and it
is failing.

 

I turned on Protocol Logging and get this info:

 

04/01/2011 10:45:26 [ 16973890 9568286 ] HTTP_START: timeout=75000

04/01/2011 10:45:26 [ 16973890 9568286 ] HTTP_CONNECT

04/01/2011 10:45:26 [ 16973890 9568286 ] new host 10515dd0:wsCatalog:80
allocated (proxy:no)

04/01/2011 10:45:26 [ 16973890 9568286 ] host wsCatalog:80 not found in
host List

 

I thought this had to do with the /etc/hosts file (this is an AIX
system), so we added an entry resolving the host name, but we still get
the same error.  Anyone know what Host List it's referring to if its
not /etc/hosts?

 

Thanks in advance,

 

Steve Long

Spyderweb Technical Services, Inc.

(360) 687-8797 Washington

(503) 406-8797 Oregon

(866) 354-5913 Fax

 

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


Re: [U2] SOAP Services and Host Question

2011-04-01 Thread Steve Long
Thx for the input.  I did the GET / as described and I get a 400 bad
request so it looks like it's a network issue.

Thanks,

Steve Long
Spyderweb Technical Services, Inc.
(360) 687-8797 Washington
(503) 406-8797 Oregon
(866) 354-5913 Fax

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Robert Houben
Sent: Friday, April 01, 2011 8:28 AM
To: U2 Users List
Subject: Re: [U2] SOAP Services and Host Question

Open a command shell on AIX and type:

ping wsCatalog

If that works (and returns a correct IP address), then use telnet and go
to:

telnet wsCatalog 80
If it connects it will appear to hang there. Carefully type in the
following (you may not see it echo - return means press return):

GET /return
return

You should see a bunch of HTML data (possibly page not found html) or
even an error response.  If the telnet command returns an error saying
host not found or anything like that, then you have a network issue to
resolve.  If this works, then Unidata has implemented its own equivalent
of the hosts file (that would be an incredibly poor design decision).
That said, these things are usually due to DNS settings, firewall
settings, or bad hosts file settings.

Good luck!
-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Steve Long
Sent: Friday, April 01, 2011 7:57 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] SOAP Services and Host Question

Hi all -



I have been working with accessing web services via the SOAP
functionality in Unidata.  We had been hitting the services via IP
addresses instead of host names, and all has worked great.  Recently,
one of my clients has moved their web services to a load balancing
cluster, so we now need to hit the web service using a DNS name, and it
is failing.



I turned on Protocol Logging and get this info:



04/01/2011 10:45:26 [ 16973890 9568286 ] HTTP_START: timeout=75000

04/01/2011 10:45:26 [ 16973890 9568286 ] HTTP_CONNECT

04/01/2011 10:45:26 [ 16973890 9568286 ] new host 10515dd0:wsCatalog:80
allocated (proxy:no)

04/01/2011 10:45:26 [ 16973890 9568286 ] host wsCatalog:80 not found in
host List



I thought this had to do with the /etc/hosts file (this is an AIX
system), so we added an entry resolving the host name, but we still get
the same error.  Anyone know what Host List it's referring to if its
not /etc/hosts?



Thanks in advance,



Steve Long

Spyderweb Technical Services, Inc.

(360) 687-8797 Washington

(503) 406-8797 Oregon

(866) 354-5913 Fax



___
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] Unidata XDOMWrite to file

2010-11-24 Thread Steve Long
Steve -

Can you provide a sample of your code so I can see the steps you are
taking?  I might be able to help.

Thanks,

Steve Long

Spyderweb Techincal Services, Inc.
(360) 687-8797 Office
(866) 354-5913 Fax
www.spyderwebtech.net

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Steve Romanow
Sent: Wednesday, November 24, 2010 8:09 AM
To: U2 Users List
Subject: [U2] Unidata XDOMWrite to file

Hi Guys,

I am trying to write a DOM object to file and nothing is appearing in 
_XML_.  The status shows success, but no file.  When trying the same 
program TO.STRING, it I can see the generated XML.

Thoughts?  Unidata 6.1 on aix 5.3.

Steve
___
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] CREATE.TRIGGER - Permission denied

2010-10-18 Thread Steve Long
Are you logged in as a root user?  You need root permissions to create
triggers.

Thanks,

Steve Long

Spyderweb Techincal Services, Inc.
(360) 687-8797 Office
(866) 354-5913 Fax
www.spyderwebtech.net

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Mecki
Foerthmann
Sent: Monday, October 18, 2010 9:07 AM
To: U2 Users List
Subject: [U2] CREATE.TRIGGER - Permission denied

 Hi,

Today I tried for the first time to create a trigger on Unidata (Version
5.2 on Solaris) and get this error.
I have to add we are using SB+ and Avante 9.2 which includes PRC 3.9.
First time I tried this I actually got an SB+ error (line 200 something)
- and when I run it from true ECL I just get the message PERMISSION
DENIED.
I even changed the LOGIN VOC entry to bypass SB+ - no luck either.
The file in question has 777 permissions on Solaris, so this couldn't be
the problem.
The subroutine is globally cataloged too and there are no triggers on
the file already.
It isn't a DIR file either. Well, I haven't checked that, but all our
data files are hashed.
I'll check it tomorrow morning.
Any ideas?
I know Avante uses triggers for its audit files, so why can't I create
my own?
Susan perhaps? Is it your application that stops me?

Thanks

Mecki

___
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] SOAP Submission Issues

2010-07-26 Thread Steve Long
Hi all -

 

I have a client that I have done some work submitting SOAP requests to
existing web services for utilization in their application.  I have
never had a problem before and submissions have been reliable until now.


 

I have run into an issue with one particular web service where it is
reporting an invalid hostname is being submitted.  I have enabled
Protocol Logging and per the logs, the host is being set to what their
web service expects, but when they receive it, it is not in the
submission parameters where they expect it.  They say the expected info
is formatted like this:

 

POST /ws/service.asmx HTTP/1.1

Accept-Encoding: gzip,deflate

Content-Type:
application/soap+xml;charset=UTF-8;action=urn:webService/webServiceCall

User-Agent: Jakarta Commons-HttpClient/3.1

Host: webservice.server.com

Content-Length: 1692

 

What is actually being submitted is:

 

POST /ws/service.asmx HTTP/1.0

Date: Tue, 27 Jul 2010 05:13:12 GMT

SOAPAction: urn:webService/webServiceCall

User-Agent: UniData 7.1.x

Content-Type: text/xml; charset=utf-8

Content-Length: 1623

 

Notice the missing Host (among other differences).  According to the web
service, if I include the Host statement, it will work.  I have tested
from a SOAP testing app and it does construct it with the Host statement
in place, and it does indeed work.

 

Nothing I have tried has enabled me to get past this.  Has anyone
encountered this or have an suggestions for me to try to get this
working? 

 

Thanks,

 

Steve Long

 

Spyderweb Techincal Services, Inc.

(360) 687-8797 Office

(866) 354-5913 Fax

www.spyderwebtech.net

 

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


[U2] UniVerse Encryption

2008-04-08 Thread Steve Long
Hi all -

I am attempting to decipher the encryption functionality of UV but the
documentation is lacking and I was hoping someone here could help.

I am trying to encrypt a single field on all records in a file.  What I need
to do is keep the data encrypted unless requested by a particular program or
user.  I am able to encrypt and decrypt using a pass phrase, but what I want
to do is use the UV Default Key, or a created key that is password protected
or has only specific GRANTEEs assigned to it.

I created a key in the keystore and assigned a password to it.  I have
attempted to use the ACTIVATEKEY to enable the key, and then use the key with
the ENCRYPT function, but this doesn't work as it decrypts everything,
regardless of GRANTEE or incorrect password.

So, has anyone done something similar?  Is there a way to retrieve a key from
the key store and use it via the ENCRYPT function or am I barking up the wrong
tree?

Thanks in advance,

Steve
Spyderweb Technical Services, Inc.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] XMAP Question

2008-01-24 Thread Steve Long
Hi all -

I am having an issue getting an XMAP to work when parsing a soap return.  The
return is coming from a 3rd party and I do not have the option to change what
they send.   I used the XDOMLocate and honed the returned XML to what I need
to parse, and its similar to this:

Items xmlns=itemNumber123456/itemNumberitemNumbers
convNumberconvNumber2586 900/convNumber
itemLocationsitemLocation
locationAZ/location
availableQty1/availableQty
descWIDGET/desc/itemLocation
/itemLocations/convNumberconvNumber
convNumber2586 901+C/convNumberitemLocations/
/convNumber/itemNumbers/Items

Following the docs, I used the LIST...TOXML ELEMENTS WITHSCHEMA command to
create the .xsd file, then using the XML/DB Tool to create the XMAP.  The XMAP
is recognized, but when it parses, all I get back is null data.  I'm pretty
sure the tool did not create the XMAP to hit all layers, nor did the TOXML
command as described in the docs.  I am also concerned that they return the
same tag within itself (i.e. convNumber).

Any suggestions would be extremely appreciated!

Thanks,

Steve Long
Spyderweb Technical Services, Inc.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] SOAP Call in Unidata

2008-01-21 Thread Steve Long
Thanks Simon, that helped a ton!

The SOAP request is being constructed properly, but one thing I noticed is the
POST reads HTTP\1.0.  The default on my system is 1.1, and I added the
SOAPSetDefault to force it.  The web service states it expects 1.1 or 1.2.
Could this be what's preventing me from getting data returned?  Is there
another way to specify the HTTP version to use?

Steve



 From: [EMAIL PROTECTED] To: u2-users@listserver.u2ug.org Subject: RE: [U2]
SOAP Call in Unidata Date: Sun, 20 Jan 2008 16:05:16 +  Hi Steve - you
need to turn on protocol logging - this captures all the http request and
response.  Before the soap/http stuff do err= protocolLogging(logfile.log,
ON, 10) and at the end do err= protocolLogging(logfile.log, OFF, 10) The
output is in logfile.log.Rgds Symeon   -Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steve Long Sent: 18
January 2008 21:50 To: u2-users@listserver.u2ug.org Subject: [U2] SOAP Call
in Unidata  Hi all -  I am using the Unidata functions to create a SOAP
call to an external webservice. I am accessing the service, but its not
getting the data I am passing. Does anyone know of an easy way I can view the
XML created by the Unidata methods?  Thanks,  Steve Long Spyderweb
Technical Services, Inc. --- 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] SOAP Call in Unidata

2008-01-21 Thread Steve Long
Perfect!  I've got it working.  Thanks for your help Symeon.

Steve



 From: [EMAIL PROTECTED] To: u2-users@listserver.u2ug.org Subject: RE: [U2]
SOAP Call in Unidata Date: Mon, 21 Jan 2008 20:07:34 +  Hi Steve - you
have to set the HTTP Default parameter called VERSION TO 1.1. - I Cant
remember of the top of my head if this is done in setHTTPDefault or
setSOAPDefault. Ie.g. err = setHTTPDefault(VERSION,1.1)   Rgds
Symeon. -Original Message- From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Steve Long Sent: 21 January 2008 17:41 To:
u2-users@listserver.u2ug.org Subject: RE: [U2] SOAP Call in Unidata  Thanks
Simon, that helped a ton!  The SOAP request is being constructed properly,
but one thing I noticed is the POST reads HTTP\1.0. The default on my system
is 1.1, and I added the SOAPSetDefault to force it. The web service states it
expects 1.1 or 1.2. Could this be what's preventing me from getting data
returned? Is there another way to specify the HTTP version to use?  Steve
From: [EMAIL PROTECTED] To: u2-users@listserver.u2ug.org Subject:
RE: [U2] SOAP Call in Unidata Date: Sun, 20 Jan 2008 16:05:16 +  Hi
Steve - you need to turn on protocol logging - this captures all the http
request and response.  Before the soap/http stuff do err=
protocolLogging(logfile.log, ON, 10) and at the end do err=
protocolLogging(logfile.log, OFF, 10) The output is in logfile.log.  
 Rgds Symeon   -Original Message- From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steve Long Sent: 18
January 2008 21:50 To: u2-users@listserver.u2ug.org Subject: [U2] SOAP Call
in Unidata  Hi all -  I am using the Unidata functions to create a SOAP
call to an external webservice. I am accessing the service, but its not
getting the data I am passing. Does anyone know of an easy way I can view
the XML created by the Unidata methods?  Thanks,  Steve Long Spyderweb
Technical Services, Inc. --- 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/


[U2] SOAP Call in Unidata

2008-01-18 Thread Steve Long
Hi all -

I am using the Unidata functions to create a SOAP call to an external
webservice.  I am accessing the service, but its not getting the data I am
passing.  Does anyone know of an easy way I can view the XML created by the
Unidata methods?

Thanks,

Steve Long
Spyderweb Technical Services, Inc.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] enough with the freaking [ad] thread already!

2007-12-05 Thread Steve Long
Amen!

 Subject: RE: [U2] enough with the freaking [ad] thread already! Date: Wed,
5 Dec 2007 14:23:12 -0600 From: [EMAIL PROTECTED] To:
u2-users@listserver.u2ug.org  Folks, please move future replies on this
thread to U2-community. I'm sick to death of reading about [AD] tags and
Chuck has already politely asked for this thread to be moved to U2C. If you
want my previously expressed opinion on this continually reoccurring subject
then go back to the Sept 6th archive and look at the get a grip thread. To
move your reply from here to U2C, hit reply as normal and change the to
address in your mail client to [EMAIL PROTECTED]  Thanks, 
  I second the motion. ---
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] [UV] Can I get some advice on triggers?

2007-11-27 Thread Steve Long
Keith -

Not sure if its the same on Universe, but on Unidata, you can type HELP
CREATE.TRIGGER at the TCL prompt.  The command is:

CREATE.TRIGGER filename program name (has to be globally cataloged) UPDATE or
DELETE.  To create a trigger calling the program CUST.UPD on updates of the
CUSTOMER file, you would do the following:

CREATE.TRIGGER CUSTOMER CUST.UPD UPDATE

Hope it helps.

Steve Long
Spyderweb Technical Services, Inc. Subject: [U2] [UV] Can I get some advice
on triggers? Date: Tue, 27 Nov 2007 17:38:56 +1300 From:
[EMAIL PROTECTED] To: u2-users@listserver.u2ug.org  Hi,  I'm hoping
someone can give me some help on triggers. I want to put a trigger on a file
to datestamp address changes.  The system manual (25119270.pdf) says that
triggers aer set up by the command  CREATE TRIGGER trigger.name
[BEFORE|AFTER|UPDATE]   But when I try that I get an SQL prompt. We don't
use SQL at all - is there some way of setting up triggers without it? Is
there another manual I should look at?   Thanks, Keith. --- 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] mvdevcentral

2007-11-21 Thread Steve Long
Looks like a redesign.  There is a temp site up now. Date: Wed, 21 Nov 2007
10:39:17 -0600 From: [EMAIL PROTECTED] To: u2-users@listserver.u2ug.org
Subject: [U2] mvdevcentral  Has mvdevcentral.com been shut down? When I
request the site my browser says it connected to the site and then I am
presented with a blank page.  Ron White --- 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] mvdevcentral

2007-11-21 Thread Steve Long
Looks like a redesign.  There is a temp site up now. Date: Wed, 21 Nov 2007
10:39:17 -0600 From: [EMAIL PROTECTED] To: u2-users@listserver.u2ug.org
Subject: [U2] mvdevcentral  Has mvdevcentral.com been shut down? When I
request the site my browser says it connected to the site and then I am
presented with a blank page.  Ron White --- 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] system builder question(s)

2007-07-16 Thread Steve Long
Kevin's book is the best, although I don't think you can get it from him
anymore.  I think you can get it from IBM though.

Steve Date: Mon, 16 Jul 2007 12:54:16 -0500 From: [EMAIL PROTECTED] To:
u2-users@listserver.u2ug.org Subject: [U2] system builder question(s)  Hey
all, I have a couple of system builder questions  1. are there any
trial/restricted version of system builder available  for linux? 2. are
there any good system builder books/turtorials/web sites  available ( I know
that Kevin King (aka the system builder guru) may  have one out and by
praising him he might be able to sell me one   thanks in advance! 
dougc  --  When you are SURE that everything in your program is correct 
AND your program STILL DOES NOT work, one thing you can be  sure of is that
something you are sure of is wrong  - unknown --- 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] Uniobjects Issue

2007-07-10 Thread Steve Long
Thanks for all the responses.  It turns out it was the UD_Database config.
The account I was working in was not defined.  Once I fixed it, it worked
famously.

Thanks for the help!

Steve From: [EMAIL PROTECTED] To: u2-users@listserver.u2ug.org Subject:
RE: [U2] Uniobjects Issue Date: Tue, 10 Jul 2007 16:45:30 +1000  Hi Steve
 If I remember rightly, there may be an issue of opening files not in the
account, ie remote files from other accounts. Check to see if this file you
are looking at is a remote file.   Another issue could be as simple as the
logon you are using does not have access rights to the file you are using. 
Regards   David Jordan --- 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] Uniobjects Issue

2007-07-09 Thread Steve Long
Hi all -

I am new to Uniobjects and have written a small test program that just reads a
specified record from a file and returns it.  This works perfectly on the PE
edition, as well as on my clien't system IF I attempt to read a standard file
like VOC or BP.  If I attempt to read a record out of a file or directory I
have created, it fails stating the file doesn't exist, when I know full well
it does, as does the record I am trying to read.

Is there a configuration I missed somewhere?

Thanks in advance.

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


RE: [U2] Users of UniVerse

2007-04-27 Thread Steve Long
Dave -

Mark is kind of right.  I used to work for ADP.  Their Dealer Management
System is actually on a very, very old version of PICK (pre-Advanced).  They
have been running it for years with extreme success.

Also, Jenkon's Summit V product is in Unidata and it has been in use for close
to a couple of decades.

HTH,

Steve Long
Spyderweb Technical Services, Inc.



 Subject: [U2] Users of UniVerse Date: Fri, 27 Apr 2007 09:28:55 -0400
From: [EMAIL PROTECTED] To: u2-users@listserver.u2ug.org  Hi, all. My
sales group has a need to convince some prospects that real companies do,
indeed, use UniVerse. Naturally and logically, there are no references on the
IBM web site. I've been tasked with coming up with the names of a few
UniVerse users - no contacts, just companies. If any of you is willing to let
it be known that your employer uses UV, please respond as soon as possible.
Of course, this was a last-minute request, so I don't have time to go through
the normal channels to get reference lists. Again, I emphasize that we're NOT
looking for contact information, and it's doubtful anyone will even think of
trying to get in touch with you; we're just facing the usual concern that UV
is a minor product at which real companies turn up their noses and sniff
haughtily before they go off and use a real system like SQL Server.  Dave
Liesse Quality Manager SSC Technologies, Inc. --- 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] Limit Textfield length

2007-03-29 Thread Steve Long

Great!  Thx



From: Womack, Adrian [EMAIL PROTECTED]
Reply-To: u2-users@listserver.u2ug.org
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Limit Textfield length
Date: Thu, 29 Mar 2007 15:01:51 +0800

Assuming you're using a standard INPUT statement, use the INPUT
variable [,length] [:] [_] format.

Eg. INPUT LINE1,78_:

Which allows the user to enter 78 characters, after which they will have
to press enter (removing the underscore will cause an automatic enter).
The colon prevents a carriage return/line feed.

But before you code anything, check to see if you haven't already got
some kind of text entry/notations subroutine floating around somewhere.
We use a home-grown subroutine which allows our users full editing
facilities for their notations (cursor up, down, casing, word wrapping,
copy  paste, etc. etc).

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steve Long
Sent: Thursday, 29 March 2007 2:21 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] Limit Textfield length

Hi all -

I have a MV field that is used for comments, so the user enters their
text on line one and by pressing enter, they can continue entering on
the 2nd line and so forth.  Standard stuff.  what I am wondering is if
there is a way to limit enter in the field so that it doesn't allow them
to continue typing and run off the screen.  Maybe even automatically
insert a carriage return when they get to the length limit.

Anyone know of a way to do this?

Thanks,

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


DISCLAIMER:
Disclaimer.  This e-mail is private and confidential. If you are not the 
intended recipient, please advise us by return e-mail immediately, and 
delete the e-mail and any attachments without using or disclosing the 
contents in any way. The views expressed in this e-mail are those of the 
author, and do not represent those of this company unless this is clearly 
indicated. You should scan this e-mail and any attachments for viruses. 
This company accepts no liability for any direct or indirect damage or loss 
resulting from the use of any attachments to this e-mail.

---
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] Limit Textfield length

2007-03-28 Thread Steve Long

Hi all -

I have a MV field that is used for comments, so the user enters their text 
on line one and by pressing enter, they can continue entering on the 2nd 
line and so forth.  Standard stuff.  what I am wondering is if there is a 
way to limit enter in the field so that it doesn't allow them to continue 
typing and run off the screen.  Maybe even automatically insert a carriage 
return when they get to the length limit.


Anyone know of a way to do this?

Thanks,

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


[U2] SB Client and Radio Buttons

2006-06-05 Thread Steve Long

Hi All -

I have an unusual issue where a screen doesn't recognize the radio button 
value right off.


The first field on the screen is a multi-value with a mandatory default.  
The Control/Dep/Read is set as controlling and do not use grid (CG).  This 
is the second screen in a series of linked screens.


When the user accesses this screen, the focus is on the multi-valued field.  
If they click on a radio button without entering any information in the 
multi-valued field, it appears to change the value of the radio button, but 
in fact it has not.  If the focus is on any other type of field, the radio 
button change is recognized immediately.


Has anyone else encountered something like this?  If so, how did you resolve 
it?


Thanks,

Steve Long
Spyderweb Technical Services
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Unidata XML

2006-04-26 Thread Steve Long
Thanks for the input Authur.  I believe this project is on 6.1 so I will 
read those manuals.


Steve



From: Metherall, Arthur [EMAIL PROTECTED]
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Unidata XML
Date: Wed, 26 Apr 2006 09:56:19 -0400

Hey Steve,

  Be careful what U2 version manual you download.

  For Unidata 6.0 the chapters are duplicated in Using UniQuery (chaps 9  
10) and Developing UniBasic Applications (chaps 12  13).


  For UniData 6.1 the chapters (UniBasic Extensions chaps 5  6 and Using 
UniQuery chaps 9  10) don't repeat and are more helpful than the 6.0 
chapters.  However IBM changed the way it handled XML.  My suggestion is if 
your running 6.0 read 6.1, then go back and read the 6.0 chapters.


  Don't know if the 7.1 docs are any better that 6.1 or if they changed 
things again.


  Good Luck.

Arthur


-Original Message-

Date: Tue, 25 Apr 2006 08:13:02 -0700
From: Steve Long [EMAIL PROTECTED]
Subject: [U2] Unidata XML

Hi All -

Does anyone know of a good resource for learning how the U2 XML works?  Is
it reliable?  I have a new project coming up and this functionality is
needed, but I haven't found anything real complete on it.

Thanks,

Steve
---
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] Unidata XML

2006-04-25 Thread Steve Long

Hi All -

Does anyone know of a good resource for learning how the U2 XML works?  Is 
it reliable?  I have a new project coming up and this functionality is 
needed, but I haven't found anything real complete on it.


Thanks,

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


RE: [U2] Unidata XML

2006-04-25 Thread Steve Long

Thanks Donald!  I am sure this will help me a ton.

Steve



From: Donald Bridges [EMAIL PROTECTED]
To: 'Steve Long' [EMAIL PROTECTED],u2-users@listserver.u2ug.org
Subject: RE: [U2] Unidata XML
Date: Tue, 25 Apr 2006 13:30:28 -0500

Hi Steve,

Welcome aboard the XML in U2 bus! I have spent the last 6 months learning
XML in U2. My previous programming background was in Lotus Notes and JAVA 
so

it has been an interesting transition. Here are some of the tips I have for
you for resources.

1. Download the U2 manuals. The main one you want for importing and
exporting XML in U2 is UniBasic Extensions.
The manuals for U2 are located at:
http://www-306.ibm.com/software/data/u2/pubs/library/
The UniBasic Extensions v7.1 manual .pdf is located at:
http://publibfi.boulder.ibm.com/epubs/pdf/29916610.pdf. Chapters 6 - 10
will
deal with XML through UniBasic, SOAP, and DOM.
There are some sections of the documentation that is lacking complete
documentation and examples, in my opinion, that will require you to
experiment to get it to work. For example, pg. 7-13  7-14 deal with 
Opening

the XML data. However, they did not include the statement XMLError(errmsg)
to debug the code when XML.ERROR = -1. This was very helpful to notify me
which areas of the code OpenXMLData was having problems.
Also, OpenXMLData is used on the same pages. It should be OPENXMLDATA. You
can use OpenXMLData as written in the .pdf example but you will have to
compile the code using -I. I had to search the List Archives for figure 
that

one out.

2. Look at the article LeRoy Dreyfuss (uber-smart guy!) wrote on
Understanding IBM U2 XML Features. This is a great read on how to setup the
.map and .ext files as well as using DB.TOXML and XML.TODB commands in
programs.
http://www-128.ibm.com/developerworks/db2/library/techarticle/dm-0601dreyfus
s/

3. Search the list archive for previous problems. Some people have probably
already experienced a problem you are having when getting your code to 
work.

This has been helpful to me on a few occasions.
You can search the archives from here: http://www.indexinfocus.com/

4. Look at the old forum at U2UG.org. There is a section out there for XML.
This is an archive of older information before this list came about to
replace it. I found a few tips out there that helped when I was trying to
find examples of extraction files.

I hope this helps you as a starting point from a newbie to the U2 world of
XML.
Donald Bridges
Sunset Programming, Inc.

-Original Message-
From: Steve Long [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 25, 2006 10:13 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] Unidata XML

Hi All -

Does anyone know of a good resource for learning how the U2 XML works?  Is
it reliable?  I have a new project coming up and this functionality is
needed, but I haven't found anything real complete on it.

Thanks,

Steve
---
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] Write failure on DIR-type file

2006-03-13 Thread Steve Long
Yep, see this and its been a problem for a while.  A company I worked for 
has a file named to as CON..  Their software was originally written in 
PICK, but when they converted it to Unidata and moved to Windows, they 
discovered they couldn't create a file with that name.


On windows, it is restricted as it refers to the DOS device Console.  To get 
by it, we named the file UDCON. and created a VOC pointer called 
CON. pointing to the UDCON. file.  Worked like a charm.


Incidentally, there are several names you can't use to create folders/files, 
such as:


CON, PRN, AUX, CLOCK$, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, 
COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9.


And to go into complete overkill on this, 
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/naming_a_file.asp 
explains naming conventions for Windows.


Hope this helps.

Steve


From: Kevin King [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: u2-users@listserver.u2ug.org
Subject: [U2] Write failure on DIR-type file
Date: Mon, 13 Mar 2006 20:55:49 -0700

Here's a weird one.  Trying to create a record in a directory file in
Unidata on Windows, and the name CON.XXX fails with a write failure.
Doesn't matter what the follows CON., this file name is apparently
illegal.

It would appear that Windows thinks any file name starting with CON.
is being interpreted as the console device.  Anyone else seen this
before?

-Kevin
[EMAIL PROTECTED]
http://www.PrecisOnline.com
---
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] Strange File Behavior

2006-02-24 Thread Steve Long

My bad.  Unidata is the platform on Window 2K.



From: Bertrand, Ron [EMAIL PROTECTED]
Reply-To: u2-users@listserver.u2ug.org
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Strange File Behavior
Date: Fri, 24 Feb 2006 19:51:06 -0800

Steve,
What are you running on?



From: [EMAIL PROTECTED] on behalf of Krytan
Sent: Fri 2/24/2006 6:23 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] Strange File Behavior



Hi all -

We have a file that has numerous reads, writes, and deletes occurring to 
it.
After a while (no set determined time or cause) all records will 
dissappear.

The strange part is, you can create a new record in the file from TCL, and
it will appear to save correctly, but if you list the file, its empty.

Has anyone else experienced this and if so, do you know what is causing it?

Thanks,

Steve
---
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] GUI Button Question

2006-02-22 Thread Steve Long

Hi All -

I am creating a GUI screen that is called from an existing screen via a 
button.  The existing screen has all F keys used, so this button's FKey is 
0.  The I process is set as a subscreen.


There are two fields on the new screen.  When I build and run it from the SD 
editor, I have access to both fields.  When I call it from the existing 
screen, I don't have access to the first field, no matter what I do.


I've never experienced this before.  Anyone have a suggestion?

Thanks,

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


RE: [U2] GUI Button Question

2006-02-22 Thread Steve Long
Checked that it was N, but resetting, rebuilding, etc. didnt fix the 
problem.  I was able to get it working by setting the fields in recalc, 
saving and executing the screen.  I removed the recalc and rebuilt again, 
and its working fine.  I think it somehow got confused.


Thanks,

Steve


From: Kevin King [EMAIL PROTECTED]
Reply-To: u2-users@listserver.u2ug.org
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] GUI Button Question
Date: Wed, 22 Feb 2006 13:46:44 -0700

Check the Allow Amend on the field definition.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steve Long
Sent: Wednesday, February 22, 2006 1:01 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] GUI Button Question

Hi All -

I am creating a GUI screen that is called from an existing screen via
a button.  The existing screen has all F keys used, so this button's
FKey is 0.  The I process is set as a subscreen.

There are two fields on the new screen.  When I build and run it from
the SD editor, I have access to both fields.  When I call it from the
existing screen, I don't have access to the first field, no matter
what I do.

I've never experienced this before.  Anyone have a suggestion?

Thanks,

Steve
---
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 Free Edition.
Version: 7.1.375 / Virus Database: 267.15.12/266 - Release Date:
2/21/2006
---
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] GUI Button Question

2006-02-22 Thread Steve Long

Sorry about that.  SB Client



From: Jeff Schasny [EMAIL PROTECTED]
Reply-To: u2-users@listserver.u2ug.org
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] GUI Button Question
Date: Wed, 22 Feb 2006 14:51:11 -0700

Creating a GUI screen using what?


Steve Long wrote:


Hi All -

I am creating a GUI screen that is called from an existing screen via a 
button.  The existing screen has all F keys used, so this button's FKey is 
0.  The I process is set as a subscreen.


There are two fields on the new screen.  When I build and run it from the 
SD editor, I have access to both fields.  When I call it from the existing 
screen, I don't have access to the first field, no matter what I do.


I've never experienced this before.  Anyone have a suggestion?

Thanks,

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




--

Jeff Schasny Westminster, CO, USA

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