This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Simple Strings  RSS feed

 
Louis Agger
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We are defining our Web Services such that all the operations take a String in and return a String.
The contents of the two Strings, however, are XML, as defined in our own XSD's that we publish to our customers.
By effectively hiding the messages to the WSDL, what features are we missing out on, current and future? Also, one of the operations can send and receive an attachment.
- Louis
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Type mapping is one feature I can think of. If you were to send the XML in the "exploded" format, the recipient could generate the code for mapping your specific XML structure to a class/whatever on his platform and language.
 
Louis Agger
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We've given that some thought. Couldn't one make an argument that type mapping could still be achieved via using the XSD's and a data binding tool such as Castor?
- Louis
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!