note 82919 added to ref.soap
| From: | rlee at melbournechapter dot net | Date: | Fri, 02 May 2008 00:38:23 +0000 |
| Subject: | note 82919 added to ref.soap | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-138980@lists.php.net to get a copy of this message | ||
Just a note on "DTD not recognised..." faults. Check to make sure your wsdl file contains:
<?xml version ='1.0' encoding ='UTF-8' ?>
Also make sure you use full paths, to your service (in the wsdl, client and server)
...
<wsdlsoap:address location='http://www.mysite.com.au/web_services/myserver.php'
/>
...
<?php
// SOAP Server
$server = new SoapServer('http://www.mysite.com.au/web_services/hello.wsdl');
...
...
?>
<?php
// SOAP Client
$client = new SoapClient('http://www.mysite.com.au/web_services/hello.wsdl');
...
...
?>
FYI im no SOAP expert but I hope this helps someone out ;)
----
Server IP: 203.88.112.146
Probable Submitter: 124.168.68.179
----
Manual Page -- http://www.php.net/manual/en/ref.soap.php
Edit -- https://master.php.net/note/edit/82919
Del: integrated -- https://master.php.net/note/delete/82919/integrated
Del: useless -- https://master.php.net/note/delete/82919/useless
Del: bad code -- https://master.php.net/note/delete/82919/bad+code
Del: spam -- https://master.php.net/note/delete/82919/spam
Del: non-english -- https://master.php.net/note/delete/82919/non-english
Del: in docs -- https://master.php.net/note/delete/82919/in+docs
Del: other reasons-- https://master.php.net/note/delete/82919
Reject -- https://master.php.net/note/reject/82919
Search -- https://master.php.net/manage/user-notes.php