469,923 Members | 1,350 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,923 developers. It's quick & easy.

javascript implementation of XMLHTTP and SOAP objects?

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
Jul 23 '05 #1
6 1804
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.javascript FAQ - http://jibbering.com/faq/

Jul 23 '05 #2


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/

Jul 23 '05 #3
On Wed, 26 May 2004 16:41:08 +0200, Martin Honnen <ma*******@yahoo.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.javascript FAQ - http://jibbering.com/faq/

Jul 23 '05 #4


Jim Ley wrote:
On Wed, 26 May 2004 16:41:08 +0200, Martin Honnen <ma*******@yahoo.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.


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/

Jul 23 '05 #5
> >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.javascript FAQ - http://jibbering.com/faq/

Jul 23 '05 #6

"Martin Honnen" <ma*******@yahoo.de> wrote in message
news:40********@olaf.komtel.net...


Jim Ley wrote:
On Wed, 26 May 2004 16:41:08 +0200, Martin Honnen <ma*******@yahoo.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.


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/

Jul 23 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by Eric Osman | last post: by
2 posts views Thread by Kapil Shah | last post: by
3 posts views Thread by BjörnHolmberg | last post: by
4 posts views Thread by Saber | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.