Discussion:
Problems with special characters.
jpuerta
2008-02-25 14:17:47 UTC
Permalink
Greetings...

We are working on an implementation using SCA/SDO...
So far it has been working all right, but we are having trouble when
we get special characters in the response ( like á,ñ and other spanish
characters). We obtain this error:

Fatal error: Uncaught exception 'SDO_PropertyNotSetException' with
message 'Cannot read property 'getMenuListReturn' because it is not
set' in /usr/local/php/lib/SCA_SDO-1.2.3/SCA/Bindings/soap/Proxy.php:
231 Stack trace: #0 /usr/local/php/lib/SCA_SDO-1.2.3/SCA/Bindings/soap/
Proxy.php(231): SCA_Bindings_soap_Proxy::__call() #1 [internal
function]: SCA_Bindings_soap_Proxy->__call('getMenuList', Array) #2 /
usr/local/apache2/htdocs/workspace_jpuerta/YummyPHPProj/htdocs/
clientvillano.php(7): SCA_Bindings_soap_Proxy->getMenuList() #3 {main}
thrown in /usr/local/php/lib/SCA_SDO-1.2.3/SCA/Bindings/soap/Proxy.php
on line 231

Do you have any recommendation to handle this?

Thank you very much in advance...
jpuerta
Tatto de Castro
2008-02-26 13:11:45 UTC
Permalink
Hi JPuerta,

Are you using your strings in UTF-8, right?
Please try to use htmlspecialchars and htmlspecialchars_decode or
put "<![CDATA[" and "]]>".
I recommend you to use the first option.

More info: http://en.wikipedia.org/wiki/CDATA

I hope this work for you like it did to me.

Have a nice day, Tatto
Post by jpuerta
Greetings...
We are working on an implementation using SCA/SDO...
So far it has been working all right, but we are having trouble when
we get special characters in the response ( like á,ñ and other spanish
Fatal error: Uncaught exception 'SDO_PropertyNotSetException' with
message 'Cannot read property 'getMenuListReturn' because it is not
231 Stack trace: #0 /usr/local/php/lib/SCA_SDO-1.2.3/SCA/Bindings/soap/
Proxy.php(231): SCA_Bindings_soap_Proxy::__call() #1 [internal
function]: SCA_Bindings_soap_Proxy->__call('getMenuList', Array) #2 /
usr/local/apache2/htdocs/workspace_jpuerta/YummyPHPProj/htdocs/
clientvillano.php(7): SCA_Bindings_soap_Proxy->getMenuList() #3 {main}
thrown in /usr/local/php/lib/SCA_SDO-1.2.3/SCA/Bindings/soap/Proxy.php
on line 231
Do you have any recommendation to handle this?
Thank you very much in advance...
jpuerta
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "phpsoa" group.
To post to this group, send email to phpsoa-/***@public.gmane.org
To unsubscribe from this group, send email to phpsoa-***@googlegroups.com
For more options, visit this group at http://groups.google.co.uk/group/phpsoa?hl=en
-~----------~----~----~----~------~----~------~--~---
jpuerta
2008-02-26 14:17:49 UTC
Permalink
Thank you very much for your quick answer...
We will try this...

jpuerta
Post by Tatto de Castro
Hi JPuerta,
    Are you using your strings in UTF-8, right?
    Please try to use htmlspecialchars and htmlspecialchars_decode or
put "<![CDATA[" and "]]>".
    I recommend you to use the first option.
    More info:http://en.wikipedia.org/wiki/CDATA
    I hope this work for you like it did to me.
    Have a nice day, Tatto
Post by jpuerta
Greetings...
We are working on an implementation using SCA/SDO...
So far it has been working all right, but we are having trouble when
we get special characters in the response ( like á,ñ and other spanish
Fatal error: Uncaught exception 'SDO_PropertyNotSetException' with
message 'Cannot read property 'getMenuListReturn' because it is not
231 Stack trace: #0 /usr/local/php/lib/SCA_SDO-1.2.3/SCA/Bindings/soap/
Proxy.php(231): SCA_Bindings_soap_Proxy::__call() #1 [internal
function]: SCA_Bindings_soap_Proxy->__call('getMenuList', Array) #2 /
usr/local/apache2/htdocs/workspace_jpuerta/YummyPHPProj/htdocs/
clientvillano.php(7): SCA_Bindings_soap_Proxy->getMenuList() #3 {main}
thrown in /usr/local/php/lib/SCA_SDO-1.2.3/SCA/Bindings/soap/Proxy.php
on line 231
Do you have any recommendation to handle this?
Thank you very much in advance...
jpuerta
 tattodecastro.vcf
1KDownload- Hide quoted text -
- Show quoted text -
Continue reading on narkive:
Loading...