Haroldo,
First, I'll have to ask you to
add a last name to your display name -- our
naming policy requires it.
Thanks.
Originally posted by Haroldo:
but the SAAJ does not use WSDL. Is possible other application (Perl, Microsft, ...) exchange message using only SAAJ. Eh possible use JAX-RPC and SAAJ together ?
In the end, both SAAJ and JAX-RPC APIs are used for sending
SOAP messages over (usually) HTTP. You can use JAX-RPC to invoke service X and you can use SAAJ to invoke service X, but there's no point in trying to use both JAX-RPC
and SAAJ to invoke service X. Also, because what goes over the wire is SOAP, it doesn't matter for a client written in Perl, C#, C++, Python,
Java, etc. in which language or platform the service was implemented -- as long as it understands SOAP messages.
Originally posted by Haroldo:
What is the advantages and disadvantages of SAAJ and JAX_RPC ?
In short:
- JAX-RPC is easy to use (no need to worry about the actual SOAP message)
- SAAJ gives you more power (ability to tweak the actual SOAP message)