[phpsoa] Re: Newbie question

2008-06-18 Thread Kariboe
Matthew, Thanks for the response but my problem is not yet solved: Fatal error: Uncaught SCA_RuntimeException: SDO_Exception in setWSDLTypes : SDO_DAS_XML::create - Unable to parse the supplied xsd file 2 parse error(s) occurred when parsing the file 'C:\wamp\www \webservices\test_3\helloworld.w

[phpsoa] Re: Newbie question

2008-06-18 Thread Matthew Peters
Hi Stefaan, I see, you are presumably getting nothing back when you ask for the wsdl with something like $wsdl = file_get_contents('http://barabas.hogent.be/kariboe/ helloworld.php?wsdl'); What we need to know is what appears in the apache error log on the server machine barabas.hogent.be (or wha

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

2008-06-18 Thread Matthew Peters
Ouch, I have just seen that I made an error. It is the use of trigger_error on its own that is losing precision when I print the SDO. If I use trigger_error(print_r($response_object, true)) then I see that the precision is still there in the SDO: [Wed Jun 18 16:20:39 2008] [error] [client 127.0.0

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

2008-06-18 Thread Matthew Peters
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'. Still needs further investigatio

[phpsoa] Explicitly specifying type of xsd:anyType in soap request

2008-06-18 Thread Charlie
I am using a wsdl that has a xsd:anyType parameter in a method call. The resulting SOAP request generates xml that looks like this: testing I need someway to make it output this instead: 13.219 How can I inject an attribute or specify a type in this situation? Here is a code snippet. $metada

[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-18 Thread Silvano Girardi Jr
On Wed, Jun 18, 2008 at 9:05 PM, Caroline Maynard <[EMAIL PROTECTED]> wrote: > > > > 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 i