web service nusoap hangs with non-ascii characters

2

I developed a web service on my machine in php with NUSOAP and it worked cool, either by calling my own application or by testing with SOAPUI .

I transferred the web service to the server and both there and on any machine other than mine it does not work.

I found it strange and I was debugging , I discovered that the error happens when, when receiving connection parameters with the database, that are encrypted (rijndael), and then encoded in base64, when doing a base64 decode, it hangs. It was only when I printed the "decoded" strings that it was already locked, however, removing the "strange" non-ascii characters that the rijndael created, the printable and the web service runs normal.

I thought I had something with utf-8 or iso8859, but this problem happens in both ways.

Does anyone have any ideas?

    
asked by anonymous 14.09.2015 / 19:35

1 answer

0

This sounds like server problems. But pass the error or print.

The error I had once was from XML I solved it as well

function nusoap_parser($xml,$encoding='UTF-8',$method='',$decode_utf8=true){
    parent::nusoap_base();
    $xml = iconv("ISO-8859-1", "UTF-8//TRANSLIT", $xml);
    // End hack.
    $this->xml = $xml;
    $this->xml_encoding = $encoding;
    $this->method = $method;
    $this->decode_utf8 = $decode_utf8;

I'm available,

    
15.09.2015 / 03:22