I posted a while ago but noone had any answers. Since then I have
narrowed down my issue to the following:
I'm running uniVerse 22.214.171.124 on dg/ux unix 4.20 mu07
I need to use callHTTP to take data and post it to a BEA Weblogic
server, that listens on port 7001 - default is the login for
peoplesoft, if you goto ip:7001/servlets/gateway you are now talking
with the application messenger that takes in an xml document that you
post to it, processes it and updates the oracle database (we are using
peoplesoft on top of oracle)
My problem is, if I use call http and issue the following:
REQUEST.STATUS = createRequest(URL,"POST",WEB.HANDLE) where URL =
http://i.p:portno/servlets/gateway - This works fine abd returns a
code of 0
I get an error 3 when the actual SUBMIT.STATUS =
occurs - this according to the documentation is a network
What happens is, somthing is telling the api to encode the colon
between the i.p and the portno and it turns it into a hex %3A which is
the hex value for the colon.
Because of this, the program wont connect to the other side, via
apache 1.34 and post the xml document.
Anyone have any clues.
Do I need to change the default headers? If so, to what, I'm at a
Does someone know of a way of faking this? I tried posting back to the
same machine that this database runs on and told it to goto a
directory and an index.html that doesnt exist, which in turn fires of
.httaccess which does a redirect to the i.p:portno/servlets/gateway
but this didnt work either.
When monitoring the above fake post, it comes back with an OK status
code from apache but my monitoring software shows the first ping go
out, then no data getting redirected, then the ending ping.
I guess, is it even possible to post xml to another machine from
universe? Im not sure the addRequestParameter we have is correct
either. Because its XML, we really dont have the standard var<J,1>
var<J,2> etc setup, just a for next loop stuffing each line of the xml
document into var<J> Example code:
MAXV = COUNT(WEB_VAR,CHAR(253))
FOR J = 1 TO MAXV
PARAM.STATUS = addRequestParameter(WEB.HANDLE,"",WEB_VAR<J>,"")
NEXT J <I've tried this with WEB_VAR<J> in the first position opposed
to the two "" also>
Im really stumped and have passed a deadline by 2 weeks now. any
helped would be extremely appreciated. Suggestions for work arounds
most welcome also.