Discussion:
caching of xsd
Dalibor Andzakovic
2008-02-07 23:28:18 UTC
Permalink
Is there any caching of xsds for the @types annotation? When i add a
type to an xsd file and try to call SCA::createObject() with that
type, i get Fatal error: Uncaught SoapFault exception: exception
'SDO_TypeNotFoundException'

TIA

dali
Graham Charters
2008-02-08 14:54:30 UTC
Permalink
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.
Post by Dalibor Andzakovic
type to an xsd file and try to call SCA::createObject() with that
type, i get Fatal error: Uncaught SoapFault exception: exception
'SDO_TypeNotFoundException'
TIA
dali
Matthew Peters
2008-02-08 15:26:44 UTC
Permalink
For info, there is an example in the release that does I think what
you want to do. I don't know where it would have been installed on
your machine, but on my Linux machine:
/usr/local/lib/php/test/SCA_SDO/examples/SCA/Soap/
SCAComponentUsingDataStructures

it shows calling a sefvice via SOAP which calls SCA::createDataObject.

Matthew
Post by 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.
Post by Dalibor Andzakovic
type to an xsd file and try to call SCA::createObject() with that
type, i get Fatal error: Uncaught SoapFault exception: exception
'SDO_TypeNotFoundException'
TIA
dali
Dalibor Andzakovic
2008-02-10 23:41:13 UTC
Permalink
You're absolutely right. My include path was set to a direcroty that
just happened to have a file with the same name. Silly beginner
mistake :-(

dali
Post by 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.
Post by Dalibor Andzakovic
type to an xsd file and try to call SCA::createObject() with that
type, i get Fatal error: Uncaught SoapFault exception: exception
'SDO_TypeNotFoundException'
TIA
dali
Loading...