The moose likes Web Services and the fly likes Access Webservice from Java Script Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "Access Webservice from Java Script" Watch "Access Webservice from Java Script" New topic
Author

Access Webservice from Java Script

Dipu Mohan
Greenhorn

Joined: Mar 15, 2004
Posts: 1
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

Joined: Jul 13, 2001
Posts: 3150
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.


Spritle Software Blogs
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Access Webservice from Java Script
 
Similar Threads
calling webservice by sending soap/xml request?
Axis Fault: System.Exception: Signature Verification Failed
SOAPAction
How to connect to the internet behind proxy ?
getting internal server error(500)