axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Barth <thomasxba...@web.de>
Subject SOAP message in mm7 format?
Date Tue, 25 Sep 2007 07:20:45 GMT
Hello,
I ve created a Java/SWT application that should be able to send SOAP
messages to my provider with the mms-rely/server. My provider gave me an
example of how the message must be composed. I 'm new to this and I cant
find a guide/document of how to use axis creating soap messages in mm7
format. Can you give me a hint where to start to get into this matter?

This is the soap example with a file attached. Is it possible to create
it with axis/2?

POST /mms/client/clientService HTTP/1.0
Content-Type: multipart/related; type="text/xml";
start="<A1FBFAA9C6977922853C07DD575F5DAD>"; boundary="----
=_Part_5328_16881106.1140390445743"
User-Agent: Axis/1.1
Host: 127.0.0.1
Cache-Control: no-cache
Pragma: no-cache
SOAPAction: ""
Content-Length: 12345
Authorization: Basic XXXXXXXXXXXXXXXXXXX=


------=_Part_5328_16881106.1140390445743
Content-Type: text/xml; charset=UTF-8
Content-Transfer-Encoding: binary
Content-Id: <A1FBFAA9C6977922853C07DD575F5DAD>

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance">
<soapenv:Header>
<ns1:TransactionID soapenv:mustUnderstand="1" xsi:type="xsd:string"
xmlns:ns1="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-
2">CE52B2D3EBB5E90A2B7E1A7B35BC0230</ns1:TransactionID>
</soapenv:Header>
<soapenv:Body>
<SubmitReq
xmlns="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-
1-2">
<MM7Version>5.3.0</MM7Version>
<SenderIdentification>
<VASPID>u0001234</VASPID>
<SenderAddress>
<ShortCode displayOnly="false">12345</ShortCode>
</SenderAddress>
</SenderIdentification>
<Recipients>
<To>
<Number displayOnly="false">+4917123456789</Number>
</To>
</Recipients>
<Subject>MMS umlaut text and image</Subject>
<Content allowAdaptations="true"
href="cid:1404FA19F5DE7F7F817027646EC9CB77"/>
</SubmitReq>
</soapenv:Body>
</soapenv:Envelope>
------=_Part_5328_16881106.1140390445743
Content-Type: multipart/mixed;
boundary="----=_Part_5327_5454214.1140390445695"
Content-Transfer-Encoding: binary
Content-Id: <1404FA19F5DE7F7F817027646EC9CB77>

------=_Part_5327_5454214.1140390445695
Content-Type: text/plain; name="message.txt"; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Content-ID: <message.txt>
Content-Location: message.txt

Please smile

------=_Part_5327_5454214.1140390445695
Content-Type: image/jpeg; name="smiley.jpg"
Content-Transfer-Encoding: base64
Content-ID: <smiley.jpg>
Content-Location: smiley.jpg

/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0a
HBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIy
MjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCAAgACADASIA
AhEBAxEB/8QAGAAAAwEBAAAAAAAAAAAAAAAAAAUGBwT/xAAmEAABBAIBBAICAwAAAAAAAAABAgMF
EQQSBgATITEUIhZRIzJi/8QAGAEBAAMBAAAAAAAAAAAAAAAAAAEDBAb/xAAiEQABAwMDBQAAAAAA
AAAAAAABAgMRAAUhBBIxIkGBsfD/2gAMAwEAAhEDEQA/ANylJTHicQPPBbi1q7bLDQBcfcIJCEAk
C6BNkgAAqJCQSJ1z8jkj3MiWESB/XHjENu1+93Xmzv6saobqyDt4PR3DJcxlMhzwIsJj2Efrdtp9
1d/62ZTRuuzYP3I6TwcHyTB5lNyUlP8AzInLr4mHqf4vPjx6RqLT9b3vZVEdcRe728HnNPp3AjYP
KjjAxiPsVpbaEAkTThv8jjT3MeWEsD/bHk0NtX+tHWWxp7s7IcugBr5PVFFymPLYheZC21oV23mH
QA4w4ACULAJF0QbBIIIUCUkEws5B8kzuZQklGz/w4nEv5eHqf5fPnx6XsKT9q0rZNk9OO4Y3mMXk
N+RKBUe+j96NuvtLv/OryaFX3rJ+gHSyXt4vN6fUOBe8eUnODjM/Yo42IJAiK5JOLbcm+QQuYpYY
n8dWS242QFahpvHeQPdFIDStj77tAHQnpXE82xMHWF5ZmMxs7jNDvKyVhDWUkUO824QlJSv3r4II
UK+vWgykXjy2IGXittaFdxl9ogOMOAEBaCQRdEiiCCCUkFJIMlKRkm4ynDmuNYvI2ArdtzFQyE7A
e1M5CwEH7UCla7pROtgdWXmyOLeU6hBWlWSAepJ4kTyD3HoCobcAEGlctzbEztoXieYzJTuS0eyr
GWFtYqTY7zjgCkhKPevkklIr7dNIyLbbm+PwuGpZYgMdOS444QValpzHZQfVlQLqth67VEDcHoi4
yTbZVhwvGsXjjBVu45lIZKdiPaWcdZCz9aJUtFWkjaiOq2Li8eJxCyyVuLWruPPukFx9wgArWQAL
oAUAAAAkAJAAWayOIeS6tBQlOQCepR4kxwB2HsGjjgIgV//Z
------=_Part_5327_5454214.1140390445695--

------=_Part_5328_16881106.1140390445743---


Thomas B

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message