<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:www.nabble.com,2006:forum-24236</id>
	<title>Nabble - SCA and SDO for PHP</title>
	<updated>2008-08-01T00:32:09Z</updated>
	<link rel="self" type="application/atom+xml" href="http://www.nabble.com/SCA-and-SDO-for-PHP-f24236.xml" />
	<link rel="alternate" type="text/html" href="http://www.nabble.com/SCA-and-SDO-for-PHP-f24236.html" />
	<subtitle type="html">The aim of the &lt;a href=&quot;http://www.osoa.org/display/PHP/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;SOA PHP project&lt;/a&gt;&amp;nbsp;is to create, as a community, an infrastructure that simplifies the development of PHP applications in a service oriented architecture (SOA). This project is based on independent technologies that support this goal:
&lt;br&gt;&amp;nbsp;* Service Component Architecture (SCA) provides a very easy way to create and access services
&lt;br&gt;&amp;nbsp;* Service Data Object (SDO) provides a uniform interface for handling different forms of data and provides a mechanism for tracking changes in data.</subtitle>
	
<entry>
	<id>tag:www.nabble.com,2006:post-18769584</id>
	<title>Re: SCA services access control...?</title>
	<published>2008-08-01T00:32:09Z</published>
	<updated>2008-08-01T00:32:09Z</updated>
	<author>
		<name>Graham Charters-2</name>
	</author>
	<content type="html">&lt;br&gt;Hi Yannick, once again, apologies for not responding sooner.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Security is something which has come up on numerous occasions, but no
&lt;br&gt;one has been able to find the time to incorporate something. &amp;nbsp;I
&lt;br&gt;believe unless you are able to do something that, sadly, this is still
&lt;br&gt;the case. &amp;nbsp;I've included a couple of links to previous discussions
&lt;br&gt;[1,2].
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;I'm afraid don't fully appreciate the issues you are encountering, but
&lt;br&gt;have some thoughts on the suggested design... I think modifying the
&lt;br&gt;service interface to include security parameters does not seem like an
&lt;br&gt;approach that fits with SCA. &amp;nbsp;SCA tries to keep service interfaces
&lt;br&gt;clean (focus on business interface) and consistent across protocols.
&lt;br&gt;I think the security information more appropriately belongs in a
&lt;br&gt;header, rather than on the service interface. &amp;nbsp;I think using
&lt;br&gt;annotations to control things is good, and if the configuration is
&lt;br&gt;complex then an ini file approach like the ebaysoap binding can help
&lt;br&gt;[3].
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;I hope this helps.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Regards, Graham
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;[1] &lt;a href=&quot;http://groups.google.co.uk/group/phpsoa/browse_thread/thread/c92450e7a170a3e8/43f639a7b4f7af07?lnk=gst&amp;q=Kieran#43f639a7b4f7af07&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.co.uk/group/phpsoa/browse_thread/thread/c92450e7a170a3e8/43f639a7b4f7af07?lnk=gst&amp;q=Kieran#43f639a7b4f7af07&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;[2] &lt;a href=&quot;http://groups.google.co.uk/group/phpsoa/browse_thread/thread/47d069e4ca44d9a9/aa11352d10c28e03?lnk=gst&amp;q=Rob#aa11352d10c28e03&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.co.uk/group/phpsoa/browse_thread/thread/47d069e4ca44d9a9/aa11352d10c28e03?lnk=gst&amp;q=Rob#aa11352d10c28e03&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;[3] &lt;a href=&quot;http://osoa.org/display/PHP/eBay+SOAP+Binding+Documentation&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://osoa.org/display/PHP/eBay+SOAP+Binding+Documentation&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;On 30 Jul, 04:15, Yannick &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18769584&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ywarn...@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Anybody got anything to say about this?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On 27 juil, 20:11, Yannick &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18769584&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ywarn...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I think I mentioned it the first time I sent an e-mail on this list,
&lt;br&gt;&amp;gt; &amp;gt; but one of the major problems I have with using SCA is that, if I do
&lt;br&gt;&amp;gt; &amp;gt; implement it into existing classes, I don't want just anyone to be
&lt;br&gt;&amp;gt; &amp;gt; able to use them freely.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; In Dokeos (and outside of any web services context), we rely on an
&lt;br&gt;&amp;gt; &amp;gt; initial authentication process (using sessions) to make sure the user
&lt;br&gt;&amp;gt; &amp;gt; is authorized to do what he is trying to do.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; However, if I want to take the full benefit out of SCA, I would like
&lt;br&gt;&amp;gt; &amp;gt; to be able to re-use my existing functions and *just* add a few
&lt;br&gt;&amp;gt; &amp;gt; comments here and there, and be done with it. Now the problem is that,
&lt;br&gt;&amp;gt; &amp;gt; if I do that, I inevitably loose the &amp;quot;session&amp;quot; context (as I am going
&lt;br&gt;&amp;gt; &amp;gt; through web services), and so I loose the authentication pre-check.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; This is a big problem to me, as adding an authentication process
&lt;br&gt;&amp;gt; &amp;gt; specifically for the web services, it means I *have to* reimplement
&lt;br&gt;&amp;gt; &amp;gt; most of my functions to add an authentication layer.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I remember Caroline saying that someone was remotely working on/
&lt;br&gt;&amp;gt; &amp;gt; thinking about the topic, but haven't seen any discussion about it
&lt;br&gt;&amp;gt; &amp;gt; since then.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; How are other people here dealing with that?
&lt;br&gt;&amp;gt; &amp;gt; This is most likely to be the dead-end for us in terms of either
&lt;br&gt;&amp;gt; &amp;gt; adopting SCA_SDO or at least considering it as a real benefit.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; From the top of my head, I would say that if there was a way to
&lt;br&gt;&amp;gt; &amp;gt; configure a web service transparently to work in an &amp;quot;authenticated
&lt;br&gt;&amp;gt; &amp;gt; mode&amp;quot; and that, from there on, it always added a required &amp;quot;first&amp;quot;
&lt;br&gt;&amp;gt; &amp;gt; parameter being a shared key, and optionally identified the source by
&lt;br&gt;&amp;gt; &amp;gt; IP address, it would be enough.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Something like adding a parameter @security.shared_key ../mykey.php in
&lt;br&gt;&amp;gt; &amp;gt; the class documentation, that would automatically:
&lt;br&gt;&amp;gt; &amp;gt; - generate a modified WSDL that shows a shared_key param as a first
&lt;br&gt;&amp;gt; &amp;gt; parameter for any function
&lt;br&gt;&amp;gt; &amp;gt; - add a check of this first parameter before going through with the
&lt;br&gt;&amp;gt; &amp;gt; answer to the service request
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; What would be the likeliness of that idea to be integrated into
&lt;br&gt;&amp;gt; &amp;gt; SCA_SDO? We have plans for a release of our next Dokeos version at the
&lt;br&gt;&amp;gt; &amp;gt; end of September. If it is likely, then how likely would it be that a
&lt;br&gt;&amp;gt; &amp;gt; modified version of SCA_SDO can be rolled into PECL by then (because,
&lt;br&gt;&amp;gt; &amp;gt; of course, we want our users to be able to use the feature without
&lt;br&gt;&amp;gt; &amp;gt; having to pack SCA_SDO in our package)? As SCA_SDO is not written in
&lt;br&gt;&amp;gt; &amp;gt; PHP, it would be difficult to me to contribute code, but I can
&lt;br&gt;&amp;gt; &amp;gt; certainly contribute ideas, analysis and testing.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Yannick
&lt;/div&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;phpsoa&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18769584&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;phpsoa@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18769584&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;phpsoa+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.co.uk/group/phpsoa?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.co.uk/group/phpsoa?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/SCA-services-access-control...--tp18682661p18769584.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18768297</id>
	<title>Re: Possible to offer a service from a simple function?</title>
	<published>2008-07-31T22:02:39Z</published>
	<updated>2008-07-31T22:02:39Z</updated>
	<author>
		<name>Yannick-18</name>
	</author>
	<content type="html">&lt;br&gt;Thanks, I'll see what I can do, I'm also a little short on time (I
&lt;br&gt;tend to work on things in peaks and then move on to other things, so
&lt;br&gt;that'll have to wait until the next peak for now)
&lt;br&gt;&lt;br&gt;On 31 juil, 08:46, Graham Charters &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18768297&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gchart...@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Yannick,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Apologies for not replying sooner.  I'm swamped with other activities
&lt;br&gt;&amp;gt; at the moment, so not able to contribute much :-(
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I think in principle there's nothing preventing a function being
&lt;br&gt;&amp;gt; exposed as SCA component.  This hasn't been done and I'm sure there
&lt;br&gt;&amp;gt; would be devils in the detail around building up service descriptions,
&lt;br&gt;&amp;gt; and so on.  I believe ext/soap supports functions as service
&lt;br&gt;&amp;gt; implementations so it should be possible to target them with
&lt;br&gt;&amp;gt; @binding.ws.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If it's something you'd be interested to work on, I'd be glad to help
&lt;br&gt;&amp;gt; in what little time I can spare.  In the absence of this support, I
&lt;br&gt;&amp;gt; think wrapper classes is the only option, which I agree is not ideal.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Sorry I can't be of more help.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Regards, Graham.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On 30 Jul, 04:25, Yannick &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18768297&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ywarn...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Or actually I might use SCA, but will newly built methods, which kinds
&lt;br&gt;&amp;gt; &amp;gt; of defeats half the purpose.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; On 29 juil, 22:22, Yannick &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18768297&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ywarn...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; I'd really like to get started soon on web services implementation,
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; and the series of e-mails I have sent give a clear idea of my concerns
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; regarding SCA. I won't lie, I'm currently looking at other projects
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; because of the shortcomings I have found in SCA, which kind of sucks
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; as I really liked the idea behind SCA (re-use of existing functions
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; using PHPDoc comments). On the other hand, I really can't see how one
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; could provide web services using existing functions if:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; - they absolutely have to use classes
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; - the files must have the same name as the class inside (What if there
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; are two classes inside? What if you have an existing open-source
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; project with lots of files depending on your class?). Apparently there
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; is no way either to include a class-definition file intp a placeholder
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; file which holds the right filename (because of the time at which the
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; inclusion statement is processed the comments are already gone).
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; - there is no security check anywhere
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; - a missing space or a minor difference in the PHPDoc format can break
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; the parsing process
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Anyway, if it doesn't work out now, it might work out later. I'll try
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; to assist in fixing all these little issues that make it very
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; difficult to use for me (and in the meantime, I'll probably fall down
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; to a PHP solution like NuSOAP or something of the likes).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Thanks anyway,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Yannick
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; On 27 juil, 19:52, Yannick &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18768297&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ywarn...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Hi there,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; As I am trying out SCA, a bunch of questions come to mind. I'll try to
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; stick to one-question-per-mail for clarity and indexing of the
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; answers.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Following the documentation herehttp://www.osoa.org/display/PHP/SCA+Documentation#SCADocumentation-2:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;quot;...PHP annotations are used to define PHP classes as SCA
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; components,...&amp;quot;.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; As far as I can see, there's no way to use a simple functions library
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; and provide web services from it, is there?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; If not, considering a functions library should also use a file-level
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; header for PHPDocumentor, is there a particular reason why it is not
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; possible to use simple functions?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Thanks,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Yannick
&lt;/div&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;phpsoa&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18768297&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;phpsoa@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18768297&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;phpsoa+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.co.uk/group/phpsoa?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.co.uk/group/phpsoa?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Possible-to-offer-a-service-from-a-simple-function--tp18682526p18768297.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18754981</id>
	<title>Re: Possible to offer a service from a simple function?</title>
	<published>2008-07-31T06:46:16Z</published>
	<updated>2008-07-31T06:46:16Z</updated>
	<author>
		<name>Graham Charters-2</name>
	</author>
	<content type="html">&lt;br&gt;Hi Yannick,
&lt;br&gt;&lt;br&gt;Apologies for not replying sooner. &amp;nbsp;I'm swamped with other activities
&lt;br&gt;at the moment, so not able to contribute much :-(
&lt;br&gt;&lt;br&gt;I think in principle there's nothing preventing a function being
&lt;br&gt;exposed as SCA component. &amp;nbsp;This hasn't been done and I'm sure there
&lt;br&gt;would be devils in the detail around building up service descriptions,
&lt;br&gt;and so on. &amp;nbsp;I believe ext/soap supports functions as service
&lt;br&gt;implementations so it should be possible to target them with
&lt;br&gt;@binding.ws.
&lt;br&gt;&lt;br&gt;If it's something you'd be interested to work on, I'd be glad to help
&lt;br&gt;in what little time I can spare. &amp;nbsp;In the absence of this support, I
&lt;br&gt;think wrapper classes is the only option, which I agree is not ideal.
&lt;br&gt;&lt;br&gt;Sorry I can't be of more help.
&lt;br&gt;&lt;br&gt;Regards, Graham.
&lt;br&gt;&lt;br&gt;On 30 Jul, 04:25, Yannick &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18754981&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ywarn...@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Or actually I might use SCA, but will newly built methods, which kinds
&lt;br&gt;&amp;gt; of defeats half the purpose.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On 29 juil, 22:22, Yannick &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18754981&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ywarn...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I'd really like to get started soon on web services implementation,
&lt;br&gt;&amp;gt; &amp;gt; and the series of e-mails I have sent give a clear idea of my concerns
&lt;br&gt;&amp;gt; &amp;gt; regarding SCA. I won't lie, I'm currently looking at other projects
&lt;br&gt;&amp;gt; &amp;gt; because of the shortcomings I have found in SCA, which kind of sucks
&lt;br&gt;&amp;gt; &amp;gt; as I really liked the idea behind SCA (re-use of existing functions
&lt;br&gt;&amp;gt; &amp;gt; using PHPDoc comments). On the other hand, I really can't see how one
&lt;br&gt;&amp;gt; &amp;gt; could provide web services using existing functions if:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; - they absolutely have to use classes
&lt;br&gt;&amp;gt; &amp;gt; - the files must have the same name as the class inside (What if there
&lt;br&gt;&amp;gt; &amp;gt; are two classes inside? What if you have an existing open-source
&lt;br&gt;&amp;gt; &amp;gt; project with lots of files depending on your class?). Apparently there
&lt;br&gt;&amp;gt; &amp;gt; is no way either to include a class-definition file intp a placeholder
&lt;br&gt;&amp;gt; &amp;gt; file which holds the right filename (because of the time at which the
&lt;br&gt;&amp;gt; &amp;gt; inclusion statement is processed the comments are already gone).
&lt;br&gt;&amp;gt; &amp;gt; - there is no security check anywhere
&lt;br&gt;&amp;gt; &amp;gt; - a missing space or a minor difference in the PHPDoc format can break
&lt;br&gt;&amp;gt; &amp;gt; the parsing process
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Anyway, if it doesn't work out now, it might work out later. I'll try
&lt;br&gt;&amp;gt; &amp;gt; to assist in fixing all these little issues that make it very
&lt;br&gt;&amp;gt; &amp;gt; difficult to use for me (and in the meantime, I'll probably fall down
&lt;br&gt;&amp;gt; &amp;gt; to a PHP solution like NuSOAP or something of the likes).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Thanks anyway,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Yannick
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; On 27 juil, 19:52, Yannick &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18754981&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ywarn...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Hi there,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; As I am trying out SCA, a bunch of questions come to mind. I'll try to
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; stick to one-question-per-mail for clarity and indexing of the
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; answers.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Following the documentation herehttp://www.osoa.org/display/PHP/SCA+Documentation#SCADocumentation-2:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;quot;...PHP annotations are used to define PHP classes as SCA
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; components,...&amp;quot;.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; As far as I can see, there's no way to use a simple functions library
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; and provide web services from it, is there?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; If not, considering a functions library should also use a file-level
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; header for PHPDocumentor, is there a particular reason why it is not
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; possible to use simple functions?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Thanks,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Yannick
&lt;/div&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;phpsoa&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18754981&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;phpsoa@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18754981&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;phpsoa+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.co.uk/group/phpsoa?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.co.uk/group/phpsoa?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Possible-to-offer-a-service-from-a-simple-function--tp18682526p18754981.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18729567</id>
	<title>Re: Error with documentation example</title>
	<published>2008-07-30T02:37:30Z</published>
	<updated>2008-07-30T02:37:30Z</updated>
	<author>
		<name>Simon Laws</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&lt;br&gt;On 30 Jul, 04:11, Yannick &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18729567&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ywarn...@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Thanks
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On 29 juil, 08:17, Graham Charters &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18729567&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gchart...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Hi Matthew,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Thanks for making these changes.  I was going to, but got derailed by
&lt;br&gt;&amp;gt; &amp;gt; the fact that the first ones are in images.  I see these haven't been
&lt;br&gt;&amp;gt; &amp;gt; changed.  I think Simon Laws created these and I don't have the
&lt;br&gt;&amp;gt; &amp;gt; originals.  If we can't get the originals we'll need to recreate them,
&lt;br&gt;&amp;gt; &amp;gt; or remove the images.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Regards, Graham.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; On 29 Jul, 11:03, Matthew Peters &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18729567&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;matthew.f.pet...@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; I just went through the page and changed all the binding.ws (and a
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; couple of binding.wsdl) to binding.soap.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; I also sprinkled a warning that the most up to date documentation is
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; on php.net through the document:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; || _The most up to date documentation is to be found on the php.net
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; site, at [&lt;a href=&quot;http://www.php.net/manual/en/book.sca.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.php.net/manual/en/book.sca.php&lt;/a&gt;] for example_ ||
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Matthew
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; On Jul 29, 8:21 am, Graham Charters &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18729567&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gchart...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Hi Yannick,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Thanks for pointing out the documentation problem on osoa.org.  I'll
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; try to fix that shortly.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Dalibor is correct that WSDL is only generated for binding.soap.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Other bindings will generate their own kinds of service descriptions
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; where appropriate.  For example, binding.jsonrpc with generate a
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; service method description if you add ?smd.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Regards, Graham.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; On 28 Jul, 00:01, Dalibor Andzakovic &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18729567&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Dalibor.Andzako...@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Correct. WSDL only gets created for SOAP services AFAIK.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; dali
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; From: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18729567&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;phpsoa@...&lt;/a&gt; on behalf of Yannick
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Sent: Mon 2008-07-28 11:00
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; To: phpsoa
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Subject: [phpsoa] Re: Error with documentation example
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Sorry, @binding.soap definitely works. I've been trying all the other
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; types (atom, jsonrpc, message, restrpc, tuscany, ebaysoap, local,
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; restresource, xmlrpc) but none of these generate a wsdl, even though
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; they don't generate any error message either.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Is that due to something proper to each of these other web services
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; types?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Yannick
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; On 27 juil, 17:39, Yannick &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18729567&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ywarn...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Like I said, finding the problem was not difficult nor long, but it's
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; still confusing that there is no explanation of what &amp;quot;ws&amp;quot; could be
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; replaced by in @binding.ws. Of course, replacing it by @binding.soap
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; worked immediately.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; However, I tried to change it to @binding.restrpc and that,
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; apparently, brings me back to the initial state (blank page); but this
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; time I get no error report.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Changing it back to @binding.soap doesn't work.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Yannick
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; On 26 juil, 18:24, Yannick &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18729567&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ywarn...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Hi there,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; I'm currently taking my first steps with SCA-SDO following the example
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; given here:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;a href=&quot;http://www.osoa.org/display/PHP/SCA+Documentation#SCADocumentation-2.5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.osoa.org/display/PHP/SCA+Documentation#SCADocumentation-2.5&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; I am using an Ubuntu 8.04 system ad I downloaded SCA_SDO using the
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; PECL command line interface.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Now I'm sure I'm going to find the problem soon, but as the
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; documentation, as it is, is leading me to a problem and obviously I
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; can't create and account to edit that page, I wanted to mention it.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; When I try getting the WSDL for that page, I get a (double) error
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; message:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; [Sat Jul 26 11:58:27 2008] [error] [client 127.0.0.1] PHP Warning:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; SCA_Binding_Factory::require(SCA/Bindings/ws/RequestTester.php) [&amp;lt;a
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; href='function.SCA-Binding-Factory-require'&amp;gt;function.SCA-Binding-
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Factory-require&amp;lt;/a&amp;gt;]: failed to open stream: No such file or directory
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; in /usr/share/php/SCA/SCA_BindingFactory.php on line 68
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; [Sat Jul 26 11:58:27 2008] [error] [client 127.0.0.1] PHP Fatal
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; error:  SCA_Binding_Factory::require() [&amp;lt;a
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; href='function.require'&amp;gt;function.require&amp;lt;/a&amp;gt;]: Failed opening required
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; 'SCA/Bindings/ws/RequestTester.php' (include_path='.:/usr/share/php:/
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; usr/share/pear') in /usr/share/php/SCA/SCA_BindingFactory.php on line
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; 68
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Looking into my /usr/share/php/SCA/ directory, I have:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; /usr/share/php/SCA/Bindings$ ls
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; atom      jsonrpc  message       restrpc  tuscany
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; ebaysoap  local    restresource  soap     xmlrpc
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; So, no directory called &amp;quot;ws/&amp;quot;. I guess specifying in the given example
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; which type of service I want might help, but in the meantime the
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; example is leading straight to an error, which is confusing for
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; newcomers.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Cheers,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Yannick
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;  winmail.dat
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; 5KDownload
&lt;/div&gt;&lt;br&gt;I'm sure I have those images somewhere but I've go a new laptop
&lt;br&gt;recently so I'll have to drag them off the backup. Bear with me.
&lt;br&gt;&lt;br&gt;Simon
&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;phpsoa&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18729567&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;phpsoa@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18729567&amp;i=9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;phpsoa+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.co.uk/group/phpsoa?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.co.uk/group/phpsoa?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Error-with-documentation-example-tp18671812p18729567.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18729492</id>
	<title>Re: Impact of SCA on performance?</title>
	<published>2008-07-30T02:33:06Z</published>
	<updated>2008-07-30T02:33:06Z</updated>
	<author>
		<name>Simon Laws</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&lt;br&gt;On 28 Jul, 01:55, Yannick &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18729492&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ywarn...@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi again,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If I decide to use SCA to provide services from my existing classes,
&lt;br&gt;&amp;gt; should I be worried about performances in terms of parsing? Will any
&lt;br&gt;&amp;gt; single include of this class file trigger a parsing of my PHPDoc
&lt;br&gt;&amp;gt; documentation, or is it going to detect, somehow, that the class has
&lt;br&gt;&amp;gt; been called through a local call rather than a web service, and
&lt;br&gt;&amp;gt; consequently ignore the parsing?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Yannick
&lt;/div&gt;&lt;br&gt;Hi Yannick
&lt;br&gt;&lt;br&gt;Apols for not being very responsive here. I have of late been spending
&lt;br&gt;most of my time on the Java SCA implementation over in Apache and over
&lt;br&gt;there we are in the middle of trying to get a release out (with all
&lt;br&gt;the fun and games that involves). I won't be able to spend much time
&lt;br&gt;on PHP SCA code changes in the near future but I'll try and stay on
&lt;br&gt;the list and help if I can.
&lt;br&gt;&lt;br&gt;If I remember correctly there is code to detect if the class file
&lt;br&gt;(that represents an SCA component) is being included by a wrapper
&lt;br&gt;script or if it is being called by PHP directly in response to a user
&lt;br&gt;request. The idea behind this is that you may not want to always use
&lt;br&gt;the classes as SCA components and hence don't want to incur the
&lt;br&gt;overhead of the parsing. In the case that you do want to have a class
&lt;br&gt;included in a wrapper file but also act as a service component we
&lt;br&gt;included a &amp;quot;dispatch&amp;quot; method that allowed the ongoing request to be
&lt;br&gt;delegated to some included SCA component. In which case the parsing
&lt;br&gt;will be done. Someone on the list a long time ago wanted to set up his
&lt;br&gt;web server with a stucture something like...
&lt;br&gt;&lt;br&gt;htdocs/
&lt;br&gt;&amp;nbsp; &amp;nbsp;mywrapperscript.php
&lt;br&gt;privatedocs/
&lt;br&gt;&amp;nbsp; &amp;nbsp;myscacomponent.php
&lt;br&gt;&lt;br&gt;and have mywrapperscript.php delgate to myscacomponent.php. This was
&lt;br&gt;the motivation behind the &amp;quot;dispatch&amp;quot; method.
&lt;br&gt;&lt;br&gt;I also have a vague recollection that there is some optimization in
&lt;br&gt;the bindings to detect if the target is a local component but I may
&lt;br&gt;just be imagining it. I'll have to go check.
&lt;br&gt;&lt;br&gt;Regards
&lt;br&gt;&lt;br&gt;Simon
&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;phpsoa&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18729492&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;phpsoa@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18729492&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;phpsoa+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.co.uk/group/phpsoa?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.co.uk/group/phpsoa?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Impact-of-SCA-on-performance--tp18682542p18729492.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18728372</id>
	<title>Re: PHPDoc parsing too restrictive?</title>
	<published>2008-07-30T01:29:34Z</published>
	<updated>2008-07-30T01:29:34Z</updated>
	<author>
		<name>Graham Charters-2</name>
	</author>
	<content type="html">&lt;br&gt;Hi Yannick,
&lt;br&gt;&lt;br&gt;The CLA is a Contributors License Agreement. &amp;nbsp;The one we have in place
&lt;br&gt;for SCA_SDO is derived from the CLA which covers contributions to the
&lt;br&gt;Apache projects. &amp;nbsp;It's contained in the SCA_SDO distribution and is a
&lt;br&gt;text document called &amp;quot;CLA&amp;quot;. &amp;nbsp;We are only able to include contributions
&lt;br&gt;to the project from people who have signed the CLA.
&lt;br&gt;&lt;br&gt;Regards, Graham.
&lt;br&gt;&lt;br&gt;On 30 Jul, 04:10, Yannick &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18728372&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ywarn...@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; What's the CLA?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On 29 juil, 05:07, Matthew Peters &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18728372&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;matthew.f.pet...@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Hi Yannick, that's really bad! You could spend hours hunting that down
&lt;br&gt;&amp;gt; &amp;gt; and then you would really hate SCA at the end of it. I don't know what
&lt;br&gt;&amp;gt; &amp;gt; causes that but I totally agree that it should be fixed. One of the
&lt;br&gt;&amp;gt; &amp;gt; package owners will get to it in due course, or of course anyone is
&lt;br&gt;&amp;gt; &amp;gt; free to sign the CLA and submit a patch.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Matthew
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; On Jul 28, 2:52 am, Yannick &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18728372&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ywarn...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Hi again,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Apparently, the parsing of the PHPDoc comments is so severe that if I
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; use:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; /**
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;nbsp;* This library provides functions for user management.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;nbsp;* it in your code to use its functionality.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;nbsp;*
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;nbsp;* @service
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;nbsp;* @binding.soap
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; *
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; */
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; it won't work, but if I add one space before the star on the line
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; before the last, then it works:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; /**
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;nbsp;* This library provides functions for user management.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;nbsp;* it in your code to use its functionality.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;nbsp;*
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;nbsp;* @service
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;nbsp;* @binding.soap
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;nbsp;*
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; */
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; However, the last line (the closing tag) works, with or without space.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; I haven't found any documentation about this, but it sure takes some
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; time to figure out! (and error reporting is un-existing about that
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; one)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Isn't this a little too restrictive for a package that is supposed to
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; provide a simple mechanism of re-use of existing functions?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Yannick
&lt;/div&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;phpsoa&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18728372&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;phpsoa@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18728372&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;phpsoa+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.co.uk/group/phpsoa?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.co.uk/group/phpsoa?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/PHPDoc-parsing-too-restrictive--tp18682965p18728372.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18725492</id>
	<title>Re: Possible to offer a service from a simple function?</title>
	<published>2008-07-29T20:25:06Z</published>
	<updated>2008-07-29T20:25:06Z</updated>
	<author>
		<name>Yannick-18</name>
	</author>
	<content type="html">&lt;br&gt;Or actually I might use SCA, but will newly built methods, which kinds
&lt;br&gt;of defeats half the purpose.
&lt;br&gt;&lt;br&gt;On 29 juil, 22:22, Yannick &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18725492&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ywarn...@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I'd really like to get started soon on web services implementation,
&lt;br&gt;&amp;gt; and the series of e-mails I have sent give a clear idea of my concerns
&lt;br&gt;&amp;gt; regarding SCA. I won't lie, I'm currently looking at other projects
&lt;br&gt;&amp;gt; because of the shortcomings I have found in SCA, which kind of sucks
&lt;br&gt;&amp;gt; as I really liked the idea behind SCA (re-use of existing functions
&lt;br&gt;&amp;gt; using PHPDoc comments). On the other hand, I really can't see how one
&lt;br&gt;&amp;gt; could provide web services using existing functions if:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; - they absolutely have to use classes
&lt;br&gt;&amp;gt; - the files must have the same name as the class inside (What if there
&lt;br&gt;&amp;gt; are two classes inside? What if you have an existing open-source
&lt;br&gt;&amp;gt; project with lots of files depending on your class?). Apparently there
&lt;br&gt;&amp;gt; is no way either to include a class-definition file intp a placeholder
&lt;br&gt;&amp;gt; file which holds the right filename (because of the time at which the
&lt;br&gt;&amp;gt; inclusion statement is processed the comments are already gone).
&lt;br&gt;&amp;gt; - there is no security check anywhere
&lt;br&gt;&amp;gt; - a missing space or a minor difference in the PHPDoc format can break
&lt;br&gt;&amp;gt; the parsing process
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Anyway, if it doesn't work out now, it might work out later. I'll try
&lt;br&gt;&amp;gt; to assist in fixing all these little issues that make it very
&lt;br&gt;&amp;gt; difficult to use for me (and in the meantime, I'll probably fall down
&lt;br&gt;&amp;gt; to a PHP solution like NuSOAP or something of the likes).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks anyway,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Yannick
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On 27 juil, 19:52, Yannick &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18725492&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ywarn...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Hi there,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; As I am trying out SCA, a bunch of questions come to mind. I'll try to
&lt;br&gt;&amp;gt; &amp;gt; stick to one-question-per-mail for clarity and indexing of the
&lt;br&gt;&amp;gt; &amp;gt; answers.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Following the documentation herehttp://www.osoa.org/display/PHP/SCA+Documentation#SCADocumentation-2:
&lt;br&gt;&amp;gt; &amp;gt; &amp;quot;...PHP annotations are used to define PHP classes as SCA
&lt;br&gt;&amp;gt; &amp;gt; components,...&amp;quot;.
&lt;br&gt;&amp;gt; &amp;gt; As far as I can see, there's no way to use a simple functions library
&lt;br&gt;&amp;gt; &amp;gt; and provide web services from it, is there?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; If not, considering a functions library should also use a file-level
&lt;br&gt;&amp;gt; &amp;gt; header for PHPDocumentor, is there a particular reason why it is not
&lt;br&gt;&amp;gt; &amp;gt; possible to use simple functions?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Thanks,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Yannick
&lt;/div&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;phpsoa&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18725492&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;phpsoa@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18725492&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;phpsoa+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.co.uk/group/phpsoa?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.co.uk/group/phpsoa?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Possible-to-offer-a-service-from-a-simple-function--tp18682526p18725492.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18725476</id>
	<title>Re: Possible to offer a service from a simple function?</title>
	<published>2008-07-29T20:22:34Z</published>
	<updated>2008-07-29T20:22:34Z</updated>
	<author>
		<name>Yannick-18</name>
	</author>
	<content type="html">&lt;br&gt;I'd really like to get started soon on web services implementation,
&lt;br&gt;and the series of e-mails I have sent give a clear idea of my concerns
&lt;br&gt;regarding SCA. I won't lie, I'm currently looking at other projects
&lt;br&gt;because of the shortcomings I have found in SCA, which kind of sucks
&lt;br&gt;as I really liked the idea behind SCA (re-use of existing functions
&lt;br&gt;using PHPDoc comments). On the other hand, I really can't see how one
&lt;br&gt;could provide web services using existing functions if:
&lt;br&gt;&lt;br&gt;- they absolutely have to use classes
&lt;br&gt;- the files must have the same name as the class inside (What if there
&lt;br&gt;are two classes inside? What if you have an existing open-source
&lt;br&gt;project with lots of files depending on your class?). Apparently there
&lt;br&gt;is no way either to include a class-definition file intp a placeholder
&lt;br&gt;file which holds the right filename (because of the time at which the
&lt;br&gt;inclusion statement is processed the comments are already gone).
&lt;br&gt;- there is no security check anywhere
&lt;br&gt;- a missing space or a minor difference in the PHPDoc format can break
&lt;br&gt;the parsing process
&lt;br&gt;&lt;br&gt;Anyway, if it doesn't work out now, it might work out later. I'll try
&lt;br&gt;to assist in fixing all these little issues that make it very
&lt;br&gt;difficult to use for me (and in the meantime, I'll probably fall down
&lt;br&gt;to a PHP solution like NuSOAP or something of the likes).
&lt;br&gt;&lt;br&gt;Thanks anyway,
&lt;br&gt;&lt;br&gt;Yannick
&lt;br&gt;&lt;br&gt;On 27 juil, 19:52, Yannick &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18725476&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ywarn...@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi there,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; As I am trying out SCA, a bunch of questions come to mind. I'll try to
&lt;br&gt;&amp;gt; stick to one-question-per-mail for clarity and indexing of the
&lt;br&gt;&amp;gt; answers.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Following the documentation herehttp://www.osoa.org/display/PHP/SCA+Documentation#SCADocumentation-2:
&lt;br&gt;&amp;gt; &amp;quot;...PHP annotations are used to define PHP classes as SCA
&lt;br&gt;&amp;gt; components,...&amp;quot;.
&lt;br&gt;&amp;gt; As far as I can see, there's no way to use a simple functions library
&lt;br&gt;&amp;gt; and provide web services from it, is there?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If not, considering a functions library should also use a file-level
&lt;br&gt;&amp;gt; header for PHPDocumentor, is there a particular reason why it is not
&lt;br&gt;&amp;gt; possible to use simple functions?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Yannick
&lt;/div&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;phpsoa&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18725476&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;phpsoa@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18725476&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;phpsoa+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.co.uk/group/phpsoa?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.co.uk/group/phpsoa?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Possible-to-offer-a-service-from-a-simple-function--tp18682526p18725476.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18725416</id>
	<title>Re: SCA services access control...?</title>
	<published>2008-07-29T20:15:20Z</published>
	<updated>2008-07-29T20:15:20Z</updated>
	<author>
		<name>Yannick-18</name>
	</author>
	<content type="html">&lt;br&gt;Anybody got anything to say about this?
&lt;br&gt;&lt;br&gt;On 27 juil, 20:11, Yannick &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18725416&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ywarn...@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I think I mentioned it the first time I sent an e-mail on this list,
&lt;br&gt;&amp;gt; but one of the major problems I have with using SCA is that, if I do
&lt;br&gt;&amp;gt; implement it into existing classes, I don't want just anyone to be
&lt;br&gt;&amp;gt; able to use them freely.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; In Dokeos (and outside of any web services context), we rely on an
&lt;br&gt;&amp;gt; initial authentication process (using sessions) to make sure the user
&lt;br&gt;&amp;gt; is authorized to do what he is trying to do.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; However, if I want to take the full benefit out of SCA, I would like
&lt;br&gt;&amp;gt; to be able to re-use my existing functions and *just* add a few
&lt;br&gt;&amp;gt; comments here and there, and be done with it. Now the problem is that,
&lt;br&gt;&amp;gt; if I do that, I inevitably loose the &amp;quot;session&amp;quot; context (as I am going
&lt;br&gt;&amp;gt; through web services), and so I loose the authentication pre-check.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; This is a big problem to me, as adding an authentication process
&lt;br&gt;&amp;gt; specifically for the web services, it means I *have to* reimplement
&lt;br&gt;&amp;gt; most of my functions to add an authentication layer.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I remember Caroline saying that someone was remotely working on/
&lt;br&gt;&amp;gt; thinking about the topic, but haven't seen any discussion about it
&lt;br&gt;&amp;gt; since then.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; How are other people here dealing with that?
&lt;br&gt;&amp;gt; This is most likely to be the dead-end for us in terms of either
&lt;br&gt;&amp;gt; adopting SCA_SDO or at least considering it as a real benefit.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; From the top of my head, I would say that if there was a way to
&lt;br&gt;&amp;gt; configure a web service transparently to work in an &amp;quot;authenticated
&lt;br&gt;&amp;gt; mode&amp;quot; and that, from there on, it always added a required &amp;quot;first&amp;quot;
&lt;br&gt;&amp;gt; parameter being a shared key, and optionally identified the source by
&lt;br&gt;&amp;gt; IP address, it would be enough.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Something like adding a parameter @security.shared_key ../mykey.php in
&lt;br&gt;&amp;gt; the class documentation, that would automatically:
&lt;br&gt;&amp;gt; - generate a modified WSDL that shows a shared_key param as a first
&lt;br&gt;&amp;gt; parameter for any function
&lt;br&gt;&amp;gt; - add a check of this first parameter before going through with the
&lt;br&gt;&amp;gt; answer to the service request
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; What would be the likeliness of that idea to be integrated into
&lt;br&gt;&amp;gt; SCA_SDO? We have plans for a release of our next Dokeos version at the
&lt;br&gt;&amp;gt; end of September. If it is likely, then how likely would it be that a
&lt;br&gt;&amp;gt; modified version of SCA_SDO can be rolled into PECL by then (because,
&lt;br&gt;&amp;gt; of course, we want our users to be able to use the feature without
&lt;br&gt;&amp;gt; having to pack SCA_SDO in our package)? As SCA_SDO is not written in
&lt;br&gt;&amp;gt; PHP, it would be difficult to me to contribute code, but I can
&lt;br&gt;&amp;gt; certainly contribute ideas, analysis and testing.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Yannick
&lt;/div&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;phpsoa&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18725416&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;phpsoa@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18725416&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;phpsoa+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.co.uk/group/phpsoa?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.co.uk/group/phpsoa?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/SCA-services-access-control...--tp18682661p18725416.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18725393</id>
	<title>Re: Error with documentation example</title>
	<published>2008-07-29T20:11:57Z</published>
	<updated>2008-07-29T20:11:57Z</updated>
	<author>
		<name>Yannick-18</name>
	</author>
	<content type="html">&lt;br&gt;Thanks
&lt;br&gt;&lt;br&gt;On 29 juil, 08:17, Graham Charters &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18725393&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gchart...@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Matthew,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks for making these changes.  I was going to, but got derailed by
&lt;br&gt;&amp;gt; the fact that the first ones are in images.  I see these haven't been
&lt;br&gt;&amp;gt; changed.  I think Simon Laws created these and I don't have the
&lt;br&gt;&amp;gt; originals.  If we can't get the originals we'll need to recreate them,
&lt;br&gt;&amp;gt; or remove the images.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Regards, Graham.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On 29 Jul, 11:03, Matthew Peters &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18725393&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;matthew.f.pet...@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I just went through the page and changed all the binding.ws (and a
&lt;br&gt;&amp;gt; &amp;gt; couple of binding.wsdl) to binding.soap.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I also sprinkled a warning that the most up to date documentation is
&lt;br&gt;&amp;gt; &amp;gt; on php.net through the document:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; || _The most up to date documentation is to be found on the php.net
&lt;br&gt;&amp;gt; &amp;gt; site, at [&lt;a href=&quot;http://www.php.net/manual/en/book.sca.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.php.net/manual/en/book.sca.php&lt;/a&gt;] for example_ ||
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Matthew
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; On Jul 29, 8:21 am, Graham Charters &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18725393&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gchart...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Hi Yannick,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Thanks for pointing out the documentation problem on osoa.org.  I'll
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; try to fix that shortly.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Dalibor is correct that WSDL is only generated for binding.soap.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Other bindings will generate their own kinds of service descriptions
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; where appropriate.  For example, binding.jsonrpc with generate a
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; service method description if you add ?smd.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Regards, Graham.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; On 28 Jul, 00:01, Dalibor Andzakovic &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18725393&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Dalibor.Andzako...@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Correct. WSDL only gets created for SOAP services AFAIK.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; dali
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; From: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18725393&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;phpsoa@...&lt;/a&gt; on behalf of Yannick
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Sent: Mon 2008-07-28 11:00
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; To: phpsoa
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Subject: [phpsoa] Re: Error with documentation example
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Sorry, @binding.soap definitely works. I've been trying all the other
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; types (atom, jsonrpc, message, restrpc, tuscany, ebaysoap, local,
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; restresource, xmlrpc) but none of these generate a wsdl, even though
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; they don't generate any error message either.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Is that due to something proper to each of these other web services
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; types?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Yannick
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; On 27 juil, 17:39, Yannick &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18725393&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ywarn...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Like I said, finding the problem was not difficult nor long, but it's
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; still confusing that there is no explanation of what &amp;quot;ws&amp;quot; could be
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; replaced by in @binding.ws. Of course, replacing it by @binding.soap
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; worked immediately.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; However, I tried to change it to @binding.restrpc and that,
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; apparently, brings me back to the initial state (blank page); but this
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; time I get no error report.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Changing it back to @binding.soap doesn't work.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Yannick
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; On 26 juil, 18:24, Yannick &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18725393&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ywarn...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Hi there,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; I'm currently taking my first steps with SCA-SDO following the example
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; given here:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;a href=&quot;http://www.osoa.org/display/PHP/SCA+Documentation#SCADocumentation-2.5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.osoa.org/display/PHP/SCA+Documentation#SCADocumentation-2.5&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; I am using an Ubuntu 8.04 system ad I downloaded SCA_SDO using the
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; PECL command line interface.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Now I'm sure I'm going to find the problem soon, but as the
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; documentation, as it is, is leading me to a problem and obviously I
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; can't create and account to edit that page, I wanted to mention it.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; When I try getting the WSDL for that page, I get a (double) error
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; message:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; [Sat Jul 26 11:58:27 2008] [error] [client 127.0.0.1] PHP Warning:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; SCA_Binding_Factory::require(SCA/Bindings/ws/RequestTester.php) [&amp;lt;a
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; href='function.SCA-Binding-Factory-require'&amp;gt;function.SCA-Binding-
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Factory-require&amp;lt;/a&amp;gt;]: failed to open stream: No such file or directory
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; in /usr/share/php/SCA/SCA_BindingFactory.php on line 68
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; [Sat Jul 26 11:58:27 2008] [error] [client 127.0.0.1] PHP Fatal
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; error:  SCA_Binding_Factory::require() [&amp;lt;a
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; href='function.require'&amp;gt;function.require&amp;lt;/a&amp;gt;]: Failed opening required
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; 'SCA/Bindings/ws/RequestTester.php' (include_path='.:/usr/share/php:/
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; usr/share/pear') in /usr/share/php/SCA/SCA_BindingFactory.php on line
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; 68
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Looking into my /usr/share/php/SCA/ directory, I have:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; /usr/share/php/SCA/Bindings$ ls
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; atom      jsonrpc  message       restrpc  tuscany
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; ebaysoap  local    restresource  soap     xmlrpc
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; So, no directory called &amp;quot;ws/&amp;quot;. I guess specifying in the given example
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; which type of service I want might help, but in the meantime the
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; example is leading straight to an error, which is confusing for
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; newcomers.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Cheers,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Yannick
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;  winmail.dat
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; 5KDownload
&lt;/div&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;phpsoa&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18725393&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;phpsoa@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18725393&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;phpsoa+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.co.uk/group/phpsoa?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.co.uk/group/phpsoa?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Error-with-documentation-example-tp18671812p18725393.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18725387</id>
	<title>Re: PHPDoc parsing too restrictive?</title>
	<published>2008-07-29T20:10:21Z</published>
	<updated>2008-07-29T20:10:21Z</updated>
	<author>
		<name>Yannick-18</name>
	</author>
	<content type="html">&lt;br&gt;What's the CLA?
&lt;br&gt;&lt;br&gt;On 29 juil, 05:07, Matthew Peters &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18725387&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;matthew.f.pet...@...&lt;/a&gt;&amp;gt;
&lt;br&gt;wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Yannick, that's really bad! You could spend hours hunting that down
&lt;br&gt;&amp;gt; and then you would really hate SCA at the end of it. I don't know what
&lt;br&gt;&amp;gt; causes that but I totally agree that it should be fixed. One of the
&lt;br&gt;&amp;gt; package owners will get to it in due course, or of course anyone is
&lt;br&gt;&amp;gt; free to sign the CLA and submit a patch.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Matthew
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Jul 28, 2:52 am, Yannick &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18725387&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ywarn...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Hi again,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Apparently, the parsing of the PHPDoc comments is so severe that if I
&lt;br&gt;&amp;gt; &amp;gt; use:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; /**
&lt;br&gt;&amp;gt; &amp;gt;  * This library provides functions for user management.
&lt;br&gt;&amp;gt; &amp;gt;  * it in your code to use its functionality.
&lt;br&gt;&amp;gt; &amp;gt;  *
&lt;br&gt;&amp;gt; &amp;gt;  * @service
&lt;br&gt;&amp;gt; &amp;gt;  * @binding.soap
&lt;br&gt;&amp;gt; &amp;gt; *
&lt;br&gt;&amp;gt; &amp;gt; */
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; it won't work, but if I add one space before the star on the line
&lt;br&gt;&amp;gt; &amp;gt; before the last, then it works:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; /**
&lt;br&gt;&amp;gt; &amp;gt;  * This library provides functions for user management.
&lt;br&gt;&amp;gt; &amp;gt;  * it in your code to use its functionality.
&lt;br&gt;&amp;gt; &amp;gt;  *
&lt;br&gt;&amp;gt; &amp;gt;  * @service
&lt;br&gt;&amp;gt; &amp;gt;  * @binding.soap
&lt;br&gt;&amp;gt; &amp;gt;  *
&lt;br&gt;&amp;gt; &amp;gt; */
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; However, the last line (the closing tag) works, with or without space.
&lt;br&gt;&amp;gt; &amp;gt; I haven't found any documentation about this, but it sure takes some
&lt;br&gt;&amp;gt; &amp;gt; time to figure out! (and error reporting is un-existing about that
&lt;br&gt;&amp;gt; &amp;gt; one)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Isn't this a little too restrictive for a package that is supposed to
&lt;br&gt;&amp;gt; &amp;gt; provide a simple mechanism of re-use of existing functions?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Yannick
&lt;/div&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;phpsoa&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18725387&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;phpsoa@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18725387&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;phpsoa+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.co.uk/group/phpsoa?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.co.uk/group/phpsoa?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/PHPDoc-parsing-too-restrictive--tp18682965p18725387.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18711930</id>
	<title>Re: Error with documentation example</title>
	<published>2008-07-29T06:17:41Z</published>
	<updated>2008-07-29T06:17:41Z</updated>
	<author>
		<name>Graham Charters-2</name>
	</author>
	<content type="html">&lt;br&gt;Hi Matthew,
&lt;br&gt;&lt;br&gt;Thanks for making these changes. &amp;nbsp;I was going to, but got derailed by
&lt;br&gt;the fact that the first ones are in images. &amp;nbsp;I see these haven't been
&lt;br&gt;changed. &amp;nbsp;I think Simon Laws created these and I don't have the
&lt;br&gt;originals. &amp;nbsp;If we can't get the originals we'll need to recreate them,
&lt;br&gt;or remove the images.
&lt;br&gt;&lt;br&gt;Regards, Graham.
&lt;br&gt;&lt;br&gt;On 29 Jul, 11:03, Matthew Peters &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18711930&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;matthew.f.pet...@...&lt;/a&gt;&amp;gt;
&lt;br&gt;wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I just went through the page and changed all the binding.ws (and a
&lt;br&gt;&amp;gt; couple of binding.wsdl) to binding.soap.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I also sprinkled a warning that the most up to date documentation is
&lt;br&gt;&amp;gt; on php.net through the document:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; || _The most up to date documentation is to be found on the php.net
&lt;br&gt;&amp;gt; site, at [&lt;a href=&quot;http://www.php.net/manual/en/book.sca.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.php.net/manual/en/book.sca.php&lt;/a&gt;] for example_ ||
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Matthew
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Jul 29, 8:21 am, Graham Charters &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18711930&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gchart...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Hi Yannick,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Thanks for pointing out the documentation problem on osoa.org. &amp;nbsp;I'll
&lt;br&gt;&amp;gt; &amp;gt; try to fix that shortly.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Dalibor is correct that WSDL is only generated for binding.soap.
&lt;br&gt;&amp;gt; &amp;gt; Other bindings will generate their own kinds of service descriptions
&lt;br&gt;&amp;gt; &amp;gt; where appropriate. &amp;nbsp;For example, binding.jsonrpc with generate a
&lt;br&gt;&amp;gt; &amp;gt; service method description if you add ?smd.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Regards, Graham.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; On 28 Jul, 00:01, Dalibor Andzakovic &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18711930&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Dalibor.Andzako...@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Correct. WSDL only gets created for SOAP services AFAIK.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; dali
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; From: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18711930&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;phpsoa@...&lt;/a&gt; on behalf of Yannick
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Sent: Mon 2008-07-28 11:00
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; To: phpsoa
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Subject: [phpsoa] Re: Error with documentation example
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Sorry, @binding.soap definitely works. I've been trying all the other
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; types (atom, jsonrpc, message, restrpc, tuscany, ebaysoap, local,
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; restresource, xmlrpc) but none of these generate a wsdl, even though
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; they don't generate any error message either.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Is that due to something proper to each of these other web services
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; types?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Yannick
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; On 27 juil, 17:39, Yannick &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18711930&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ywarn...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Like I said, finding the problem was not difficult nor long, but it's
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; still confusing that there is no explanation of what &amp;quot;ws&amp;quot; could be
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; replaced by in @binding.ws. Of course, replacing it by @binding.soap
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; worked immediately.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; However, I tried to change it to @binding.restrpc and that,
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; apparently, brings me back to the initial state (blank page); but this
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; time I get no error report.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Changing it back to @binding.soap doesn't work.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Yannick
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; On 26 juil, 18:24, Yannick &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18711930&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ywarn...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Hi there,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; I'm currently taking my first steps with SCA-SDO following the example
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; given here:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;a href=&quot;http://www.osoa.org/display/PHP/SCA+Documentation#SCADocumentation-2.5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.osoa.org/display/PHP/SCA+Documentation#SCADocumentation-2.5&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; I am using an Ubuntu 8.04 system ad I downloaded SCA_SDO using the
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; PECL command line interface.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Now I'm sure I'm going to find the problem soon, but as the
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; documentation, as it is, is leading me to a problem and obviously I
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; can't create and account to edit that page, I wanted to mention it.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; When I try getting the WSDL for that page, I get a (double) error
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; message:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; [Sat Jul 26 11:58:27 2008] [error] [client 127.0.0.1] PHP Warning:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; SCA_Binding_Factory::require(SCA/Bindings/ws/RequestTester.php) [&amp;lt;a
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; href='function.SCA-Binding-Factory-require'&amp;gt;function.SCA-Binding-
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Factory-require&amp;lt;/a&amp;gt;]: failed to open stream: No such file or directory
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; in /usr/share/php/SCA/SCA_BindingFactory.php on line 68
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; [Sat Jul 26 11:58:27 2008] [error] [client 127.0.0.1] PHP Fatal
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; error: &amp;nbsp;SCA_Binding_Factory::require() [&amp;lt;a
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; href='function.require'&amp;gt;function.require&amp;lt;/a&amp;gt;]: Failed opening required
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; 'SCA/Bindings/ws/RequestTester.php' (include_path='.:/usr/share/php:/
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; usr/share/pear') in /usr/share/php/SCA/SCA_BindingFactory.php on line
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; 68
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Looking into my /usr/share/php/SCA/ directory, I have:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; /usr/share/php/SCA/Bindings$ ls
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; atom &amp;nbsp; &amp;nbsp; &amp;nbsp;jsonrpc &amp;nbsp;message &amp;nbsp; &amp;nbsp; &amp;nbsp; restrpc &amp;nbsp;tuscany
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; ebaysoap &amp;nbsp;local &amp;nbsp; &amp;nbsp;restresource &amp;nbsp;soap &amp;nbsp; &amp;nbsp; xmlrpc
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; So, no directory called &amp;quot;ws/&amp;quot;. I guess specifying in the given example
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; which type of service I want might help, but in the meantime the
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; example is leading straight to an error, which is confusing for
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; newcomers.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Cheers,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Yannick
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;nbsp;winmail.dat
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; 5KDownload
&lt;/div&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;phpsoa&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18711930&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;phpsoa@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18711930&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;phpsoa-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.co.uk/group/phpsoa?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.co.uk/group/phpsoa?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Error-with-documentation-example-tp18671812p18711930.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18709014</id>
	<title>Re: PHPDoc parsing too restrictive?</title>
	<published>2008-07-29T03:07:47Z</published>
	<updated>2008-07-29T03:07:47Z</updated>
	<author>
		<name>Matthew Peters-3</name>
	</author>
	<content type="html">&lt;br&gt;Hi Yannick, that's really bad! You could spend hours hunting that down
&lt;br&gt;and then you would really hate SCA at the end of it. I don't know what
&lt;br&gt;causes that but I totally agree that it should be fixed. One of the
&lt;br&gt;package owners will get to it in due course, or of course anyone is
&lt;br&gt;free to sign the CLA and submit a patch.
&lt;br&gt;&lt;br&gt;Matthew
&lt;br&gt;&lt;br&gt;On Jul 28, 2:52 am, Yannick &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18709014&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ywarn...@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi again,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Apparently, the parsing of the PHPDoc comments is so severe that if I
&lt;br&gt;&amp;gt; use:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; /**
&lt;br&gt;&amp;gt; &amp;nbsp;* This library provides functions for user management.
&lt;br&gt;&amp;gt; &amp;nbsp;* it in your code to use its functionality.
&lt;br&gt;&amp;gt; &amp;nbsp;*
&lt;br&gt;&amp;gt; &amp;nbsp;* @service
&lt;br&gt;&amp;gt; &amp;nbsp;* @binding.soap
&lt;br&gt;&amp;gt; *
&lt;br&gt;&amp;gt; */
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; it won't work, but if I add one space before the star on the line
&lt;br&gt;&amp;gt; before the last, then it works:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; /**
&lt;br&gt;&amp;gt; &amp;nbsp;* This library provides functions for user management.
&lt;br&gt;&amp;gt; &amp;nbsp;* it in your code to use its functionality.
&lt;br&gt;&amp;gt; &amp;nbsp;*
&lt;br&gt;&amp;gt; &amp;nbsp;* @service
&lt;br&gt;&amp;gt; &amp;nbsp;* @binding.soap
&lt;br&gt;&amp;gt; &amp;nbsp;*
&lt;br&gt;&amp;gt; */
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; However, the last line (the closing tag) works, with or without space.
&lt;br&gt;&amp;gt; I haven't found any documentation about this, but it sure takes some
&lt;br&gt;&amp;gt; time to figure out! (and error reporting is un-existing about that
&lt;br&gt;&amp;gt; one)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Isn't this a little too restrictive for a package that is supposed to
&lt;br&gt;&amp;gt; provide a simple mechanism of re-use of existing functions?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Yannick
&lt;/div&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;phpsoa&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18709014&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;phpsoa@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18709014&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;phpsoa-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.co.uk/group/phpsoa?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.co.uk/group/phpsoa?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/PHPDoc-parsing-too-restrictive--tp18682965p18709014.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18708953</id>
	<title>Re: Error with documentation example</title>
	<published>2008-07-29T03:03:36Z</published>
	<updated>2008-07-29T03:03:36Z</updated>
	<author>
		<name>Matthew Peters-3</name>
	</author>
	<content type="html">&lt;br&gt;I just went through the page and changed all the binding.ws (and a
&lt;br&gt;couple of binding.wsdl) to binding.soap.
&lt;br&gt;&lt;br&gt;I also sprinkled a warning that the most up to date documentation is
&lt;br&gt;on php.net through the document:
&lt;br&gt;&lt;br&gt;|| _The most up to date documentation is to be found on the php.net
&lt;br&gt;site, at [&lt;a href=&quot;http://www.php.net/manual/en/book.sca.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.php.net/manual/en/book.sca.php&lt;/a&gt;] for example_ ||
&lt;br&gt;&lt;br&gt;Matthew
&lt;br&gt;&lt;br&gt;On Jul 29, 8:21 am, Graham Charters &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18708953&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gchart...@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Yannick,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks for pointing out the documentation problem on osoa.org. &amp;nbsp;I'll
&lt;br&gt;&amp;gt; try to fix that shortly.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Dalibor is correct that WSDL is only generated for binding.soap.
&lt;br&gt;&amp;gt; Other bindings will generate their own kinds of service descriptions
&lt;br&gt;&amp;gt; where appropriate. &amp;nbsp;For example, binding.jsonrpc with generate a
&lt;br&gt;&amp;gt; service method description if you add ?smd.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Regards, Graham.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On 28 Jul, 00:01, Dalibor Andzakovic &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18708953&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Dalibor.Andzako...@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Correct. WSDL only gets created for SOAP services AFAIK.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; dali
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; &amp;gt; From: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18708953&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;phpsoa@...&lt;/a&gt; on behalf of Yannick
&lt;br&gt;&amp;gt; &amp;gt; Sent: Mon 2008-07-28 11:00
&lt;br&gt;&amp;gt; &amp;gt; To: phpsoa
&lt;br&gt;&amp;gt; &amp;gt; Subject: [phpsoa] Re: Error with documentation example
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Sorry, @binding.soap definitely works. I've been trying all the other
&lt;br&gt;&amp;gt; &amp;gt; types (atom, jsonrpc, message, restrpc, tuscany, ebaysoap, local,
&lt;br&gt;&amp;gt; &amp;gt; restresource, xmlrpc) but none of these generate a wsdl, even though
&lt;br&gt;&amp;gt; &amp;gt; they don't generate any error message either.
&lt;br&gt;&amp;gt; &amp;gt; Is that due to something proper to each of these other web services
&lt;br&gt;&amp;gt; &amp;gt; types?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Yannick
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; On 27 juil, 17:39, Yannick &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18708953&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ywarn...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Like I said, finding the problem was not difficult nor long, but it's
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; still confusing that there is no explanation of what &amp;quot;ws&amp;quot; could be
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; replaced by in @binding.ws. Of course, replacing it by @binding.soap
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; worked immediately.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; However, I tried to change it to @binding.restrpc and that,
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; apparently, brings me back to the initial state (blank page); but this
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; time I get no error report.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Changing it back to @binding.soap doesn't work.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Yannick
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; On 26 juil, 18:24, Yannick &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18708953&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ywarn...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Hi there,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; I'm currently taking my first steps with SCA-SDO following the example
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; given here:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;a href=&quot;http://www.osoa.org/display/PHP/SCA+Documentation#SCADocumentation-2.5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.osoa.org/display/PHP/SCA+Documentation#SCADocumentation-2.5&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; I am using an Ubuntu 8.04 system ad I downloaded SCA_SDO using the
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; PECL command line interface.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Now I'm sure I'm going to find the problem soon, but as the
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; documentation, as it is, is leading me to a problem and obviously I
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; can't create and account to edit that page, I wanted to mention it.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; When I try getting the WSDL for that page, I get a (double) error
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; message:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; [Sat Jul 26 11:58:27 2008] [error] [client 127.0.0.1] PHP Warning:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; SCA_Binding_Factory::require(SCA/Bindings/ws/RequestTester.php) [&amp;lt;a
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; href='function.SCA-Binding-Factory-require'&amp;gt;function.SCA-Binding-
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Factory-require&amp;lt;/a&amp;gt;]: failed to open stream: No such file or directory
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; in /usr/share/php/SCA/SCA_BindingFactory.php on line 68
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; [Sat Jul 26 11:58:27 2008] [error] [client 127.0.0.1] PHP Fatal
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; error: &amp;nbsp;SCA_Binding_Factory::require() [&amp;lt;a
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; href='function.require'&amp;gt;function.require&amp;lt;/a&amp;gt;]: Failed opening required
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; 'SCA/Bindings/ws/RequestTester.php' (include_path='.:/usr/share/php:/
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; usr/share/pear') in /usr/share/php/SCA/SCA_BindingFactory.php on line
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; 68
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Looking into my /usr/share/php/SCA/ directory, I have:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; /usr/share/php/SCA/Bindings$ ls
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; atom &amp;nbsp; &amp;nbsp; &amp;nbsp;jsonrpc &amp;nbsp;message &amp;nbsp; &amp;nbsp; &amp;nbsp; restrpc &amp;nbsp;tuscany
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; ebaysoap &amp;nbsp;local &amp;nbsp; &amp;nbsp;restresource &amp;nbsp;soap &amp;nbsp; &amp;nbsp; xmlrpc
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; So, no directory called &amp;quot;ws/&amp;quot;. I guess specifying in the given example
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; which type of service I want might help, but in the meantime the
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; example is leading straight to an error, which is confusing for
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; newcomers.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Cheers,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Yannick
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;winmail.dat
&lt;br&gt;&amp;gt; &amp;gt; 5KDownload
&lt;/div&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;phpsoa&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18708953&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;phpsoa@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18708953&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;phpsoa-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.co.uk/group/phpsoa?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.co.uk/group/phpsoa?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Error-with-documentation-example-tp18671812p18708953.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18706805</id>
	<title>Re: Error with documentation example</title>
	<published>2008-07-29T00:21:49Z</published>
	<updated>2008-07-29T00:21:49Z</updated>
	<author>
		<name>Graham Charters-2</name>
	</author>
	<content type="html">&lt;br&gt;Hi Yannick,
&lt;br&gt;&lt;br&gt;Thanks for pointing out the documentation problem on osoa.org. &amp;nbsp;I'll
&lt;br&gt;try to fix that shortly.
&lt;br&gt;&lt;br&gt;Dalibor is correct that WSDL is only generated for binding.soap.
&lt;br&gt;Other bindings will generate their own kinds of service descriptions
&lt;br&gt;where appropriate. &amp;nbsp;For example, binding.jsonrpc with generate a
&lt;br&gt;service method description if you add ?smd.
&lt;br&gt;&lt;br&gt;Regards, Graham.
&lt;br&gt;&lt;br&gt;On 28 Jul, 00:01, Dalibor Andzakovic &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18706805&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Dalibor.Andzako...@...&lt;/a&gt;&amp;gt;
&lt;br&gt;wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Correct. WSDL only gets created for SOAP services AFAIK.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; dali
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18706805&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;phpsoa@...&lt;/a&gt; on behalf of Yannick
&lt;br&gt;&amp;gt; Sent: Mon 2008-07-28 11:00
&lt;br&gt;&amp;gt; To: phpsoa
&lt;br&gt;&amp;gt; Subject: [phpsoa] Re: Error with documentation example
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Sorry, @binding.soap definitely works. I've been trying all the other
&lt;br&gt;&amp;gt; types (atom, jsonrpc, message, restrpc, tuscany, ebaysoap, local,
&lt;br&gt;&amp;gt; restresource, xmlrpc) but none of these generate a wsdl, even though
&lt;br&gt;&amp;gt; they don't generate any error message either.
&lt;br&gt;&amp;gt; Is that due to something proper to each of these other web services
&lt;br&gt;&amp;gt; types?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Yannick
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On 27 juil, 17:39, Yannick &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18706805&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ywarn...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt; Like I said, finding the problem was not difficult nor long, but it's
&lt;br&gt;&amp;gt; &amp;gt; still confusing that there is no explanation of what &amp;quot;ws&amp;quot; could be
&lt;br&gt;&amp;gt; &amp;gt; replaced by in @binding.ws. Of course, replacing it by @binding.soap
&lt;br&gt;&amp;gt; &amp;gt; worked immediately.
&lt;br&gt;&amp;gt; &amp;gt; However, I tried to change it to @binding.restrpc and that,
&lt;br&gt;&amp;gt; &amp;gt; apparently, brings me back to the initial state (blank page); but this
&lt;br&gt;&amp;gt; &amp;gt; time I get no error report.
&lt;br&gt;&amp;gt; &amp;gt; Changing it back to @binding.soap doesn't work.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Yannick
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; On 26 juil, 18:24, Yannick &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18706805&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ywarn...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Hi there,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; I'm currently taking my first steps with SCA-SDO following the example
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; given here:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;&lt;a href=&quot;http://www.osoa.org/display/PHP/SCA+Documentation#SCADocumentation-2.5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.osoa.org/display/PHP/SCA+Documentation#SCADocumentation-2.5&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; I am using an Ubuntu 8.04 system ad I downloaded SCA_SDO using the
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; PECL command line interface.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Now I'm sure I'm going to find the problem soon, but as the
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; documentation, as it is, is leading me to a problem and obviously I
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; can't create and account to edit that page, I wanted to mention it.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; When I try getting the WSDL for that page, I get a (double) error
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; message:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; [Sat Jul 26 11:58:27 2008] [error] [client 127.0.0.1] PHP Warning:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; SCA_Binding_Factory::require(SCA/Bindings/ws/RequestTester.php) [&amp;lt;a
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; href='function.SCA-Binding-Factory-require'&amp;gt;function.SCA-Binding-
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Factory-require&amp;lt;/a&amp;gt;]: failed to open stream: No such file or directory
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; in /usr/share/php/SCA/SCA_BindingFactory.php on line 68
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; [Sat Jul 26 11:58:27 2008] [error] [client 127.0.0.1] PHP Fatal
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; error: &amp;nbsp;SCA_Binding_Factory::require() [&amp;lt;a
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; href='function.require'&amp;gt;function.require&amp;lt;/a&amp;gt;]: Failed opening required
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; 'SCA/Bindings/ws/RequestTester.php' (include_path='.:/usr/share/php:/
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; usr/share/pear') in /usr/share/php/SCA/SCA_BindingFactory.php on line
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; 68
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Looking into my /usr/share/php/SCA/ directory, I have:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; /usr/share/php/SCA/Bindings$ ls
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; atom &amp;nbsp; &amp;nbsp; &amp;nbsp;jsonrpc &amp;nbsp;message &amp;nbsp; &amp;nbsp; &amp;nbsp; restrpc &amp;nbsp;tuscany
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; ebaysoap &amp;nbsp;local &amp;nbsp; &amp;nbsp;restresource &amp;nbsp;soap &amp;nbsp; &amp;nbsp; xmlrpc
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; So, no directory called &amp;quot;ws/&amp;quot;. I guess specifying in the given example
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; which type of service I want might help, but in the meantime the
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; example is leading straight to an error, which is confusing for
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; newcomers.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Cheers,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Yannick
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;winmail.dat
&lt;br&gt;&amp;gt; 5KDownload
&lt;/div&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;phpsoa&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18706805&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;phpsoa@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18706805&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;phpsoa-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.co.uk/group/phpsoa?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.co.uk/group/phpsoa?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Error-with-documentation-example-tp18671812p18706805.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18682965</id>
	<title>PHPDoc parsing too restrictive?</title>
	<published>2008-07-27T18:52:39Z</published>
	<updated>2008-07-27T18:52:39Z</updated>
	<author>
		<name>Yannick-18</name>
	</author>
	<content type="html">&lt;br&gt;Hi again,
&lt;br&gt;&lt;br&gt;Apparently, the parsing of the PHPDoc comments is so severe that if I
&lt;br&gt;use:
&lt;br&gt;&lt;br&gt;/**
&lt;br&gt;&amp;nbsp;* This library provides functions for user management.
&lt;br&gt;&amp;nbsp;* it in your code to use its functionality.
&lt;br&gt;&amp;nbsp;*
&lt;br&gt;&amp;nbsp;* @service
&lt;br&gt;&amp;nbsp;* @binding.soap
&lt;br&gt;*
&lt;br&gt;*/
&lt;br&gt;&lt;br&gt;it won't work, but if I add one space before the star on the line
&lt;br&gt;before the last, then it works:
&lt;br&gt;&lt;br&gt;/**
&lt;br&gt;&amp;nbsp;* This library provides functions for user management.
&lt;br&gt;&amp;nbsp;* it in your code to use its functionality.
&lt;br&gt;&amp;nbsp;*
&lt;br&gt;&amp;nbsp;* @service
&lt;br&gt;&amp;nbsp;* @binding.soap
&lt;br&gt;&amp;nbsp;*
&lt;br&gt;*/
&lt;br&gt;&lt;br&gt;However, the last line (the closing tag) works, with or without space.
&lt;br&gt;I haven't found any documentation about this, but it sure takes some
&lt;br&gt;time to figure out! (and error reporting is un-existing about that
&lt;br&gt;one)
&lt;br&gt;&lt;br&gt;Isn't this a little too restrictive for a package that is supposed to
&lt;br&gt;provide a simple mechanism of re-use of existing functions?
&lt;br&gt;&lt;br&gt;Yannick
&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;phpsoa&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18682965&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;phpsoa@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18682965&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;phpsoa-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.co.uk/group/phpsoa?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.co.uk/group/phpsoa?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/PHPDoc-parsing-too-restrictive--tp18682965p18682965.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18682661</id>
	<title>SCA services access control...?</title>
	<published>2008-07-27T18:11:23Z</published>
	<updated>2008-07-27T18:11:23Z</updated>
	<author>
		<name>Yannick-18</name>
	</author>
	<content type="html">&lt;br&gt;Hi,
&lt;br&gt;&lt;br&gt;I think I mentioned it the first time I sent an e-mail on this list,
&lt;br&gt;but one of the major problems I have with using SCA is that, if I do
&lt;br&gt;implement it into existing classes, I don't want just anyone to be
&lt;br&gt;able to use them freely.
&lt;br&gt;&lt;br&gt;In Dokeos (and outside of any web services context), we rely on an
&lt;br&gt;initial authentication process (using sessions) to make sure the user
&lt;br&gt;is authorized to do what he is trying to do.
&lt;br&gt;&lt;br&gt;However, if I want to take the full benefit out of SCA, I would like
&lt;br&gt;to be able to re-use my existing functions and *just* add a few
&lt;br&gt;comments here and there, and be done with it. Now the problem is that,
&lt;br&gt;if I do that, I inevitably loose the &amp;quot;session&amp;quot; context (as I am going
&lt;br&gt;through web services), and so I loose the authentication pre-check.
&lt;br&gt;&lt;br&gt;This is a big problem to me, as adding an authentication process
&lt;br&gt;specifically for the web services, it means I *have to* reimplement
&lt;br&gt;most of my functions to add an authentication layer.
&lt;br&gt;&lt;br&gt;I remember Caroline saying that someone was remotely working on/
&lt;br&gt;thinking about the topic, but haven't seen any discussion about it
&lt;br&gt;since then.
&lt;br&gt;&lt;br&gt;How are other people here dealing with that?
&lt;br&gt;This is most likely to be the dead-end for us in terms of either
&lt;br&gt;adopting SCA_SDO or at least considering it as a real benefit.
&lt;br&gt;&lt;br&gt;From the top of my head, I would say that if there was a way to
&lt;br&gt;configure a web service transparently to work in an &amp;quot;authenticated
&lt;br&gt;mode&amp;quot; and that, from there on, it always added a required &amp;quot;first&amp;quot;
&lt;br&gt;parameter being a shared key, and optionally identified the source by
&lt;br&gt;IP address, it would be enough.
&lt;br&gt;&lt;br&gt;Something like adding a parameter @security.shared_key ../mykey.php in
&lt;br&gt;the class documentation, that would automatically:
&lt;br&gt;- generate a modified WSDL that shows a shared_key param as a first
&lt;br&gt;parameter for any function
&lt;br&gt;- add a check of this first parameter before going through with the
&lt;br&gt;answer to the service request
&lt;br&gt;&lt;br&gt;What would be the likeliness of that idea to be integrated into
&lt;br&gt;SCA_SDO? We have plans for a release of our next Dokeos version at the
&lt;br&gt;end of September. If it is likely, then how likely would it be that a
&lt;br&gt;modified version of SCA_SDO can be rolled into PECL by then (because,
&lt;br&gt;of course, we want our users to be able to use the feature without
&lt;br&gt;having to pack SCA_SDO in our package)? As SCA_SDO is not written in
&lt;br&gt;PHP, it would be difficult to me to contribute code, but I can
&lt;br&gt;certainly contribute ideas, analysis and testing.
&lt;br&gt;&lt;br&gt;Yannick
&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;phpsoa&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18682661&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;phpsoa@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18682661&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;phpsoa-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.co.uk/group/phpsoa?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.co.uk/group/phpsoa?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/SCA-services-access-control...--tp18682661p18682661.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18682542</id>
	<title>Impact of SCA on performance?</title>
	<published>2008-07-27T17:55:00Z</published>
	<updated>2008-07-27T17:55:00Z</updated>
	<author>
		<name>Yannick-18</name>
	</author>
	<content type="html">&lt;br&gt;Hi again,
&lt;br&gt;&lt;br&gt;If I decide to use SCA to provide services from my existing classes,
&lt;br&gt;should I be worried about performances in terms of parsing? Will any
&lt;br&gt;single include of this class file trigger a parsing of my PHPDoc
&lt;br&gt;documentation, or is it going to detect, somehow, that the class has
&lt;br&gt;been called through a local call rather than a web service, and
&lt;br&gt;consequently ignore the parsing?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;Yannick
&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;phpsoa&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18682542&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;phpsoa@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18682542&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;phpsoa-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.co.uk/group/phpsoa?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.co.uk/group/phpsoa?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Impact-of-SCA-on-performance--tp18682542p18682542.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18682526</id>
	<title>Possible to offer a service from a simple function?</title>
	<published>2008-07-27T17:52:23Z</published>
	<updated>2008-07-27T17:52:23Z</updated>
	<author>
		<name>Yannick-18</name>
	</author>
	<content type="html">&lt;br&gt;Hi there,
&lt;br&gt;&lt;br&gt;As I am trying out SCA, a bunch of questions come to mind. I'll try to
&lt;br&gt;stick to one-question-per-mail for clarity and indexing of the
&lt;br&gt;answers.
&lt;br&gt;&lt;br&gt;Following the documentation here &lt;a href=&quot;http://www.osoa.org/display/PHP/SCA+Documentation#SCADocumentation-2:&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.osoa.org/display/PHP/SCA+Documentation#SCADocumentation-2:&lt;/a&gt;&lt;br&gt;&amp;quot;...PHP annotations are used to define PHP classes as SCA
&lt;br&gt;components,...&amp;quot;.
&lt;br&gt;As far as I can see, there's no way to use a simple functions library
&lt;br&gt;and provide web services from it, is there?
&lt;br&gt;&lt;br&gt;If not, considering a functions library should also use a file-level
&lt;br&gt;header for PHPDocumentor, is there a particular reason why it is not
&lt;br&gt;possible to use simple functions?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;Yannick
&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;phpsoa&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18682526&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;phpsoa@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18682526&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;phpsoa-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.co.uk/group/phpsoa?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.co.uk/group/phpsoa?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Possible-to-offer-a-service-from-a-simple-function--tp18682526p18682526.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18681672</id>
	<title>Re: Error with documentation example</title>
	<published>2008-07-27T16:01:39Z</published>
	<updated>2008-07-27T16:01:39Z</updated>
	<author>
		<name>Dalibor Andzakovic</name>
	</author>
	<content type="html">&lt;br&gt;Correct. WSDL only gets created for SOAP services AFAIK.
&lt;br&gt;&lt;br&gt;dali
&lt;br&gt;&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18681672&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;phpsoa@...&lt;/a&gt; on behalf of Yannick
&lt;br&gt;Sent: Mon 2008-07-28 11:00
&lt;br&gt;To: phpsoa
&lt;br&gt;Subject: [phpsoa] Re: Error with documentation example
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;Sorry, @binding.soap definitely works. I've been trying all the other
&lt;br&gt;types (atom, jsonrpc, message, restrpc, tuscany, ebaysoap, local,
&lt;br&gt;restresource, xmlrpc) but none of these generate a wsdl, even though
&lt;br&gt;they don't generate any error message either.
&lt;br&gt;Is that due to something proper to each of these other web services
&lt;br&gt;types?
&lt;br&gt;&lt;br&gt;Yannick
&lt;br&gt;&lt;br&gt;On 27 juil, 17:39, Yannick &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18681672&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ywarn...@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Like I said, finding the problem was not difficult nor long, but it's
&lt;br&gt;&amp;gt; still confusing that there is no explanation of what &amp;quot;ws&amp;quot; could be
&lt;br&gt;&amp;gt; replaced by in @binding.ws. Of course, replacing it by @binding.soap
&lt;br&gt;&amp;gt; worked immediately.
&lt;br&gt;&amp;gt; However, I tried to change it to @binding.restrpc and that,
&lt;br&gt;&amp;gt; apparently, brings me back to the initial state (blank page); but this
&lt;br&gt;&amp;gt; time I get no error report.
&lt;br&gt;&amp;gt; Changing it back to @binding.soap doesn't work.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Yannick
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On 26 juil, 18:24, Yannick &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18681672&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ywarn...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Hi there,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I'm currently taking my first steps with SCA-SDO following the example
&lt;br&gt;&amp;gt; &amp;gt; given here:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&lt;a href=&quot;http://www.osoa.org/display/PHP/SCA+Documentation#SCADocumentation-2.5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.osoa.org/display/PHP/SCA+Documentation#SCADocumentation-2.5&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I am using an Ubuntu 8.04 system ad I downloaded SCA_SDO using the
&lt;br&gt;&amp;gt; &amp;gt; PECL command line interface.
&lt;br&gt;&amp;gt; &amp;gt; Now I'm sure I'm going to find the problem soon, but as the
&lt;br&gt;&amp;gt; &amp;gt; documentation, as it is, is leading me to a problem and obviously I
&lt;br&gt;&amp;gt; &amp;gt; can't create and account to edit that page, I wanted to mention it.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; When I try getting the WSDL for that page, I get a (double) error
&lt;br&gt;&amp;gt; &amp;gt; message:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; [Sat Jul 26 11:58:27 2008] [error] [client 127.0.0.1] PHP Warning:
&lt;br&gt;&amp;gt; &amp;gt; SCA_Binding_Factory::require(SCA/Bindings/ws/RequestTester.php) [&amp;lt;a
&lt;br&gt;&amp;gt; &amp;gt; href='function.SCA-Binding-Factory-require'&amp;gt;function.SCA-Binding-
&lt;br&gt;&amp;gt; &amp;gt; Factory-require&amp;lt;/a&amp;gt;]: failed to open stream: No such file or directory
&lt;br&gt;&amp;gt; &amp;gt; in /usr/share/php/SCA/SCA_BindingFactory.php on line 68
&lt;br&gt;&amp;gt; &amp;gt; [Sat Jul 26 11:58:27 2008] [error] [client 127.0.0.1] PHP Fatal
&lt;br&gt;&amp;gt; &amp;gt; error:  SCA_Binding_Factory::require() [&amp;lt;a
&lt;br&gt;&amp;gt; &amp;gt; href='function.require'&amp;gt;function.require&amp;lt;/a&amp;gt;]: Failed opening required
&lt;br&gt;&amp;gt; &amp;gt; 'SCA/Bindings/ws/RequestTester.php' (include_path='.:/usr/share/php:/
&lt;br&gt;&amp;gt; &amp;gt; usr/share/pear') in /usr/share/php/SCA/SCA_BindingFactory.php on line
&lt;br&gt;&amp;gt; &amp;gt; 68
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Looking into my /usr/share/php/SCA/ directory, I have:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; /usr/share/php/SCA/Bindings$ ls
&lt;br&gt;&amp;gt; &amp;gt; atom      jsonrpc  message       restrpc  tuscany
&lt;br&gt;&amp;gt; &amp;gt; ebaysoap  local    restresource  soap     xmlrpc
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; So, no directory called &amp;quot;ws/&amp;quot;. I guess specifying in the given example
&lt;br&gt;&amp;gt; &amp;gt; which type of service I want might help, but in the meantime the
&lt;br&gt;&amp;gt; &amp;gt; example is leading straight to an error, which is confusing for
&lt;br&gt;&amp;gt; &amp;gt; newcomers.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Cheers,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Yannick
&lt;/div&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;phpsoa&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18681672&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;phpsoa@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18681672&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;phpsoa-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.co.uk/group/phpsoa?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.co.uk/group/phpsoa?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;&lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://www.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;winmail.dat&lt;/strong&gt; (5K) &lt;a href=&quot;http://www.nabble.com/attachment/18681672/0/winmail.dat&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Error-with-documentation-example-tp18671812p18681672.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18681649</id>
	<title>Re: Error with documentation example</title>
	<published>2008-07-27T16:00:07Z</published>
	<updated>2008-07-27T16:00:07Z</updated>
	<author>
		<name>Yannick-18</name>
	</author>
	<content type="html">&lt;br&gt;Sorry, @binding.soap definitely works. I've been trying all the other
&lt;br&gt;types (atom, jsonrpc, message, restrpc, tuscany, ebaysoap, local,
&lt;br&gt;restresource, xmlrpc) but none of these generate a wsdl, even though
&lt;br&gt;they don't generate any error message either.
&lt;br&gt;Is that due to something proper to each of these other web services
&lt;br&gt;types?
&lt;br&gt;&lt;br&gt;Yannick
&lt;br&gt;&lt;br&gt;On 27 juil, 17:39, Yannick &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18681649&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ywarn...@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Like I said, finding the problem was not difficult nor long, but it's
&lt;br&gt;&amp;gt; still confusing that there is no explanation of what &amp;quot;ws&amp;quot; could be
&lt;br&gt;&amp;gt; replaced by in @binding.ws. Of course, replacing it by @binding.soap
&lt;br&gt;&amp;gt; worked immediately.
&lt;br&gt;&amp;gt; However, I tried to change it to @binding.restrpc and that,
&lt;br&gt;&amp;gt; apparently, brings me back to the initial state (blank page); but this
&lt;br&gt;&amp;gt; time I get no error report.
&lt;br&gt;&amp;gt; Changing it back to @binding.soap doesn't work.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Yannick
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On 26 juil, 18:24, Yannick &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18681649&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ywarn...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Hi there,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I'm currently taking my first steps with SCA-SDO following the example
&lt;br&gt;&amp;gt; &amp;gt; given here:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&lt;a href=&quot;http://www.osoa.org/display/PHP/SCA+Documentation#SCADocumentation-2.5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.osoa.org/display/PHP/SCA+Documentation#SCADocumentation-2.5&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I am using an Ubuntu 8.04 system ad I downloaded SCA_SDO using t