Having trouble with .net web service and PHP

Hi,
I'm having trouble when making a soap request to a .NET web service from PHP... I keep getting the following SOAP Fault message "Server was unable to process request. --> Object reference not set to an instance of an object."

Does anyone have any experience with this?
Thanks!
amagondesAsked:
Who is Participating?
 
RurneConnect With a Mentor Commented:
Usually it means you've got a bad reference from the client's URI.  However, it's pretty generic.  What's your remoting code look like?
0
 
amagondesAuthor Commented:
Hi, Thanks for the response,

PHP
-------------------------------------------------------------------------------
require_once('SOAP/Client.php');

$WSDL = new SOAP_WSDL('authenticationservice.xml');
$client   = $WSDL->getProxy();

$challenge = $client->GetChallenge(PUBLIC_KEY);
-------------------------------------------------------------------------------

WSDL Section
-------------------------------------------------------------------------------
      <s:element name="GetChallenge">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="ClientKey" type="s:base64Binary" />
          </s:sequence>
        </s:complexType>
      </s:element>

Thanks for the help
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.