[U2] Re: U2 Users Digest V1 #1216

2006-06-16 Thread Russ DeWitt
I will be out of the office Friday June 16, 2006. I will have very limited 
access to email. If you need to contact me, please try me on my cell phone. 631 
680-0691

Thanks,

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


Re: [U2] Re: [UV] Formating a XML string

2006-06-16 Thread Symeon Breen
If you are on linux you can use xml_pp - it has a few different styles you
can use and is v fast and easy to do   e.g. xml_pp -s nice  doc.xml

rgds
Symeon.

On 15/06/06, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:

Absolutely!  By using a stylesheet you can pretty-print your XML in U2
(see  the  UniBasic  XDOMTransform() function -  Google `pretty-print
xml' and you will get a plethora of hints on how to do this).

__

Does Universe have a software tool to format a XML
string so that is nicely indented ? Ei from:
 ?xml version=1.0 encoding=utf-8
? Foo FoobarXXX /Foobar /Foo
To:
 ?xml version=1.0 encoding=utf-8 ?
 Foo
 FoobarXXX /Foobar
 /Foo

**

This  email message and any files transmitted with it are confidential
and intended solely for the use of addressed recipient(s). If you have
received  this  email  in  error please notify the Spotless IS Support
Centre  (+61 3 9269 7555) immediately, who will advise further action.
This  footnote  also confirms that this email message has been scanned
for the presence of computer related viruses.

**
 ---
 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 security in an applet

2006-06-16 Thread Jeff Powell
Wendy,

The applet was trying to connect to localhost (thanks John H.). I
changed the settings there and now I'm talking to my proxy.

I now have a problem with my Proxy configuration. I am getting a
exception on applets and java applications alike.
asjava.uniobjects.UniSessionException: The RPC failed

Here is an entry from my uniproxy log
06.06.15-21.35.42-C1539168Error: addConnection() The requested item
does NOT exist.

My uniproxy.config. This is an adaptation from Ch.3 or UOJ dev. Guide.
PROXY_PORT=31448
ADMIN_PORT=31458
ADMIN_ACCESS_TOKEN=password1
BUFFER_SIZE=4096
DEBUG_LEVEL=0
MAX_CONNECTIONS=75
MAX_MULTIPLEXED_SERVERS=12
NAME_LOG=testLog
PATH_LOG=/opt/udproxy/
NETWORK_TIMEOUT=12
ACCESS_TOKEN=password2
ACCESS_TOKEN_SERVER=localhost
ACCESS_TOKEN_SERVER=localhosts_real_name
ACCESS_TOKEN_SERVER=client1
ACCESS_TOKEN_SERVER=client2.workgroup.domain.com
ACCESS_SERVER=my_ud_server

I've tried reducing everything down to just an ACCESS_TOKEN but that
gets the same results. The documentation states that any client
providing the access token should be authorized for any server if there
is only an access_token defined.


On Fri, 2006-06-16 at 05:45 +0200, Wendy Smoak wrote:


 Same machine as what?  An (unsigned) applet can only connect back to
 the server from which it was loaded.  If you have a separate web
 server and database server, the proxy needs to be running on the web
 server.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/