Who hoo - thanks Frederick - we will try that...heck we are trying
everything, so keep those cards and letters coming.  I am passing the
info on to the programmer so hopefully something will eventually click,
or pass a value other than NULL.  LOL

Thanks!

:-)

Candace

 

________________________________

From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Grooms, Frederick W
Sent: Tuesday, May 01, 2007 4:00 PM
To: [email protected]
Subject: Re: Need Help Getting a WSDL Consumed with .NET C#

 

It looks like you are missing the SOAP Header with the login
information. 

 

Try something like the following before the $result line

 

$auth->userName = "ServerLogin";    // use $_GET["ServerLogin"]  for
parameterized login name
$auth->password = "ServerPwd";      // use $_GET["ServerPwd"]  for
parameterized password

 

$authvalues = new SoapVar($auth, SOAP_ENC_OBJECT);

$header =  new SoapHeader("OpGetList", "AuthenticationInfo",
$authvalues, false);

$client->__setSoapHeaders(array($header));

Fred

 

 

________________________________

From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Robert Halstead
Sent: Tuesday, May 01, 2007 3:55 PM
To: [email protected]
Subject: Re: Need Help Getting a WSDL Consumed with .NET C#

** We are also trying to consume a remedy webservice with little results
and huge headaches.  We are trying to get a incident ticket back from
remedy but we keep getting the error:

Uncaught SoapFault exception: [soapenv: Server.userException]
java.lang.NullPointerException

We are trying to connect via PHP, here is our code:

<?php

      $client = new SoapClient( 

            "http://remedyweb/WSDL/public/remedy/BZ_Incident "

      ); 

      $parms = array (

                'Incident_ID' => "INC000000038137" );

    $result = $client ->__soapCall( "OpGetList", $parms );

print "Success!" ;

?>

Could anyone comment on this please?  Are we doing this correctly?  I
remember reading something about sending XML to get a response back... 

-- 
"A fool acts, regardless; knowing well that he is wrong. The ignoramus
acts on only what he knows, but all that he knows.
The ignoramus may be saved, but the fool knows that he is doomed." 

Bob Halstead

__20060125_______________________This posting was submitted with HTML in
it___

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

Reply via email to