I am using IBM JAX WS 2 on my WAS server and exposing a service. The purpose of this service is to send some data to the consumer, which I already have in my database in form of an XML. I just need to put this xml in the response and send it.
I want to avoid the JAXB Marshaling and marshaling here as I don't have to do anything else with the data.
So I am trying to directly place the XML to the JAXWS response. I was trying to use anyType, but my client doesn't want a anyType in their WSDL but they want a proper XSD.
Is there way I can create a payload and send as a response ? In that case how would my JAXB Service impl look like ? How to achieve this ?
Thanks and Regards,
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com