Hmmm. I tried this out, started putting in a few debug lines, saw exactly the same message you did, and then it went away and won't come back :-). Here is what is currently working for me:
<? include "SCA/SCA.php"; $weather = SCA::getService('servicetest.php'); var_dump($weather->sayHello('dali')); //$wsdl = file_get_contents('http://localhost/bugs/bug/servicetest.php? wsdl'); //file_put_contents('./servicetest.wsdl',$wsdl); //$weather = SCA::getService('./servicetest.wsdl'); $weather = SCA::getService('http://localhost/bugs/bug/servicetest.php? wsdl','soap',array('location' => 'http://localhost/bugs/bug/ servicetest.php')); var_dump($weather->sayHello('dali')); ?> where I have renamed your servicetest4 to servicetest and as you can see I have the files under htdocs at bugs/bug rather than ihug. You'll see the three lines I have commented out where I get the wsdl explicitly in one step, and write it into the directory where both the test script and the server script are located. This is what I always do and always works for me - write the wsdl out to a file. I suspect there is something vulnerable about using http://... in the getService call itself that we have never pinned down - it ought to work but sometimes doesn't. The server end writes out wsdl itself if it finds that there is none in the directory beside itself, and I think it's possible for the wsdl at either end to get out of step if you don't write it out explicitly. Let me know how you get on. Matthew On Jan 27, 9:29 pm, Dalibor Andzakovic <[EMAIL PROTECTED]> wrote: > On Jan 25, 10:23 pm, Matthew Peters <[EMAIL PROTECTED]> > wrote: > > > Thanks for trying SCA and for telling us about the problem. Please > > would you put up the Temperatures.xsd as well? I'll look at it > > straight away. > > Hi Matthew, > > thanks for looking at this. > > XSD below: > > <?xml version="1.0" encoding="UTF-8"?> > <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" > targetNamespace="http://Weather" > elementFormDefault="qualified"> > > <xs:complexType name="PairType"> > <xs:sequence> > <xs:element name="state" type="xs:string"/> > <xs:element name="temperature" type="xs:float"/> > </xs:sequence> > </xs:complexType> > > <xs:element name="Temperatures"> > <xs:complexType> > <xs:sequence> > <xs:element name="entry" type="ns1:PairType" > maxOccurs="unbounded"/> > </xs:sequence> > </xs:complexType> > </xs:element> > > </xs:schema> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "phpsoa" group. To post to this group, send email to phpsoa@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.co.uk/group/phpsoa?hl=en -~----------~----~----~----~------~----~------~--~---