Re: Re: Instructions for SOAP ws
| From: | Luis Argerich | Date: | Fri, 30 May 2003 12:28:35 +0000 |
| Subject: | Re: Re: Instructions for SOAP ws | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-16829@lists.php.net to get a copy of this message | ||
Well, I'm an idiot, I can't get it to work, I just need the code for a
server implementing
a echo_string($msg) method and generating a WSDL that can be reached from
other apps,
how is the WSDL accessed? server.php?wsdl as in axis?
If you or someone know an example of a client/server SOAP ws were the server
also generates it's own WSDL I'd appreciate it.
If not I'll just wait until someone builds a framework to make this usable
without hours of investigation :-)
Tks.
----- Original Message -----
From: "Harry Fuecks" <hfuecks@phppatterns.com>
To: <pear-dev@lists.php.net>
Sent: Thursday, May 29, 2003 10:09 PM
Subject: [PEAR-DEV] Re: Instructions for SOAP ws
> Hi Luis,
>
> Looks your the client is right.
>
> Not sure if you've seen these slides;
>
> http://talks.php.net/show/soap-phpcon-ny2003/69
> http://talks.php.net/show/soap-phpcon-ny2003/70
>
> The SOAP_Disco class is only available with the latest - PEAR::SOAP 0.73 -
> Shane provides some examples in there - examples/wsdl_client.php talks the
> server he demonstrates in the slides. There's a another example of WSDL
> generation on the server side in examples/disco_server.php
>
> Hope that helps.
>
> On Thu, 29 May 2003 10:03:14 -0300, Luis Argerich <luis@fuegolabs.com>
> wrote:
>
> > Hi,
> >
> > I want to implement a WSDL based webservice server & client using PHP.
> > I've
> > tried using slides from several PHP talks from Shane but examples don't
> > work.
> > Can you point me to a quick working example of a WSDL based client &
> > server
> > pls?
> > (WSDL is needed since the WS will be accessed from other non-php clients
> > that use the WSDL to access the service)
> >
> > Example client:
> > include("SOAP/Client.php");
> >
> > $wsdl_url = 'http://localhost/Foo.wsdl';
> > $WSDL =& new SOAP_WSDL($wsdl_url);
> > $soapclient =& $WSDL->getProxy();
> > echo $soapclient->echo_string('hey');
> >
> > I just need instructions on how to build the server for this client.
> >
> > Thanks in advance.
> >
> >
> >
>
>
>
> --
> PEAR Development Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>