473,569 Members | 2,611 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

MTOM/XOP


I'm working on a research and development project involving binary XML.
I've been reading lots about the new MTOM and XOP recommendations put
out by W3. I'm interested in trying to find a toolset that we could
evaluate as part of this effort, so I thought I'd check and see if
anyone has used or is otherwise familiar with such packages.

What we need at this stage is:

1. Open source. We just want to do concept work at this point.

2. Linux compatible.

3. The tech guy wants a Python API (although that looks tough). I'd
prefer C or C++. I'm not a Java guy, but won't rule it out.
I'm currently looking at gSoap:
<http://sourceforge.net/projects/gsoap2>

Tungsten has gotten some buzz, but I haven't looked at it much:

<http://www.wso2.com/products/tungsten/>

Another possibility:

<http://docs.codehaus.o rg/display/XFIRE/Home>

If anyone has feedback about these, or suggestions for other avenues,
I'd appreciate hearing from you.


Brian
Aug 15 '06 #1
8 4752
Default User wrote:
I'm working on a research and development project involving binary XML.
Binary XML (misnomer!) is not a recommendation yet; it's exploratory
work. Past experiments have generally suggested that:

1) The advantages of "binary XML" are less than a naive view claims.
Zip-style data compression is better at saving bytes, and a good parser
is surprisingly efficient -- even more so if it leverages some of the
work IBM has done on using schema information to create optimized
parsers. (A schema-validating parser can actually be _faster_ than a
non-validating parser!)

2) No two parties agree on exactly which competing needs "binary XML"
needs to be optimized for.

3) Anyone who really worries about performance winds up using XML as a
portability/interchange representation, and switching to a more
specialized data representation within their tools, with code and data
tailored to each other. That's true even if you're doing general XML
infoset storage and manipulation; you decide in advance which needs are
most important and optimize for them.

There is still an effort in progress to see if some common compromise is
possible... but frankly I expect it to fail. XML's textual
representation -- the fact that it is accessible to the "desperate perl
hacker" with minimal investment in education, and that a moderately
clueful student can implement a moderately efficient system moderately
quickly -- really does turn out to be a key strength.

Don't take my word for it. Maybe someone out there really does have a
new insight that will make this concept worthwhile. But personally, I
recommend that you take a step back, ask what problems you're really
trying to solve, and think hard about whether binary XML -- especially
in its current unstable forms -- is seriously helpful or just a buzzword
and distraction.
--
() ASCII Ribbon Campaign | Joe Kesselman
/\ Stamp out HTML e-mail! | System architexture and kinetic poetry
Aug 16 '06 #2
Hm. I stand corrected about status.

XOP has in fact been reported out as a Recommendation. It appears to be
primarily intended as an attempt to avoid re-encoding of binary data
already available in a base-64 representation, rather than a compressed
representation of ordinary XML itself. MTOM builds on XOP within the
context of SOAP.

I recognize some of the names on both specs as more-than-usually clueful
individuals.

None the less, I still stand by my assessment of the general topic of
binary XML representations . As a special-purpose tool, fine. As more
than that... it still appears to mean giving up too much of what XML is
in exchange for an incomplete optimization. Bad tradeoff, in my view.
Your milage may vary.
Aug 16 '06 #3
Joe Kesselman wrote:
Default User wrote:
I'm working on a research and development project involving binary
XML.

Binary XML (misnomer!) is not a recommendation yet; it's exploratory
work. Past experiments have generally suggested that:

1) The advantages of "binary XML" are less than a naive view claims.
Zip-style data compression is better at saving bytes, and a good
parser is surprisingly efficient -- even more so if it leverages some
of the work IBM has done on using schema information to create
optimized parsers. (A schema-validating parser can actually be faster
than a non-validating parser!)

2) No two parties agree on exactly which competing needs "binary XML"
needs to be optimized for.

3) Anyone who really worries about performance winds up using XML as
a portability/interchange representation, and switching to a more
specialized data representation within their tools, with code and
data tailored to each other. That's true even if you're doing general
XML infoset storage and manipulation; you decide in advance which
needs are most important and optimize for them.
These are good points, and that's part of what R&D in the aerospace
business is about. You try see where the state of the art is, and try
some prototypes applying that to common use cases in our business.
There is still an effort in progress to see if some common compromise
is possible... but frankly I expect it to fail. XML's textual
representation -- the fact that it is accessible to the "desperate
perl hacker" with minimal investment in education, and that a
moderately clueful student can implement a moderately efficient
system moderately quickly -- really does turn out to be a key
strength.
That's not really of concern.
Don't take my word for it. Maybe someone out there really does have a
new insight that will make this concept worthwhile. But personally, I
recommend that you take a step back, ask what problems you're really
trying to solve, and think hard about whether binary XML --
especially in its current unstable forms -- is seriously helpful or
just a buzzword and distraction.
Well, this is the job for 2-1/2 engineers through the end of this year,
and likely beyond.

Brian

--
If televison's a babysitter, the Internet is a drunk librarian who
won't shut up.
-- Dorothy Gambrell (http://catandgirl.com)
Aug 16 '06 #4
Joe Kesselman wrote:
Hm. I stand corrected about status.

XOP has in fact been reported out as a Recommendation. It appears to
be primarily intended as an attempt to avoid re-encoding of binary
data already available in a base-64 representation, rather than a
compressed representation of ordinary XML itself. MTOM builds on XOP
within the context of SOAP.
That's why I'm interested in exploring it versus DIME or SwA. It seems
like it might have more future stability. If this goes as my boss and
the tech lead envision, we'll be working on Web Services for avionics
systems for the next few years.

I'm certainly aware of and will look into the compression issue. Cokus
and Winkowski had an interesting research project on that score.
None the less, I still stand by my assessment of the general topic of
binary XML representations . As a special-purpose tool, fine. As more
than that... it still appears to mean giving up too much of what XML
is in exchange for an incomplete optimization. Bad tradeoff, in my
view. Your milage may vary.
I've read the paper by Nottingham et al, where many concerns about the
state of the art in 2003 were raised. It's a good background for the
situation now, which is very much in flux.

We are pretty specialized. We'll be looking systems for transmitting
the kind of data that the (potential) customers want, on platforms
representative of our typical usage.

I've read so many papers on the subject of binary XML and the main
implementations so far that my eyes are bleeding. I understand what
you're saying, but these are topics we are scheduled to investigate.


Brian
--
If televison's a babysitter, the Internet is a drunk librarian who
won't shut up.
-- Dorothy Gambrell (http://catandgirl.com)
Aug 16 '06 #5
Default User wrote:
but these are topics we are scheduled to investigate.
Good 'nuff. Your application may be in a niche where this makes sense.

(I've pinged Noah to ask if there's a good paper he could recommend
which summarizes the current best-practice/best-guess.)

--
Joe Kesselman / Beware the fury of a patient man. -- John Dryden
Aug 16 '06 #6
Joseph Kesselman wrote:
Default User wrote:
but these are topics we are scheduled to investigate.

Good 'nuff. Your application may be in a niche where this makes sense.
We hope so. It's not general web services, it's web services for
propriatary platforms (I hesitate here to say "embedded" as that has
caused confusion in the past).
(I've pinged Noah to ask if there's a good paper he could recommend
which summarizes the current best-practice/best-guess.)
I appreciate that.

Brian

--
If televison's a babysitter, the Internet is a drunk librarian who
won't shut up.
-- Dorothy Gambrell (http://catandgirl.com)
Aug 16 '06 #7
OK, here's what I've been able to gather:

MTOM is reportedly gaining popularity specifically as a way of passing
non-XML (eg binary) data as a base-64-encoded block of data within one
of the XML elements of the SOAP message. "MTOM will allow suitably
enabled SOAP bindings to optimize the transmission of such things."

This is a very different matter from past uses of the term "binary XML",
which were talking about alternate representations of XML rather than
ways of using XML to represent binary... which is what I (erroneously?)
assumed you were interested in.

Apologies if we've been talking at cross purposes!
Aug 17 '06 #8
Joseph Kesselman wrote:
OK, here's what I've been able to gather:

MTOM is reportedly gaining popularity specifically as a way of
passing non-XML (eg binary) data as a base-64-encoded block of data
within one of the XML elements of the SOAP message. "MTOM will allow
suitably enabled SOAP bindings to optimize the transmission of such
things."

This is a very different matter from past uses of the term "binary
XML", which were talking about alternate representations of XML
rather than ways of using XML to represent binary... which is what I
(erroneously?) assumed you were interested in.

Apologies if we've been talking at cross purposes!
It does seem to be a somewhat vague at times. We are looking into
attaching binary data (the actual data is still TBD) and route to
various users on the network.


Brian

--
If televison's a babysitter, the Internet is a drunk librarian who
won't shut up.
-- Dorothy Gambrell (http://catandgirl.com)
Aug 17 '06 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2327
by: Michael A Barnhart | last post by:
If there is a more appropriate group to post this in please comment. Given the lack of comments I feel I may not be looking in the correct groups. With the MTOM spec becoming "Offical" then end of January, most now recognize it as the way forward and are stating DIME/SwA as no longer valid. However I find no implementations for TODAY. This...
0
1785
by: HansvL | last post by:
I investigated samples of MTOM implementations. They all use the byte array as a result of the client or server method. Does MTOM also work for byte arras that are used as in/out parameters? The advise to put multiple byte arrays in a special object suggests a negative answer. In any case I could not find an example that uses this multi byte...
1
1946
by: Marc Gravell | last post by:
Apologies if this is a known issue... I don't know if this is an intentional feature change, or simply a bug... but! I recently upgraded a web service to WSE3, specifically to use MTOM in a particular call. This worked, however something else unrelated went "snap" in the process... After much head-scratching, I identified it as a public...
0
1279
by: Tom | last post by:
When I am implementing MTOM in my web service using WSE 3.0. <s:element minOccurs="0" maxOccurs="1" name="buffer" type="s:base64Binary" /> The wsdl generated still refers to my buffer as base64Binary ? I thought by using MTOM the attachment is left as binary ? so why then does the wsdl generated by ASMX still refer to base64Binary ? ...
0
1347
by: Tom | last post by:
Hi guys, I'd like to send a binary file to a web service using MTOM. Is it possible to encrypt the byte ? is it something I need to specify before I send it out ? or do I need to somehow configure MTOM to do it ? Also could comeone clarify. I think MTOM implements security signature already without the need to explicitly specify it. I...
7
7507
by: russell.lane | last post by:
I've been looking at both MTOM and simple HTTP POST or PUT for file uploads. Some relevant details: ... We want to support programmatic file uploads from Winform apps. ... The files are large binaries, large enough that we would need to increase the maxRequestLength value. ... We don't need the other WS-* features that come with WSE. ......
1
4069
by: Ollie Riches | last post by:
Hi, I am recieving an exception when adding support for MTOM to a web config file that is using WSE3.0 to talk to a web service. when the following section is added: <messaging> <mtom clientMode="On" /> </messaging>
0
1376
by: SimonePringle | last post by:
The MTOM request below is rejected by a WSE 3.0 web service, indicating that it is a "Bad Request" - HTTP error 400. The IIS configuration has set up the service to accept MTOM messaging (optional). Can anyone see what about this POST makes it a bad request? Thanks! Simone POST /DocumentLibraryService/DocumentLibraryService.asmx HTTP/1.1...
1
8624
by: compurhythms | last post by:
I'm having an issue calling a java-based web service from a C#/.NET 2.0 client that uses WSE 3.0. (No WCF) There is an operation on the web service that takes a single base64 encoded parameter that is transported as a MTOM mime part in a multipart request. The web service provider has sent me a trace of a successful SOAP request and I...
0
7701
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7924
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8130
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7979
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6284
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
3653
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2115
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1223
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
940
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.