Hi,
We need to intigrate easylink API to our system, can we get some php code examples/Links with step by step guidlines to use APIs.
Thanks..
We have one very simple PHP sample on the forums - you can find it here: https://apiforums.easylink.com/content/fax-submit-php-sample
This might give you something to go on, but it is very raw, so you would presumably want to beef it up to work with your system.
There are a couple of "getting started" posts you can take a look at. This one gives a pretty good rundown of what you need to do: https://apiforums.easylink.com/content/how-do-i-get-started-api
Once you've had a chance to review, let us know if you have other questions and we'll try to help.
Thank you very much, Can you please let us know the exact WSDL URL for Jobsubmit version 2.5. We are getting now "Wrong version" error.
[faultstring] => Wrong Version[faultcode] => VersionMismatch[faultcodens] => http://schemas.xmlsoap.org/soap/envelope/
Thanks
Got The correct WSDL from : http://ws.easylink.com/JobSubmit/2011/01?WSDL and now its giving us the following error.
[faultstring] => looks like we got no XML document[faultcode] => Client
See this post: https://apiforums.easylink.com/content/domains-switch-types-and-urls for a review of the systems and URL's that are available.
As of right now, the test system (https://test2messaging.easylink.com/soap/sync) is at version 2.5, while the mainline production version (https://messaging.easylink.com/soap/sync) is at 2.4.
There is an instance of 2.5 in production at https://advancemessaging.easylink.com/soap/sync
Need FeedbackI need to write a test script for sending fax using version 2.5 JobSubmit method. I got WSDL from url below:ws.easylink.com/JobSubmit/2011/01?WSDL
1) Now if I copy and paste the WSDL to a file and instanciate the soapclient object using the WSDL file. When I call the "jobSubmit" method I am getting an error "Could Not Connet to Host".
2) If I change the location value in the following tagFROM<service name="JobSubmitService"><port binding="xoajsb:JobSubmitBinding" name="JobSubmitPort"><soap:address location="http://endpoint.easylink.com"/></port></service>
TO
<service name="JobSubmitService"><port binding="xoajsb:JobSubmitBinding" name="JobSubmitPort"><soap:address location="https://test2messaging.easylink.com/soap/sync"/></port></service>
I am getting the following error:"soapenv:ClientError in parsingHeader Request in unrecognized namespace http://ws.easylink.com/JobSubmit/2011/01 "Cause: "http://ws.easylink.com/JobSubmit/2011/01" is defined in WSDL as "targetNamespace" under "definitions" Tag. Please provide us correct and EXACT WSDL URL for "https://test2messaging.easylink.com/soap/sync", in previous responses its not clear. We need the exact WSDL URL for "https://test2messaging.easylink.com/soap/sync".
Please provide a sample PHP code to use this method.
The WSDL you have is correct, but there are generally multiple namespaces used in our messages - we have one for the Request/Response portion, and a different for the functional namespace.
If you can provide a sample of your XML, we can show you how it would need to be tweaked to function with our service.