[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 191
  • Last Modified:

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!
0
amagondes
Asked:
amagondes
1 Solution
 
RurneCommented:
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

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now