ASP.NET webservice & Javascript

K

Karl

Can Javascript code catch an exception thrown in an ASP.NET webservice?
(Using XMLHTTPRequest object to send the SOAP message to the webservice.)

If so, what't the Javascript syntax please?

TIA
 
G

Guest

You can pull apart a SOAP message in JavaScript and interrogate it, if that
is your desire. It is treated as a collection of objects, if I remember
correctly. You have to know what you are going to receive when you get an
error.

I assume you are attempting some form of Ajax type implementation? If so,
consider something like Ajax .NET, as there are some facilities already coded
in to help you with this stuff.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************
 
M

mathertel

There is a AJAX Engine available that is implemented upon the
WebService protocols SOAP and WSDL for the client-server communication.
See http://www.mathertel.de.
You can find a WebService Client in JavaScript there too that works
with IE and FireFox/Mozilla.
The server side is based in ASP.NET and C# and there are web controls
that make the implementation really easy.

Microsoft has announced to support WebServices too with the upcomming
ATLAS framework.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top