473,513 Members | 2,378 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

2 servers, 2 different behaviors - what and where is the "listener"

Hi. I have a problem that I am trying to troubleshoot on a client's
production (*sigh*) servers. On one server, we will call web2 all works
well. On another server, we will call web1, the client receives and error.
Through debugging, I have isolated this client-side code:

// send SOAP request
var oHTTPPost = new ActiveXObject(XML_HTTP_OBJ);
oHTTPPost.Open("POST", sURL, false);
oHTTPPost.setRequestHeader("Content-type", "text/xml");
oHTTPPost.setRequestHeader("SOAPAction", sNamespace + sMethod);
oHTTPPost.send(xmlDoc.xml); <-------------NOTE THIS BIG MEANIE line of
code.
// get SOAP response
var oResult = oHTTPPost.responseXML.documentElement;
if (null == oResult) throw("SOAP error: no responseXML");
var oBody = oResult.selectSingleNode("soap:Body");
if (null == oBody) throw("SOAP error: no soap:Body");
On web1, the oResult is null. On web4, oResult is lovely. And not null. I
can access this in the debugger and find that after the big meanie line of
code is executed oHTTPPost.status = 500 and oHTTPPost.statusText = "Internal
Server Error"

Not good.

I can tell that the method in the asmx file on the server which is supposed
to be called is not. (I put logging into the Application Event log. No logs
occurred. Logging definitely works fine.)

I know next to nothing about SOAP. How do I find out what port the listener
is one and what the listener IS? Presumably if I am making a request, then
something has to be listening to respond. I am not sure these are even
pertinent questions, but there is something about how the request is being
handled on the two servers.

Any pointers on what I can pursue to isolate these differences?

Thanks for any tips. I am stumped.

Thanks.

Stephanie
Nov 21 '05 #1
1 1497
CG
Most likely you are using port 80 to listen to your web service request.
Since, most of the people use HTTP as default protocol for HTTP request.

Verify what you are sending in xml document from both machines.

"Stephanie Stowe" wrote:
Hi. I have a problem that I am trying to troubleshoot on a client's
production (*sigh*) servers. On one server, we will call web2 all works
well. On another server, we will call web1, the client receives and error.
Through debugging, I have isolated this client-side code:

// send SOAP request
var oHTTPPost = new ActiveXObject(XML_HTTP_OBJ);
oHTTPPost.Open("POST", sURL, false);
oHTTPPost.setRequestHeader("Content-type", "text/xml");
oHTTPPost.setRequestHeader("SOAPAction", sNamespace + sMethod);
oHTTPPost.send(xmlDoc.xml); <-------------NOTE THIS BIG MEANIE line of
code.
// get SOAP response
var oResult = oHTTPPost.responseXML.documentElement;
if (null == oResult) throw("SOAP error: no responseXML");
var oBody = oResult.selectSingleNode("soap:Body");
if (null == oBody) throw("SOAP error: no soap:Body");
On web1, the oResult is null. On web4, oResult is lovely. And not null. I
can access this in the debugger and find that after the big meanie line of
code is executed oHTTPPost.status = 500 and oHTTPPost.statusText = "Internal
Server Error"

Not good.

I can tell that the method in the asmx file on the server which is supposed
to be called is not. (I put logging into the Application Event log. No logs
occurred. Logging definitely works fine.)

I know next to nothing about SOAP. How do I find out what port the listener
is one and what the listener IS? Presumably if I am making a request, then
something has to be listening to respond. I am not sure these are even
pertinent questions, but there is something about how the request is being
handled on the two servers.

Any pointers on what I can pursue to isolate these differences?

Thanks for any tips. I am stumped.

Thanks.

Stephanie

Nov 21 '05 #2

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

Similar topics

33
2960
by: Steven Bethard | last post by:
I feel like this has probably been answered before, but I couldn't find something quite like it in the archives. Feel free to point me somewhere if you know where this has already been answered. ...
1
2076
by: Hari Om | last post by:
I am using Oracle 9.2.0.4 on IBM AIX 5.1 L System. Our DB Server had IP of "100.101.102.103" and our Tomcat Application Server (IP of 200.201.202.203) used to talk to above DB onn Port 1521. The...
4
57080
by: Christian Eriksson | last post by:
Hi! I want to clarify, for myself, some basic facts about Oracle Client Server configuration. I start with the listener configuration on the server side. What block(s) in what configuration...
1
4247
by: Ryan | last post by:
I'm wondering how to set up an event in c# that fires whenever a certain object changes. Can this be done? thnx
4
12123
by: Manuel | last post by:
I think I can't find this on google/books because is soooooooo basic... This function assign a listner pointer to an image widget: ------------------------------------------------------ void...
2
46680
by: Richard | last post by:
Our web programmer was looking in his application log an found the following error: 2006-08-31 16:33:35,129 ERROR org.hibernate.util.JDBCExceptionReporter - < SQL0723N An error occurred in a...
1
19746
by: smita81 | last post by:
Hi, I have a problem while trying to login to toad. My operating system is WINDOWS XP. I have Oracle 9i at my system. I installed the Toad into the system.When I start the Toad "Toad Server...
1
1694
by: Hari Om | last post by:
I am using Oracle 9.2.0.4 on IBM AIX 5.1 L System. Our DB Server had IP of "100.101.102.103" and our Tomcat Application Server (IP of 200.201.202.203) used to talk to above DB onn Port 1521. The...
6
7506
by: Gregor Kofler | last post by:
I'm trying to "detect" a keydown event in a DIV. The idea have a keydown listener attached to document and forward the event to the div. (I've searched the web, but it was impossible to handle...
0
7267
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,...
0
7175
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...
0
7391
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7553
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...
1
7120
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...
0
7542
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...
1
5100
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3247
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...
0
466
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.