Web Connection 5.0
wwxml and wwsocket problems
10/04/2008
11:56:16 PM
2HA1FB4R7 Show this entire thread in new window
From:
greg dohm
To:
All
Attachments:
None
Hi there,

I'm trying to send a command defined in XML with UTF-8 encoding via sockets to a 3rd party application. So far (with no luck) I have taken the following approach:

lccmd = [<?xml version="1.0" encoding="UTF-8"?><Command group="default" type="add_user" user_id="1001" />]

lcServer = [127.0.0.1]
lnPort = 11115
lnTimeout = 15

lcreturn = loIP.socketsend(lccmd,lcServer,lnPort,lnTimeout,@lcError)

*****
So far, all that happens is the loIP.socketsend times out, as indicated by the lcError parameter.

I am new to xml and UTF-8 encoding and am hoping this will be obvious to someone. Thanks.

Greg