• 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
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

Documents as parameter in web service

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
thanks for reading this post,

I want to create a webservice that will accept a csv file as parameter, process on it and return the result as a xml or a csv file,

Could anybody help me what is the best technology and approach to solve this,
I searached on net and saw, document based webservice is there and SOAP attachment is there,
i am prettu new to webservice, please help me in the apporach and or any links tutorials examples available on net,
 
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've not done this, but I think using attachments would best -
it would be possible pass the CSV inside an XML document in the SOAP body, but would that would require extra work, making it more complicated and slower.

SAAJ is the J2EE API that lets you do SOAP with Attachments (SwA) - search for documention on that.
reply
    Bookmark Topic Watch Topic
  • New Topic