Re: [SOAP] wsdl
| From: | deco | Date: | Fri, 22 Nov 2002 01:28:08 +0000 |
| Subject: | Re: [SOAP] wsdl | ||
| References: | 1 2 | Groups: | php.soap |
| Request: | Send a blank email to php-soap+get-310@lists.php.net to get a copy of this message | ||
I've done what you're saying already... But my question is the opposite.
If you want to get some service avaiable, you create a SOAP Server Object
but then there's no way for a client of your service to get the
corresponding WSDL... At least as far i know, but i might be missing
something...
Another thing i'm having a problem with is that i have a SOAP Server
publishing a method that uses DB_DatabaseObject from PEAR. I'm trying to
return a DAO object generated by this package, but although all the method
operations are done with no error, i get an INVALID HTTP RESPONSE error from
the SOAP CLIENT request... Is there something i need to return a complex
object?? I've tried various client and as far as got to know, i always
accessed the returned object properties with no problem at all...
Thanks in advance...
Ricardo Rocha
"Jesus M. Castagnetto" <jcastagnetto@yahoo.com> wrote in message
news:20021122001814.92895.qmail@web12101.mail.yahoo.com...
> If you see the code on cvs.php.net/cvs.php/pear/SOAP, there are some
examples
> that use WSDL.
>
> Basically, PEAR::SOAP generates a proxy on the fly (AFAICT), just by
doing:
>
> $client = new SOAP_Client('GoogleSearch.wsdl', true);
>
> (to access the Google SOAP service for example).
>
> then you can just do the appropriate calls, such as:
>
> $result = $client->call('doGoogleSearch',$query,'urn:GoogleSearch');
>
> where $query is an appropriate hash w/ the structure required in the
Google
> services documentation.
>
> --- deco <rbr@netcabo.pt> wrote:
> >
> > I've been trying pear::soap and it seems nice... But as there's not
much
> > documentation, i can't understand how i can get the wsdl from some the
soap
> > server i create, or even if this functionality exists. This is just to
know
> > if i can dynamically generate my client's stubs in JAVA and .NET by
> > consulting the wsdl or if i have to do it mannualy...
> >
> > But keep up the good work... It's a very nice effort. Big aplause to
> > you...
> >
> > Thanks
> > Ricardo Rocha
> >
> >
> >
> > --
> > PHP Soap Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
>
> =====
> --- Jesus M. Castagnetto (jcastagnetto@yahoo.com)
>
> Research:
> http://metallo.scripps.edu/
> Personal: http://www.castagnetto.org/
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com