[phpsoa] Re: SDO_DAS_Relational + SCA soap binding?

2007-05-10 Thread Graham Charters
Hi Tony, This is something which has been on the SDO wish list for a long time. It's on the SDO list because that's where the majority of the work needs to be done. I had a go at prototyping this last night thinking a small scenario might work, but hit a few snag. The issues I encountered

[phpsoa] Re: New eBay Soap binding in HEAD

2007-05-11 Thread Graham Charters
Hi Simon, yes I did. I had been assured that this would be ok because the 'development in a branch' approach is really only necessary for native extension code (because pecl4win always pulls this from HEAD). Let me know if you think the binding should go elsewhere. On 11 May, 14:48, [EMAIL

[phpsoa] Re: 4 phpt test failures

2007-05-11 Thread Graham Charters
Hi Simon, I've seen this kind of thing happen due to firewall problems. When you run the tests from the commandline the firewall might block php.exe, but when you run samples in the browser it lets apache.exe through. Might be a red herring. On 11 May, 13:06, [EMAIL PROTECTED] wrote:

[phpsoa] Re: 4 phpt test failures

2007-05-11 Thread Graham Charters
No, I'm using HEAD, but 004 fails for me too, and with the same error. On 11 May, 15:02, Simon Laws [EMAIL PROTECTED] wrote: Graham Thanks for the suggestion. I did try turning my firewall of but still got the same effect. Does php004 pass for you? Simon

[phpsoa] New eBay Soap binding in HEAD

2007-05-11 Thread Graham Charters
I've just checked the ebaysoap binding into HEAD. I've also checked in a couple of samples into the examples directory. There's a readme in the examples directory that briefly describes how to get started. The binding's pretty easy to use, removing the need for the coder to work with soap

[phpsoa] Re: New eBay Soap binding in HEAD

2007-05-11 Thread Graham Charters
That makes sense. Lets move it out of head and into a branch. On 11 May, 15:25, Simon Laws [EMAIL PROTECTED] wrote: On 5/11/07, Graham Charters [EMAIL PROTECTED] wrote: Hi Simon, yes I did. I had been assured that this would be ok because the 'development in a branch' approach

[phpsoa] Re: nillable

2007-05-12 Thread Graham Charters
Hi Mike, One of the goals of the SCA annotations has been to try to preserve phpDocumentor generation, so I like your suggestion a lot. I took a look at the phpDocumentor documentation and could only see mention of the pipe for multiple function returns, but not for parameters. I gave it a

[phpsoa] Re: Release 1.2.1

2007-05-12 Thread Graham Charters
Good one, Matthew. Works fine for me on Win XP. Thanks also for moving the eBay binding to DUNLIN. Graham. On 11 May, 22:11, [EMAIL PROTECTED] wrote: Nice one Matthew. I tried it on Fedora Core 6 and Windows XP SP2. It gets a clean bill of health on linux and all is OK on Windows apart

[phpsoa] Re: nillable

2007-05-16 Thread Graham Charters
outlined methods for supporting nillable parameters? Best, Mike -Original Message- From: phpsoa@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Graham Charters Sent: May 12, 2007 6:16 PM To: phpsoa Subject: [phpsoa] Re: nillable Hi Mike

[phpsoa] Re: How much data should flow back from a business exception?

2007-05-16 Thread Graham Charters
I think Mike is right that we shouldn't always flow this information. It is a potential security hole as it could divulge more information than we would like. I had similar concerns about the information we flow back in http responses for things like Atompub and the conclusion was to not give

[phpsoa] Re: How much data should flow back from a business exception?

2007-05-18 Thread Graham Charters
Hi Simon, thanks for your 2c - it's always worth more than that :-) I've inlined some questions/responses below. On 18 May, 12:29, [EMAIL PROTECTED] wrote: Graham I like both of these suggestions and think they both have a place in the runtime. We should have a separation between Business

[phpsoa] eBay soap binding documentation on osoa.org

2007-05-23 Thread Graham Charters
Hi All, I've just put some documentation up on the osoa.org wiki describing how to use the eBay SOAP binding (see http://osoa.org/display/PHP/eBay+SOAP+Binding+Documentation). If you spot any problems or have suggestions for improvements, please post them as comments to this post. This is a

[phpsoa] Re: SDO_DAS_Relational + SCA soap binding?

2007-05-25 Thread Graham Charters
Hi Simon, thanks for your thoughts. My comment are below. On 23 May, 14:12, [EMAIL PROTECTED] wrote: Graham I was just thinking about this part of your issue... snip I wrote an XML schema to match the schema used by the relational DAS (i.e. using the urn:app_namespace, and all primitives

[phpsoa] Dependency on PEAR SDO ?????

2007-06-04 Thread Graham Charters
In the dependencies section for 1.2.1 we list PEAR Package: sdo, which links to something at http://pear.php.net/package/sdo - which clearly doesn't exist. Do we need to do a new release to remove this, or can it be removed independently (I'm ignorant of this process :-( ) ? Graham.

[phpsoa] Re: How much data should flow back from a business exception?

2007-06-04 Thread Graham Charters
On 23 May, 16:34, Matthew Peters [EMAIL PROTECTED] wrote: So, any volunteers to chop it out? We could stop generating the This wsdl was generated... comment at the bottom of the wsdl since it was only used for that. Isn't this used to identify and unwrap the interface of the doc/lit

[phpsoa] Re: Suggest we cache the SDO model somehow

2007-06-05 Thread Graham Charters
On 5 Jun, 10:36, Caroline Maynard [EMAIL PROTECTED] wrote: Graham Charters wrote: One *real* comment: I think we should be getting into the habit of using magic method-style things which appear on the SDO interface (and also our proxy interfaces) to reduce the risk of clashes

[phpsoa] Simpledb binding

2007-06-05 Thread Graham Charters
Hi All, There have been a few occasions where I've wanted a quick and easy way to access a single database table as part of an SCA component implementation. I'm just adding the finishing touches (at least to the point where it might do something useful) to a binding called simpledb. This gives

[phpsoa] Re: Simpledb binding

2007-06-05 Thread Graham Charters
On 5 Jun, 13:39, Caroline Maynard [EMAIL PROTECTED] wrote: Graham Charters wrote: There have been a few occasions where I've wanted a quick and easy way to access a single database table as part of an SCA component implementation. I'm just adding the finishing touches (at least

[phpsoa] Are the DASs experimental

2007-06-07 Thread Graham Charters
The XML and Relational DAS docs have 'experimental' banners. I'd be inclined to remove this from the XML DAS (I think it's stable), but am not sure about the Relational DAS. Any thoughts? --~--~-~--~~~---~--~~ You received this message because you are

[phpsoa] Re: Are the DASs experimental

2007-06-07 Thread Graham Charters
On 7 Jun, 10:29, Caroline Maynard [EMAIL PROTECTED] wrote: Simon Laws wrote: I agree with you assessment, i.e. that the XMLDAS is stable but that the relational DAS is still not well used enough to decide that it has settled down. What he said. (I should have removed it from the XML DAS

[phpsoa] Re: rest resource binding?

2007-06-07 Thread Graham Charters
On 7 Jun, 16:10, Matthew Peters [EMAIL PROTECTED] wrote: I'm glad you like the idea, and you ask a good question. It has always seemed to me that right at the bottom we have service-oriented components and resource-oriented components, and that the service oriented ones can all be totally

[phpsoa] Re: Are the DASs experimental

2007-06-08 Thread Graham Charters
OK, the 'experimental' tags have been removed from the XML DAS. This will eventually make its way through to the public docs. On 7 Jun, 16:08, Graham Charters [EMAIL PROTECTED] wrote: On 7 Jun, 10:29, Caroline Maynard [EMAIL PROTECTED] wrote: Simon Laws wrote: I agree with you assessment

[phpsoa] Re: rest resource binding?

2007-06-11 Thread Graham Charters
for other REST styles which can then be encapsulated in new bindings or helper functions. Graham. On 7 Jun, 17:42, Graham Charters [EMAIL PROTECTED] wrote: On 7 Jun, 16:10, Matthew Peters [EMAIL PROTECTED] wrote: I'm glad you like the idea, and you ask a good question. It has always seemed to me

[phpsoa] Re: rest resource binding?

2007-06-11 Thread Graham Charters
I referred to two approaches because I felt that the two 'interfaces' might not be progressive (i.e. steps down the same road). I suppose in some abstract way I could be wrong in that the path info in the URIs is an 'identity' in both cases (e.g. http:///Collection.php/12 versus

[phpsoa] Re: Simpledb binding

2007-06-12 Thread Graham Charters
post. Instead of use_lower_case in the ini file, you can state case = xxx , where xxx is one of upper, lower or mixed. Mixed just makes the first letter of each property a capital and the rest lowercase. Graham. On 5 Jun, 16:51, Graham Charters [EMAIL PROTECTED] wrote: On 5 Jun, 13:39, Caroline

[phpsoa] Re: DUNLIN RC1 testing

2007-06-19 Thread Graham Charters
Hi Simon, Yes, I see the same problem. When run with run-tests I get the following error (I've not had chance to investigate further): ACTUAL OUTPUT Warning: SDO_DAS_XML::create(): php_network_getaddresses: getaddrinfo failed: No such host is known. in C:\php\PEAR\SCA\Bindings\soap

[phpsoa] Re: DUNLIN RC1 testing

2007-06-19 Thread Graham Charters
I've just done 'pear run-tests' instead of 'php run-tests.php ...' and 004 passes, so I think the failure is due to running the phpt tests in an inappropriate way. Graham. On 19 Jun, 15:16, Matthew Peters [EMAIL PROTECTED] wrote: Simon, the index.php did contain a reference to

[phpsoa] Re: DUNLIN RC2

2007-06-22 Thread Graham Charters
Hi Simon, can you post what you're seeing for one of the failing unit test for comparison? Graham. On 22 Jun, 09:08, [EMAIL PROTECTED] wrote: On 22 Jun, 08:39, [EMAIL PROTECTED] wrote: On 21 Jun, 22:40, Graham Charters [EMAIL PROTECTED] wrote: Hi Matthew, Thanks for fixing

[phpsoa] Re: DUNLIN RC2

2007-06-22 Thread Graham Charters
. On 22 Jun, 09:42, [EMAIL PROTECTED] wrote: On 22 Jun, 09:14, Graham Charters [EMAIL PROTECTED] wrote: Hi Simon, can you post what you're seeing for one of the failing unit test for comparison? Graham. On 22 Jun, 09:08, [EMAIL PROTECTED] wrote: On 22 Jun, 08:39, [EMAIL PROTECTED

[phpsoa] Re: Release Announcements

2007-07-03 Thread Graham Charters
The other place would be developerWorks' phpblog, which is syndicated onto planet-php. On 2 Jul, 15:31, [EMAIL PROTECTED] wrote: I've just been doing a Tuscany blog post about the 1.2.2. release. I notice that the release announce didn't go out on the PECL dev list. There appears to be a

[phpsoa] Re: Service that implement interfaces?

2007-07-04 Thread Graham Charters
I don't have any thoughts on solutions at this time, but I do have a comment on the by design. You are right that it is not by design that interfaces are excluded. Determining the service 'interface' from a class's public methods is a convenience. We do want to support explicit use of an

[phpsoa] Re: Time for DUNLIN to peck its way out?

2007-07-10 Thread Graham Charters
Hi Caroline, Sorry for my silence (other project activities have taken over my life at the moment). I would like to see this. As someone who commits less that others and whose brain seems to flush information all to readily, having the documented processes to refer to would be very helpful.

[phpsoa] View this page: Contents of Release From EIDER Branch

2007-07-11 Thread Graham Charters
Added simpledb as a nice to have for EIDER. Click on http://groups.google.co.uk/group/phpsoa/web/contents-of-release-from-eider-branch; or copy paste it into your browser's address bar if that does not work. --~--~-~--~~~---~--~~ You received this message

[phpsoa] Re: Experiences with the ATOMPUB binding #2

2007-08-15 Thread Graham Charters
Hi Caroline, Thanks for your feedback on your experiences with the Atom binding. Doesn't make good reading, but it's very helpful. I'm not able to work on this for the next couple of weeks, but hope to get time to work on SCA the week after. Atom was going to be one of the things I wanted to

[phpsoa] XML Schema Validation in SDO

2007-08-30 Thread Graham Charters
We've recently had a number of XML related defect raised against SDO (11923, 11925, 11926, 11927, 11930 and 11931). These seem to all boil down to strictly enforcing the XML schema. See the brief discussion in 11925 for more details. This phpsoa group discussion

[phpsoa] Re: Experiences with the ATOMPUB binding #5

2007-08-30 Thread Graham Charters
The many-valued nature of a lot of the properties is unfortunately due to the inability of XML schema to accurately describe the Atom Syndication Format. It's a while since I wrote the schema, but I seem to recall it was to do with the use of choice maxOccurs=unbounded / . The Atom XML is

[phpsoa] Re: Experiences with the ATOMPUB binding #5

2007-08-30 Thread Graham Charters
. I think the PHP class approach might need a new annotation to say they want classes (POPO - Plain Old PHP Objects) rather than SDO. On 30 Aug, 09:29, Graham Charters [EMAIL PROTECTED] wrote: The many-valued nature of a lot of the properties is unfortunately due to the inability of XML schema

[phpsoa] Finer-grained control over service methods (Pecl Request #11944)

2007-08-31 Thread Graham Charters
Pecl Request #11944 (http://pecl.php.net/bugs/bug.php?id=11944) is asking for finer-grained control over the methods which are surfaced on a service interface. We currently just use class visibility (i.e. all public methods) to control this. There's a small amount of discussion in the request,

[phpsoa] Re: Finer-grained control over service methods (Pecl Request #11944)

2007-08-31 Thread Graham Charters
sensible? On 31 Aug, 09:30, [EMAIL PROTECTED] wrote: On 31 Aug, 08:42, Graham Charters [EMAIL PROTECTED] wrote: Pecl Request #11944 (http://pecl.php.net/bugs/bug.php?id=11944) is asking for finer-grained control over the methods which are surfaced on a service interface. We currently just

[phpsoa] Re: Finer-grained control over service methods (Pecl Request #11944)

2007-08-31 Thread Graham Charters
Comments inlined below... On 31 Aug, 11:35, [EMAIL PROTECTED] wrote: Hi Graham Some more comments in line... On 31 Aug, 11:26, Graham Charters [EMAIL PROTECTED] wrote: Hi Simon, thanks for the rapid comments. Here's my thoughts on the two issues you identified: 1/ What should

[phpsoa] Re: Finer-grained control over service methods (Pecl Request #11944)

2007-09-03 Thread Graham Charters
wouldn't make any sense to have SCA parse annotations in the interface. Matt On 31 Aug, 06:20, Graham Charters [EMAIL PROTECTED] wrote: Comments inlined below... On 31 Aug, 11:35, [EMAIL PROTECTED] wrote: Hi Graham Some more comments in line... On 31 Aug, 11:26, Graham Charters [EMAIL

[phpsoa] Re: Finer-grained control over service methods (Pecl Request #11944)

2007-09-08 Thread Graham Charters
. If anyone has heard of anything which might be relevant, please let me know. Graham. On 3 Sep, 13:18, Graham Charters [EMAIL PROTECTED] wrote: It sounds like we may have consensus. To summarise: 1. We should add the ability to specify an optional interface for the service on the @service

[phpsoa] Re: Finer-grained control over service methods (Pecl Request #11944)

2007-09-11 Thread Graham Charters
include include 'SCA/SCA.php'; I need to turn my tests into phpunit tests and merge with the latest in pecl. I'm hoping I'll be able to do that tonight. Graham. On 10 Sep, 16:14, Caroline Maynard [EMAIL PROTECTED] wrote: Graham Charters wrote: Just a quick status update... I've done

[phpsoa] Re: Finer-grained control over service methods (Pecl Request #11944)

2007-09-11 Thread Graham Charters
, or have I missed the point? Graham. On 11 Sep, 11:28, Caroline Maynard [EMAIL PROTECTED] wrote: Graham Charters wrote: I've just created the test case and reproduced the behaviour (I won't say problem because I think perhaps what we recommend today might be the real problem). I tried

[phpsoa] Re: Finer-grained control over service methods (Pecl Request #11944)

2007-09-12 Thread Graham Charters
, Graham Charters [EMAIL PROTECTED] wrote: You could go the other way though, and exploit this behaviour to force SCA to be deferred. Interesting idea, so I thought I'd try it. I had my SCA class implement an empty interface, and sadly, it made no difference. The call to the static SCA

[phpsoa] Re: Authentication

2007-09-18 Thread Graham Charters
Hi Silvano, Welcome to the list. I'm not aware of anyone doing authentication using SCA. Unfortuantely, Kieran went silent on the subject, so the work never progressed. There are a couple of things we've done since that discussion which would make implementing @authentication easier: 1.

[phpsoa] Re: passing parameters by reference

2007-09-19 Thread Graham Charters
Hi M, Passing by-value is what the SCA specifications (see http://osoa.org/display/Main/Service+Component+Architecture+Specifications) say should be the calling semantics for remote services. SCA in PHP treats all services as remote and assumes local by-reference calls will just be done using

[phpsoa] Re: How to access HTTPS Webservice

2007-12-11 Thread Graham Charters
/** * @service * @binding.soap * @requires confidentiality * */ Is this the sort of thing you were thinking of, or have I completely lost the plot? :-D Graham. On 11 Dec, 10:14, Rob [EMAIL PROTECTED] wrote: Hi Graham, On 10 Dec, 10:25, Graham Charters [EMAIL PROTECTED] wrote: Disclaimer

[phpsoa] Re: How to access HTTPS Webservice

2007-12-19 Thread Graham Charters
there are details that would need to be hashed out, but this is the basic idea of how I could see it working without getting overly complex. Rob On 11 Dec, 16:16, Graham Charters [EMAIL PROTECTED] wrote: Hi Rob, What you describe is really interesting from a general SCA perspective

[phpsoa] Re: WSDL and extends

2008-01-02 Thread Graham Charters
Hi, Sorry for not getting back to you sooner. Extends is not something I'm aware of being supported. The SCA_AnnotationReader uses get_class_methods to return the methods which the class may expose (depends on whether they're public or are restricted using an interface). I haven't tried it

[phpsoa] Re: WSDL and extends

2008-01-02 Thread Graham Charters
a try and see what happens? Regards, Graham. On 2 Jan, 17:07, Graham Charters [EMAIL PROTECTED] wrote: Hi, Sorry for not getting back to you sooner. Extends is not something I'm aware of being supported. The SCA_AnnotationReader uses get_class_methods to return the methods which the class

[phpsoa] Re: WSDL and extends

2008-01-02 Thread Graham Charters
Jan, 14:18, Graham Charters [EMAIL PROTECTED] wrote: OK, so I should have tried it before responding Get_class_methods does include methods from parent classes. I've just tried the following example: filename: DerivedClass.php ?php include 'SCA/SCA.php'; class ParentClass

[phpsoa] SCA not working on PHP 5.3

2008-01-29 Thread Graham Charters
I've just moved up to PHP 5.3 and encountered a few problems (e.g. a public const in SCA_CommentReader.php called NAMESPACE apparently clashing with the new namespace support). I'll try to look at this in the next day or so, but if anyone wants to beat me too it... ;-) . Graham.

[phpsoa] Re: SCA not working on PHP 5.3

2008-01-29 Thread Graham Charters
I've just checked a couple of fixes into FULMAR. Seems to work fine now. Graham. On 29 Jan, 10:13, Graham Charters [EMAIL PROTECTED] wrote: I've just moved up to PHP 5.3 and encountered a few problems (e.g. a public const in SCA_CommentReader.php called NAMESPACE apparently clashing

[phpsoa] Re: surely it's time for FULMAR

2008-02-01 Thread Graham Charters
If the caching isn't close then, yes, I agree it's about time we did a release. Graham. On 31 Jan, 18:26, Matthew Peters [EMAIL PROTECTED] wrote: We have been hanging on to FULMAR hoping to get a solution to the data model caching in it, but this doesn't seem to be going to happen. Shall I

[phpsoa] Re: When will SCA start support for data structure?

2008-02-07 Thread Graham Charters
Hi Muru, This is something we've wanted to get to, but time constraints have meant we've not been able to. The idea was we would allow the types to be defined by PHP objects which would need to be 'documented' with type information in order for us to derive a static type and optionally generate

[phpsoa] Re: caching of xsd

2008-02-08 Thread Graham Charters
Hi Dali, I'm not sure this is a caching problem. There is some primitive caching support, but it's only turned on for the ebaysoap binding. Could you provide a little test case which reproduces the problem and I'll see if I can track down what's going on? Regards, Graham. On 7 Feb, 23:28,

[phpsoa] Re: FULMAR released

2008-03-06 Thread Graham Charters
Rather tardy of me, but hopefully better late than never... Thanks for doing this Matthew! Regards, Graham. On 4 Mar, 10:58, Matthew Peters [EMAIL PROTECTED] wrote: I have built and released FULMAR as 1.2.4 The contents are: # The ability to control the operations on a service interface

[phpsoa] Re: A PHP Manual update

2008-04-22 Thread Graham Charters
Thank you, Philip. FWIW, I agree with Caroline's suggestions. If these can't belong to multiple categories simultaneously then I would go for the ones where they are strongest/most used and then reference them from the others. I would also choose the same categories as Caroline. Regards,

[phpsoa] Re: Methods Documentation in WSDL

2008-06-02 Thread Graham Charters
Hi Silvano, Sorry for not replying sooner and not replying to your original note. I always had in mind to generate documentation in the WSDL from the methods descriptions, so what you have done is exactly the right idea. Thanks also for the patch. I haven't taken a look at the moment. The

[phpsoa] Re: Methods Documentation in WSDL

2008-06-04 Thread Graham Charters
Girardi Jr [EMAIL PROTECTED] wrote: Hi Graham, I have that interest. Where do I start? :) Thanks Silvano On Mon, Jun 2, 2008 at 10:19 AM, Graham Charters [EMAIL PROTECTED] wrote: Hi Silvano, Sorry for not replying sooner and not replying to your original note. I always had in mind

[phpsoa] Re: inheritance and soap

2008-10-10 Thread Graham Charters
Hi Flo, Are you using SCA on the client side? Could you post a small sample which demonstrates the problem and I'll take a look? Regards, Graham. On 3 Oct, 20:58, flo [EMAIL PROTECTED] wrote: I just ran into a problem with my soap connection. Server is java6 and client is php5. Everything

[phpsoa] Re: Where shall I put my XSDs on a SCA service?

2008-11-19 Thread Graham Charters
Hi Bruno, so far as I can tell, the types are soap types, not the types on your service portType (interface). We have gone through many iterations of WSDL generation (sometimes with xsi:type, sometimes without :-S ) to try to get interop sorted out. What you show many not actually be wrong.

[phpsoa] Re: Local SCA client access.

2008-11-21 Thread Graham Charters
Hi Bruno, There is a cost over and above doing local calls for local SCA service invocations. Firstly, SCA will reflect on the service you are going to call, in order to understand its types and what methods are available. Secondly, the invocation will go through a proxy (SCA/