Hi Stefaan,
Sorry you had difficulties. The first place to look when there are
problems is the apache error log. I just cut and pasted your example
(I coiuld see nothing wrong with it :-)) and saw
Uncaught SCA_RuntimeException: No valid @binding annotation found for
'helloworld.php'.\n....
Then I remembered ...
What has happened here is that the @binding you want is @binding.soap,
not @binding.ws. We used to have @binding.ws but changed it to
@binding.soap a while ago. I hope we changed all the documentation to
match, but if you found @binding.ws somewhere in the documentation do
let me know and I will fix it.
Good luck and let us know if you have more problems.
Matthew
On Jun 3, 2:05 pm, Kariboe <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> Busy testing SCA package. I have a problem with a very simple
> testscript. Running a local script client.php:
>
> <?php
>
> include 'SCA/SCA.php';
>
> $wsdl = file_get_contents('http://barabas.hogent.be/kariboe/
> helloworld.php?wsdl');
> file_put_contents("helloworld.wsdl",$wsdl);
> $helloservice = SCA::getService('helloworld.wsdl');
>
> echo $helloservice->sayHello();
> ?>
>
> And on my server:
>
> <?php
> include "SCA/SCA.php";
> /**
> * @service
> * @binding.ws
> */
> class helloworld
> {
> /**
> * @return string Hello Message
> */
> function sayHello(){
> return 'hello kariboe';
> }}
>
> ?>
>
> If I try to access the generated wsdl code I receive a blank page!
> What am I doing wrong?
>
> Server: Red Hat Enterprise Linux 4
> PHP: 5.2.1
> Apache: 2.2.3
>
> Help is appreciated!
>
> Regards,
>
> Stefaan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"phpsoa" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---