473,396 Members | 1,990 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Third party web services "object not set to an instance of an object"

aaa
I am using a third party provider for Travel related web services. These
services are not very well documented and I am having to wing my way thru
nearly every one.

Some I can pull data from just fine others bomb when assigning criteria to
the body of it's request object ("object not set to an instance of an
object").

I am essentially creating nodes programatically to buld the XML that gets
pumped to the SOAP call. Has anyone run across a simi.ar problem. I am
creating the criteria "objects" so the error is not extremely helpful and I
feel that I am missing something simple.


Nov 23 '05 #1
1 2115
I have run into this error message a number of times. Every time I have
tracked it down to 1 of 2 things:
1. A catch statement that tries to trap an error that is not available, for
example, and exception innerexception.message, which may not necessarily be
available,
or
2. A completely unhandled exception in the code.

If I understand you correctly, this is probably not much help since you
do not have direct access to the code.

You could try 2 things, run your program in "debug" mode to see if it
sheds some light on the error, or try to use the reflection classes to view
what is in the code.

Jeff
"aaa" <so*****@microsoft.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
I am using a third party provider for Travel related web services. These
services are not very well documented and I am having to wing my way thru
nearly every one.

Some I can pull data from just fine others bomb when assigning criteria to
the body of it's request object ("object not set to an instance of an
object").

I am essentially creating nodes programatically to buld the XML that gets
pumped to the SOAP call. Has anyone run across a simi.ar problem. I am
creating the criteria "objects" so the error is not extremely helpful and
I
feel that I am missing something simple.

Nov 23 '05 #2

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

Similar topics

0
by: Arne Kösling | last post by:
Hi ! I am new to Web Services. Therefore I ve set up a PHP Installation on Windows (PHP 4.3.2 and Apache 1.3.29). I have tested PHP alone and then installed PEAR. Now I am stuck there (Before...
3
by: Steve Lutz | last post by:
Hi All, I have a Windows Service that runs well. The service hosts a remote object. The purpose of the object is so that I can "peak" into the service to see what it's doing. I wrote a small...
4
by: Piotr Perak | last post by:
Can someone explain the "object instance" term that is used i many of C# books? I have C++ background. In C++ instance and object meant the same. I could say that I have object of some class or...
4
by: Liz Patton | last post by:
Here's the exception: System.Exception: Unable to send mail: Could not access 'CDO.Message' object. ---> System.Web.HttpException: Could not access 'CDO.Message' object. --->...
18
by: Microsoft | last post by:
When I try this in my code I alwas get an errormessage: "Object reference not set to an instance of an object" Dim g As System.Drawing.Graphics g.DrawString("Test", New Font("Arial", 12,...
1
by: Vern DeHaven | last post by:
Hello all, Working on a W2K3 box with Framework version 1.1.4322 here. I've implemented a Web service in VB.NET by generating a server skeleton off the WSDL and overriding the abstract class. ...
2
by: Daniel Lipovetsky | last post by:
I would like for an object to "report" to a container object when a new instance is created or deleted. I could have a container object that is called when a new instance is created, as below. ...
3
by: =?Utf-8?B?QmFkaXM=?= | last post by:
I'm doing a server side automation(I know it's bad but..) and its working fine locally and when accessing it from a remote machine using web browser is was giving me this error"Retrieving the COM...
0
by: jb489 | last post by:
Hi all, Hope I am posting this in the right forum. I seem to be having a problem when using serialization and web services. <b>Scenario:</b> I have built a web service which includes a...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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
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...
0
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
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...

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.