in
Creating Smarter Networks

JavaScript call SOAP XML/Webservice

Last post 06-25-2008 11:03 AM by zbessler. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 05-20-2008 12:09 PM

    • tomeyeh
    • Top 25 Contributor
    • Joined on 05-13-2008
    • Posts 2
    • Points 40

    JavaScript call SOAP XML/Webservice

    Hi,

    Does any sample available which is use JavaScript send a SOAP message to SmartServer and get feedback also.

    I know the earliy version of i.LON 100 e2 ~ e3 provide a SOAPTESTER.HTML tool; however, I can not found it on SmartServer now.

    Thanks

     

    Tom

     

    • Post Points: 20
  • 05-23-2008 3:11 AM In reply to

    Re: JavaScript call SOAP XML/Webservice

     Hi Tom

      For all I know no Javascript samples are officially provided by echelon. The SOAP tester was indeed discontinued in e4. You have two options:

    1. You do everything yourself. As far as I know there are no open AJAX libraries that do the SOAP-> Javascrip data binding for you -  at least none that handle the complex data structures that the SmartServer employs. Using Microsoft's HTC file for this purpose as was done in e3 may or may not work with e4 because the HTC does not support the use of XML attributes. However, if you have sufficient ressources and want to ship a complex AJAX App for the iLON, you should consult the SmartServer Programmer's Reference which documents the SOAP API (I think you'll get that document if you purchase an FPM devel toolkit) and with that information you can start you own AJAX App.
    2. If you envision less ambitious projects you should have a look at the e4 i.LON Vision documentation in the User's guide. If all you want to do is read and write data points, you'll find that the Custom Javascript Object will provide you with a very simple interface for just that purpose.

    Regards

    Thorsten 

    • Post Points: 20
  • 06-25-2008 11:03 AM In reply to

    • zbessler
    • Top 25 Contributor
    • Joined on 06-25-2008
    • Posts 2
    • Points 10

    Re: JavaScript call SOAP XML/Webservice

     Your message frightes me a little Tom. 

    Here is what I am trying to do and I wonder if anyone out there can help.  I am putting together a page using Adobe Contribute, iLON vision, and some javascript.  I am trying to get points like the mac address, subnet and gateway.  None of those are points naturally on the iLON, accessible through iLON vision, but it seems there is one SOAP request that has it all sited from the programmers reference. "SI_NETWORK" However, I know a little javascript (I've been learning as I make the page) and I know nothing at all about SOAP.  I have been trying all day following different guides on the internet with no result.

     

    So does anyone out there have a working example, or can point me to one, that were complete a SOAP request via javascript

    Filed under: ,
    • Post Points: 5
Page 1 of 1 (3 items)
©2008 Echelon Corporation