Web Services via Javascript

I have a question for you:

At my company we use Web Services with a Delphi made Server and Classic ASP client

For doing that, we used a Delphi component called RemObjects and a Microfoft component called Soap Toolkit 3.0

This is what microsoft says about Soap toolkit:

The Microsoft SOAP Toolkit is deprecated by the .NET Framework. SOAP Toolkit support will be retired in April 2005.

We realized that Soap Toolkit 3.0 doesnt work as expected on Windows 2003 Server platforms. Which is givin a lot of headaches and unsatisfied costumers.

Since migrating all Classic ASP application to .NET seems to be a painfull and slow task...

Here is my question:

Could I just paste my web services from Soap Toolkit 3.0 to javascript, withou moving all application to .NET ?

Is this an apropiatte forum for this kind of discussion ? If not, do you know where I can find one ?

Thanks in advance.

Regards,

[1314 byte] By [jonesbrasil] at [2007-12-25]
# 1
jonesbrasil wrote:

Could I just paste my web services from Soap Toolkit 3.0 to javascript, withou moving all application to .NET ?

No. Last I know javascript doesnt support web services.

jonesbrasil wrote:

Is this an apropiatte forum for this kind of discussion ? If not, do you know where I can find one ?

Well, while most people here would have come from a non .NET background, this forum in particular is for discussing webservices and XML development around .NET. Try http://www.microsoft.com/communities/newsgroups/default.mspx to find a newsgroup/forum that suits you best.

However my recommendation to your problem would be to move to .NET if possible. Its easy and quite powerful and as an experienced developer you should find it quite easy to use for all your development needs. (I wouldnt be surprised if there was a Delphi compiler for .NET. I.e. you can write code in delphi and run it on .net platform. check out http://bdn.borland.com/article/28972 for more details).
NikhilRajwade at 2007-8-31 > top of Msdn Tech,.NET Development,ASMX Web Services and XML Serialization...
# 2

Hi jones,

Do you want consum xml web services from javascript?

Good Coding!

Javier Luna
http://guydotnetxmlwebservices.blogspot.com/

JavierLuna at 2007-8-31 > top of Msdn Tech,.NET Development,ASMX Web Services and XML Serialization...
# 3

Yes Javier, thats exactly what I want !

I've been reading a lot of books and articles about AJAX and they say its posible to do that. But I dont kwow if I′ll still need Soap Toolkit or .NET to use in combination with javascript, or is just plain javascript all the way...

Thank for everybody that posted !

Regards,

Jones

jonesbrasil at 2007-8-31 > top of Msdn Tech,.NET Development,ASMX Web Services and XML Serialization...
# 4

Hi jones,

You would have to see this article:

Consuming XML Web Services from JavaScript
http://guydotnetxmlwebservices.blogspot.com/2004/07/consuming-xml-web-services-from.html

Good Coding!

Javier Luna
http://guydotnetxmlwebservices.blogspot.com/

JavierLuna at 2007-8-31 > top of Msdn Tech,.NET Development,ASMX Web Services and XML Serialization...
# 5

Hey Javier thanks for your article !

Here is my final conclusion, correct me if Im wrong.

You can consume a Web Services with javascript. But not just javascript.

You need some server side programming of some sort.

And that server side programming got to be able to handle soap packages, like Clasic ASP with Soap Toolkit (not recommended becouse it sucks on win 2003), ASP.NET. PHP4 with nusoap or PHP5, etc...

In other words: Its not ONLY javascript

My problem is where to go from Classic ASP with Soap Toolkit 3.0 without having to rewrite everything...

Ideas are extremely welcome

We are studing the posibility of using COM+ objects, creating a dll and stuff like that, but its too soon to say something about it

Regards,

Jones

jonesbrasil at 2007-8-31 > top of Msdn Tech,.NET Development,ASMX Web Services and XML Serialization...
# 6
Write a .NET Class library that invokes web services and expose it as a COM Component. Call that in your ASP application.
NikhilRajwade at 2007-8-31 > top of Msdn Tech,.NET Development,ASMX Web Services and XML Serialization...

.NET Development Hot Topic

.NET Development New Topic

.NET Development

Site Classified