Ulf Dittmer wrote:I think you're confusing a few concepts, so just to be clear: SOAP is XML. It is not a protocol like HTTP, it is a data format. It is also not an API. Being a standardized form of XML it has the advantage that other functionalities can be layered on top of it - useful ones like WSDL and WS-Security, and (IMO) less useful ones like most of the other WS-* specifications.
Having said that, SOAP WS have largely been replaced by REST WS, which tend to have a lower overhead of implementation. But if you need, for example, message-level security as provided by WS-Security, and in some other specialized circumstances, then it is a better choice than REST.
Bear Bibeault wrote:SOAP has nothing at all to do with Java. XML can be consumed by just about any language.
Bear Bibeault wrote:Do you think that Java is the only language that can consume XML?
shai ban wrote:
who is responsible for consuming soap message and transforming back to soap?
Ulf Dittmer wrote:Generally you'd use a library of some kind for sending and receiving SOAP messages, so it would be the library's job to create and process the SOAP.
surlac surlacovich wrote:
shai ban wrote:
who is responsible for consuming soap message and transforming back to soap?
What is the difference what language used to produce executable application? At the end in the most cases it uses TCP/IP stack to read 'something' from socket and write back to it. If the app understands SOAP standard, it can consume/produce SOAP messages doesn't matter what language or platform runs it.
It means there is some library in every language (lets say C++) for transforming soap into C++ object and back to SOAP again. right?
Does that mean, SOAP specification implemented by other languages also. That's the reason they are able to transform back and forth from SOAP?
Apache Axis2 is the SOAP implementation
So lets say, I call some object on web service then what will be the sequence for libraries. I mean first soap library will be called then something else?
Ulf Dittmer wrote:
there are numerous others written in Java, but Axis2 is one of the best-known ones.
shai ban wrote:I call some object on web service then what will be the sequence for libraries. I mean first soap library will be called then something else?
Ulf Dittmer wrote:
Axis2 is a SOAP implementation - there are numerous others written in Java, but Axis2 is one of the best-known ones.
so why Axis2 is the best one, if it only supports JAX-WS?
surlac surlacovich wrote:So JAX-RS support is not a big feature by your means, is it?
Ulf Dittmer wrote:But I don't see any particular advantage in having one library implement both SOAP and REST, so if I wanted to compare frameworks, that wouldn't count as a plus in my book.
Jaikiran Pai wrote: the fact that a certain library supports SOAP as well as REST isn't a factor when a certain other library supports only REST (for example).
So what experience did you have to claim that additional support of one more protocol isn't the factor to prefer more universal library?
Ulf Dittmer wrote:The underlying logic seems to be "if it does more, it's better" - I'd rather pick the best of each and combine them.
Ulf Dittmer wrote:I'm also guessing that it should be possibly to implement the interfaces of the JAX-RS interceptor and the JAX-WS handler within the same class, and factor out the common logic into its own method - and thus end up with an implementation-agnostic solution with not much more work.
Ulf Dittmer wrote:I'm talking about pragmatic factors like pre-existing knowledge of certain libraries.
Ulf Dittmer wrote:There are also other discriminating factors like features and performance that one would take into account when comparing frameworks.
That's one is really subjective.
Water proof donuts! Eat them while reading this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
|