wood burning stoves 2.0*
The moose likes Web Services and the fly likes reading an xml file in the web services java file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "reading an xml file in the web services java file" Watch "reading an xml file in the web services java file" New topic
Author

reading an xml file in the web services java file

Raj Kumar Bindal
Ranch Hand

Joined: Apr 15, 2006
Posts: 418
I want to read some data in the webservices file.so i am writing my own xml file through which i want to read data.but i am not able to read xml file from web services file.also , i am not able to put xml file in the .ear file,as there is no such tag in servicegen script through which i can add xml file in the .ear file.
i know in case of servlets,i will specify context-param attributes in web.xml,and i can access those in my servlet.can i do anything like this for webservices,and i am not using any servlets for web services.
kindly tell any solution.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: reading an xml file in the web services java file