I have a bunch of raw SOAP request files that I am reading using MessageFactory of SAAJ API.
Some files are SOAP1.1 and others are SOAP1.2.
How do I know which version a given file is, so that I can create the appropriate factory? Or is there a way how MessageFactory can work for both the versions?
Second, in the interface javax.xml.soap.SOAPConstants there are some useful constants for creating different kinds of MessageFactor-ies; one for SOAP 1.1, one for SOAP 1.2 and another one that looks at the Content-Type MIME header to determine what kind of SOAP message to create.
Best wishes!
I can't take it! You are too smart for me! Here is the tiny ad:
Gift giving made easy with the permaculture playing cards