Shall I implement this in javascript?

A

Alex Y Wang

Hi all, I need to add a new functionality to our product, where I need
to access some web services. Since our product is completely written
in C++ thus I implemented this initially in C++ as well. However, the
function requires changes frequently and maintaining the changes in C+
+ with MS Soap toolkit is becoming a pain because it's no longer
supported by Microsoft any more. Therefore, I'm considering
implementing this using javascript and use an embedded IE control for
the user interface. I'm new to javascript so I'm not sure if this is
feasible at all. The web service accesses are through intranet inside
our company so I think security is not much of concern. Will anybody
please give me some advice on this? Thanks in advance.
 
B

beegee

Hi all, I need to add a new functionality to our product, where I need
to access some web services. Since our product is completely written
in C++ ...<SNIP>
I'm considering
implementing this using javascript and use an embedded IE control for
the user interface.

I'll take a simplistic shot at it. What sort of interfaces does the
IE Control expose? In, particular, will you be able to retrieve
values of DOM elements from it? The reason I ask is because
javascript in a browser has no file system access, in fact no system
resource access whatsoever for security reasons (intranet or internet
doesn't matter). If the COM interface access of the IE Control let's
you overcome this problem, then, yeah it's a great idea. There is
nothing simpler and more flexible than coding up AJAX for your web
services in javascript. And, of course your UI can be as beautiful or
utilitarian as you want.

Bob
 

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

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,813
Latest member
lawrwtwinkle111

Latest Threads

Top