I worked in a couple of web service projects with Java.
Some third parties provide us with their WSDL from which I can generate Java classes using Axis2.
Other third parties do not provide us with a WSDL, instated they provide use with request and response samples and I have to build the SOAP XML messages using StringBuilder
or StringBuffer
.
Unfortunately, I don't think this is the most efficient or preferred way to build the messages.
Is there any better way to achieve that? A way where I do not have to build the SOAP messages using StringBuilder
?