dl | 30 Jul 2012 11:39

Debugging .. make: *** [sdo.lo] Error 1

make: *** [sdo.lo] Error 1 in compiling S

This is my first time posting in this forum.
I am trying to install SCA_SDO-1.2.4 in ubuntu / PHP5 .. just to experiment with PHP web services.

I've been looking for a precompiled extension sdo.so to add to PHP5 extensions but it seems it has to be built.

Following instructions here ..

http://php.net/manual/en/sdo.installation.php

I navigated to SCA_SDO-1.2.24 placed here .. /usr/share/php/SCA_SDO-1.2.4

and I read INSTALL to follow these steps

cd /path/to/SCA_SDO-1.2.4
phpize
./configure
make
make install

but I prefixed commands with gksu to have root permissions

cd /usr/share/php/SCA_SDO-1.2.4
gksu phpize
gksu ./configure
gksu make

The phize and ./configure steps seemed to progress o.k. with no errors
but lots of errors were seen at this "make" step

 ===============================

ubuntu <at> ubuntu:/usr/share/php/SCA_SDO-1.2.4$ gksu make
/bin/bash /usr/share/php/SCA_SDO-1.2.4/libtool --mode=compile g++ -I/usr/share/php/SCA_SDO-1.2.4 -I. -I/usr/share/php/SCA_SDO-1.2.4 -DPHP_ATOM_INC -I/usr/share/php/SCA_SDO-1.2.4/include -I/usr/share/php/SCA_SDO-1.2.4/main -I/usr/share/php/SCA_SDO-1.2.4 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/libxml2  -DHAVE_CONFIG_H  -g -O2   -c /usr/share/php/SCA_SDO-1.2.4/sdo.cpp -o sdo.lo
libtool: compile:  g++ -I/usr/share/php/SCA_SDO-1.2.4 -I. -I/usr/share/php/SCA_SDO-1.2.4 -DPHP_ATOM_INC -I/usr/share/php/SCA_SDO-1.2.4/include -I/usr/share/php/SCA_SDO-1.2.4/main -I/usr/share/php/SCA_SDO-1.2.4 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/libxml2 -DHAVE_CONFIG_H -g -O2 -c /usr/share/php/SCA_SDO-1.2.4/sdo.cpp  -fPIC -DPIC -o .libs/sdo.o
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:80: error: conflicting specifiers in declaration of ‘arginfo_sdo_dataobject’
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:86: error: conflicting specifiers in declaration of ‘arginfo___get’
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:90: error: conflicting specifiers in declaration of ‘arginfo___set’
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:96: error: ‘arginfo___get’ was not declared in this scope
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:96: error: ‘arginfo___get’ was not declared in this scope
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:97: error: ‘arginfo___set’ was not declared in this scope
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:97: error: ‘arginfo___set’ was not declared in this scope
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:99: error: too many initializers for ‘zend_function_entry’
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:99: error: too many initializers for ‘zend_function_entry’
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:103: error: conflicting specifiers in declaration of ‘arginfo_sdo_dataobject_createdataobject’
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:111: error: ‘arginfo_sdo_dataobject_createdataobject’ was not declared in this scope
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:111: error: ‘arginfo_sdo_dataobject_createdataobject’ was not declared in this scope
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:115: error: too many initializers for ‘zend_function_entry’
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:119: error: conflicting specifiers in declaration of ‘arginfo_sdo_sequence_getproperty’
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:123: error: conflicting specifiers in declaration of ‘arginfo_sdo_sequence_move’
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:128: error: conflicting specifiers in declaration of ‘arginfo_sdo_sequence_insert’
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:135: error: ‘arginfo_sdo_sequence_getproperty’ was not declared in this scope
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:135: error: ‘arginfo_sdo_sequence_getproperty’ was not declared in this scope
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:136: error: ‘arginfo_sdo_sequence_move’ was not declared in this scope
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:136: error: ‘arginfo_sdo_sequence_move’ was not declared in this scope
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:137: error: ‘arginfo_sdo_sequence_insert’ was not declared in this scope
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:137: error: ‘arginfo_sdo_sequence_insert’ was not declared in this scope
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:140: error: too many initializers for ‘zend_function_entry’
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:140: error: too many initializers for ‘zend_function_entry’
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:140: error: too many initializers for ‘zend_function_entry’
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:144: error: conflicting specifiers in declaration of ‘arginfo_sdo_list_insert’
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:151: error: ‘arginfo_sdo_list_insert’ was not declared in this scope
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:151: error: ‘arginfo_sdo_list_insert’ was not declared in this scope
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:154: error: too many initializers for ‘zend_function_entry’
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:158: error: conflicting specifiers in declaration of ‘arginfo_sdo_datafactory_create’
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:164: error: ‘arginfo_sdo_datafactory_create’ was not declared in this scope
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:164: error: ‘arginfo_sdo_datafactory_create’ was not declared in this scope
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:166: error: too many initializers for ‘zend_function_entry’
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:177: error: conflicting specifiers in declaration of ‘arginfo_sdo_das_datafactory_addType’
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:183: error: conflicting specifiers in declaration of ‘arginfo_sdo_das_datafactory_addPropertyToType’
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:194: error: ‘arginfo_sdo_das_datafactory_addType’ was not declared in this scope
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:194: error: ‘arginfo_sdo_das_datafactory_addType’ was not declared in this scope
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:195: error: ‘arginfo_sdo_das_datafactory_addPropertyToType’ was not declared in this scope
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:195: error: ‘arginfo_sdo_das_datafactory_addPropertyToType’ was not declared in this scope
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:197: error: too many initializers for ‘zend_function_entry’
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:197: error: too many initializers for ‘zend_function_entry’
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:206: error: ‘arginfo_sdo_dataobject’ was not declared in this scope
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:206: error: ‘arginfo_sdo_dataobject’ was not declared in this scope
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:207: error: ‘arginfo_sdo_dataobject’ was not declared in this scope
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:207: error: ‘arginfo_sdo_dataobject’ was not declared in this scope
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:208: error: ‘arginfo_sdo_dataobject’ was not declared in this scope
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:208: error: ‘arginfo_sdo_dataobject’ was not declared in this scope
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:210: error: too many initializers for ‘zend_function_entry’
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:210: error: too many initializers for ‘zend_function_entry’
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:210: error: too many initializers for ‘zend_function_entry’
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:226: error: ‘arginfo_sdo_datafactory_create’ was not declared in this scope
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:226: error: ‘arginfo_sdo_datafactory_create’ was not declared in this scope
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:227: error: ‘arginfo_sdo_das_datafactory_addType’ was not declared in this scope
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:227: error: ‘arginfo_sdo_das_datafactory_addType’ was not declared in this scope
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:228: error: ‘arginfo_sdo_das_datafactory_addPropertyToType’ was not declared in this scope
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:228: error: ‘arginfo_sdo_das_datafactory_addPropertyToType’ was not declared in this scope
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:230: error: too many initializers for ‘zend_function_entry’
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:230: error: too many initializers for ‘zend_function_entry’
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:230: error: too many initializers for ‘zend_function_entry’
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:236: error: ‘arginfo___get’ was not declared in this scope
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:236: error: ‘arginfo___get’ was not declared in this scope
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:237: error: ‘arginfo___set’ was not declared in this scope
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:237: error: ‘arginfo___set’ was not declared in this scope
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:243: error: ‘arginfo_sdo_dataobject_createdataobject’ was not declared in this scope
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:243: error: ‘arginfo_sdo_dataobject_createdataobject’ was not declared in this scope
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:249: error: too many initializers for ‘zend_function_entry’
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:249: error: too many initializers for ‘zend_function_entry’
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:249: error: too many initializers for ‘zend_function_entry’
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:254: error: ‘arginfo_sdo_sequence_getproperty’ was not declared in this scope
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:254: error: ‘arginfo_sdo_sequence_getproperty’ was not declared in this scope
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:255: error: ‘arginfo_sdo_sequence_move’ was not declared in this scope
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:255: error: ‘arginfo_sdo_sequence_move’ was not declared in this scope
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:256: error: ‘arginfo_sdo_sequence_insert’ was not declared in this scope
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:256: error: ‘arginfo_sdo_sequence_insert’ was not declared in this scope
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:259: error: too many initializers for ‘zend_function_entry’
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:259: error: too many initializers for ‘zend_function_entry’
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:259: error: too many initializers for ‘zend_function_entry’
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:263: error: conflicting specifiers in declaration of ‘arginfo_sdo_model_type_identifier’
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:270: error: ‘arginfo_sdo_dataobject’ was not declared in this scope
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:270: error: ‘arginfo_sdo_dataobject’ was not declared in this scope
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:272: error: ‘arginfo_sdo_model_type_identifier’ was not declared in this scope
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:272: error: ‘arginfo_sdo_model_type_identifier’ was not declared in this scope
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:279: error: too many initializers for ‘zend_function_entry’
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:279: error: too many initializers for ‘zend_function_entry’
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:285: error: ‘arginfo_sdo_dataobject’ was not declared in this scope
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:285: error: ‘arginfo_sdo_dataobject’ was not declared in this scope
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:287: error: ‘arginfo_sdo_model_type_identifier’ was not declared in this scope
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:287: error: ‘arginfo_sdo_model_type_identifier’ was not declared in this scope
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:294: error: too many initializers for ‘zend_function_entry’
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:294: error: too many initializers for ‘zend_function_entry’
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:325: error: conflicting specifiers in declaration of ‘arginfo_sdo_model_reflectiondataobject_export’
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:331: error: ‘arginfo_sdo_dataobject’ was not declared in this scope
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:331: error: ‘arginfo_sdo_dataobject’ was not declared in this scope
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:340: error: ‘arginfo_sdo_model_reflectiondataobject_export’ was not declared in this scope
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:340: error: ‘arginfo_sdo_model_reflectiondataobject_export’ was not declared in this scope
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:348: error: too many initializers for ‘zend_function_entry’
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:348: error: too many initializers for ‘zend_function_entry’
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:411: warning: deprecated conversion from string constant to ‘char*’
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp: In function ‘int zm_startup_sdo(int, int)’:
/usr/share/php/SCA_SDO-1.2.4/sdo.cpp:447: warning: deprecated conversion from string constant to ‘char*’
make: *** [sdo.lo] Error 1

 ===============================

Can someone point me to what is wrong in above "make"?
Is there some library dependency I've missed?
And is there no precompiled sdo.so available in SCA_SDO-1.2.4 archive?

Thanks.

--
You received this message because you are subscribed to the Google Groups "phpsoa" group.
To view this discussion on the web visit https://groups.google.com/d/msg/phpsoa/-/sRiuOi_k4wwJ.
To post to this group, send email to phpsoa-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to phpsoa+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://groups.google.com/group/phpsoa?hl=en.
Kieran | 4 Aug 2011 12:40
Picon

(unknown)

http://engelsaphira.en.funpic.de/vlink.html

--

-- 
You received this message because you are subscribed to the Google Groups "phpsoa" group.
To post to this group, send email to phpsoa@...
To unsubscribe from this group, send email to phpsoa+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/phpsoa?hl=en.

Thiago Dias | 3 May 2011 21:27
Picon
Gravatar

binding change.

Hi All.
I'm using binding.soap for a while, but some performance reasons I'm
thinking in to change it to binding.restrpc.
Can anybody tell me if changing the binding I will have performance
improvement?
And will be necessary only change:  <at> binding.soap to  <at> binding.restrpc?
I tryid to use the exempler from here but no success:
http://www.osoa.org/display/PHP/binding.restrpc+Binding+Documentation

Tks.

--

-- 
You received this message because you are subscribed to the Google Groups "phpsoa" group.
To post to this group, send email to phpsoa@...
To unsubscribe from this group, send email to phpsoa+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/phpsoa?hl=en.

jongiddy | 10 Aug 2010 12:45
Picon

Installation of PHP SDO_SCA for PHP 5.3

I've just been getting the PHP SDO SCA code working with PHP 5.3. Many
thanks to the March 2010 email of cdouglas for the initial steps.

Here are my changes for getting a working SOAP web service. I have not
tested this with PHP 5.2 so cannot guarantee that the changes are
backwards-compatible. Any comments are welcomed.

Thanks,
Jon.

Instructions to install SCA and SDO modules to work with PHP 5.3

*** Checkout newest branch from Subversion (post 1.2.4 development
branch)

$ svn co http://svn.php.net/repository/pecl/sdo/branches/GOLDCREST
$ cd GOLDCREST

*** Patch code

Edit sdo.cpp
- remove all "static" modifiers, except "static char rcs_id[]..."

Edit commonj/sdo/SDODataConverter.cpp
- add "#include <stdio.h>"

ereg_replace is deprecated in PHP 5.3, the following change prevents
deprecation warnings being printed, which allows 2 tests to pass
correctly

Edit SCA/SCA_CommentReader.php
- Line 381:
<<<
$targetLine = ereg_replace("\t", " ", $targetLine);
>>>
$targetLine = preg_replace("{[ \t]+}", " ", $targetLine);
===
- Line 385:
<<<
if (strpos($word, $word, $bindingAnnotation) === 0) {
>>>
if (strpos($word,$bindingAnnotation) === 0) {
===
- Line 592:
<<<
$targetLine = ereg_replace("\t", " ", $targetLine);
>>>
$targetLine = preg_replace("{[ \t]+}", " ", $targetLine);
===

Edit SCA/SCA_AnnotationRules.php
- Line 222:
<<<
$line         = ereg_replace("\t", " ", $line);
>>>
$line         = preg_replace("{[ \t]+}", " ", $line);
===

SoapServer::fault cannot be used as a static method, either need to
use a
SoapServer instance, or just use the SoapFault class

Edit SCA/Bindings/soap/Mapper.php
- Line 84:
<<<
SoapServer::fault("Client", "Invalid WSDL Type");
>>>
throw new SoapFault("Client", "Invalid WSDL Type");
===
- Line 188:
<<<
SoapServer::fault("Client", "Unable to encode to XML");
>>>
throw new SoapFault("Client", "Unable to encode to XML");
===
- Line 221:
<<<
SoapServer::fault("Client", "Unable to create data object");
>>>
throw new SoapFault("Client", "Unable to create data object");
===

Edit SCA/Bindings/ebaysoap/Mapper.php
- Line 61:
<<<
SoapServer::fault("Client", "Invalid WSDL Type");
>>>
throw new SoapFault("Client", "Invalid WSDL Type");
===

SoapClient::__setLocation has an optional argument, so subclasses must
also
use an optional argument - allows 2 more tests to pass correctly

Edit SCA/Bindings/soap/Proxy.php
- Line 367
<<<
public function __setLocation($location) {
>>>
public function __setLocation($location=null) {
===

*** Build and install code

**** OPTIONAL
There is already a package.xml file, so the following steps are
optional:
Create (update) the package.xml file
$ php MakePackage.php make

Validate the package.xml file
$ pear package-validate package.xml
91 warnings to do with SDO_SCA prefix, but no errors
(if using old package.xml, this command shows 92 errors, including one
that the date in the file is not today's date)

**** REQUIRED
$ pear package
- creates SCA_SDO-1.2.4.tgz

$ sudo pear install SCA_SDO-1.2.4.tgz
equivalent to running the following steps:
- phpize
- ./configure
- make
- make install
- install PEAR package in /usr/share/php

*** Tell PHP to load SDO extension
Create file /etc/php5/conf.d/sdo.ini
>>>
; configuration for php SCA and SDO module
extension=sdo.so
===

SCA and SDO modules are now ready to use

*** Uninstall instructions
If you need to reinstall, first run:
$ sudo pear uninstall SCA_SDO-1.2.4.tgz

--

-- 
You received this message because you are subscribed to the Google Groups "phpsoa" group.
To post to this group, send email to phpsoa@...
To unsubscribe from this group, send email to phpsoa+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/phpsoa?hl=en.

MavDev | 24 Jun 2010 20:35
Picon

Fatal error: Uncaught SCA_RuntimeException: Only an invalid absolute path could be constructed from class componentFacebook and relative path Cookie.xsd thrown in /usr/local/zend/share/pear/SCA/SCA_Helper.php on line 153

Can anyone help me out with this problem ?

Fatal error: Uncaught SCA_RuntimeException: Only an invalid absolute
path could be constructed from class componentFacebook and relative
path Cookie.xsd thrown in /usr/local/zend/share/pear/SCA/
SCA_Helper.php on line 153

--

-- 
You received this message because you are subscribed to the Google Groups "phpsoa" group.
To post to this group, send email to phpsoa@...
To unsubscribe from this group, send email to phpsoa+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/phpsoa?hl=en.

cdouglas | 15 Mar 2010 15:29

Changes to make SDO/SCA work with 5.3.2

Hello,
 Wanted to share the changes I had to make to the code to get SCA/SDO
to work with 5.3.2 without warnings or errors. If I find more, I will
update.

If using with PHP >= 5.3.0, you need to make the following source code
changes:

remove all "static" except "static char rcs_id[] ..." from sdo.cpp.

Add #include <stdio.h> to commonj/sdo/SDODataConverter.cpp

/usr/local/lib/php/SCA/SCA_CommentReader.php
  Line 381: $targetLine = preg_replace("{[ \t]+}", " ", $targetLine);
  Line 385: if (strpos($word,$bindingAnnotation) === 0) {
  Line 592: $targetLine = preg_replace("{[ \t]+}", " ", $targetLine);

/usr/local/lib/php/SCA/SCA_AnnotationRules.php
  Line 222:  $line         = preg_replace("{[ \t]+}", " ", $line);

--

-- 
You received this message because you are subscribed to the Google Groups "phpsoa" group.
To post to this group, send email to phpsoa@...
To unsubscribe from this group, send email to phpsoa+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/phpsoa?hl=en.

bandirsen | 9 Mar 2010 02:25
Picon

This project is urgently need to be revived

Today SOA became more and more standard architecture on building
application, everybody know the current and up coming technology such
as, SaaS, web OS, cloud computing, etc where the SOA would fit
perfectly.

meanwhile, PHP became more mature with its 5.3.x release, along with
birth so many php sophisticated php framework and tools, such as ZF,
Kohana, CI, Symphony, PRADO, Doctrine 2.0, etc

with those facts, I don't see any reason to let this project die and
abandoned.

So, with this post, I want to invite all member on this group to
reviving this project and hopefully make this project became standard
SOA implementation in PHP world.

how about this ?

--

-- 
You received this message because you are subscribed to the Google Groups "phpsoa" group.
To post to this group, send email to phpsoa@...
To unsubscribe from this group, send email to phpsoa+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/phpsoa?hl=en.

chuckle | 23 Dec 2009 08:27
Picon

The status of the project and the unfinished exception handling part??

Hello,

I am trying to use SCA for PHP on a project, but the code base seems
to be stalled for a while. Anyone knows if any new development is
being done, or it has already become an 'orphan' project?

Also, the code for business exception serialization-deserialization
into the Soap Fault seems to be broken/unfinished. I may attempt to
fix it but want to know if anybody worked on this area already?

Thank you very much...

Cagil

--

You received this message because you are subscribed to the Google Groups "phpsoa" group.
To post to this group, send email to phpsoa@...
To unsubscribe from this group, send email to phpsoa+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/phpsoa?hl=en.

heshuai64 | 21 Nov 2009 03:35
Picon

can't use wsdl file get service??


include 'SCA/SCA.php';
$service = SCA::getService("StockQuoteService?wsdl");
$service->getPrice(array('symbol'=>'IBM'));

StockQuoteService?wsdl file content:
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:axis2="http://quickstart.samples/" xmlns:ns1="http://
org.apache.axis2/xsd" xmlns:ns="http://quickstart.samples/xsd"
xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:xs="http://
www.w3.org/2001/XMLSchema" xmlns:mime="http://schemas.xmlsoap.org/wsdl/
mime/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
targetNamespace="http://quickstart.samples/">
    <wsdl:documentation>StockQuoteService</wsdl:documentation>
    <wsdl:types>
        <xs:schema attributeFormDefault="qualified"
elementFormDefault="qualified" targetNamespace="http://
quickstart.samples/xsd">
            <xs:element name="getPrice">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element minOccurs="0" name="symbol"
nillable="true" type="xs:string"/>

                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="getPriceResponse">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element minOccurs="0" name="return"
type="xs:double"/>
                    </xs:sequence>
                </xs:complexType>

            </xs:element>
            <xs:element name="update">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element minOccurs="0" name="symbol"
nillable="true" type="xs:string"/>
                        <xs:element minOccurs="0" name="price"
type="xs:double"/>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>

        </xs:schema>
    </wsdl:types>
    <wsdl:message name="getPriceRequest">
        <wsdl:part name="parameters" element="ns:getPrice"/>
    </wsdl:message>
    <wsdl:message name="getPriceResponse">
        <wsdl:part name="parameters" element="ns:getPriceResponse"/>
    </wsdl:message>
    <wsdl:message name="updateRequest">

        <wsdl:part name="parameters" element="ns:update"/>
    </wsdl:message>
    <wsdl:portType name="StockQuoteServicePortType">
        <wsdl:operation name="getPrice">
            <wsdl:input message="axis2:getPriceRequest"
wsaw:Action="urn:getPrice"/>
            <wsdl:output message="axis2:getPriceResponse"
wsaw:Action="urn:getPriceResponse"/>
        </wsdl:operation>
        <wsdl:operation name="update">
            <wsdl:input message="axis2:updateRequest"
wsaw:Action="urn:update"/>

        </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="StockQuoteServiceSoap11Binding"
type="axis2:StockQuoteServicePortType">
        <soap:binding transport="http://schemas.xmlsoap.org/soap/http"
style="document"/>
        <wsdl:operation name="getPrice">
            <soap:operation soapAction="urn:getPrice" style="document"/
>
            <wsdl:input>
                <soap:body use="literal"/>
            </wsdl:input>

            <wsdl:output>
                <soap:body use="literal"/>
            </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="update">
            <soap:operation soapAction="urn:update" style="document"/>
            <wsdl:input>
                <soap:body use="literal"/>
            </wsdl:input>

        </wsdl:operation>
    </wsdl:binding>
    <wsdl:binding name="StockQuoteServiceSoap12Binding"
type="axis2:StockQuoteServicePortType">
        <soap12:binding transport="http://schemas.xmlsoap.org/soap/
http" style="document"/>
        <wsdl:operation name="getPrice">
            <soap12:operation soapAction="urn:getPrice"
style="document"/>
            <wsdl:input>
                <soap12:body use="literal"/>
            </wsdl:input>

            <wsdl:output>
                <soap12:body use="literal"/>
            </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="update">
            <soap12:operation soapAction="urn:update" style="document"/
>
            <wsdl:input>
                <soap12:body use="literal"/>
            </wsdl:input>

        </wsdl:operation>
    </wsdl:binding>
    <wsdl:binding name="StockQuoteServiceHttpBinding"
type="axis2:StockQuoteServicePortType">
        <http:binding verb="POST"/>
        <wsdl:operation name="getPrice">
            <http:operation location="StockQuoteService/getPrice"/>
            <wsdl:input>
                <mime:content type="text/xml" part="getPrice"/>
            </wsdl:input>

            <wsdl:output>
                <mime:content type="text/xml" part="getPrice"/>
            </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="update">
            <http:operation location="StockQuoteService/update"/>
            <wsdl:input>
                <mime:content type="text/xml" part="update"/>
            </wsdl:input>

        </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="StockQuoteService">
        <wsdl:port name="StockQuoteServiceHttpSoap11Endpoint"
binding="axis2:StockQuoteServiceSoap11Binding">
            <soap:address location="http://192.168.5.193:8080/axis2/
services/StockQuoteService.StockQuoteServiceHttpSoap11Endpoint/"/>
        </wsdl:port>
        <wsdl:port name="StockQuoteServiceHttpSoap12Endpoint"
binding="axis2:StockQuoteServiceSoap12Binding">
            <soap12:address location="http://192.168.5.193:8080/axis2/
services/StockQuoteService.StockQuoteServiceHttpSoap12Endpoint/"/>
        </wsdl:port>

        <wsdl:port name="StockQuoteServiceHttpEndpoint"
binding="axis2:StockQuoteServiceHttpBinding">
            <http:address location="http://192.168.5.193:8080/axis2/
services/StockQuoteService.StockQuoteServiceHttpEndpoint/"/>
        </wsdl:port>
    </wsdl:service>
</wsdl:definitions>

log file "/tmp/log/SCA.log" content

[  1] Info 21/11/2009 02:06:05::471 ....SCA::initComponent - Entering
[  2] Info 21/11/2009 02:06:05::471 ....SCA::initComponent - Called
from /export/test/tt.php
[  3] Info 21/11/2009 02:06:05::472 ....SCA::initComponent - $_SERVER
['HTTP_HOST'] = 127.0.0.1:90
[  4] Info 21/11/2009 02:06:05::472 ....SCA::initComponent - $_SERVER
['REQUEST_METHOD'] = GET
[  5] Info 21/11/2009 02:06:05::472 ....SCA::initComponent - $_SERVER
['PHP_SELF'] = /test/tt.php
[  6] Info 21/11/2009 02:06:05::473 ....SCA::initComponent - $_SERVER
['REQUEST_URI'] = /test/tt.php
[  7] Info 21/11/2009 02:06:05::473 ....SCA::initComponent - included
by a client script that is not a component
[  8] Info 21/11/2009 02:06:05::473 ...SCA::getService - Entering
[  9] Info 21/11/2009 02:06:05::474 ...SCA::getService - Target is
http://localhost:8080/axis2/services/StockQuoteService?wsdl , Type is
[ 10] Info 21/11/2009 02:06:05::474 ...SCA::getService - Inferring
from presence of .wsdl or ?wsdl that a soap proxy is required for this
target.
[ 11] Info 21/11/2009 02:06:05::474 ...SCA::getService - About to
create a soap proxy for target http://localhost:8080/axis2/services/StockQuoteService?wsdl.
Base path for relative paths is /export/test
[ 12] Info 21/11/2009
02:06:05::474 ....SCA_Binding_Factory::createProxy - Entering
[ 13] Info 21/11/2009
02:06:05::475 ....SCA_Binding_Factory::createProxy - binding_string =
soap, target = http://localhost:8080/axis2/services/StockQuoteService?wsdl
[ 14] Info 21/11/2009
02:06:05::480 .....SCA_Bindings_soap_Proxy::__construct - Entering
[ 15] Info 21/11/2009
02:06:05::481 ......SCA_Bindings_soap_Mapper::setWSDLTypes - Entering
[ 16] Info 21/11/2009
02:06:05::481 ......SCA_Bindings_soap_Mapper::setWSDLTypes - wsdl is
http://localhost:8080/axis2/services/StockQuoteService?wsdl
[ 17] Info 21/11/2009
02:06:05::681 ......SCA_Bindings_soap_Mapper::getTypeMap - Entering
[ 18] Info 21/11/2009
02:06:05::737 .......SCA_Bindings_soap_Mapper::getAllTypes - str
object(SDO_DAS_XML)#4 {
21 types have been defined. The types and their properties are::
1. commonj.sdo#BigDecimal
2. commonj.sdo#BigInteger
3. commonj.sdo#Boolean
4. commonj.sdo#Byte
5. commonj.sdo#Bytes
6. commonj.sdo#ChangeSummary
7. commonj.sdo#Character
8. commonj.sdo#DataObject
9. commonj.sdo#Date
10. commonj.sdo#Double
11. commonj.sdo#Float
12. commonj.sdo#Integer
13. commonj.sdo#Long
14. commonj.sdo#OpenDataObject
15. commonj.sdo#Short
16. commonj.sdo#String
17. commonj.sdo#URI
18. http://quickstart.samples/xsd#RootType
    - getPrice (http://quickstart.samples/xsd#getPrice)
    - getPriceResponse (http://quickstart.samples/
xsd#getPriceResponse)
    - update (http://quickstart.samples/xsd#update)
19. http://quickstart.samples/xsd#getPrice
    - symbol (commonj.sdo#String)
20. http://quickstart.samples/xsd#getPriceResponse
    - return (commonj.sdo#Double)
21. http://quickstart.samples/xsd#update
    - symbol (commonj.sdo#String)
    - price (commonj.sdo#Double)
}
[ 19] Info 21/11/2009
02:06:05::738 ......SCA_Bindings_soap_Mapper::getTypeMap - Adding
callback for http://quickstart.samples/xsd#getPrice
[ 20] Info 21/11/2009
02:06:05::738 ......SCA_Bindings_soap_Mapper::getTypeMap - Adding
callback for http://quickstart.samples/xsd#getPriceResponse
[ 21] Info 21/11/2009
02:06:05::739 ......SCA_Bindings_soap_Mapper::getTypeMap - Adding
callback for http://quickstart.samples/xsd#update
[ 22] Info 21/11/2009 02:06:05::852 ...SCA::getService - Exiting
[ 23] Info 21/11/2009
02:06:05::852 ....SCA_Bindings_soap_Proxy::__call - Entering
[ 24] Info 21/11/2009
02:06:05::853 ....SCA_Bindings_soap_Proxy::__call - method name =
getPrice, arguments = Array
(
    [0] => Array
        (
            [symbol] => IBM
        )

)

[ 25] Info 21/11/2009
02:06:05::895 .....SCA_Bindings_soap_Proxy::_passTheCallToTheSoapClient
- Entering
[ 26] Info 21/11/2009
02:06:05::895 .......SCA_Bindings_soap_Mapper::toXML - Entering
[ 27] Info 21/11/2009
02:06:05::896 .......SCA_Bindings_soap_Mapper::toXML - sdo = Array
(
    [symbol] => IBM
)

[ 28] Info 21/11/2009
02:06:05::896 .......SCA_Bindings_soap_Mapper::toXML - xml =
[ 29] Info 21/11/2009 02:06:06::
93 .......SCA_Bindings_soap_Mapper::fromXML - Entering
[ 30] Info 21/11/2009 02:06:06::
94 .......SCA_Bindings_soap_Mapper::fromXML - xml =
<ns:getPriceResponse xmlns:ns="http://quickstart.samples/
xsd"><ns:return>42.0</ns:return></ns:getPriceResponse>
[ 31] Info 21/11/2009
02:06:06::139 .....SCA_Bindings_soap_Proxy::_passTheCallToTheSoapClient
- getLastSoapRequest: <?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/
envelope/" xmlns:ns1="http://quickstart.samples/xsd"><SOAP-
ENV:Body><ns1:getPrice/></SOAP-ENV:Body></SOAP-ENV:Envelope>

[ 32] Info 21/11/2009
02:06:06::140 .....SCA_Bindings_soap_Proxy::_passTheCallToTheSoapClient
- getLastSoapResponse: <?xml version='1.0' encoding='utf-8'?
><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/
envelope/"><soapenv:Body><ns:getPriceResponse xmlns:ns="http://
quickstart.samples/xsd"><ns:return>42.0</ns:return></
ns:getPriceResponse></soapenv:Body></soapenv:Envelope>

any question? please help me, many thanks.

--

You received this message because you are subscribed to the Google Groups "phpsoa" group.
To post to this group, send email to phpsoa@...
To unsubscribe from this group, send email to phpsoa+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/phpsoa?hl=.

cdouglas | 10 Nov 2009 15:22

Compiling SDO against PHP 5.3.0


Hello,
  Not sure any work is still being one on this project, but was
wondering if there was going to be a patch/new build so I can build
the SDO extension into PHP 5.3.0.

Thanks
Chris
deadguy | 4 Aug 2009 00:21
Picon

Null soap function?


Hello,

If I try to create a soap service function, I get the following error:

Fatal error:  Uncaught exception 'SDO_PropertyNotFoundException' with
message 'Cannot find property:nullFuncReturn' in /usr/share/php/SCA/
Bindings/soap/Wrapper.php:94

I ended up just returning a constant string, but it's a messy and
confusing hack. Is it not possible to have a function with no return
value?

Gmane