charlywrx
12 years agoNew Contributor
SoapUI modified my soap body before transmitting
In summary,
I need to transmit "
" as is in the soap body. but what is received by the other end is a '\r'. There's no problem in transmitting "&", i.e it is received as "&".
My Request:
I need to transmit "
" as is in the soap body. but what is received by the other end is a '\r'. There's no problem in transmitting "&", i.e it is received as "&".
My Request:
<v:Envelope xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:d="http://www.w3.org/2001/XMLSchema" xmlns:c="http://www.w3.org/2003/05/soap-encoding" xmlns:v="http://www.w3.org/2003/05/soap-envelope">
<v:Header xmlns:wsa="http://www.w3.org/2005/08/addressing">
<wsa:Action v:mustUnderstand="1">urn:ihe:pcd:2010:CommunicatePCDData</wsa:Action>
<wsa:ReplyTo v:mustUnderstand="1"><wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address></wsa:ReplyTo><wsa:MessageID v:mustUnderstand="1">uuid:08ee4913-0128-4210-8930-23f522006cf3</wsa:MessageID>
<wsa:To v:mustUnderstand="1">http://192.168.0.103:8080/WanReceiver/services/DeviceObservationConsumer_Service</wsa:To></v:Header>
<v:Body>
<n4:CommunicatePCDData xmlns:n4="urn:ihe:pcd:dec:2010">MSH|^~\&|MyConnHealthAHD^feedbeefadeadbee^EUI-64||||20130609122204.223+0800||ORU^R01^ORU_R01|MSGID123456789|P|2.6|||NE|AL|||||IHE PCD ORU-R012006^HL7^2.16.840.1.113883.9.n.m^HL7
PID|||Sx123456789^^^MyConnectedHealth^PI||Wu^Charly^^^^^L
OBR|1|CESL01^MyConnHealthAHD^feedbeefadeadbee^EUI-64|CESL01^ConnHealthAHD^feedbeefadeadbee^EUI-64|182777000^monitoring of patient^SNOMED-CT|||20130609122204.170+0800|20130609122205.170+0800
OBX|1||531981^MDC_MOC_VMS_MDS_AHD^MDC|0|||||||X|||||||FEEDBEEFADEADBEE^EUI-64
OBX|2|CWE|68220^MDC_TIME_SYNC_PROTOCOL^MDC|0.0.0.1|532224^MDC_TIME_SYNC_NONE^MDC||||||R
OBX|3|CWE|68218^MDC_REG_CERT_DATA_AUTH_BODY^MDC|0.0.0.2|2^auth-body-continua||||||R
OBX|4|ST|532352^MDC_REG_CERT_DATA_CONTINUA_VERSION^MDC|0.0.0.2.1|1.5||||||R
OBX|5|NA|532353^MDC_REG_CERT_DATA_CONTINUA_CERT_DEV_LIST^MDC|0.0.0.2.2|123~456||||||R
OBX|6|CWE|68218^MDC_REG_CERT_DATA_AUTH_BODY^MDC|0.0.0.3|2^auth-body-continua||||||R
OBX|7|CWE|532354^MDC_REG_CERT_DATA_CONTINUA_REG_STATUS^MDC|0.0.0.3.1|1^unregulated-device(0)||||||R
OBX|8||528399^MDC_DEV_SPEC_PROFILE_SCALE^MDC|1|||||||X|||||||BEEF000000000001^EUI-64
OBX|9|ST|531970^MDC_ID_MODEL_MANUFACTURER^MDC|1.0.0.1|AND Medical||||||R
OBX|10|ST|531969^MDC_ID_MODEL_NUMBER^MDC|1.0.0.2|UC321PBT-C||||||R
OBX|11|CWE|68218^MDC_REG_CERT_DATA_AUTH_BODY^MDC|1.0.0.3|2^auth-body-continua||||||R
OBX|12|ST|532352^MDC_REG_CERT_DATA_CONTINUA_VERSION^MDC|1.0.0.3.1|1.5||||||R
OBX|13|NA|532353^MDC_REG_CERT_DATA_CONTINUA_CERT_DEV_LIST^MDC|1.0.0.3.2|16399||||||R
OBX|14|CWE|68218^MDC_REG_CERT_DATA_AUTH_BODY^MDC|1.0.0.4|2^auth-body-continua||||||R
OBX|15|CWE|532354^MDC_REG_CERT_DATA_CONTINUA_REG_STATUS^MDC|1.0.0.4.1|1^unregulated-device(0)||||||R
OBX|16|NM|188736^MDC_MASS_BODY_ACTUAL^MDC|1.0.0.5|67|263875^MDC_DIM_KILO_G^MDC|||||R|||20130609122204.170+0800
</n4:CommunicatePCDData>
</v:Body>
</v:Envelope>