XML To Notes Document

Dear Friends,

I need you help to fetch data from a website “https://www.tgasime.health.gov.au/SIME/ARTG/ARTGPublicWeb.nsf/MEDpublic?readviewentries&Start=1&count=100”, I am able to fetch the data when I run the agent manually, but when it is schedule on Server the .open method returns null…

Following is the explaination of what i am trying to do…

url = “https://www.tgasime.health.gov.au/SIME/ARTG/ARTGPublicWeb.nsf/MEDpublic?readviewentries&Start=“+Cstr(MinCounter)+”&count=”+Cstr(Counter) – URL Which fetches data

Call XMLHTTPObj.open(“GET”,url,False,FID, FPassword) — To get the data

Call XMLHTTPObj.send(Null) –

XMLHTTPObj.responseText – returns the response in Xml Format…

once i get the response text… i do the following code…

Set domParser = Session.CreateDOMParser(XMLtext$)

domParser.Process

after the above statement…i traverse the xml that i have received as a response text…

Set rootElement = domParser.Document.DocumentElement

Set rootAttributeNode = rootElement.GetAttributeNode(“toplevelentries”)

etc/…

as i told you, i am able to run the agent when I am running it manually from my local pc…but when it is scheduled on server…it doesnt…work…after,also I am unable to run the agent manually on server…

Call XMLHTTPObj.open(“GET”,url,False,FID, FPassword) —

Call XMLHTTPObj.send(Null) –

i.e it returns nothing…

Kindly help & guide for the same,

Thanks in Advance,

Sneha

Subject: XML To Notes Document

I have replied your previous posting. please check

Subject: RE: XML To Notes Document

Hi,

Thanks for the replies,

Could you give me any dummy code to create any java HTTP object ?

Subject: RE: XML To Notes Document

Send me email

Thanks

cts_janardan@yahoo.com

Subject: XML To Notes Document

It sounds like a firewall issue. Have you tried remoting into the server and running the url? Most servers in a corporation do not allow HTTP access outside the internal firewalls (some are locked down ever more than that).