Re: Getting Error with PHP5 SOAP: 'uri' option is required in nonWSDL mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 14 Jul 2006, Colin Goldberg wrote:

> I am getting a SOAPFault "'uri' option is required in nonWSDL mode". I
> am not quite sure what this means and how to fix it. Can somebody help?

> $server = new SoapServer(null);

You need to pass an "options" array as the second parameter to the
SOAPServer constructor. It needs a 'uri' key and that should match the
same uri that you're using in your SOAPClient options. You may need to
add more of those options you're passing into SOAPClient here, too.

-adam

-- 
adam@trachtenberg.com | http://www.trachtenberg.com
author of o'reilly's "upgrading to php 5" and "php cookbook"
avoid the holiday rush, buy your copies today!

-- 
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux