• 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
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

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.
 
Politics n. Poly "many" + ticks "blood sucking insects". Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic