Hey,
I'm a bit of a SOAP retard when it comes to PHP having been spoiled by .NET so please bear with me.
Here is how I'm creating my request:
Here is the error I'm getting:
Fatal error: Uncaught SoapFault exception: [soap:Receiver] System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.ArgumentNullException: Value cannot be null. Parameter name: s at System.IO.StringReader..ctor(String s) at System.Xml.XmlDocument.LoadXml(String xml) at Noel.Web.Services.TGPolicyService.GetPolicy(String xml) at Noel.Web.Services.TGPolicyService.GetQuote(String xml) at Noel.Web.Services.TGPolicyService.GetQuoteXML(String data) --- End of inner exception stack trace ---
Any idea what this parameter 's' is that is Null?
I've tried everything I can think of without getting any real difference in the error.
Thanks for any help
Travis Hawkins
jobs.bestcodingpractices.com
I'm a bit of a SOAP retard when it comes to PHP having been spoiled by .NET so please bear with me.
Here is how I'm creating my request:
Code:
$SC = new SoapClient('[URL unfurl="true"]http://staging.tgpolicywebsvcs.travelguard.com/tgpolicyservice.asmx?WSDL',[/URL] array("soap_version" => SOAP_1_2));
$returnValue = $SC->__soapCall('getQuoteXML', array('parameters' => $getQuote));
Here is the error I'm getting:
Fatal error: Uncaught SoapFault exception: [soap:Receiver] System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.ArgumentNullException: Value cannot be null. Parameter name: s at System.IO.StringReader..ctor(String s) at System.Xml.XmlDocument.LoadXml(String xml) at Noel.Web.Services.TGPolicyService.GetPolicy(String xml) at Noel.Web.Services.TGPolicyService.GetQuote(String xml) at Noel.Web.Services.TGPolicyService.GetQuoteXML(String data) --- End of inner exception stack trace ---
Any idea what this parameter 's' is that is Null?
I've tried everything I can think of without getting any real difference in the error.
Thanks for any help
Travis Hawkins
jobs.bestcodingpractices.com