/ JeanLouis<br /><i>"software development has been, is, and will remain fundamentally hard" (Grady Booch)</i><br /> <br />Take a look at <a href="http://www.epfwiki.net/wikis/openup/" target="_blank" rel="nofollow">Agile OpenUP</a> in the Eclipse community
Originally posted by Jean-Louis Marechaux:
Does this mean you discouage the use of RPC-Literal?
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
/ JeanLouis<br /><i>"software development has been, is, and will remain fundamentally hard" (Grady Booch)</i><br /> <br />Take a look at <a href="http://www.epfwiki.net/wikis/openup/" target="_blank" rel="nofollow">Agile OpenUP</a> in the Eclipse community
Originally posted by Jean-Louis Marechaux:
Hello Authors,
In your book, you almost don't speak of the encoding style, except in Chapter 5 (wsdl section).
In the two samples you give in Chapter 4, scenario 1 is RPC-encoding and scenario 2 is Messaging. But no sample with RPC/literal.
Ramesh, in your webservices presentation (I only read the 47st pages so far), it sounds like you don't speak about RPC literal neither.
Does this mean you discouage the use of RPC-Literal ?
Ramesh Nagappan CISSP<br />Co-Author of "Core Security Patterns"<br />nramesh@post.harvard.edu<br /><a href="http://www.coresecuritypatterns.com" target="_blank" rel="nofollow">www.coresecuritypatterns.com</a>
Originally posted by Ramesh Nagappan:
As per JAX-RPC specification, although support for RPC-Literal exists it is clearly mentioned that to avoid usage unless you have an extreme situation of sending encoded literals.
Also, take a look at SOAP 1.2 specs !
/ JeanLouis<br /><i>"software development has been, is, and will remain fundamentally hard" (Grady Booch)</i><br /> <br />Take a look at <a href="http://www.epfwiki.net/wikis/openup/" target="_blank" rel="nofollow">Agile OpenUP</a> in the Eclipse community
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Originally posted by Jean-Louis Marechaux:
Ok Ramesh, I'll read both the specs.
But let me ask a further question then, because there's something is puzling me.
I understand the RPC-encoing model is useful if I ave to obtain the price of a book, the quote of a stock or the temperature in a town.
But if my request is complexe, I don't want to send 100 arguments in a RPC call, because of marshalling/Unmashalling process, and because each argument could be of a complexe type not supported by the SOAP implementation
In that situation, I feel that it is more "elegant" to send a XML file, with a xsd to validate its grammar.
Lasse, Ramesh, do you think RPC-LITERAL is stupid in that situation ?
Is there a better approach ?
Ramesh Nagappan CISSP<br />Co-Author of "Core Security Patterns"<br />nramesh@post.harvard.edu<br /><a href="http://www.coresecuritypatterns.com" target="_blank" rel="nofollow">www.coresecuritypatterns.com</a>
Originally posted by Ramesh Nagappan:
Use SAAJ API and handle them as documents ! It helps.
/ JeanLouis<br /><i>"software development has been, is, and will remain fundamentally hard" (Grady Booch)</i><br /> <br />Take a look at <a href="http://www.epfwiki.net/wikis/openup/" target="_blank" rel="nofollow">Agile OpenUP</a> in the Eclipse community
Originally posted by Jean-Louis Marechaux:
Why should I use SAAJ ?. I don't understand the advantage over RPC-LITERAL
(Note : I only send 1 document, the XML, which contains a reference to a XSD. I DO NOT send both the xml AND the xsd)
Ramesh Nagappan CISSP<br />Co-Author of "Core Security Patterns"<br />nramesh@post.harvard.edu<br /><a href="http://www.coresecuritypatterns.com" target="_blank" rel="nofollow">www.coresecuritypatterns.com</a>
Originally posted by Ramesh Nagappan:
The major advantage of using SAAJ and JAXM is to provide Document oriented Webservices. Yes, absolutely the document can be tied to XSD.
/ JeanLouis<br /><i>"software development has been, is, and will remain fundamentally hard" (Grady Booch)</i><br /> <br />Take a look at <a href="http://www.epfwiki.net/wikis/openup/" target="_blank" rel="nofollow">Agile OpenUP</a> in the Eclipse community
Originally posted by Gavin Bong:
Jean-Louis,
You can certainly do message-oriented communication via Apache SOAP (even with xsd).
Check the API further. Or else there are other custom alternatives.
Gavin
Ramesh Nagappan CISSP<br />Co-Author of "Core Security Patterns"<br />nramesh@post.harvard.edu<br /><a href="http://www.coresecuritypatterns.com" target="_blank" rel="nofollow">www.coresecuritypatterns.com</a>
/ JeanLouis<br /><i>"software development has been, is, and will remain fundamentally hard" (Grady Booch)</i><br /> <br />Take a look at <a href="http://www.epfwiki.net/wikis/openup/" target="_blank" rel="nofollow">Agile OpenUP</a> in the Eclipse community
Originally posted by Jean-Louis Marechaux:
I am ready to upgrade to Axis, but IBM WebSphere and WSAD are NOT
As I am using WSAD and WebSphere 5, and as right now, both of them are delivered with Apache SOAP,
I'm aware there is a WAS WebServics Tech Preview which allow the use of AXIS and Jax-RPC, but I guess this is not a release to use in production
Thus, I don't really know how I could use AXIS and still be supported by IBM.
[ May 09, 2003: Message edited by: Jean-Louis Marechaux ]
Ramesh Nagappan CISSP<br />Co-Author of "Core Security Patterns"<br />nramesh@post.harvard.edu<br /><a href="http://www.coresecuritypatterns.com" target="_blank" rel="nofollow">www.coresecuritypatterns.com</a>
/ JeanLouis<br /><i>"software development has been, is, and will remain fundamentally hard" (Grady Booch)</i><br /> <br />Take a look at <a href="http://www.epfwiki.net/wikis/openup/" target="_blank" rel="nofollow">Agile OpenUP</a> in the Eclipse community
Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
/ JeanLouis<br /><i>"software development has been, is, and will remain fundamentally hard" (Grady Booch)</i><br /> <br />Take a look at <a href="http://www.epfwiki.net/wikis/openup/" target="_blank" rel="nofollow">Agile OpenUP</a> in the Eclipse community
Consider Paul's rocket mass heater. |