Hi,

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 :

<SOAP-ENV:Envelope 
        xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"; 
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
        xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"; 
        xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
        <SOAP-ENV:Header>
                <accessing-entity name="some service requestor"/>
                <target-entity name="this service"/>
                
                
        </SOAP-ENV:Header>
        <SOAP-ENV:Body>
                
                        
                
        </SOAP-ENV:Body>
</SOAP-ENV:Envelope>



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..

[EMAIL PROTECTED]


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3871255#3871255

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3871255


-------------------------------------------------------
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to