By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,598 Members | 1,894 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,598 IT Pros & Developers. It's quick & easy.

javascript SOAP objects

P: n/a

I've been building myself a smart SOAP object
whose constructor takes the url of a .wsdl file
and dynamicly creates methods identical in name
to the description in whatever .wsdl file it's declared with

new DCwsdl('http://www.weather.gov/forecasts/xml/DWMLgen/wsdl/ndfdXML.wsdl')

calling the wsdl methods with no arguments returns an object
describing the names and soap data types of the parameters expected.

calling the function with an object causes matching
members in the object to be formated into a soap request.

In each calling method , the last parameter is a callback function
which will receive the results of the SOAP request as an object
structured per the information in the .wsdl file in play.

There are also various and sundry methods for mining the wsdl
information

So the question is asside from automatic method discovery
object/soap marshalling, what else would be cool
to have in a soap class?

--
--.
--=<> Dr. Clue (A.K.A. Ian A. Storms) <>=-- C++,HTML, CSS,Javascript
--=<> Internet Programming since 1994 <>=-- DHTML NSAPI TCP/IP
--=<> http://resume.drclue.net <>=-- AJAX, SOAP, XML, HTTP
--=<> http://www.drclue.net <>=-- SERVLETS,TCP/IP, SQL
--.
Oct 9 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Could you share the code you have allready?

Dr Clue wrote:
I've been building myself a smart SOAP object
whose constructor takes the url of a .wsdl file
and dynamicly creates methods identical in name
to the description in whatever .wsdl file it's declared with

new DCwsdl('http://www.weather.gov/forecasts/xml/DWMLgen/wsdl/ndfdXML.wsdl')

calling the wsdl methods with no arguments returns an object
describing the names and soap data types of the parameters expected.

calling the function with an object causes matching
members in the object to be formated into a soap request.

In each calling method , the last parameter is a callback function
which will receive the results of the SOAP request as an object
structured per the information in the .wsdl file in play.

There are also various and sundry methods for mining the wsdl
information

So the question is asside from automatic method discovery
object/soap marshalling, what else would be cool
to have in a soap class?

--
--.
--=<> Dr. Clue (A.K.A. Ian A. Storms) <>=-- C++,HTML, CSS,Javascript
--=<> Internet Programming since 1994 <>=-- DHTML NSAPI TCP/IP
--=<> http://resume.drclue.net <>=-- AJAX, SOAP, XML, HTTP
--=<> http://www.drclue.net <>=-- SERVLETS,TCP/IP, SQL
--.


Oct 13 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.