Google Groups Home
Help | Sign in
Message from discussion Newbie question
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Kariboe  
View profile
 More options 3 Jun, 14:05
From: Kariboe <denbi...@hotmail.com>
Date: Tue, 3 Jun 2008 06:05:20 -0700 (PDT)
Local: Tues 3 Jun 2008 14:05
Subject: Newbie question
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


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google