Its working fine I never face a problem like what you said:

ServisesList = proxy.jwlGetListOnly(Customer_No,"");
                                //
NoRec_Serv = ServisesList.Length;
if (NoRec_Serv <= 0 ) 
   xxxxxxxxxx
-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Chris Woyton
Sent: 04-29-2007 06:50 PM
To: [email protected]
Subject: Re: Need Help Getting a WSDL Consumed with .NET C#

Candace, 
 
This issue is related to an object variable in your code not being
initialized. You should have created the object using syntax like this:
 
YourClass oVariable = new YourClass("Constructor Params");
 
Then you can use the methods of that variable at will -
oVariable.DoSomething() or whatever. 
 
You can also test to make sure your object variables are properly
referenced
in your code by comparing them to null and then running exception code
in
the event you have a null reference (or you could use proper programming
methods and throw an exception, of course). This is handy if you're
depending on an object being instantiated by another library (for
example,
returning a proper XML DOM Document from a Web Service call):
 
if(oVariable = null)
 { Console.Writeline("Null oVariable"); }
 
If you send your code, we'd probably be able to help you quite a bit
more.
 
Chris

-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] Behalf Of Candace DeCou
Sent: Friday, April 27, 2007 3:14 PM
To: [email protected]
Subject: Need Help Getting a WSDL Consumed with .NET C#


** 

ARS 6.3 Patch 20

Mid-Tier 6.3 Patch 20

MS SQL 2000

 

I have built a web service for opGetList operations.  The WSDL is
working
correctly and we can see the resulting values in mid-tier logs.
However, in
trying to consume my web service using .NET C# Visual Studio, we are
getting
NULL results and the following error in the .NET side of things:

 

Unhandled Exception: System.NullReferenceException: Object reference not
set
to an instance of an object.

   at RemedyTest.Program.Main(String[] args) in
C:\c.projects\rem\RemedyTest\Rem edyTest\Program.cs:line 29 Press any
key to
continue

 

Does anyone out there have a sample of .NET C# code that does work with
a
Remedy web service, or any other hints on what we might look for.

 

Thanks in advance for any help.

 

Candace DeCou

Applications Support Analyst 
Silicon Valley Bank 
Office: 408-654-6358 
Email: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>  

 

__20060125_______________________This posting was submitted with HTML in
it___ 


________________________________________________________________________
_______
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where
the Answers Are"



Disclaimer: The information in this email and in any files transmitted with it,
is intended only for the addressee and may contain confidential and/or 
privileged material.
Access to this email by anyone else is unauthorized. If you receive this in 
error,
please contact the sender immediately and delete the material from any computer.
If you are not the intended recipient, any disclosure, copying, distribution or
any action taken or omitted to be taken in reliance on it, is strictly 
prohibited.
Statement and opinions expressed in this e-mail are those of the sender, and do 
not
necessarily reflect those of STC.

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the 
Answers Are"

Reply via email to