I have a Application which provides webservices for some functionalities.
We have a Java implementation for web services and we are using an extended version
of JAXMServelt to receice the SOAP requests.
For Ex Below is a simple SOAP Request :
<accessing-entity name="some service requestor"/>
<target-entity name="this service"/>
Once I have the soap request I am trying toget the entire string out of it by the following method
javax.xml.transform.Transformer transformer = transformerFactory.newTransformer ();
javax.xml.soap.SOAPPart soapPart = _soapMessage.getSOAPPart ();
javax.xml.transform.Source soapEnvlopeSource = soapPart.getContent ();
transformer.transform(soapEnvlopeSource, new StreamResult(StringWriter));
This implementation perfectly works fine when the Application server is Weblogic.
But when I try to run the same application from JBOSS it gives the following error :
"[Fatal Error] :-1:-1: Premature end of file.TransformerException : SaxException"
JBOSS internally uses AXIS APi's to process the SOAP Request.
Is It any Issue with the AXIS API , or is some other problem?
Any clues ..???
Please shoot a mail to my ID..