[phpsoa] Re: Debugging SDO object management

2007-04-16 Thread Caroline Maynard
[EMAIL PROTECTED] wrote: Sounds useful Caroline. I'll give it a spin. I assume reference counter changes are not trapped because there is no impact on the object itself from having its (or its zval) reference count modified. Is that correct? Yes, that is the reason.

[phpsoa] Re: std:badalloc error processing XML docs

2007-04-19 Thread Caroline Maynard
cem wrote: Will report here when Tuscany gets updated. My patch is now in Tuscany. I've updated the Buzzard branch to that Tuscany level, and fixed up the code in the SDO_DataObject destructor to allow the Tuscany object to be cleared. I hope this will eliminate the memory leak. Let us

[phpsoa] Fwd: [PECL-BUG] Bug #8690 [Com]: Extending simple types as complex types

2007-05-09 Thread Caroline Maynard
-- Forwarded message -- From: depotnet at free dot fr [EMAIL PROTECTED] Date: 9 May 2007 11:54:11 - Subject: [PECL-BUG] Bug #8690 [Com]: Extending simple types as complex types To: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] Edit report at

[phpsoa] Fwd: [PECL-BUG] Req #10989 [NEW]: WDSL Types as Nillable

2007-05-09 Thread Caroline Maynard
-- Forwarded message -- From: michael dot caplan at henryschein dot com [EMAIL PROTECTED] Date: 9 May 2007 12:10:34 - Subject: [PECL-BUG] Req #10989 [NEW]: WDSL Types as Nillable To: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] From:

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

2007-05-20 Thread Caroline Maynard
Matthew Peters wrote: What do other people think? Matthew, the way I handled this in SDO was to introduce a cause property, with a getCause() public accessor, plus an additional optional parameter on the constructor for setting it. You can assign any object into the cause, though normally

[phpsoa] Re: [PECL-BUG] Bug #11004 [Fbk]: WSDL Generated Does Not Validate

2007-05-23 Thread Caroline Maynard
Hi Matthew, thanks for helping administer the SDO defects. A few points of process: a) in Tuscany-land, the XML support is not a DAS, it's core code (the XMLHelper). I realise why it's tempting to assign the jira to C++ DAS, but those are the people working on a C++ Relational DAS. The

[phpsoa] Re: [PECL-BUG] Bug #11004 [Fbk]: WSDL Generated Does Not Validate

2007-05-23 Thread Caroline Maynard
Hi Matthew, thanks for helping administer the SDO defects. A few points of process: a) in Tuscany-land, the XML support is not a DAS, it's core code (the XMLHelper). I realise why it's tempting to assign the jira to C++ DAS, but those are the people working on a C++ Relational DAS. The

[phpsoa] Re: Errrr... do we really want all this PECL defect activity reflected here?

2007-05-24 Thread Caroline Maynard
Matthew Peters wrote: d) one of the package maintainers, who do receive a stream of info about defects, could volunteer to produce a weekly digest of activity. Mmm, that would require someone to first volunteer and then actually follow through. Who is this user phpsoa who writes to us

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

2007-06-05 Thread Caroline Maynard
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 with the business interfaces (in this case the properties of an SDO, and

[phpsoa] Re: Errrr... do we really want all this PECL defect activity reflected here?

2007-06-05 Thread Caroline Maynard
Matthew Peters wrote: I volunteer to produce a weekly post of defect activity. I will make that a Friday afternoon task. I will do that until further notice, but let's say for the next three months for definite. I will try to find a deputy for when I am not here. Thanks, Matthew! I'm sure

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

2007-06-05 Thread Caroline Maynard
[EMAIL PROTECTED] wrote: On 4 Jun, 11:32, Graham Charters [EMAIL PROTECTED] wrote: In the dependencies section for 1.2.1 we list PEAR Package: sdo, which links to something athttp://pear.php.net/package/sdo- which clearly doesn't exist. It appears to be coming from the MakePackage.php

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

2007-06-05 Thread Caroline Maynard
Graham Charters wrote: I mentioned the proxies as one of the two areas where we need to keep the interface clean (the other was SDO). I mentioned SDO because the cache appears to be on the SDO interface in Matthew's example code (unless I've misunderstood). No, you haven't misunderstood, I

[phpsoa] Re: rest resource binding?

2007-06-05 Thread Caroline Maynard
[EMAIL PROTECTED] wrote: I think that it would be interesting to have a rest resource binding to sit alongside the rest rpc binding. The intention would be to provide a convenient template against which to construct a service which is able to provide an implementation for the HTTP style

[phpsoa] Re: Simpledb binding

2007-06-05 Thread Caroline Maynard
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 to the point where it might do something useful) to a binding called

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

2007-06-05 Thread Caroline Maynard
Matthew, one more thing I'd like to add to this discussion, which struck me as I was listening to Brian Shire's excellent presentation at php|tek (http://tekrat.com/wp/talks/phptek2007/[EMAIL PROTECTED]). There are already several caching solutions for php, in particular APC, also memcache

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

2007-06-05 Thread Caroline Maynard
Graham Charters wrote: Ah, I think I have misunderstood, and it's the subtle (at least to my brain) distinction between SDO and SDO_DataObject. What do you mean by adding a property to the extension? I'm not aware of an interface we expose called SDO so jumped to the conclusion that this

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

2007-06-05 Thread Caroline Maynard
Bad form to reply to my own post, but just after I sent it I saw this thread in the internals mailing list: http://thread.gmane.org/gmane.comp.php.devel/43094 so we shouldn't use APC to cache SCA objects without giving some thought to how they get serialized. That's probably not too

[phpsoa] Re: Are the DASs experimental

2007-06-07 Thread Caroline Maynard
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 at the same time as the core, sorry if I didn't. Note that

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

2007-06-11 Thread Caroline Maynard
Michael Caplan wrote: I'd like to petition to get Bug #11004 (WSDL Generated Does Not Validate) and Request #10994 (Business Exceptions Data Returned to Client) in this release. Judging from [EMAIL PROTECTED] (sorry not sure who that is) final comment on #11004, I think this ticket is

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

2007-06-14 Thread Caroline Maynard
Matthew Peters wrote: I have just checked in some changes to the SDO C++ code (thanks, Pete Robbins) and a one-liner to one of the classes in the soap binding which I think fix 11012 and 11004. Both the wsdl and the soap messages now validate correctly with soapscope and Java Xerces, which

[phpsoa] Re: Bug #11004 [Fbk]: WSDL Generated Does Not Validate

2007-06-14 Thread Caroline Maynard
Matthew Peters wrote: b) I am not sure if you are telling me that I need to do something here. Is there something I need to do in future that I have not been doing? It's fine now. It was something you didn't do for this particular bug - which was in feedback (harsh turquoise) state at the

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

2007-06-14 Thread Caroline Maynard
Matthew Peters wrote: I have just answered your post on 24th May - which I never spotted at the time, apologies. There must be another one I have missed since you say either of my requests. Please point me at the one I have missed. FWIW, it was in a reply sent 8 Jun to a private mail from

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

2007-06-14 Thread Caroline Maynard
[EMAIL PROTECTED] wrote: I think that creating the suggested tests is a good idea. I've seen several emails pass by about release process and have to confess that I don't remember the details. While I'm not a big fan of being too process oriented our build and release is sufficiently

[phpsoa] Re: DUNLIN RC1 testing

2007-06-15 Thread Caroline Maynard
[EMAIL PROTECTED] wrote: I'm still having problems with my Windows environment. All of my phpt tests fail with empty output files. Anyone any ideas? What happens if you run the generated php scripts manually? There is a new dependency, via PHP, on open ssl in the tests (deep joy - that

[phpsoa] Re: DUNLIN RC1 testing

2007-06-15 Thread Caroline Maynard
[EMAIL PROTECTED] wrote: On 15 Jun, 12:31, Caroline Maynard [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: There is a new dependency, via PHP, on open ssl in the tests (deep joy - that kept me entertained for a while - not SCA-SDOs fault though). Not sure what you mean by via PHP. I

[phpsoa] Re: Service that implement interfaces?

2007-07-04 Thread Caroline Maynard
simonslaws-gM/[EMAIL PROTECTED] wrote: On 4 Jul, 09:30, simonsl...-gM/[EMAIL PROTECTED] wrote: It would seem to be the case that if you implement a service using a class that implements an interface then SCA doesn't recognize it as a service. For example, with the service: /** *

[phpsoa] New article about SCA and SDO

2007-07-05 Thread Caroline Maynard
Perhaps it was just me looking the wrong way (my mind was on other things that week) - did everyone else notice the appearance on developerWorks of a new article about SCA and SDO for PHP? Not sure if the author is a subscriber to this list, but he's created a useful short introduction to

[phpsoa] Re: Upgrading EIDER to latest Tusany code

2007-07-05 Thread Caroline Maynard
[EMAIL PROTECTED] wrote: On 5 Jul, 14:25, Matthew Peters [EMAIL PROTECTED] wrote: What happened to Simon's userid? simonslaws-gM/[EMAIL PROTECTED] wrote: Not sure! It's decided I don't need an alias anymore. I think it happens because you don't have a nickname. This is a bit

[phpsoa] Re: New article about SCA and SDO

2007-07-05 Thread Caroline Maynard
[EMAIL PROTECTED] wrote: Good spot Caroline, have added it to the places that talk about us list. .. however I had already added it to the Papers list! I chose that because it was more like a tutorial and less like a discussion. YMMV. --~--~-~--~~~---~--~~

[phpsoa] Re: Upgrading EIDER to latest Tusany code

2007-07-11 Thread Caroline Maynard
Matthew Peters wrote: P.S. Just checking - you've changed the skips so that 002 and 003, which were skipped, now fail. You are going to change the expected output to take out the default namespace, and then they'll work. Is that right? Indeed. In the time-honoured manner, I have changed the

[phpsoa] Re: Upgrading EIDER to latest Tusany code

2007-07-12 Thread Caroline Maynard
Rob wrote: I did have to however make some changes to the source to get things working: http://www.ctindustries.net/patches/sdo.diff.txt change in commonj/sdo/SDOSchemaSAX2Parser.h was required to compile (Fedora 6) change in SDO_DataObject.cpp was for a memleak (bug10049.phpt was failing

[phpsoa] Re: Upgrading EIDER to latest Tusany code

2007-07-16 Thread Caroline Maynard
Rob wrote: I do have a question about the change though. Is there any possibility that EG(uninitialized_zval_ptr) would ever be returned for either value, as its probably not a good idea to be playing around with that. Conceptual I wouldn't think so if you are comparing 2 SDO objects, but

[phpsoa] Re: Digest of bug activity for week ending 13th July 2007

2007-07-17 Thread Caroline Maynard
Thanks, I enjoyed that. Highly digestible :-) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups phpsoa group. To post to this group, send email to phpsoa@googlegroups.com To unsubscribe from this group, send email to

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

2007-08-15 Thread Caroline Maynard
Caroline Maynard wrote: 5.Server rejected the generated XML I use the following code to generate my feed entry: $xmldas = SDO_DAS_XML::create(Atom1.0.xsd); $document = $xmldas-createDocument( http://www.w3.org/2005/Atom;, 'entry'); $entry = $document-getRootDataObject(); /* Fill

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

2007-08-15 Thread Caroline Maynard
Caroline Maynard wrote: For the server I was using, I needed to add CURLOPT_HTTPAUTH = CURLAUTH_BASIC CURLOPT_USERPWD = $user:$passwd CURLOPT_SSL_VERIFYPEER = false (though I should have used a more secure solution to the last of those). For the record, I did subsequently

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

2007-08-20 Thread Caroline Maynard
Matthew Peters wrote: I've been looking at problem 5 in your list here - the server rejecting the generated XML. I think our Atom1.0.xsd is wrong. Our xsd has no elementFormDefault attribute on the schema definition. This means that we get the default behaviour, which is that only top

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

2007-08-22 Thread Caroline Maynard
Matthew Peters wrote: I hoped we had seen the back of namespace problems Told you so: http://groups.google.com/group/phpsoa/msg/11a5c7ea4f6dd260 :-) I will open a JIRA. You'll have noticed that Pete has provided fixes for http://issues.apache.org/jira/browse/TUSCANY-1564 and

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

2007-08-23 Thread Caroline Maynard
Matthew Peters wrote: Thank you. The mistake I was making was putting $entry_author-name = $author; when I should have had $entry_author-name[] = $author; Isn't it all horrid. When you try to write it from scratch, and if you do not know what you are doing (that was me) it's

[phpsoa] Search cvs commits for SCA_SDO

2007-08-24 Thread Caroline Maynard
I uploaded a form (http://groups.google.co.uk/group/phpsoa/web/commits.html) that you can use to search the cvs commits on a particular SCA_SDO branch. The results are not quite accurate, because the gmane Xapian search won't tokenise the input as I intended. But I still find it useful. Feel

[phpsoa] Re: about JMS Binding

2007-09-03 Thread Caroline Maynard
simonslaws-gM/[EMAIL PROTECTED] wrote: Before I go and do that I need to ask the question about whether we want to make SAM a mandatory dependency. I don't think we can let SAM be a mandatory dependency. The tests should simply be skipped if SAM is unavailable.

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

2007-09-11 Thread Caroline Maynard
Graham Charters wrote: I meant to ask. Of the options to improve the API, which would people prefer, or are there any other suggestions? My current preference is for the building up of the SDO Atom model programmatically because this will not require the developer to specify they want to

[phpsoa] Re: SDO_DAS_XML prints malformed XML

2007-11-23 Thread Caroline Maynard
Caroline Maynard wrote: Tom wrote: Hi guys! The following code produces malformed XML output: $type = $sdo-getTypeName(); $xdoc = $this-xml_das-createDocument('', $type, $sdo); $xmlstr = $this-xml_das-saveString($xdoc); Try looking at this document that was produced this way: http

[phpsoa] Re: SDO_DAS_XML prints malformed XML

2007-11-23 Thread Caroline Maynard
Tom wrote: Hi guys! The following code produces malformed XML output: $type = $sdo-getTypeName(); $xdoc = $this-xml_das-createDocument('', $type, $sdo); $xmlstr = $this-xml_das-saveString($xdoc); Try looking at this document that was produced this way:

[phpsoa] Re: SDO_DAS_XML prints malformed XML

2007-11-30 Thread Caroline Maynard
Caroline Maynard wrote: Matthew, I see you've found a Tuscany problem (http://issues.apache.org/jira/browse/TUSCANY-1553) already open for this. Even if that gets fixed though, I don't think we can always depend on Tuscany - the SCA code generates some xml itself in places, does

[phpsoa] Re: SDO_DAS_XML prints malformed XML

2007-11-30 Thread Caroline Maynard
Matthew Peters wrote: We should probably edit the variables that we are using to make sure they don't contain dodgy characters. I think they are only ever values that we pull out of the annotations e.g. from @param and so forth, but we should be careful. I will raise a pecl bug to track it.

[phpsoa] Re: SDO_DAS_XML prints malformed XML

2007-12-04 Thread Caroline Maynard
Caroline Maynard wrote: I've sent a patch for this to the Tuscany team, and am now hoping for the attention of a Tuscany developer. Tuscany have accepted my patch, so I've now checked it into our FULMAR branch, and it will be in the next release

[phpsoa] Re: Fatal error: Uncaught SCA_RuntimeException

2008-02-07 Thread Caroline Maynard
Khurrum, apologies for the delay posting this one - I missed it because Google mail decided that the moderation message from Google Groups was spam :-( --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups phpsoa

[phpsoa] Re: Unsetting of data objects using xpath not working as expected

2008-02-08 Thread Caroline Maynard
cdouglas wrote: I am having an issue trying to remove a data object using xpath and unset and it's not working as I expect. Example: record tns:logicalPort id=lp24 parentId=mpg5 portId=24 tns:extendedData dataType=name instance=1LP 24/ tns:extendedData tns:logicalPortLocationLP

[phpsoa] Re: Unsetting of data objects using xpath not working as expected

2008-02-13 Thread Caroline Maynard
cdouglas wrote: Hello, I am having an issue trying to remove a data object using xpath and unset and its not working a I expect. Example: record tns:logicalPort id=lp24 parentId=mpg5 portId=24 tns:extendedData dataType=name instance=1LP 24/ tns:extendedData tns:logicalPortLocationLP

[phpsoa] Re: Status of issue with SDO scoping of anonymous types with same name

2008-04-01 Thread Caroline Maynard
cdouglas wrote: Simon, I verified that this issues was fixed in a 1.2.3 beta built, but it is not working in 1.2.4 final. -Chris Chris, the related Tuscany updates seem to have disappeared during the release process. I can't find any recorded explanation of this, so I'm making an

[phpsoa] Re: A PHP Manual update

2008-04-21 Thread Caroline Maynard
Philip Olson wrote: Hello all- Just wanted to inform this list that the PHP Manual has received an overhaul lately and this includes the sdo documentation. You'll notice the content has been split into various book related categories, and there is room for more too! Like a faq.xml and/or

[phpsoa] Re: Methods Documentation in WSDL

2008-04-25 Thread Caroline Maynard
Silvano Girardi Jr wrote: is there any special reason for the SCA to do not generate the documentation/documentation in the WSDL based on the method's description in the doc block? Probably nobody thought to do it. Seems a good idea to me. Any volunteers?

[phpsoa] Re: Methods Documentation in WSDL

2008-04-25 Thread Caroline Maynard
Silvano Girardi Jr wrote: On Fri, Apr 25, 2008 at 5:38 AM, Caroline Maynard [EMAIL PROTECTED] wrote: Silvano Girardi Jr wrote: is there any special reason for the SCA to do not generate the documentation/documentation in the WSDL based on the method's description in the doc block

[phpsoa] Dokeos developers considering SCA

2008-04-25 Thread Caroline Maynard
See http://dokeoslead.wordpress.com/2008/04/23/dokeos-drupal-link-planning/. Maybe some existing users of SCA in this kind of environment could advise? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups phpsoa

[phpsoa] Re: Problem when using type DOUBLE in SOAP

2008-06-18 Thread Caroline Maynard
Matthew Peters wrote: OK, this testcase is enough to demonstrate the problem (using Sample.wsdl from the defect that Silvano raised). The problem is not that the sdo does not have the precision; it's in the serialisation to xml which treats the value like 'print' does and not 'print_r'.

[phpsoa] Re: Problem when using type DOUBLE in SOAP

2008-06-24 Thread Caroline Maynard
Matthew Peters wrote: Hi Caroline, thanks for a very authoritative answer, as always. The one we are going to need to fix, of course, is the Tuscany behaviour, and what it does on $xmldas-saveString($xdoc), since that is what we use to generate the XML for the soap response ... unless we do

[phpsoa] Re: Problem when using type DOUBLE in SOAP

2008-06-25 Thread Caroline Maynard
Caroline Maynard wrote: I've raised a Tuscany defect: http://issues.apache.org/jira/browse/TUSCANY-2439 and offered them a patch. I'll keep you posted. Tuscany developers have committed my patch, and I've also made a change to the SDO extension so that Tuscany will honour the precision

[phpsoa] Re: SDO DAS loadString failing with multiple namespaces

2008-10-22 Thread Caroline Maynard
cdouglas wrote: I am trying to create an SDO_DAS_XML object using an XSD that imports 5 other XSD's and has multiple namespaces throughout. The object gets created correctly and there are no errors thrown when I do the loadString, but the data from the XML doc doesn't get populated in the

[phpsoa] Re: How is the SDO development and when is it supposed to become stable?

2008-11-14 Thread Caroline Maynard
Bruno Reis wrote: I'm facing some design decisions on a new project now that puts me towards something like SDO, but being it an experimental extension, it's hard to bet on it. May anyone tell me please, how is the SDO development going and when is it supposed to become stable? Bruno, I'm

[phpsoa] Re: How is the SDO development and when is it supposed to become stable?

2008-11-24 Thread Caroline Maynard
Bruno Reis wrote: When was it marked stable? See http://pecl.php.net/package/SCA_SDO - the 1.0.0 release on 2006-03-01 Is there a good didatic tutorial or docs you would suggest? Many of the information sources are shamefully out of date. I think http://www.osoa.org/display/PHP is probably

[phpsoa] Re: Consuming SSL secured web services

2008-11-24 Thread Caroline Maynard
Matthew Peters wrote: OK so that's useful information and makes sense. How would you go about connecting to an https URL from PHP? I have never tried it. Is there a way to give the userid and password to the file wrapper? I've forgotten a lot of what I knew about this too, but Matthew's