PDA

View Full Version : dot in path for http dataset not allowed ?


lizac
05-27-2004, 06:51 AM
Hi,

I'm trying to get xml data from an http source.

I use it this way :
<dataset name="myData" type="http" src="http://localhost:8080/uniface/wrd/run/MY_USP.genXML" />

LPS ignores it silently !

If I use a syntax like "http://localhost:8080/uniface/wrd/run/MY_USP" (with no ".genXML") then the request is made.

Is there any particular reason why this dot would not be allowed ?

lizac
05-27-2004, 07:15 AM
please forget about my post. It is now working perfectly well. I just had to make sure I include the following attributes :
type="http" and autorequest="true"

antun
05-27-2004, 08:25 AM
type="http" is implied when src starts with http: in a dataset.

Also, I think the autorequest attribute is just request="true" since LPS 2.0. If you don't have it set, you can induce the request from script by doing myData.doRequest()

-Antun