Jump to content
phillymontana

Connecting to a WSDL SOAP Client Errors

Recommended Posts

I have had success connecting to other wsdl's using PHP, but for some some reason I can't get into this one below. I am using PHP. Mycode:<?php$ws = 'https://integration.pgiconnect.com/Services/Public/2009/03/Security.svc?wsdl';$client = new SoapClient($ws);?>The error:Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://integration.pgiconnect.com/Services/Public/2009/03/Security.svc?wsdl' : failed to load external entity "https://integration.pgiconnect.com/Services/Public/2009/03/Security.svc?wsdl" in C:\xampp\htdocs\Projects\temp.php:3 Stack trace: #0 C:\xampp\htdocs\Projects\temp.php(3): SoapClient->SoapClient('https://integra...') #1 {main} thrown in C:\xampp\htdocs\Projects\temp.php on line 3 I have used the wsdl checker: http://soapclient.com/soaptest.html and it passes and shows all of the methods.Am I doing something wrong to connect? Please help!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...