Help in soap end tag

Help in soap end tag SearchSearch
Author Message
jane
New member
Username: Babychelz

Post Number: 1
Registered: 04-2010
Posted on Thursday, April 29, 2010 - 09:15 am:   

i am doing some internal testing on MM7 DeliverReq (MO) and i kept one getting <StatusText>soap end tag mismatch</StatusText>

Below is the xml passed in :

[Begin Incoming Request From Relay]
[2010-04-29 15:21:12.659] DEBUG (com.openwave.mms.mm7.Listener:126) | POST / HTTP/1.1
x-fh-Connection-ID: 118497
Content-Type: multipart/related; boundary="fh-mms-multipart-boundary-8"; type="text/xml"; start="<cid-0002F5503380009@2>"
SOAPAction: ""
Cache-Control: no-cache
Pragma: no-cache
User-Agent: Java/1.5.0_09
Host: 203.142.22.139:10012
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 6419

--fh-mms-multipart-boundary-8
Content-Type: text/xml; charset="utf-8"
Content-ID: <cid-0002F5503380009@2>

<?xml version="1.0" encoding="UTF-8"?>
<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ soap-envelope.xsd">
<soap-env:Header>
<TransactionID soap-env:mustUnderstand="1" xmlns="http://www.firsthop.com/specs/MM7-extended/MM7-extended-1-3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.firsthop.com/specs/MM7-extended/MM7-extended-1-3 MM7-extended-1-3.xsd">fh-transaction-id-0002F5503380D10</TransactionID>
</soap-env:Header>
<soap-env:Body>
<DeliverReq xmlns="http://www.firsthop.com/specs/MM7-extended/MM7-extended-1-3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.firsthop.com/specs/MM7-extended/MM7-extended-1-3 MM7-extended-1-3.xsd">
<MM7Version>5.5.0-extended</MM7Version>
<LinkedID>00002F55026F8AD8</LinkedID>
<Sender><Number>+6593379619</Number></Sender>
<Recipients><To><ShortCode>9000</ShortCode></To></Recipients>
<TimeStamp>2010-04-29T07:01:10-00:00</TimeStamp>
<Subject>Busy</Subject>
<Content allowAdaptations="true" href="&lt;00002F55026F8ADA@firsthop.com>" type="MMS"/>
<MessageExtraData/>
</DeliverReq>
</soap-env:Body>
</soap-env:Envelope>
--fh-mms-multipart-boundary-8
Content-Type: multipart/related;type="application/smil";start="<AAAA>"; boundary="fh-mms-multipart-next-part-1272524470889-0-7777"
Content-ID: <00002F55026F8ADA@firsthop.com>

--fh-mms-multipart-next-part-1272524470889-0-7777
Content-Type: application/smil;name=main.smil;charset=utf-8
Content-ID: "<AAAA>"

<smil><head><layout><root-layout backgroundColor="#000000" background-color="#000000" height="480px" width="640px"/>
<region id="Image" top="0" left="0" height="50%" width="100%" fit="meet"/>
<region id="Text" top="50%" left="0" height="50%" width="100%" fit="scroll"/>
</layout>
</head>
<body><par dur="4000ms"><img src="Busy.gif" region="Image"></img>
<text src="smil.txt" region="Text"><param name="foreground-color" value="#FFFFFF"/>
</text>
</par>
</body>
</smil>

--fh-mms-multipart-next-part-1272524470889-0-7777
Content-Type: image/gif;name=Busy.gif
content-location: Busy.gif

GIF89ad....
...
--fh-mms-multipart-next-part-1272524470889-0-7777
Content-Type: text/plain;name=smil.txt;charset=utf-8
content-location: smil.txt

Test
--fh-mms-multipart-next-part-1272524470889-0-7777--

--fh-mms-multipart-boundary-8--

[2010-04-29 15:21:12.733] DEBUG (com.openwave.mms.mm7.Listener:127) | [End Incoming Request From Relay]
[2010-04-29 15:21:12.975] WARN (com.openwave.mms.mm7.Listener:163) | soap end tag mismatch
[2010-04-29 15:21:12.976] DEBUG (com.openwave.mms.mm7.Listener:546) | write response
[2010-04-29 15:21:12.976] DEBUG (com.openwave.mms.mm7.Listener:260) | [Begin Outgoing Response To Relay]

[2010-04-29 15:21:12.977] DEBUG (com.openwave.mms.mm7.Listener:261) | HTTP/1.0 200 OK

[2010-04-29 15:21:12.978] DEBUG (com.openwave.mms.mm7.Listener:262) | Connection: close
[2010-04-29 15:21:12.979] DEBUG (com.openwave.mms.mm7.Listener:551) | Content-Type: text/xml
[2010-04-29 15:21:12.979] DEBUG (com.openwave.mms.mm7.Response:98) | Content-length: 696


[2010-04-29 15:21:12.979] DEBUG (com.openwave.mms.mm7.Response:99) | <?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:mm7="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-3">
<env:Body>
<Fault xmlns="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-3">
<faultstring>Unknown Server Error</faultstring>
<faultcode>Server</faultcode>
<detail>
<VASPErrorRsp xmlns="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-3" env:mustUnderstand="1">
<MM7Version>5.3.0</MM7Version>
<Status>
<StatusText>soap end tag mismatch</StatusText>
<StatusCode>2000</StatusCode>
</Status></VASPErrorRsp></detail>
</Fault>
</env:Body>
</env:Envelope>

Please HELP... really can't figure it why
jane
New member
Username: Babychelz

Post Number: 2
Registered: 04-2010
Posted on Thursday, April 29, 2010 - 09:18 am:   

I've read through the links :

http://www.nowsms.com/cgi-bin/discus/discus.cgi?pg=prev&topic=485&page=1142

but i still don't have any clue what is the cause of it. Please someone out there please advice..
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 2062
Registered: 08-2008
Posted on Thursday, April 29, 2010 - 04:13 pm:   

Hi Jane,

I've moved your posting to the "unsupported" area of the forum, as it does not appear to be related to NowSMS at all.

The thread you reference is over 5 years old ... actually over 6-1/2 years old, and it appears to be referring to problems with an Openwave MM7 SDK. I'd be fairly certain that there have been multiple releases of that SDK over time.

Looking at the information you've posted, one big problem that I see is that you appear to be using a non-standard MM7 schema. That is likely to cause problems with quite a few different MM7 implementations that are expecting to see one of the standard 3GPP MM7 schemas.

<MessageExtraData/> is not a standard element which could be causing problems. And the <MM7Version> value is non-standard.

Those are a few issues that jump out at me immediately.

Good luck!

--
Des
NowSMS Support
jane
New member
Username: Babychelz

Post Number: 3
Registered: 04-2010
Posted on Friday, April 30, 2010 - 01:46 am:   

Thanks a lot for the info Des...

Your info helps a lot. Will have a look into it and see how it goes.

Regards,
Jane