473,625 Members | 3,201 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Out of band calls in Netscape

Hi all -

I have a page using asynchronous out of band calls to a Web Service
located on a server that is on the network. The web service is located
on the machine where the pages are being served. It works the way I
want it to, but there are 2 problems I see.
1) There appears to be a memory leak, with every subsequent call it
seems, the memory that netscp.exe takes up keeps climbing.
2) Every time a call to the web service is made, the dropdown lists on
the page (and on the entire browser, including File, Edit, etc, get
killed, meaning if a user is looking at the contents of a dropdownlist,
upon the web service call, it effectively de-selects the dropdownlist.
I'm guessing that the browser's lists get killed when a SOAP response
is received... Thanks in advance for any help you can offer.

Jul 23 '05 #1
3 1423


M B HONG 20 wrote:

1) There appears to be a memory leak, with every subsequent call it
seems, the memory that netscp.exe takes up keeps climbing.
Are you still working with Netscape 7.0 or is that memory leak also
occuring with 7.2?
It is very difficult to suggest what do against a leak without seeing
your code as usually the leak is a bug that needs to be fixed in the
browser code so all script solutions to the problem are usually then
workarounds rewriting the existing code so that it still works but
hopefully does no longer leak.
2) Every time a call to the web service is made, the dropdown lists on
the page (and on the entire browser, including File, Edit, etc, get
killed, meaning if a user is looking at the contents of a dropdownlist,
upon the web service call, it effectively de-selects the dropdownlist.


That sounds a bit odd, do you have a URL where that can be visited?
Again the question which version(s) of Netscape is that happening with?

--

Martin Honnen
http://JavaScript.FAQTs.com/
Jul 23 '05 #2
Martin - thanks for replying

I am working with Netscape 7.0. I tested the page with Firefox 1.0.3,
and the memory leak appears to be at a much slower rate, and the leak
stops eventually. However, I need to get this working for Netscape
7.0. Here is my code, maybe there is an obvious problem i am not
seeing.

function refresh(callbac k)
{
var refreshCall = new SOAPCall();
refreshcall.tra nsportURI = "...";
refreshcall.act ionURI = "...";
refreshcall.enc ode (...);
refreshcall.asy ncInvoke(
function (response, soapCall, error)
{
var r = hanldeSOAPRespo nse( response, soapCall,
error);
callback(r);
}
);
}

function handleSOAPRespo nse (response, soapCall, error)
{
if(error != 0)
{
alert("service failure");
return false;
}
else
{
var fault = response.fault;
if (fault != null)
{
alert (response.fault );
return false;
}
else
{
return response;
}
}
}

function ParseResult(res ult)
{
var responseValues = result.getParam eters(false, {});
var firstValue = responseValues[0].value;
document.Form1. elements["TextBox2"].value = firstValue;
}

window.setInter val('refresh(Pa rseResult);', 250);

In testing with FireFox 1.0.3 and Netscape 7.0, the memory is much
better handled in FireFox, but the dropdown problem occurs in both
browsers. I don't have a domain or anything you can visit, but
basically if I have a Netscape window with the above script in it open,
and if i open another browser window and open lets say, eBay, the
dropdownlists in that new eBay page will disappear every 250 ms or
whatever interval I have defined for the SOAP call. It is a strange
problem and I'm surprised no one has ever seen it before... anyways
thanks in advance for your help.

p.s. The dropdownlist problem also occurs when the Web Service is on my
localmachine.

Jul 23 '05 #3


M B HONG 20 wrote:

function refresh(callbac k)
{
var refreshCall = new SOAPCall();
refreshcall.tra nsportURI = "...";
refreshcall.act ionURI = "...";
refreshcall.enc ode (...);


At least that snippet looks as if you create a new SOAPCall object for
each request although you do not need to as you do not seem to have
different transportURI/actionURI/encode arguments. So to try to avoid a
leak you could create only one SOAPCall object and reuse it. As said
that is a suggestion to reorder the code to try to avoid the leak, I
cannot guarantee that it improves anything.
--

Martin Honnen
http://JavaScript.FAQTs.com/
Jul 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
435
by: Craig | last post by:
Has anyone done any development with Internet Explorer band objects in VB.NET? If so, how did you resolve the issue surrounding IEs failure to process the backspace keydown event for edit controls hosted within band objects? I've found several C++ examples addressing this problem, and they do so by implementing the TranslateAcceleratorIO method. However, even though I have this method implemented in my bandobject class, IE never calls...
0
1014
by: Kevin Menard | last post by:
Hi, I have a project that is both an explorer band and a BHO. I'm using WISE to take a snapshot of the system after I do a "regasm" followed by a "regasm /codebase". Running this on a system gets it all set up, but unfortunately, the installer (which needs to work system-wide, so anything in %APPDATA% and HKCU are ignored) doesn't seem to set things up properly when I run on a different system. The BHO works fine, but the explorer...
3
2018
by: Rainer Krauss | last post by:
I would like to code (just for learning) some band objects for Internet Explorer. To start with, i simply like to add a button to the Browser called "Trace". Pressing it should open a band like the "history" showing the results of a traceroute to the site that is currently in the URL. I'm still new to Visual Studio and C# and even Windows programming. I don't have a Visual C++ background, so i don't know much about ActiveX, ATL or COM...
4
1211
by: Dave | last post by:
Hi. I am interested in developing an IE band (small toolbar with buttons, etc;) and I was thinking maybe write it in c#. will this band after building it work on all os ? like: 98, win2k, xp ? Thanks a lot in advance for any help. if you think I have to use c++, let me know. Also, if someone have a nice starting point for writing IE toolbars with c#, I will be very thankful.
2
3473
by: Tom Gerstner | last post by:
Dear all, I'm trying to program a IE Toolbar similar to the Google Bar in C# using Band Objects. Everything works fine but my TextBox (which I use to search the Internet) is not responding the accelerated keys like "backspace". I do not even get the KeyDown/KeyPress event for this keys for the textbox :-( (I assume my IE (parent window?) catches these events before). How can I solve this?
0
312
by: Craig | last post by:
Has anyone done any development with Internet Explorer band objects in VB.NET? If so, how did you resolve the issue surrounding IEs failure to process the backspace keydown event for edit controls hosted within band objects? I've found several C++ examples addressing this problem, and they do so by implementing the TranslateAcceleratorIO method. However, even though I have this method implemented in my bandobject class, IE never calls...
0
1548
by: Ben3eeE | last post by:
I got one too hard for me to fix problem. I know the cause and i know why but i cant fix it. I am using a "Rubber band" like function, drawing a rectangle on an image in a picturebox that i loaded. Now i want to Cut out the part i marked with the "Rubber band" and load that image in the picturebox. This works great and i can save that image as i want to. The problem is that the image loaded is smaller cause when i load the image i use...
2
1130
by: ruvolojf | last post by:
Hi all! I am new to this group but not so new to web programming. However I am having a problem that I have not encountered before. I have a function that when called from another function fires up in IE but just hangs in Netscape. Here is the call to the function... var colArr = new Array(); colArr = RemoveEmbeddedCommas(caseLogArr); caseLogArr is an array of strings. I have a string that has fields delimited by commas, however, I...
0
1804
by: =?Utf-8?B?TXVuaXNoIFNpbmdsYQ==?= | last post by:
Hi, i am working on creating bandobject in dot net. i have created band object sucessfully. but to show that band object in taskbar i have to right click & then click on tollbar, then i have to select my bandobject. But my requirement is to show band object automatically, without right click on taskbar. i am taking help from http://www.codeproject.com/KB/shell/dotnetbandobjects.aspx?df=100&tid=2138288&forumid=3788&select=2138288 also i...
0
8253
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8189
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8635
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8354
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8497
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5570
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4089
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4192
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1802
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.