?
Solved

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

Posted on 2013-10-30
2
Medium Priority
?
893 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 84

Accepted Solution

by:
Dave Baldwin earned 2000 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 111

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

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Whether you have a site with just static html pages or a dynamic database-driven one, this step-by-step migration guide will help you get started with your new DV server. This guide is by no means comprehensive but it should cover the basics to get …
The Super Bowl is just days away. Millions of advertising dollars will be spent in just a few hours to drive people to websites around the globe. Optimizing your site in anticipation of a big event like this (and the traffic surges that follow) will…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

568 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