Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Documents as parameter in web service

 
rajat mani
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • 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,
 
michael warren
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic