From:             albert dot keil at gmail dot com
Operating system: FreeBSD 5.4
PHP version:      5.2.4
PHP Bug Type:     SOAP related
Bug description:  SOAP-ERROR: Encoding: string

Description:
------------
When I try to transfer via soap web service utf-8 encoded (by iconv)
string I got the following error 

Trace response:
<?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Server</faultcode><faultstring>SOAP-ERROR:
Encoding: string 'SOAP-ERROR: Encoding: string 'SOAP-ERROR: Encoding:
string 'SOAP-ERROR: Encoding: string 'SOAP-ERROR: Encoding: string
'SOAP-ERROR: Encoding: string 'SOAP-ERROR: Encoding: string 'SOAP-ERROR:
Encoding: string 'SOAP-ERROR: Encoding: string 'SOAP-ERROR: Encoding:
string 'SOAP-ERROR: Encoding: string 'SOAP-ERROR: Encoding: string
'SOAP-ERROR: Encoding: string 'SOAP-ERROR: Encoding: string 'SOAP-ERROR:
Encoding: string 'SOAP-ERROR: Encoding: string 'SOAP-ERROR: Encoding:
string 'SOAP-ERROR: Encoding: string 'SOAP-ERROR: Encoding: string
'SOAP-ERROR: Encoding: string 'SOAP-ERROR: Encoding: string 'SOAP-ERROR:
Encoding: string 'SOAP-ERROR: Encoding: string 'SOAP-ERROR: Encoding:
string 'SOAP-ERROR: Encoding: string 'SOAP-ERROR: Encoding: string
'SOAP-ERROR: Encoding: string 'SOAP-ERROR: Encoding: string 'SOAP-ERROR:
Encoding: string 'SOAP-ERROR: Encoding: string 'SOAP-ERROR: Encoding:
string '&#1500;&#1489;&#1491;&#1493;&#1511; &#1502;&#1492;
&#1511;&#1493;&#1512;&#1492; &#1506;&#1501;
&#1505;&#1496;&#1497;&#1497;&#1492; &#1489;&#1491;&#1493;&#1495;
&#1495;&#1513;&#1489;&#1493;&#1504;&#1493;&#1514; &#1502;&#1493;&#1500;
&#1491;&#1493;&#1495; &#1492;&#1499;&#1504;&#1505;&#1493;&#1514;
</faultstring></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>

The most strange phenomena is that when I try to pass sub_str($str, 0, 56)
string it doesn't work, but substr($str,0,55).substr($str,8) works ! Any
suggestions ?


-- 
Edit bug report at http://bugs.php.net/?id=42887&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=42887&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=42887&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=42887&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=42887&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=42887&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=42887&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=42887&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=42887&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=42887&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=42887&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=42887&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=42887&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=42887&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=42887&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=42887&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=42887&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=42887&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=42887&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=42887&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=42887&r=mysqlcfg

Reply via email to