Solved

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

Posted on 2013-10-30
2
858 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Creating and Managing Databases with phpMyAdmin in cPanel.
This article discusses four methods for overlaying images in a container on a web page
The viewer will learn how to count occurrences of each item in an array.
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