Page 1 of 1

server response

Posted: Tue Dec 11, 2018 5:27 pm
by osmanbiradli
hi

I can send mms
resp.Status.StatusCode 1000 okey.

I try incorrect number
resp.Status.StatusCode "1000"

but trace is
TRACE: 11: (MM7Client) RESPONSE FROM SERVER
HTTP/1.1 200 OK
SOAPAction: ""
x-huawei-mmsc-tid: XXXXXXXXXXXXXX
x-huawei-mmsc-from: XXXXXXXX
x-huawei-mmsc-to: XXXXXXXXXX
x-huawei-mmsc-code: 4007
Content-Length: 629
Content-Type: text/xml; charset="utf-8"
Date: Tue, 11 Dec 2018 16:18:48 GMT
Server: Resin/3.0.7

How can I read this response, because
resp.Request.Response.Status.StatusCode.ToString();
this is nullreferance exception.

mm7 version is 6.3.0

Please Help

Re: server response

Posted: Mon Dec 17, 2018 6:54 pm
by alt
Hi Osman,

Can you post complete response from the server? I see that content should have 629 bytes.

Re: server response

Posted: Wed Dec 19, 2018 3:47 pm
by osmanbiradli
resp = client.Submit(mes);
resp.Status.StatusCode is 1000
but details

TRACE: 6: (MM7Client) RESPONSE FROM SERVER
HTTP/1.1 200 OK
SOAPAction: ""
x-huawei-mmsc-tid: 6XXXXXXXXXXXX3
x-huawei-mmsc-from: GXXXXXXXX
x-huawei-mmsc-to: 9XXXXXXXXX2
x-huawei-mmsc-code: 4007
Content-Length: 629
Content-Type: text/xml; charset="utf-8"
Date: Tue, 18 Dec 2018 09:41:41 GMT
Server: Resin/3.0.7


<?xml version="1.0" encoding="UTF-8"?>
<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelop ... nsactionID xmlns:mm7="http://www.3gpp.org/ftp/Specs/archive/2 ... -5-MM7-1-5" soap-env:mustUnderstand="1">6XXXXXXXXXXXX3</mm7:TransactionID></soap-env:Header><soap-env:Body><SubmitRsp xmlns="http://www.3gpp.org/ftp/Specs/archive/2 ... >Recipient address unreachable: +9XXXXXXXXXX.</StatusText></Status></SubmitRsp></soap-env:Body></soap-env:Envelope>