Does anyone know of a Java implementation similar to the .NET SoapFormatter
I am looking for a library or code snippet to allow me to serialize and de serialize an object into a SOAP representation. Similar to what the .NET SoapFormatter does but an implementation in Java.
I have looked开发者_如何学运维 on Google and web but so far I have been unable to find something which does it. I know there is a namepsace in javax for SOAP, but again, if this holds what I need ton achieve it, I am looking for a little guidance code to show me an example or something.
TIA
Andrew
Please take a look at the JAXB(Java Architecture for XML Binding) and SAAJ(SOAP with Attachments API for Java).
There are more web service implementations in Java than you could shake a stick at. There is no one way of doing this stuff.
Are you actually looking for a web service implementation, or just that one very specific task? There's no such thing as "SOAP representation", so I'm not sure what you're asking for.
精彩评论