|
-
December 3rd, 2010, 11:58 AM
#1
PHP: Specific problem with WSDL and call to web service
Hi, Anyone know if this will ever actually work?
I'm trying to access the getSignatureFileVersionV1 service defined in the following WSDL: http://www.nationalarchives.gov.uk/p...ct/PRONOM.wsdl
I get an unable to parse url error in PHP.
My working code is:
Code:
<?php
$wsdl_url = "http://www.nationalarchives.gov.uk/pronom/Services/Contract/PRONOM.wsdl";
$client = new SoapClient($wsdl_url);
var_dump($client->__getFunctions());
var_dump($client->__getTypes());
$param = array('getSignatureFileVersionV1'=>'');
?>
A call such as the following however just fails:
Code:
$client->getSignatureFileVersionV1($param);
I can do this easier in CURL but would like to understand how to get this to work.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|