Created
April 7, 2011 12:45
-
-
Save seedprod/907696 to your computer and use it in GitHub Desktop.
Hannon Hill Web Service Call
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//include("web_services_util.php"); | |
$client = new SoapClient ( "https://server:8443/ws/services/AssetOperationService?wsdl", array ('trace' => 1 ) ); | |
$auth = array ('username' => 'username', 'password' => 'password' ); | |
$id = array ('type' => 'page', 'id' => '261f20de8a4e31910086b7bbfb175968' ); | |
$params = array ('authentication' => $auth, 'identifier' => $id ); | |
// publish asset | |
$reply = $client->publish ( $params ); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Things to modify:
https/http
server
port #
username / password
page/folder
id
line 10: publish (any of the operators on your wsdl page)