Hi How to generate vendor specific XML files
Hi all!
This is satish. I have aquestion as:
<b>How to generate vendor specific XML</b> files for deploying in Web Application server like weblogic9.0
Please help me!
Thanks in advance!!!
Hi Satish
AFAIK there are nwds plugins where you can convert Weblogic / jboss specific were you can convert it in to SAP Web AS specific descriptor files .
you can find these here http://media.sdn.sap.com/html/submitted_docs/sap_j2ee_migration_kit_webpages/external_docs/SAP_J2EE_Migration_Plugin.zip
I am afraid there are no such plugins avaialble. You have to do the conversion of these vendor specific file manually or you will have to search for eclipse plugins which can do this
Hope this helps. please do not forget to reward points
regards
rajesh kr
Similar Messages
-
Hi How to generate vendor specific application file I am using Weblogic9.0
Hi
I have a scenario like XI->J2EE application. For my J2EE application am using Weblogic9.0 can anyone tell me how to generate weblogic specific XML, which i will use to deploy on application server. I am n newbie to Weblogic server9.0
ThanksHi
please have a look at ths link
http://edocs.bea.com/wls/docs90/ejb/index.html
http://edocs.bea.com/wls/docs90/ejb/implementing.html#1195909
http://edocs.bea.com/wls/docs90/ejb/DDreference-ejb-jar.html#1107234
Hope this helps, <i>please mark points for helpful answers</i>
regards
rajesh kr -
How to write POJO for XML file.. i do not want to use JAXB or any other tec
How to generate POJOs for the specific xml files.
Each XML file will have elements name with Type. Which in turn related to some other xml file
For example
student.xml
<student name"mystudent">
<studentname type="firstname"/>
<studentname type="firstname"/>
<studentname type="firstname"/>
</student>
firstname.xml
<studentname name="firstname">
<stufirstname type="myfirstname"/>
</studentname>
myfirstname.xml
<myfirstname name="myfirstname">
<myname1>xxx</myname1>
</myfirstname>
like this there will be so many xml files interlinked.
I would like to write POJOs for these xml files
please let me know what is the best way to write (design the hirarchy of these xml files
Thanks in advance
srinivasNot at this time. You may submit your polite feedback to Apple using this webpage: http://www.apple.com/feedback/itunesapp.html
-
How to create both a XML file and a check
Hi,
I'm currently implementing the use of XML files for payments in the USA and I run into a problem for check payments. We need to generate both an XML file, which needs to be sent to the bank for validation and the checks, which are printed by the finance department and then sent to the vendors. These checks are only paid when they match the XML file.
We are using payment medium workbench for generating the XML file (DME structure) and on running F110 I get a nice XML file, however this prevents me from entering the printing form for check in the printout tab of F110.
I tried to add the check in transaction OBPM1, but I cannot get it to work.
Anny suggestions on how I can continue?
Thanks in advance
Peter KauwenbergHi Kauwenberg,
You can add multiple payment in DMEE file but for that you have to change in DME properties where if you want sort according to payment method or dont want to club the different method in one line then add on more filed RZAWE from table FPAYH.
I have used this options to one of my client where they want to add check payment with other payment method.
Kindly try this and let me know in case of any issue.
Regards,
Dattatraya Biradar -
How do I create individual xml files from the parsed data output of a xml file?
I have written a program (DOM Parser) that parses data from a XMl File. I would like to create an individual file with the corresponding name for each set of data parsed from the xml document. If the parsed output is Single, Double, Triple, I would like to create an individual xml file (Single.xml, Double.xml, Triple.xml)with those corresponding names. How do I create the xml files and give each file the name of my parsed data output? Thanks in advance for your help.
import java.io.IOException;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import org.xml.sax.SAXException;
public class MyDomParser {
public static void main(String[] args) {
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
try {
DocumentBuilder builder = factory.newDocumentBuilder();
Document doc = builder.parse("ENtemplate.xml");
doc.normalize();
NodeList rootNodes = doc.getElementsByTagName("templates");
Node rootNode = rootNodes.item(0);
Element rootElement = (Element) rootNode;
NodeList templateList = rootElement.getElementsByTagName("template");
for(int i=0; i < templateList.getLength(); i++) {
Node theTemplate = templateList.item(i);
Element templateElement = (Element) theTemplate;
System.out.println("Template" + ": " +templateElement.getAttribute("name")+ ".xml");
} catch (ParserConfigurationException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (SAXException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();Ive posted the new code but now I'm getting a FileAlreadyExistException error. How do I handle this exception error correctly in my code?
import java.io.IOException;
import java.nio.file.FileAlreadyExistsException;
import java.nio.file.Files;
import java.nio.file.Paths;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import org.xml.sax.SAXException;
public class MyDomParser {
public static void main(String[] args) {
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
try {
DocumentBuilder builder = factory.newDocumentBuilder();
Document doc = builder.parse("ENtemplate.xml");
doc.normalize();
NodeList rootNodes = doc.getElementsByTagName("templates");
Node rootNode = rootNodes.item(0);
Element rootElement = (Element) rootNode;
NodeList templateList = rootElement.getElementsByTagName("template");
for(int i=0; i < templateList.getLength(); i++) {
Node theTemplate = templateList.item(i);
Element templateElement = (Element) theTemplate;
System.out.println(templateElement.getAttribute("name")+ ".xml");
for(int i=0; i < templateList.getLength(); i++) {
Node theTemplate = templateList.item(i);
Element templateElement = (Element) theTemplate;
String fileName = templateElement.getAttribute("name") + ".xml";
Files.createFile(Paths.get(fileName));
System.out.println("File" + ":" + fileName + ".xml created");
} catch (ParserConfigurationException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (SAXException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace(); -
Any tool to generate 1 million xml files?
Hi All,
I have customer file and want to generate 1 million xml files to start load performance testing.
Let me know if any tool available.
Thanks
ShruthikaaHi Shruthikaa,
As suggested LoadGen tool can be used for testing stress and performance, also you can do it with visual studio -
Load Testing using Visual Studio
Maheshkumar S Tiwari|User Page|Blog|BizTalk
Server : How Map Works on Port Level -
How can i transfer the xml files between different systems?
hello
the appearance of xml enable the inter-communication between differences systems.but
i don't know how,such as following scinario:
in the client side,we use the console that is written by using c#,if i finish
filling the text boxes that are within the console,click the submit button,the
console will generate a xml format document.i want the other application that
is written by using jsp and servlet and deployed in weblogic server to receive
the xml document,then process the document.
but i don't know how i can transfer the xml files between the two applications
that is written in different languages? can i use http protocol?
thanks for any helps!Yes, you can use the HTTP protocol as a transport for the XML message, this
is basically what the HTTP binding for SOAP does. The key is using a
packaging mechanism that different applications will understand, otherwise
only your own applications will know how to extract and process the XML
messages you send between them.
"zbcong" <[email protected]> wrote in message
news:3e68318e$[email protected]..
>
hello
the appearance of xml enable the inter-communication between differencessystems.but
i don't know how,such as following scinario:
in the client side,we use the console that is written by using c#,if ifinish
filling the text boxes that are within the console,click the submitbutton,the
console will generate a xml format document.i want the other applicationthat
is written by using jsp and servlet and deployed in weblogic server toreceive
the xml document,then process the document.
but i don't know how i can transfer the xml files between the twoapplications
that is written in different languages? can i use http protocol?
thanks for any helps! -
How to generate ojdeploy-build.xml?
Hi Experts,
I has been googling and surfing web a lot but unfortunatelly haven't found any exact step-by-step instructions about integrating ADF appl with ANT.
I believe my case is very common:
ADF Application with:
- Model project (based on ADF BC)
- viewcontroller project, with dependency on model project.
I want to get EAR file using ojdeploy.
I found only how to generate build.xml for viewcontroller project' WAR, but I saw posts which refer ojdeploy-build.xml.
How can I generate ojdeploy-build.xml file?
Or it should be created manually?
Where can I get a list of parameters for <ojdeploy-build>.<deploy> task?
Thank you!Hi,
if you have to generate simple XML's like this it is easy to do that using JDOM.
I have used it and it is really easy to use, very simple to learn.
for more information: www.jdom.org
Good luck,
Sven -
XML Publisher question - Not generating a valid XML file
I am working through an Oracle document that walks you through creating an XML Pub report. I am using HCM 8.9, Tools 8.49.15 and it has XML Pub installed and I have the Microsoft plug-in installed
I have created a query and have downloaded an rtf template and now am on a page where you enter your data source and then click ‘Generate’ for the sample data file. I did it and it created ‘PERSONAL_DATA_PAY.XML’ which is created from a PS Query. However if I click on ‘PERSONAL_DATA_PAY.XML’ it generates a blocky text file that is not an XML file and I can’t go any further.
Do you know why it’s not generating a valid XML file when I click on 'generate'?
Thanks
Allen H. Cunningham
Data Base Administrator - Oracle/PeopleSoft
Sonoma State UniversityYou mean to say that you create a new data source by specifying Data Source Type as 'PS Query' and Data Source ID as your query name, you are not able to generate a valid XML file (by clicking on Generate link).
did you cross check your query by running it?
On field change of Generate link, PeopleSoft uses PSXP_RPTDEFNMANAGER and PSXP_XMLGEN app packagaes and query objects to create the file
It should work if you query is valid.. -
Need to generate a Index xml file for corresponding Report PDF file.
Need to generate a Index xml file for corresponding Report PDF file.
Currently in fusion we are generating a pdf file using given Rtf template and dataModal source through Ess BIPJobType.xml .
This is generating pdf successfully.
As per requirement from Oracle GSI team, they need index xml file of corresponding generated pdf file for their own business scenario.
Please see the following attached sample file .
PDf file : https://kix.oraclecorp.com/KIX/uploads1/Jan-2013/354962/docs/BPA_Print_Trx-_output.pdf
Index file : https://kix.oraclecorp.com/KIX/uploads1/Jan-2013/354962/docs/o39861053.out.idx.txt
In R12 ,
We are doing this through java API call to FOProcessor and build the pdf. Here is sample snapshot :
xmlStream = PrintInvoiceThread.generateXML(pCpContext, logFile, outFile, dbCon, list, aLog, debugFlag);
OADocumentProcessor docProc = new OADocumentProcessor(xmlStream, tmpDir);
docProc.process();
PrintInvoiceThread :
out.println("<?xml version=\"1.0\" encoding=\"UTF-8\" ?>");
out.print("<xapi:requestset ");
out.println("<xapi:filesystem output=\"" + outFile.getFileName() + "\"/>");
out.println("<xapi:indexfile output=\"" + outFile.getFileName() + ".idx\">");
out.println(" <totalpages>${VAR_TOTAL_PAGES}</totalpages>");
out.println(" <totaldocuments>${VAR_TOTAL_DOCS}</totaldocuments>");
out.println("</xapi:indexfile>");
out.println("<xapi:document output-type=\"pdf\">");
out.println("<xapi:customcontents>");
XMLDocument idxDoc = new XMLDocument();
idxDoc.setEncoding("UTF-8");
((XMLElement)(generator.buildIndexItems(idxDoc, am, row)).getDocumentElement()).print(out);
idxDoc = null;
out.println("</xapi:customcontents>");
In r12 we have a privilege to use page number variable through oracle.apps.xdo.batch.ControlFile
public static final String VAR_BEGIN_PAGE = "${VAR_BEGIN_PAGE}";
public static final String VAR_END_PAGE = "${VAR_END_PAGE}";
public static final String VAR_TOTAL_DOCS = "${VAR_TOTAL_DOCS}";
public static final String VAR_TOTAL_PAGES = "${VAR_TOTAL_PAGES}";
Is there any similar java library which do the same thing in fusion .
Note: I checked in the BIP doc http://docs.oracle.com/cd/E21764_01/bi.1111/e18863/javaapis.htm#CIHHDDEH
Section 7.11.3.2 Invoking Processors with InputStream .
But this is not helping much to me. Is there any other document/view-let which covers these thing .
Appreciate any help/suggestions.
-anjani prasad
I have attached these java file in kixs : https://kix.oraclecorp.com/KIX/display.php?labelId=3755&articleId=354962
PrintInvoiceThread
InvoiceXmlBuilder
Control.javaYou can find the steps here.
http://weblogic-wonders.com/weblogic/2009/11/29/plan-xml-usage-for-message-driven-bean/
http://weblogic-wonders.com/weblogic/2009/12/16/invalidation-interval-secs/ -
How to retrieve value from xml file
hi all,
can somebody pls tell me how to retrieve value from xml file using SAXParser.
I want to retrieve value of only one tag and have to perform some validation with that value.
it's urgent .
pls help me out
thnx in adv.
rituhi shanu,
the pbm is solved, now i m able to access XXX no. in action class & i m able to validate it. The only thing which i want to know is it ok to declare static ArrayList as i have done in this code. i mean will it affect the performance or functionality of the system.
pls have a look at the following code snippet.
public class XMLValidator {
static ArrayList strXXX = new ArrayList();
public void validate(){
factory.setValidating(true);
parser = factory.newSAXParser();
//all factory code is here only
parser.parse(xmlURI, new XMLErrorHandler());
public void setXXX(String pstrXXX){
strUpn.add(pstrXXX);
public ArrayList getXXX(){
return strXXX;
class XMLErrorHandler extends DefaultHandler {
String tagName = "";
String tagValue = "";
String applicationRefNo = "";
String XXXValue ="";
String XXXNo = "";
XMLValidator objXmlValidator = new XMLValidator();
public void startElement(String uri, String name, String qName, Attributes atts) {
tagName = qName;
public void characters(char ch[], int start, int length) {
if ("Reference".equals(tagName)) {
tagValue = new String(ch, start, length).trim();
if (tagValue.length() > 0) {
RefNo = new String(ch, start, length);
if ("XXX".equals(tagName)) {
XXXValue = new String(ch, start, length).trim();
if (XXXValue.length() > 0) {
XXXNo = new String(ch, start, length);
public void endElement(String uri, String localName, String qName) throws SAXException {
if(qName.equalsIgnoreCase("XXX")) {
objXmlValidator.setXXX(XXXNo);
thnx & Regards,
ritu -
How I can create a XML file from java Aplication
How I can create a XML file from java Aplication
whith have a the following structure
<users>
<user>
<login>anyName</login>
<password>xxxx</password>
</user>
</users>
the password label must be encripted
accept any suggestionLet us assume you have all the data from the jsp form in an java bean object..
Now you want a xml file. This can be acheived in 2 ways
1. Write it into a file using java.io classes. Say you have a class with name
write("<name>"+obj.getName+</name>);
bingo you have a flat file with the xml
2. Use data binding to do the trick
will recommend JiBx and Castor for the 2nd option
Regards,
Rajagopal -
How To check validity of XML File
can any one tell me how to find whether an XML file is valid or not before beginning to parse the XML file
Thanks in advanceXerces will do that for qou, if you activate validation (and, of course, a DTD is specified in the file). Read the documentation of Xerces at xml.apache.org
-
How to remove Unicode from XML file
I get following error when unmarshal xml:
[java] org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x15) was found in the element content of the document.
Anyone know how to remove Unicode from xml file? Can I remove the unicode by rebuild the file?
ThanksThese sort of error usually occur when you're using a different character encoding to read the file than the one you wrote it with. Perhaps if you were to post the problem section of the file and/or the code that created it in the first place.
-
How to create a Plan.xml file for modification
Hi,
I am trying to create a plan.xml file. Is there any way, I can generate a plan.xml file.
I see a tab in Admin Console in deployments and plan. but there is nothing there. what it has to do with plan.
Thanks
regards
Amir riazYou can find the steps here.
http://weblogic-wonders.com/weblogic/2009/11/29/plan-xml-usage-for-message-driven-bean/
http://weblogic-wonders.com/weblogic/2009/12/16/invalidation-interval-secs/
Maybe you are looking for
-
New iTunes still not working with 64 bit operating systems?
When will iTunes support advanced 64 bit operating systems... Would seem that a next generation phone would work with the next generation of operating systems...
-
Down Payment clearing push button in MIR7
Dear Gurus, Hi..... I have created a PO for goods and for freight there is a separate vendor. For this PO i have created Down payment request for goods and down payment request separately for freight vendor also. Now, i have posted the down payments
-
Hiding Fields with the same name
I have multiple fields across a form with the same name TxtName#1 TxtName#2 TxtName#3..... TxtName#24 They are all share the same name because they should all have the same data. I want to be able to hide some of these fields, based on the number ent
-
Invoice value in indian currency
hi i have created a alv and the problem i have is that if i go for 21(export) the total invoice value(netwr) comes in foreign currency. my question is how to display it in indian currency.
-
Java.lang.UnsatisfiedLinkError: textureclear
we have some 3d charts, and one of the user is having some problems with accessing the chart he has JRE 1.5_05 installed and java_home is not set on his machine. we have jnlp file with java3d as library in it like <extension href="http://download.jav