conn't  delete  xml   file     OMElement   WebService
-----------------------------------------------------

                 Key: AXIS2-3944
                 URL: https://issues.apache.org/jira/browse/AXIS2-3944
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
         Environment: axis2
            Reporter: duanlei


XMLInputFactory inputFactory=StAXUtils.getXMLInputFactory();
XMLStreamReader parser = inputFactory.createXMLStreamReader(new 
FileInputStream(path));
StAXOMBuilder builder = new StAXOMBuilder(parser);
OMDocument doc = builder.getDocument();
OMElement  dt = (OMElement) doc.getFirstOMChild();

use upper  code to read a xml file to  OMElement   object  
  


// WebService  method
public OMElement RevokeRequest(OMElement soapBody) {
     //
     //
    return  object  ;//the object is read from  xml  file
}

when  client  method  invoke over  , I cann't  delete xml file after a few time 
  WHY?

I am   beginner  
 



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to