ombre42/robotframework-sudslibrary

Chinese parameter are instead by messy code on Call Soap Method.

LydiaWang0304 opened this issue · 2 comments

  1. This is sending xml:
    Sending: <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns0="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://webservice.project.jfpt.ebring.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    SOAP-ENV:Header/
    ns0:Body
    ns1:saveOrder

    867
    物业费缴费
    {"xm":"王朵7","fjh":"000007"}

    /ns1:saveOrder
    /ns0:Body
    /SOAP-ENV:Envelope
    Actual Result:
    ERROR : <SOAP-ENV:Envelope xmlns:ns0="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://webservice.project.jfpt.ebring.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    SOAP-ENV:Header/
    ns0:Body
    ns1:saveOrder

    867
    \xe7\x89\xa9\xe4\xb8\x9a\xe8\xb4\xb9\xe7\xbc\xb4\xe8\xb4\xb9
    {"xm":"\xe7\x8e\x8b\xe6\x9c\xb57","fjh":"000007"}

    /ns1:saveOrder
    /ns0:Body
    /SOAP-ENV:Envelope

Win 10 professional x64
Python 2.7.11
RIDE 1.5.2.1
wxPython 2.8.12.1

I need more context to understand the problem.
The extent of testing unicode characters can be found here:
https://github.com/ombre42/robotframework-sudslibrary/blob/master/test/acceptance/core.txt#L329-L333