Hello,
I'm trying to sync my subscription list with addemar by using the EMF module. But i keep getting error's.

SoapClient::SoapClient(http://ws.email.addemar.com/soap/wsdl/?token=xxxxxxxxxxxxxxxxx&version=1...) [soapclient.soapclient]: failed to open stream: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. in C:\inetpub\vhosts\xxxxxxxxxxxxxx\httpdocs\modules\emf\plugins\efm_addemar\emf_addemar.api.inc on line 197.

SoapClient::SoapClient() [soapclient.soapclient]: I/O warning : failed to load external entity "http://ws.email.addemar.com/soap/wsdl/?token=xxxxxxxxxxxxxxxxxxx&version... in C:\inetpub\vhosts\fmtest.itshark.org\httpdocs\modules\emf\plugins\efm_addemar\emf_addemar.api.inc on line 197.

Any idea's how to fix this?

Comments

Gregory Claeyssens’s picture

Could this be that the version of xml should be 1.2 instead of 1.1 or has this nothing to do with it? If yes, how do i make it use 1.2 instead of 1.1?

pbuyle’s picture

Category: feature » support

This is a connection while PHP was fetching the Addemar web service's WSDL. PHP's SoapClient will fetch the WSDL from the given URL. So to issue seems to be that your server can not connect to Addemar's web server.

For version 1.2 of their API and other fix, I just pushed my little fork of emf_addemar as a sandbox on Drupal.org, see http://drupal.org/sandbox/mongolito404/1147740

It doesn't include the latest commits from the DRUPAL-6--1 branch on stijndm's GitHub. I'm still learning git and how to deal with multiple remote repositories.

Gregory Claeyssens’s picture

As I feared. It might bu that the problem lies with my server. Maybe it isn't allowed to make the connection . I already contacted my hosting company with the question, i'll keep you posted. Is your fork of emf_addemar safe to use for production? Because i'm kind of running against a deadline

pbuyle’s picture

It should be as safe as the original plugin. My changes are really simple.