Solved

Echosign API executing the php demo page (New to PHP)

Posted on 2013-10-30
2
854 Views
Last Modified: 2013-10-30
Per Adobe's instructions I am supposed to execute what you see below. This looks like a command you would run from a command line. I am running apache on my windows machine, php is installed and working but I don't believe I can run this as a command from the windows command prompt? I am just not sure how to execute what you see beow.

I tried placing it into a php page which didn't work. Any help is appreciated

<?php
command below
?>

php demo.php https://secure.echosign.com/services/EchoSignDocumentService16?wsdl <myapikey> test
0
Comment
Question by:J C
2 Comments
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 500 total points
ID: 39612796
Not enough info.  How did you install PHP?  Did you add the path to 'php.exe' to your path variable in Windows?
0
 
LVL 109

Expert Comment

by:Ray Paseur
ID: 39612879
Sorry to see you're new to PHP and already getting tangled up in SOAP.  There are much better places to start your learning adventures, and PHP has some long-standing bugs in SOAP support.

You might find some good foundational material in this article:
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/A_11769-And-by-the-way-I-am-new-to-PHP.html

You might try something like this:

<?php 
error_reporting(E_ALL);
$url = 'https://secure.echosign.com/services/EchoSignDocumentService16?wsdlPUT_YOUR_API_KEY_HERE';
$xml = file_get_contents($url);
echo htmlentities($xml);

Open in new window

0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question