• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Access Webservice from Java Script

 
Dipu Mohan
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello,
i have deployed some webservices using axis...as part of a research work... how can i access them from a client using java script. i tried it with htc. but i am getting error message as "Invalid active port" even if i specify the correct port name.
But a similar service deployed with c# is working fine with HTC. i am using a redhat linux 8.0 as server(axis with tomcat) and a windows 2000 server with IE 5.5 as client. is there any other way to do the same with out using the HTC??? please help it is very urgent
regards
Dileep
 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Dipu Mohan:
hello,
i have deployed some webservices using axis...as part of a research work... how can i access them from a client using java script.

You can use MSSOAP as an activex object., Will work only in IE.
var objectSoapClass=new ActiveXObject("MSOSOAP.SoapClient30");
Try to search with this as tip in google and MSDN.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic