I don't know enough about the technology yet to know whether this
is a ridiculous question-- but is there no cross-browser
javascript implementation of XMLHTTP and SOAP for use in calling
web services? It looks as though MSFT expects the client to be
running Windows and ActiveX and have certain DLLs installed; and
Mozilla seems to have its own implementation of SOAP. Is it
possible to implement these protocols in pure client-side
javascript?
Thanks!
Timo 6 1956
On Tue, 25 May 2004 20:44:34 -0400, Timo <Ti**@anonymous .biz> wrote: I don't know enough about the technology yet to know whether this is a ridiculous question-- but is there no cross-browser javascript implementation of XMLHTTP and SOAP for use in calling web services? It looks as though MSFT expects the client to be running Windows and ActiveX and have certain DLLs installed; and Mozilla seems to have its own implementation of SOAP. Is it possible to implement these protocols in pure client-side javascript?
Nope, you need something to perform HTTP - SOAP is a bad idea though
anyway.
HTTP objects are provided by safari, IE and mozilla and have identical
interfaces, but different constructors.
Jim.
--
comp.lang.javas cript FAQ - http://jibbering.com/faq/
Jim Ley wrote: HTTP objects are provided by safari, IE and mozilla and have identical interfaces, but different constructors.
I didn't know about that Safari feature so far and have now Mac here to
test. Does Safari simply implement the same constructor as Mozilla, i.e.
XMLHttpRequest, or what is needed for Safari?
--
Martin Honnen http://JavaScript.FAQTs.com/
On Wed, 26 May 2004 16:41:08 +0200, Martin Honnen <ma*******@yaho o.de>
wrote:
Jim Ley wrote:
HTTP objects are provided by safari, IE and mozilla and have identical interfaces, but different constructors.
I didn't know about that Safari feature so far and have now Mac here to test. Does Safari simply implement the same constructor as Mozilla, i.e. XMLHttpRequest , or what is needed for Safari?
I believe so, I also haven't yet managed to see it in action or test,
the code in GMail which reportedly works in Safari just has Mozilla
and IE paths.
Jim.
--
comp.lang.javas cript FAQ - http://jibbering.com/faq/
Jim Ley wrote: On Wed, 26 May 2004 16:41:08 +0200, Martin Honnen <ma*******@yaho o.de> wrote:
Jim Ley wrote: HTTP objects are provided by safari, IE and mozilla and have identical interfaces , but different constructors.
I didn't know about that Safari feature so far and have now Mac here to test. Does Safari simply implement the same constructor as Mozilla, i.e. XMLHttpReques t, or what is needed for Safari?
I believe so, I also haven't yet managed to see it in action or test, the code in GMail which reportedly works in Safari just has Mozilla and IE paths.
Yes, I have just searched around on Apple's site and the article http://developer.apple.com/internet/...mlhttpreq.html
clearly says and shows that since Safari 1.2 XMLHttpRequest is
implemented in Safari following the Mozilla implementation.
If only Opera had already done the same but they are probably doing it: http://groups.google.com/groups?hl=e...news.opera.com
--
Martin Honnen http://JavaScript.FAQTs.com/
> >I didn't know about that Safari feature so far and have now Mac here to test. Does Safari simply implement the same constructor as Mozilla, i.e. XMLHttpRequest , or what is needed for Safari? I believe so, I also haven't yet managed to see it in action or test, the code in GMail which reportedly works in Safari just has Mozilla and IE paths.
XMLhttp Request works fine with Safari (Mac Mozilla too) using the
constructor method you detailed in http://jibbering.com/2002/4/httprequest.html
Jim. -- comp.lang.javas cript FAQ - http://jibbering.com/faq/
"Martin Honnen" <ma*******@yaho o.de> wrote in message
news:40******** @olaf.komtel.ne t...
Jim Ley wrote:
On Wed, 26 May 2004 16:41:08 +0200, Martin Honnen <ma*******@yaho o.de> wrote:
Jim Ley wrote: HTTP objects are provided by safari, IE and mozilla and have identical interfaces , but different constructors.
I didn't know about that Safari feature so far and have now Mac here to test. Does Safari simply implement the same constructor as Mozilla, i.e. XMLHttpReques t, or what is needed for Safari?
I believe so, I also haven't yet managed to see it in action or test, the code in GMail which reportedly works in Safari just has Mozilla and IE paths.
Yes, I have just searched around on Apple's site and the article http://developer.apple.com/internet/...mlhttpreq.html clearly says and shows that since Safari 1.2 XMLHttpRequest is implemented in Safari following the Mozilla implementation.
If only Opera had already done the same but they are probably doing it:
http://groups.google.com/groups?hl=e...news.opera.com
WOW, great news! I use it extensively in my PHP applications and I always
have to sniff it out and serve up an alternate for Opera and the other non
supporting browsers.
Martin Honnen http://JavaScript.FAQTs.com/ This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Eric Osman |
last post by:
If my question sounds ill-formed, please cut me some slack as I'm just
getting started with this part of the code.
We're trying to do an axis soap interface, that is, talk to a site that
already has a defined "dtd" .
I've already seen some java examples that use SOAP and AXIS to do the
communication.
However, we'd like to communicate from client-side javascript instead of
|
by: Kapil Shah |
last post by:
Hello Everybody,
I am trying to develop code to use the correct version of XMLHTTP and
use it to send SOAP envelope to WebService . The code works fine for the
first time but then after that I get an error that objHttp(XMLHTTP) is
null or not an object. Pls guide where I am going wrong?
Rahil
<script language="jscript">
var objXmlDoc;
|
by: Josh Harris |
last post by:
You can copy and paste the following into a .aspx page (change names
for your purpose) and it will call a webservice on every 1 minute. I
used this piece of code for the purpose of refreshing a datagrid
without having to make a postback to the server.
<script language="javascript">
function startRefreshDelay() {
UpdateGrid();
timer = setTimeout("startRefreshDelay()",60000);
|
by: BjörnHolmberg |
last post by:
I'm trying to consume a WS from Excel (Office 98), seems that I can't
send arguments into the WS. In order to pinpoint the problem I've
written the following application i C# and VB6. It reproduces exaclty
the same problem with less code. Any hints on how to solve this would be
greatly appreciated. /Regards Björn
The webservice is:
using System;
using System.Web.Services;
|
by: Saber |
last post by:
When users come to website, I want to identify them (browser, referrer,
....).
I am doing it in global.asax, well, when they type www . sitename . com
the global.asax identify them and redirect them to another page.
in my site, there are lots of html and other stuff, how to identify them
when they
directly go to www. sitename . com / filename.html ?
I use shared host service, and so can not configure IIS to handle html
files.
| |
by: DSmith1974 |
last post by:
Hi All,
After creating an end-point with batches enabled using SQL Server 2005,
I can easily query a database and have xml returned from within
javascript using something like Pablo's code (below).
But, if I try the same code from VB6 or VB.NET (a straight forward port
- swap ActiveXObject for CreateObject, remove ';'s etc) I always get
'Incorrect Parameter' on the send method of xmlhttp.
|
by: magister pips |
last post by:
Hello, I have encountered some strange behaviour when using the
XMLHTTP Request object in Javascript to return xml from a C#
Webservice Method. I create a SOAP envelope and send it off to the
Webservice, which I have debug points in, which when hit I can see
that all the parameters are coming thru as null. I can't figure out
why this is, any experts out there would be a great help.
Here is my Javascript:
function showMsga()
|
by: magister pips |
last post by:
Hello, I have encountered some strange behaviour when using the
XMLHTTP Request object in Javascript to return xml from a C#
Webservice Method. I create a SOAP envelope and send it off to the
Webservice, which I have debug points in, which when hit I can see
that all the parameters are coming thru as null. I can't figure out
why this is, any experts out there would be a great help.
Here is my Javascript:
|
by: magister pips |
last post by:
Hello, I have encountered some strange behaviour when using the
XMLHTTP Request object in Javascript to return xml from a C#
Webservice Method. I create a SOAP envelope and send it off to the
Webservice, which I have debug points in, which when hit I can see
that all the parameters are coming thru as null. I can't figure out
why this is, any experts out there would be a great help.
Here is my Javascript:
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |