Javascript, Web Services and WSE

Hi,

I have created a Web Service and I want to add some security with WSE. I would like to know if there is there any posibility to use Javascript to call the methods from the Web Service using WSE.

I would appreciate any help or any internet resources you could provide me.

Thanks in advance.



Answer this question

Javascript, Web Services and WSE

  • Márlon

    I'm not sure if I understand your question. If you want to use JavaScript to call a WebService implemented in WSE, yes you can but you will not have a Javascript implmentation of the standards supported by WSE, and it's hard to implement them.

    But if you have a .JS file in your machine and you want to call a WebService, you can create a .NET component that calls the WebService and expose it as a COM component, then you can use:

    var f = new ActiveXObejct( 'munamespace.mynetclass' );

    then you can call the method that executes the WebService from JavaScript.

    Hope this guides you.

    Regards,

    Diego Gonzalez, [C#, MVP]

    Lagash Systems SA



  • Javascript, Web Services and WSE