• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • paul wheaton
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Piet Souris
Bartenders:
  • salvin francis
  • Mikalai Zaikin
  • Himai Minh

Web Services and DIME

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm concerned about using a web service to send what amounts to send an array of shorts - about 600,000 to 1M elements.
I've tried this with a straight SOAP encoding, and it was a nightmare.
I've investigated DIME, which would allow me to add the binary data as an attachment to the SOAP message. What support is there now, and what is coming down the pike for DIME attachments?
Sincerely,
LJM
 
Author
Posts: 159
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
DIME packaging is already part of SOAP 1.2 specifications, which is currently released as "Candidate recommendation". Only few SOAP implementations support DIME. But think about SOAP Interoprability before choosing DIME.
 
Ranch Hand
Posts: 168
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Another alternative which worked for me.
Put the 1M shorts into a 4M binary file, and put a URL to the file into the SOAP message. It will be pretty easy to code your SOAP implementation to pick up the file.
Or variations on that idea. For example, upload a file to a webserver on the same machine that runs the web service, then give the name of the uploaded file in the SOAP message.
 
Be reasonable. You can't destroy everything. Where would you sit? How would you read a tiny ad?
ScroogeXHTML - a fast and small RTF to HTML5 and XHTML converter library
https://coderanch.com/t/742149/ScroogeXHTML-RTF-HTML-XHTML-converter
reply
    Bookmark Topic Watch Topic
  • New Topic