Hi all,
Im trying to run some code inside an asp page to talk to a web service.
The web service is on a machine that can be seen from the outside world (it has an external ip routed via a firewall).
It doesnt return any values just indicates that a certain page was called by a certain user.
This works fine when I:
1. Run the asp page internally to the internal server name.
2. Run an application outside our network connecting to the external web service.
But when I try and run the asp externally the script dont work, and it doesnt error either.
The web server is IIS6 and the asp page is not asp.net.
Heres the code for the webserivce:
postUrl = "
http://XXXX/service.asmx/InfoUpdate"
Set xmlhttp = server.Createobject("MSXML
2.XMLHTTP"
)
xmlhttp.Open "POST",postUrl,false
xmlhttp.setRequestHeader "Content-Type","applicatio
n/x-www-fo
rm-urlenco
ded"
DataToSend="Source= & UserID
xmlhttp.send DataToSend
Theres nothing wrong with the web service. To test this I created a default helloworld version and this didnt work either externally from the asp page. Although you can run the servce.asmx file ok from a browser and connected externally via an application.
Is there something Im missing regarding asp pages and the way they can utilize web services?
Thanks in advance
K.
Start Free Trial