Home     |     .Net Programming    |     cSharp Home    |     Sql Server Home    |     Javascript / Client Side Development     |     Ajax Programming

Ruby on Rails Development     |     Perl Programming     |     C Programming Language     |     C++ Programming     |     IT Jobs

Python Programming Language     |     Laptop Suggestions?    |     TCL Scripting     |     Fortran Programming     |     Scheme Programming Language


 
 
Cervo Technologies
The Right Source to Outsource

MS Dynamics CRM 3.0

Javascript / Client Side Development

parsing a non-string SOAP return value in Javascript


Hi, I have some Javascript that calls SOAP services using the Mozilla
SOAP client API (Firefox 1.5 and 2.0)

When I call a service that returns a string, it works fine and I can
extract the return value.

However when the SOAP service returns anything else, even as simple as
xsd:int, I am unable to extract the return value from the SOAP
response
(though I suppose I could traverse the DOM of the SOAP response, but
that seems overkill).

Does anybody know how to do this? An example is at
http://rguha.ath.cx/~rguha/tmp/soap.html - you'll see a popup saying
'Molecular Weight:' - there should be a number after that.

If you step through the JS code, you'll see the response comes back
with
the number, but I just can't see how I can get at the int value.

Any pointers would be appreciated

Rajarshi

Add to del.icio.us | Digg this | Stumble it | Powered by Megasolutions Inc