Solved

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

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

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 108

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
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 …

708 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now