File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

protocol to use with SOAP message

 
faiza athar
Ranch Hand
Posts: 136
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
which protocol supports tranactions when using SOAP messages.
A.SNMP
B.SMTP
C.HTTPS
D.JTA messaging
E.JMS messaging
Pls correct me, is it c and e??
i'm confused if jta is used with soap?
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, at least the JMS supports transactions and JTA is a transaction management API so maybe those are the two correct ones? I don't really see what SOAP has to do with this because SOAP itself doesn't support transactions in any way (SOAP can be used as an envelope for transaction-aware messaging -- it's just not built-in).
 
faiza athar
Ranch Hand
Posts: 136
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
e.g for a credit processing system in a bank, i choose to do web service with soap messages, then which protocol will support txs and will be secure.
so the ans would be jms, https.
???
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A.SNMP --> v1 and v2 are unsecure, security features were introduced in SNMPv3
B.SMTP --> can be secured with SSL/TLS (but then why not use HTTP instead)
C.HTTPS --> this is secure and widely supported by web services products
D.JTA messaging --> not a protocol but an API
E.JMS messaging --> not a protocol but an API, the particular JMS vendor's proprietary communication protocol may or may not have security features (probably will, though).

However, none of these acronyms have anything to do with web service transactions. The transaction stuff happens on top of SOAP, not beneath it. I would recommend browsing your web service platform's documentation to see what kind of alternatives it provides you with.
Some resources:
- WS-Transaction specification
- Introduction to WS-Transaction from Arjuna
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic