Error with documentation example

View: New views
10 Messages — Rating Filter:   Alert me  

Error with documentation example

by Yannick-18 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi there,

I'm currently taking my first steps with SCA-SDO following the example
given here:

http://www.osoa.org/display/PHP/SCA+Documentation#SCADocumentation-2.5

I am using an Ubuntu 8.04 system ad I downloaded SCA_SDO using the
PECL command line interface.
Now I'm sure I'm going to find the problem soon, but as the
documentation, as it is, is leading me to a problem and obviously I
can't create and account to edit that page, I wanted to mention it.

When I try getting the WSDL for that page, I get a (double) error
message:

[Sat Jul 26 11:58:27 2008] [error] [client 127.0.0.1] PHP Warning:
SCA_Binding_Factory::require(SCA/Bindings/ws/RequestTester.php) [<a
href='function.SCA-Binding-Factory-require'>function.SCA-Binding-
Factory-require</a>]: failed to open stream: No such file or directory
in /usr/share/php/SCA/SCA_BindingFactory.php on line 68
[Sat Jul 26 11:58:27 2008] [error] [client 127.0.0.1] PHP Fatal
error:  SCA_Binding_Factory::require() [<a
href='function.require'>function.require</a>]: Failed opening required
'SCA/Bindings/ws/RequestTester.php' (include_path='.:/usr/share/php:/
usr/share/pear') in /usr/share/php/SCA/SCA_BindingFactory.php on line
68

Looking into my /usr/share/php/SCA/ directory, I have:

/usr/share/php/SCA/Bindings$ ls
atom      jsonrpc  message       restrpc  tuscany
ebaysoap  local    restresource  soap     xmlrpc

So, no directory called "ws/". I guess specifying in the given example
which type of service I want might help, but in the meantime the
example is leading straight to an error, which is confusing for
newcomers.

Cheers,

Yannick
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "phpsoa" group.
To post to this group, send email to phpsoa@...
To unsubscribe from this group, send email to phpsoa-unsubscribe@...
For more options, visit this group at http://groups.google.co.uk/group/phpsoa?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Error with documentation example

by Yannick-18 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Like I said, finding the problem was not difficult nor long, but it's
still confusing that there is no explanation of what "ws" could be
replaced by in @binding.ws. Of course, replacing it by @binding.soap
worked immediately.
However, I tried to change it to @binding.restrpc and that,
apparently, brings me back to the initial state (blank page); but this
time I get no error report.
Changing it back to @binding.soap doesn't work.

Yannick

On 26 juil, 18:24, Yannick <ywarn...@...> wrote:

> Hi there,
>
> I'm currently taking my first steps with SCA-SDO following the example
> given here:
>
> http://www.osoa.org/display/PHP/SCA+Documentation#SCADocumentation-2.5
>
> I am using an Ubuntu 8.04 system ad I downloaded SCA_SDO using the
> PECL command line interface.
> Now I'm sure I'm going to find the problem soon, but as the
> documentation, as it is, is leading me to a problem and obviously I
> can't create and account to edit that page, I wanted to mention it.
>
> When I try getting the WSDL for that page, I get a (double) error
> message:
>
> [Sat Jul 26 11:58:27 2008] [error] [client 127.0.0.1] PHP Warning:
> SCA_Binding_Factory::require(SCA/Bindings/ws/RequestTester.php) [<a
> href='function.SCA-Binding-Factory-require'>function.SCA-Binding-
> Factory-require</a>]: failed to open stream: No such file or directory
> in /usr/share/php/SCA/SCA_BindingFactory.php on line 68
> [Sat Jul 26 11:58:27 2008] [error] [client 127.0.0.1] PHP Fatal
> error:  SCA_Binding_Factory::require() [<a
> href='function.require'>function.require</a>]: Failed opening required
> 'SCA/Bindings/ws/RequestTester.php' (include_path='.:/usr/share/php:/
> usr/share/pear') in /usr/share/php/SCA/SCA_BindingFactory.php on line
> 68
>
> Looking into my /usr/share/php/SCA/ directory, I have:
>
> /usr/share/php/SCA/Bindings$ ls
> atom      jsonrpc  message       restrpc  tuscany
> ebaysoap  local    restresource  soap     xmlrpc
>
> So, no directory called "ws/". I guess specifying in the given example
> which type of service I want might help, but in the meantime the
> example is leading straight to an error, which is confusing for
> newcomers.
>
> Cheers,
>
> Yannick
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "phpsoa" group.
To post to this group, send email to phpsoa@...
To unsubscribe from this group, send email to phpsoa-unsubscribe@...
For more options, visit this group at http://groups.google.co.uk/group/phpsoa?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Error with documentation example

by Dalibor Andzakovic :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Documentation on osoa.org is fairly out of date.

Try http://nz.php.net/manual/en/sca.examples.exposing-webservice.php

I believe the php.net documentation is more up to date.

dali


-----Original Message-----
From: phpsoa@... on behalf of Yannick
Sent: Mon 2008-07-28 10:39
To: phpsoa
Subject: [phpsoa] Re: Error with documentation example
 

Like I said, finding the problem was not difficult nor long, but it's
still confusing that there is no explanation of what "ws" could be
replaced by in @binding.ws. Of course, replacing it by @binding.soap
worked immediately.
However, I tried to change it to @binding.restrpc and that,
apparently, brings me back to the initial state (blank page); but this
time I get no error report.
Changing it back to @binding.soap doesn't work.

Yannick

On 26 juil, 18:24, Yannick <ywarn...@...> wrote:

> Hi there,
>
> I'm currently taking my first steps with SCA-SDO following the example
> given here:
>
> http://www.osoa.org/display/PHP/SCA+Documentation#SCADocumentation-2.5
>
> I am using an Ubuntu 8.04 system ad I downloaded SCA_SDO using the
> PECL command line interface.
> Now I'm sure I'm going to find the problem soon, but as the
> documentation, as it is, is leading me to a problem and obviously I
> can't create and account to edit that page, I wanted to mention it.
>
> When I try getting the WSDL for that page, I get a (double) error
> message:
>
> [Sat Jul 26 11:58:27 2008] [error] [client 127.0.0.1] PHP Warning:
> SCA_Binding_Factory::require(SCA/Bindings/ws/RequestTester.php) [<a
> href='function.SCA-Binding-Factory-require'>function.SCA-Binding-
> Factory-require</a>]: failed to open stream: No such file or directory
> in /usr/share/php/SCA/SCA_BindingFactory.php on line 68
> [Sat Jul 26 11:58:27 2008] [error] [client 127.0.0.1] PHP Fatal
> error:  SCA_Binding_Factory::require() [<a
> href='function.require'>function.require</a>]: Failed opening required
> 'SCA/Bindings/ws/RequestTester.php' (include_path='.:/usr/share/php:/
> usr/share/pear') in /usr/share/php/SCA/SCA_BindingFactory.php on line
> 68
>
> Looking into my /usr/share/php/SCA/ directory, I have:
>
> /usr/share/php/SCA/Bindings$ ls
> atom      jsonrpc  message       restrpc  tuscany
> ebaysoap  local    restresource  soap     xmlrpc
>
> So, no directory called "ws/". I guess specifying in the given example
> which type of service I want might help, but in the meantime the
> example is leading straight to an error, which is confusing for
> newcomers.
>
> Cheers,
>
> Yannick


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "phpsoa" group.
To post to this group, send email to phpsoa@...
To unsubscribe from this group, send email to phpsoa-unsubscribe@...
For more options, visit this group at http://groups.google.co.uk/group/phpsoa?hl=en
-~----------~----~----~----~------~----~------~--~---



winmail.dat (5K) Download Attachment

Re: Error with documentation example

by Yannick-18 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Sorry, @binding.soap definitely works. I've been trying all the other
types (atom, jsonrpc, message, restrpc, tuscany, ebaysoap, local,
restresource, xmlrpc) but none of these generate a wsdl, even though
they don't generate any error message either.
Is that due to something proper to each of these other web services
types?

Yannick

On 27 juil, 17:39, Yannick <ywarn...@...> wrote:

> Like I said, finding the problem was not difficult nor long, but it's
> still confusing that there is no explanation of what "ws" could be
> replaced by in @binding.ws. Of course, replacing it by @binding.soap
> worked immediately.
> However, I tried to change it to @binding.restrpc and that,
> apparently, brings me back to the initial state (blank page); but this
> time I get no error report.
> Changing it back to @binding.soap doesn't work.
>
> Yannick
>
> On 26 juil, 18:24, Yannick <ywarn...@...> wrote:
>
> > Hi there,
>
> > I'm currently taking my first steps with SCA-SDO following the example
> > given here:
>
> >http://www.osoa.org/display/PHP/SCA+Documentation#SCADocumentation-2.5
>
> > I am using an Ubuntu 8.04 system ad I downloaded SCA_SDO using the
> > PECL command line interface.
> > Now I'm sure I'm going to find the problem soon, but as the
> > documentation, as it is, is leading me to a problem and obviously I
> > can't create and account to edit that page, I wanted to mention it.
>
> > When I try getting the WSDL for that page, I get a (double) error
> > message:
>
> > [Sat Jul 26 11:58:27 2008] [error] [client 127.0.0.1] PHP Warning:
> > SCA_Binding_Factory::require(SCA/Bindings/ws/RequestTester.php) [<a
> > href='function.SCA-Binding-Factory-require'>function.SCA-Binding-
> > Factory-require</a>]: failed to open stream: No such file or directory
> > in /usr/share/php/SCA/SCA_BindingFactory.php on line 68
> > [Sat Jul 26 11:58:27 2008] [error] [client 127.0.0.1] PHP Fatal
> > error:  SCA_Binding_Factory::require() [<a
> > href='function.require'>function.require</a>]: Failed opening required
> > 'SCA/Bindings/ws/RequestTester.php' (include_path='.:/usr/share/php:/
> > usr/share/pear') in /usr/share/php/SCA/SCA_BindingFactory.php on line
> > 68
>
> > Looking into my /usr/share/php/SCA/ directory, I have:
>
> > /usr/share/php/SCA/Bindings$ ls
> > atom      jsonrpc  message       restrpc  tuscany
> > ebaysoap  local    restresource  soap     xmlrpc
>
> > So, no directory called "ws/". I guess specifying in the given example
> > which type of service I want might help, but in the meantime the
> > example is leading straight to an error, which is confusing for
> > newcomers.
>
> > Cheers,
>
> > Yannick
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "phpsoa" group.
To post to this group, send email to phpsoa@...
To unsubscribe from this group, send email to phpsoa-unsubscribe@...
For more options, visit this group at http://groups.google.co.uk/group/phpsoa?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Error with documentation example

by Dalibor Andzakovic :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Correct. WSDL only gets created for SOAP services AFAIK.

dali


-----Original Message-----
From: phpsoa@... on behalf of Yannick
Sent: Mon 2008-07-28 11:00
To: phpsoa
Subject: [phpsoa] Re: Error with documentation example
 

Sorry, @binding.soap definitely works. I've been trying all the other
types (atom, jsonrpc, message, restrpc, tuscany, ebaysoap, local,
restresource, xmlrpc) but none of these generate a wsdl, even though
they don't generate any error message either.
Is that due to something proper to each of these other web services
types?

Yannick

On 27 juil, 17:39, Yannick <ywarn...@...> wrote:

> Like I said, finding the problem was not difficult nor long, but it's
> still confusing that there is no explanation of what "ws" could be
> replaced by in @binding.ws. Of course, replacing it by @binding.soap
> worked immediately.
> However, I tried to change it to @binding.restrpc and that,
> apparently, brings me back to the initial state (blank page); but this
> time I get no error report.
> Changing it back to @binding.soap doesn't work.
>
> Yannick
>
> On 26 juil, 18:24, Yannick <ywarn...@...> wrote:
>
> > Hi there,
>
> > I'm currently taking my first steps with SCA-SDO following the example
> > given here:
>
> >http://www.osoa.org/display/PHP/SCA+Documentation#SCADocumentation-2.5
>
> > I am using an Ubuntu 8.04 system ad I downloaded SCA_SDO using the
> > PECL command line interface.
> > Now I'm sure I'm going to find the problem soon, but as the
> > documentation, as it is, is leading me to a problem and obviously I
> > can't create and account to edit that page, I wanted to mention it.
>
> > When I try getting the WSDL for that page, I get a (double) error
> > message:
>
> > [Sat Jul 26 11:58:27 2008] [error] [client 127.0.0.1] PHP Warning:
> > SCA_Binding_Factory::require(SCA/Bindings/ws/RequestTester.php) [<a
> > href='function.SCA-Binding-Factory-require'>function.SCA-Binding-
> > Factory-require</a>]: failed to open stream: No such file or directory
> > in /usr/share/php/SCA/SCA_BindingFactory.php on line 68
> > [Sat Jul 26 11:58:27 2008] [error] [client 127.0.0.1] PHP Fatal
> > error:  SCA_Binding_Factory::require() [<a
> > href='function.require'>function.require</a>]: Failed opening required
> > 'SCA/Bindings/ws/RequestTester.php' (include_path='.:/usr/share/php:/
> > usr/share/pear') in /usr/share/php/SCA/SCA_BindingFactory.php on line
> > 68
>
> > Looking into my /usr/share/php/SCA/ directory, I have:
>
> > /usr/share/php/SCA/Bindings$ ls
> > atom      jsonrpc  message       restrpc  tuscany
> > ebaysoap  local    restresource  soap     xmlrpc
>
> > So, no directory called "ws/". I guess specifying in the given example
> > which type of service I want might help, but in the meantime the
> > example is leading straight to an error, which is confusing for
> > newcomers.
>
> > Cheers,
>
> > Yannick


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "phpsoa" group.
To post to this group, send email to phpsoa@...
To unsubscribe from this group, send email to phpsoa-unsubscribe@...
For more options, visit this group at http://groups.google.co.uk/group/phpsoa?hl=en
-~----------~----~----~----~------~----~------~--~---



winmail.dat (5K) Download Attachment

Re: Error with documentation example

by Graham Charters-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi Yannick,

Thanks for pointing out the documentation problem on osoa.org.  I'll
try to fix that shortly.

Dalibor is correct that WSDL is only generated for binding.soap.
Other bindings will generate their own kinds of service descriptions
where appropriate.  For example, binding.jsonrpc with generate a
service method description if you add ?smd.

Regards, Graham.

On 28 Jul, 00:01, Dalibor Andzakovic <Dalibor.Andzako...@...>
wrote:

> Correct. WSDL only gets created for SOAP services AFAIK.
>
> dali
>
> -----Original Message-----
> From: phpsoa@... on behalf of Yannick
> Sent: Mon 2008-07-28 11:00
> To: phpsoa
> Subject: [phpsoa] Re: Error with documentation example
>
> Sorry, @binding.soap definitely works. I've been trying all the other
> types (atom, jsonrpc, message, restrpc, tuscany, ebaysoap, local,
> restresource, xmlrpc) but none of these generate a wsdl, even though
> they don't generate any error message either.
> Is that due to something proper to each of these other web services
> types?
>
> Yannick
>
> On 27 juil, 17:39, Yannick <ywarn...@...> wrote:
> > Like I said, finding the problem was not difficult nor long, but it's
> > still confusing that there is no explanation of what "ws" could be
> > replaced by in @binding.ws. Of course, replacing it by @binding.soap
> > worked immediately.
> > However, I tried to change it to @binding.restrpc and that,
> > apparently, brings me back to the initial state (blank page); but this
> > time I get no error report.
> > Changing it back to @binding.soap doesn't work.
>
> > Yannick
>
> > On 26 juil, 18:24, Yannick <ywarn...@...> wrote:
>
> > > Hi there,
>
> > > I'm currently taking my first steps with SCA-SDO following the example
> > > given here:
>
> > >http://www.osoa.org/display/PHP/SCA+Documentation#SCADocumentation-2.5
>
> > > I am using an Ubuntu 8.04 system ad I downloaded SCA_SDO using the
> > > PECL command line interface.
> > > Now I'm sure I'm going to find the problem soon, but as the
> > > documentation, as it is, is leading me to a problem and obviously I
> > > can't create and account to edit that page, I wanted to mention it.
>
> > > When I try getting the WSDL for that page, I get a (double) error
> > > message:
>
> > > [Sat Jul 26 11:58:27 2008] [error] [client 127.0.0.1] PHP Warning:
> > > SCA_Binding_Factory::require(SCA/Bindings/ws/RequestTester.php) [<a
> > > href='function.SCA-Binding-Factory-require'>function.SCA-Binding-
> > > Factory-require</a>]: failed to open stream: No such file or directory
> > > in /usr/share/php/SCA/SCA_BindingFactory.php on line 68
> > > [Sat Jul 26 11:58:27 2008] [error] [client 127.0.0.1] PHP Fatal
> > > error:  SCA_Binding_Factory::require() [<a
> > > href='function.require'>function.require</a>]: Failed opening required
> > > 'SCA/Bindings/ws/RequestTester.php' (include_path='.:/usr/share/php:/
> > > usr/share/pear') in /usr/share/php/SCA/SCA_BindingFactory.php on line
> > > 68
>
> > > Looking into my /usr/share/php/SCA/ directory, I have:
>
> > > /usr/share/php/SCA/Bindings$ ls
> > > atom      jsonrpc  message       restrpc  tuscany
> > > ebaysoap  local    restresource  soap     xmlrpc
>
> > > So, no directory called "ws/". I guess specifying in the given example
> > > which type of service I want might help, but in the meantime the
> > > example is leading straight to an error, which is confusing for
> > > newcomers.
>
> > > Cheers,
>
> > > Yannick
>
>
>
>  winmail.dat
> 5KDownload
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "phpsoa" group.
To post to this group, send email to phpsoa@...
To unsubscribe from this group, send email to phpsoa-unsubscribe@...
For more options, visit this group at http://groups.google.co.uk/group/phpsoa?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Error with documentation example

by Matthew Peters-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I just went through the page and changed all the binding.ws (and a
couple of binding.wsdl) to binding.soap.

I also sprinkled a warning that the most up to date documentation is
on php.net through the document:

|| _The most up to date documentation is to be found on the php.net
site, at [http://www.php.net/manual/en/book.sca.php] for example_ ||

Matthew

On Jul 29, 8:21 am, Graham Charters <gchart...@...> wrote:

> Hi Yannick,
>
> Thanks for pointing out the documentation problem on osoa.org.  I'll
> try to fix that shortly.
>
> Dalibor is correct that WSDL is only generated for binding.soap.
> Other bindings will generate their own kinds of service descriptions
> where appropriate.  For example, binding.jsonrpc with generate a
> service method description if you add ?smd.
>
> Regards, Graham.
>
> On 28 Jul, 00:01, Dalibor Andzakovic <Dalibor.Andzako...@...>
> wrote:
>
> > Correct. WSDL only gets created for SOAP services AFAIK.
>
> > dali
>
> > -----Original Message-----
> > From: phpsoa@... on behalf of Yannick
> > Sent: Mon 2008-07-28 11:00
> > To: phpsoa
> > Subject: [phpsoa] Re: Error with documentation example
>
> > Sorry, @binding.soap definitely works. I've been trying all the other
> > types (atom, jsonrpc, message, restrpc, tuscany, ebaysoap, local,
> > restresource, xmlrpc) but none of these generate a wsdl, even though
> > they don't generate any error message either.
> > Is that due to something proper to each of these other web services
> > types?
>
> > Yannick
>
> > On 27 juil, 17:39, Yannick <ywarn...@...> wrote:
> > > Like I said, finding the problem was not difficult nor long, but it's
> > > still confusing that there is no explanation of what "ws" could be
> > > replaced by in @binding.ws. Of course, replacing it by @binding.soap
> > > worked immediately.
> > > However, I tried to change it to @binding.restrpc and that,
> > > apparently, brings me back to the initial state (blank page); but this
> > > time I get no error report.
> > > Changing it back to @binding.soap doesn't work.
>
> > > Yannick
>
> > > On 26 juil, 18:24, Yannick <ywarn...@...> wrote:
>
> > > > Hi there,
>
> > > > I'm currently taking my first steps with SCA-SDO following the example
> > > > given here:
>
> > > >http://www.osoa.org/display/PHP/SCA+Documentation#SCADocumentation-2.5
>
> > > > I am using an Ubuntu 8.04 system ad I downloaded SCA_SDO using the
> > > > PECL command line interface.
> > > > Now I'm sure I'm going to find the problem soon, but as the
> > > > documentation, as it is, is leading me to a problem and obviously I
> > > > can't create and account to edit that page, I wanted to mention it.
>
> > > > When I try getting the WSDL for that page, I get a (double) error
> > > > message:
>
> > > > [Sat Jul 26 11:58:27 2008] [error] [client 127.0.0.1] PHP Warning:
> > > > SCA_Binding_Factory::require(SCA/Bindings/ws/RequestTester.php) [<a
> > > > href='function.SCA-Binding-Factory-require'>function.SCA-Binding-
> > > > Factory-require</a>]: failed to open stream: No such file or directory
> > > > in /usr/share/php/SCA/SCA_BindingFactory.php on line 68
> > > > [Sat Jul 26 11:58:27 2008] [error] [client 127.0.0.1] PHP Fatal
> > > > error:  SCA_Binding_Factory::require() [<a
> > > > href='function.require'>function.require</a>]: Failed opening required
> > > > 'SCA/Bindings/ws/RequestTester.php' (include_path='.:/usr/share/php:/
> > > > usr/share/pear') in /usr/share/php/SCA/SCA_BindingFactory.php on line
> > > > 68
>
> > > > Looking into my /usr/share/php/SCA/ directory, I have:
>
> > > > /usr/share/php/SCA/Bindings$ ls
> > > > atom      jsonrpc  message       restrpc  tuscany
> > > > ebaysoap  local    restresource  soap     xmlrpc
>
> > > > So, no directory called "ws/". I guess specifying in the given example
> > > > which type of service I want might help, but in the meantime the
> > > > example is leading straight to an error, which is confusing for
> > > > newcomers.
>
> > > > Cheers,
>
> > > > Yannick
>
> >  winmail.dat
> > 5KDownload
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "phpsoa" group.
To post to this group, send email to phpsoa@...
To unsubscribe from this group, send email to phpsoa-unsubscribe@...
For more options, visit this group at http://groups.google.co.uk/group/phpsoa?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Error with documentation example

by Graham Charters-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi Matthew,

Thanks for making these changes.  I was going to, but got derailed by
the fact that the first ones are in images.  I see these haven't been
changed.  I think Simon Laws created these and I don't have the
originals.  If we can't get the originals we'll need to recreate them,
or remove the images.

Regards, Graham.

On 29 Jul, 11:03, Matthew Peters <matthew.f.pet...@...>
wrote:

> I just went through the page and changed all the binding.ws (and a
> couple of binding.wsdl) to binding.soap.
>
> I also sprinkled a warning that the most up to date documentation is
> on php.net through the document:
>
> || _The most up to date documentation is to be found on the php.net
> site, at [http://www.php.net/manual/en/book.sca.php] for example_ ||
>
> Matthew
>
> On Jul 29, 8:21 am, Graham Charters <gchart...@...> wrote:
>
> > Hi Yannick,
>
> > Thanks for pointing out the documentation problem on osoa.org.  I'll
> > try to fix that shortly.
>
> > Dalibor is correct that WSDL is only generated for binding.soap.
> > Other bindings will generate their own kinds of service descriptions
> > where appropriate.  For example, binding.jsonrpc with generate a
> > service method description if you add ?smd.
>
> > Regards, Graham.
>
> > On 28 Jul, 00:01, Dalibor Andzakovic <Dalibor.Andzako...@...>
> > wrote:
>
> > > Correct. WSDL only gets created for SOAP services AFAIK.
>
> > > dali
>
> > > -----Original Message-----
> > > From: phpsoa@... on behalf of Yannick
> > > Sent: Mon 2008-07-28 11:00
> > > To: phpsoa
> > > Subject: [phpsoa] Re: Error with documentation example
>
> > > Sorry, @binding.soap definitely works. I've been trying all the other
> > > types (atom, jsonrpc, message, restrpc, tuscany, ebaysoap, local,
> > > restresource, xmlrpc) but none of these generate a wsdl, even though
> > > they don't generate any error message either.
> > > Is that due to something proper to each of these other web services
> > > types?
>
> > > Yannick
>
> > > On 27 juil, 17:39, Yannick <ywarn...@...> wrote:
> > > > Like I said, finding the problem was not difficult nor long, but it's
> > > > still confusing that there is no explanation of what "ws" could be
> > > > replaced by in @binding.ws. Of course, replacing it by @binding.soap
> > > > worked immediately.
> > > > However, I tried to change it to @binding.restrpc and that,
> > > > apparently, brings me back to the initial state (blank page); but this
> > > > time I get no error report.
> > > > Changing it back to @binding.soap doesn't work.
>
> > > > Yannick
>
> > > > On 26 juil, 18:24, Yannick <ywarn...@...> wrote:
>
> > > > > Hi there,
>
> > > > > I'm currently taking my first steps with SCA-SDO following the example
> > > > > given here:
>
> > > > >http://www.osoa.org/display/PHP/SCA+Documentation#SCADocumentation-2.5
>
> > > > > I am using an Ubuntu 8.04 system ad I downloaded SCA_SDO using the
> > > > > PECL command line interface.
> > > > > Now I'm sure I'm going to find the problem soon, but as the
> > > > > documentation, as it is, is leading me to a problem and obviously I
> > > > > can't create and account to edit that page, I wanted to mention it.
>
> > > > > When I try getting the WSDL for that page, I get a (double) error
> > > > > message:
>
> > > > > [Sat Jul 26 11:58:27 2008] [error] [client 127.0.0.1] PHP Warning:
> > > > > SCA_Binding_Factory::require(SCA/Bindings/ws/RequestTester.php) [<a
> > > > > href='function.SCA-Binding-Factory-require'>function.SCA-Binding-
> > > > > Factory-require</a>]: failed to open stream: No such file or directory
> > > > > in /usr/share/php/SCA/SCA_BindingFactory.php on line 68
> > > > > [Sat Jul 26 11:58:27 2008] [error] [client 127.0.0.1] PHP Fatal
> > > > > error:  SCA_Binding_Factory::require() [<a
> > > > > href='function.require'>function.require</a>]: Failed opening required
> > > > > 'SCA/Bindings/ws/RequestTester.php' (include_path='.:/usr/share/php:/
> > > > > usr/share/pear') in /usr/share/php/SCA/SCA_BindingFactory.php on line
> > > > > 68
>
> > > > > Looking into my /usr/share/php/SCA/ directory, I have:
>
> > > > > /usr/share/php/SCA/Bindings$ ls
> > > > > atom      jsonrpc  message       restrpc  tuscany
> > > > > ebaysoap  local    restresource  soap     xmlrpc
>
> > > > > So, no directory called "ws/". I guess specifying in the given example
> > > > > which type of service I want might help, but in the meantime the
> > > > > example is leading straight to an error, which is confusing for
> > > > > newcomers.
>
> > > > > Cheers,
>
> > > > > Yannick
>
> > >  winmail.dat
> > > 5KDownload
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "phpsoa" group.
To post to this group, send email to phpsoa@...
To unsubscribe from this group, send email to phpsoa-unsubscribe@...
For more options, visit this group at http://groups.google.co.uk/group/phpsoa?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Error with documentation example

by Yannick-18 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Thanks

On 29 juil, 08:17, Graham Charters <gchart...@...> wrote:

> Hi Matthew,
>
> Thanks for making these changes.  I was going to, but got derailed by
> the fact that the first ones are in images.  I see these haven't been
> changed.  I think Simon Laws created these and I don't have the
> originals.  If we can't get the originals we'll need to recreate them,
> or remove the images.
>
> Regards, Graham.
>
> On 29 Jul, 11:03, Matthew Peters <matthew.f.pet...@...>
> wrote:
>
> > I just went through the page and changed all the binding.ws (and a
> > couple of binding.wsdl) to binding.soap.
>
> > I also sprinkled a warning that the most up to date documentation is
> > on php.net through the document:
>
> > || _The most up to date documentation is to be found on the php.net
> > site, at [http://www.php.net/manual/en/book.sca.php] for example_ ||
>
> > Matthew
>
> > On Jul 29, 8:21 am, Graham Charters <gchart...@...> wrote:
>
> > > Hi Yannick,
>
> > > Thanks for pointing out the documentation problem on osoa.org.  I'll
> > > try to fix that shortly.
>
> > > Dalibor is correct that WSDL is only generated for binding.soap.
> > > Other bindings will generate their own kinds of service descriptions
> > > where appropriate.  For example, binding.jsonrpc with generate a
> > > service method description if you add ?smd.
>
> > > Regards, Graham.
>
> > > On 28 Jul, 00:01, Dalibor Andzakovic <Dalibor.Andzako...@...>
> > > wrote:
>
> > > > Correct. WSDL only gets created for SOAP services AFAIK.
>
> > > > dali
>
> > > > -----Original Message-----
> > > > From: phpsoa@... on behalf of Yannick
> > > > Sent: Mon 2008-07-28 11:00
> > > > To: phpsoa
> > > > Subject: [phpsoa] Re: Error with documentation example
>
> > > > Sorry, @binding.soap definitely works. I've been trying all the other
> > > > types (atom, jsonrpc, message, restrpc, tuscany, ebaysoap, local,
> > > > restresource, xmlrpc) but none of these generate a wsdl, even though
> > > > they don't generate any error message either.
> > > > Is that due to something proper to each of these other web services
> > > > types?
>
> > > > Yannick
>
> > > > On 27 juil, 17:39, Yannick <ywarn...@...> wrote:
> > > > > Like I said, finding the problem was not difficult nor long, but it's
> > > > > still confusing that there is no explanation of what "ws" could be
> > > > > replaced by in @binding.ws. Of course, replacing it by @binding.soap
> > > > > worked immediately.
> > > > > However, I tried to change it to @binding.restrpc and that,
> > > > > apparently, brings me back to the initial state (blank page); but this
> > > > > time I get no error report.
> > > > > Changing it back to @binding.soap doesn't work.
>
> > > > > Yannick
>
> > > > > On 26 juil, 18:24, Yannick <ywarn...@...> wrote:
>
> > > > > > Hi there,
>
> > > > > > I'm currently taking my first steps with SCA-SDO following the example
> > > > > > given here:
>
> > > > > >http://www.osoa.org/display/PHP/SCA+Documentation#SCADocumentation-2.5
>
> > > > > > I am using an Ubuntu 8.04 system ad I downloaded SCA_SDO using the
> > > > > > PECL command line interface.
> > > > > > Now I'm sure I'm going to find the problem soon, but as the
> > > > > > documentation, as it is, is leading me to a problem and obviously I
> > > > > > can't create and account to edit that page, I wanted to mention it.
>
> > > > > > When I try getting the WSDL for that page, I get a (double) error
> > > > > > message:
>
> > > > > > [Sat Jul 26 11:58:27 2008] [error] [client 127.0.0.1] PHP Warning:
> > > > > > SCA_Binding_Factory::require(SCA/Bindings/ws/RequestTester.php) [<a
> > > > > > href='function.SCA-Binding-Factory-require'>function.SCA-Binding-
> > > > > > Factory-require</a>]: failed to open stream: No such file or directory
> > > > > > in /usr/share/php/SCA/SCA_BindingFactory.php on line 68
> > > > > > [Sat Jul 26 11:58:27 2008] [error] [client 127.0.0.1] PHP Fatal
> > > > > > error:  SCA_Binding_Factory::require() [<a
> > > > > > href='function.require'>function.require</a>]: Failed opening required
> > > > > > 'SCA/Bindings/ws/RequestTester.php' (include_path='.:/usr/share/php:/
> > > > > > usr/share/pear') in /usr/share/php/SCA/SCA_BindingFactory.php on line
> > > > > > 68
>
> > > > > > Looking into my /usr/share/php/SCA/ directory, I have:
>
> > > > > > /usr/share/php/SCA/Bindings$ ls
> > > > > > atom      jsonrpc  message       restrpc  tuscany
> > > > > > ebaysoap  local    restresource  soap     xmlrpc
>
> > > > > > So, no directory called "ws/". I guess specifying in the given example
> > > > > > which type of service I want might help, but in the meantime the
> > > > > > example is leading straight to an error, which is confusing for
> > > > > > newcomers.
>
> > > > > > Cheers,
>
> > > > > > Yannick
>
> > > >  winmail.dat
> > > > 5KDownload
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "phpsoa" group.
To post to this group, send email to phpsoa@...
To unsubscribe from this group, send email to phpsoa+unsubscribe@...
For more options, visit this group at http://groups.google.co.uk/group/phpsoa?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Error with documentation example

by Simon Laws :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message




On 30 Jul, 04:11, Yannick <ywarn...@...> wrote:

> Thanks
>
> On 29 juil, 08:17, Graham Charters <gchart...@...> wrote:
>
> > Hi Matthew,
>
> > Thanks for making these changes.  I was going to, but got derailed by
> > the fact that the first ones are in images.  I see these haven't been
> > changed.  I think Simon Laws created these and I don't have the
> > originals.  If we can't get the originals we'll need to recreate them,
> > or remove the images.
>
> > Regards, Graham.
>
> > On 29 Jul, 11:03, Matthew Peters <matthew.f.pet...@...>
> > wrote:
>
> > > I just went through the page and changed all the binding.ws (and a
> > > couple of binding.wsdl) to binding.soap.
>
> > > I also sprinkled a warning that the most up to date documentation is
> > > on php.net through the document:
>
> > > || _The most up to date documentation is to be found on the php.net
> > > site, at [http://www.php.net/manual/en/book.sca.php] for example_ ||
>
> > > Matthew
>
> > > On Jul 29, 8:21 am, Graham Charters <gchart...@...> wrote:
>
> > > > Hi Yannick,
>
> > > > Thanks for pointing out the documentation problem on osoa.org.  I'll
> > > > try to fix that shortly.
>
> > > > Dalibor is correct that WSDL is only generated for binding.soap.
> > > > Other bindings will generate their own kinds of service descriptions
> > > > where appropriate.  For example, binding.jsonrpc with generate a
> > > > service method description if you add ?smd.
>
> > > > Regards, Graham.
>
> > > > On 28 Jul, 00:01, Dalibor Andzakovic <Dalibor.Andzako...@...>
> > > > wrote:
>
> > > > > Correct. WSDL only gets created for SOAP services AFAIK.
>
> > > > > dali
>
> > > > > -----Original Message-----
> > > > > From: phpsoa@... on behalf of Yannick
> > > > > Sent: Mon 2008-07-28 11:00
> > > > > To: phpsoa
> > > > > Subject: [phpsoa] Re: Error with documentation example
>
> > > > > Sorry, @binding.soap definitely works. I've been trying all the other
> > > > > types (atom, jsonrpc, message, restrpc, tuscany, ebaysoap, local,
> > > > > restresource, xmlrpc) but none of these generate a wsdl, even though
> > > > > they don't generate any error message either.
> > > > > Is that due to something proper to each of these other web services
> > > > > types?
>
> > > > > Yannick
>
> > > > > On 27 juil, 17:39, Yannick <ywarn...@...> wrote:
> > > > > > Like I said, finding the problem was not difficult nor long, but it's
> > > > > > still confusing that there is no explanation of what "ws" could be
> > > > > > replaced by in @binding.ws. Of course, replacing it by @binding.soap
> > > > > > worked immediately.
> > > > > > However, I tried to change it to @binding.restrpc and that,
> > > > > > apparently, brings me back to the initial state (blank page); but this
> > > > > > time I get no error report.
> > > > > > Changing it back to @binding.soap doesn't work.
>
> > > > > > Yannick
>
> > > > > > On 26 juil, 18:24, Yannick <ywarn...@...> wrote:
>
> > > > > > > Hi there,
>
> > > > > > > I'm currently taking my first steps with SCA-SDO following the example
> > > > > > > given here:
>
> > > > > > >http://www.osoa.org/display/PHP/SCA+Documentation#SCADocumentation-2.5
>
> > > > > > > I am using an Ubuntu 8.04 system ad I downloaded SCA_SDO using the
> > > > > > > PECL command line interface.
> > > > > > > Now I'm sure I'm going to find the problem soon, but as the
> > > > > > > documentation, as it is, is leading me to a problem and obviously I
> > > > > > > can't create and account to edit that page, I wanted to mention it.
>
> > > > > > > When I try getting the WSDL for that page, I get a (double) error
> > > > > > > message:
>
> > > > > > > [Sat Jul 26 11:58:27 2008] [error] [client 127.0.0.1] PHP Warning:
> > > > > > > SCA_Binding_Factory::require(SCA/Bindings/ws/RequestTester.php) [<a
> > > > > > > href='function.SCA-Binding-Factory-require'>function.SCA-Binding-
> > > > > > > Factory-require</a>]: failed to open stream: No such file or directory
> > > > > > > in /usr/share/php/SCA/SCA_BindingFactory.php on line 68
> > > > > > > [Sat Jul 26 11:58:27 2008] [error] [client 127.0.0.1] PHP Fatal
> > > > > > > error:  SCA_Binding_Factory::require() [<a
> > > > > > > href='function.require'>function.require</a>]: Failed opening required
> > > > > > > 'SCA/Bindings/ws/RequestTester.php' (include_path='.:/usr/share/php:/
> > > > > > > usr/share/pear') in /usr/share/php/SCA/SCA_BindingFactory.php on line
> > > > > > > 68
>
> > > > > > > Looking into my /usr/share/php/SCA/ directory, I have:
>
> > > > > > > /usr/share/php/SCA/Bindings$ ls
> > > > > > > atom      jsonrpc  message       restrpc  tuscany
> > > > > > > ebaysoap  local    restresource  soap     xmlrpc
>
> > > > > > > So, no directory called "ws/". I guess specifying in the given example
> > > > > > > which type of service I want might help, but in the meantime the
> > > > > > > example is leading straight to an error, which is confusing for
> > > > > > > newcomers.
>
> > > > > > > Cheers,
>
> > > > > > > Yannick
>
> > > > >  winmail.dat
> > > > > 5KDownload

I'm sure I have those images somewhere but I've go a new laptop
recently so I'll have to drag them off the backup. Bear with me.

Simon
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "phpsoa" group.
To post to this group, send email to phpsoa@...
To unsubscribe from this group, send email to phpsoa+unsubscribe@...
For more options, visit this group at http://groups.google.co.uk/group/phpsoa?hl=en
-~----------~----~----~----~------~----~------~--~---