All,

I'm facing the following problem maybe you can help me out.

I have the MBUNI set up to connect as a VAS to an MMSC (Logica)

I can send MMS from the VAS to mobile phones ok.

but when i send a keyword in and the mbuni is fetching an image and tries to send it

back to the phone then i'm getting an error.

According to what i've read:

According to 3GPP 23.140-550 image/jpeg is not allowed content-type on MM7. See below the quote from the document.

This means that the mobile phones may not display the content well.

 

 

8.7.8.1.1              Binding to HTTP

MM7 request messages shall be transferred in an HTTP POST request. MM7 responses shall be transferred in an HTTP Response message. The  media type “text/xml” [70] shall be used for messages containing only the SOAP envelope.

MM7 requests that carry a SOAP attachment shall have a  “multipart/related” [71] Content-Type. The SOAP envelope shall be the first part of the MIME message and shall be indicated by the Start parameter of the multipart/related Content-Type. If a SOAP attachment is included it shall be encoded as a  MIME part and shall be the second part of the HTTP Post message. The MIME part should have the appropriate content type(s) to identify the payload. Figures 11 and 12 provide few examples of the message structure.This MIME part shall have two MIME headers - Content-Type and Content-ID fields. The Content-ID shall be referenced by the MM7 request <Content> element using the format specified in [69].

 

Mbuni sends back image/jpeg and the MMSC expect Should this be a multipart/related or multiparty/mixed

Ethereal trace:

POST /vas_soap HTTP/1.1

Host: x.x.x.x:x

Connection: keep-alive

SOAPAction: ""

Content-Type: multipart/related; type="text/xml"; start="<s1174569931.824100945.Uw.msg>"; boundary=_boundary_159934378_1174569931_U_w_bd1410652197

MIME-Version: 1.0

Content-Length: 3724

Authorization: Basic xxxxxxx


--_boundary_159934378_1174569931_U_w_bd1410652197

Content-Type: text/xml

Content-ID: <s1174569931.824100945.Uw.msg>

 

<?xml version='1.0' encoding='UTF-8'?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header>
<mm7:TransactionID xmlns:mm7="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-2" SOAP-ENV:mustUnderstand="1">[EMAIL PROTECTED]</mm7:TransactionID>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<mm7:SubmitReq xmlns:mm7="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-2">
<mm7:MM7Version>5.3.0</mm7:MM7Version>
<mm7:SenderIdentification>
<mm7:VASPID>xxx</mm7:VASPID>
<mm7:VASID>fullmessage</mm7:VASID>
<mm7:SenderAddress><mm7:Number>+xxx</mm7:Number>
</mm7:SenderAddress>
</mm7:SenderIdentification>
<mm7:Recip59934378_1174569931_U_w_bd1410652197

X-Mms-MMS-Version: 1.0

X-Mms-Expiry: Thu, 29 Mar 2007 13:25:31 GMT

Date: Thu, 22 Mar 2007 13:25:31 GMT

Message-ID: [EMAIL PROTECTED]

Content-Type: image/jpeg    <------------------ Should this be a multipart/related or multiparty/mixed

Content-Transfer-Encoding: base64

Content-ID: <c1174569931.494749899.My.msg>

 

/9j/4AAQSkZJRgABAQEASABIAAD/7wAGUSA5MP/bAEMAAwICAwICAwMDAwQDAwQFCAUFBAQFCgcH

BggMCgwMCwoLCw0OEhANDhEOCwsQFhARExQVFRUMDxcYFhQYEhQVFP/AAAsIADsANAEBEQD/xAAf

AAABBQEBAQEBAQAAAAAAAAAAAQIDBAUGBwgJCgv/xAC1EAACAQMDAgQDBQUEBAAAAX0BAgMABBEF

EiExQQYTUWEHInEUMoGRoQgjQrHBFVLR8CQzYnKCCQoWFxgZGiUmJygpKjQ1Njc4OTpDREVGR0hJ

SlNUVVZXWFlaY2RlZmdoaWpzdHV2d3h5eoOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3

uLm6wsPExcbHyMnK0tPU1dbX2Nna4eLj5OXm5+jp6vHy8/T19vf4+fr/2gAIAQEAAD8A9y8bfs8a

n8L/ANpLwp470vxJqfiK+1jVoBPb6n+9e2t1ZFuCj/cVNsqr83z/ADbV+WvuGiiiiiuF1uyXVfGW

n7kLGKYRFvRI1Sf/AMel8j/viug17xVovhf7P/bGrWWlG6fyoDe3KRea/wDdXd1ql4b8f+GPGk97

b+HvEGl63LZ7PtK6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6uz++tfW1FFY3ijT4dR0HUbObzBDPazI/lSvG+COzqQy/gR

WT8N/hz4Z+GXhy30nwtolpolgYxK8drHgyPj77scs7e7Emt7UtKs9c06bT9Qtoryxu45IZ7eZQyS

I3VSD1BrC8OfC7wh4O1V77Q/DemaVeNH5ZuLW2VHKsRuGQM4Oxc/QV11FFf/2Q==

 

 

--_boundary_159934378_1174569931_U_w_bdHTTP/1.1 200 OK

Date: Thu, 22 Mar 2007 13:13:27 GMT

Server: Apache/1.3.31 (Unix)

Content-Length: 720

Connection: close

Content-Type: text/xml

 

<?xml version="1.0"?><SOAP-ENV:Envelope xmlns="http://www.3gpp.org/ftp/Specs/
archive/23_series/23.140/schema/REL-5-MM7-1-2" xmlns:SOAP-ENV="http://schemas.xmlsoap
.org/soap/envelope/"><SOAP-ENV:Header><TransactionID SOAP-ENV:mustUnderstand="1">
[EMAIL PROTECTED]</TransactionID></SOAP-ENV:Header><SOAP-ENV:Body>
<SOAP-ENV:Fault><SOAP-ENV:faultcode>SOAP-ENV:Server</SOAP-ENV:faultcode>
<SOAP-ENV:faultstring>Message format corrupt</SOAP-ENV:faultstring><detail>
<RSErrorRsp><MM7Version>5.3.0</MM7Version><Status><StatusCode>2007</StatusCode>
<StatusText>Message format corrupt</StatusText><Details>3812:Error header validation</Details>
</Status></RSErrorRsp></detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>

 

Can this be fixed.

Cheers,

Edward

 

_______________________________________________
Devel mailing list
Devel@mbuni.org
http://lists.mbuni.org/mailman/listinfo/devel

Reply via email to