Data template is invalid. Should be in XML-DATA-TEMPLATE format.
Hi,
I am trying to create & upload a Data Template for a Data Definition in XML Publisher. When I try to upload my data template, it shows me the error :-
" The uploaded file PAFPURUP_TEMPLATE.xml is invalid. The file should be in XML-DATA-TEMPLATE format. "
Can any please suggest me a possible resolution to this error? Below is my data template content :-
<?xml version="1.0" encoding="WINDOWS-1252" ?>
<dataTemplate name="PAFPURUP_TEMPLATE" description="Data template for PAFPURUP" defaultPackage="PA_PAFPURUP_PKG" version="1.0">
<parameters>
<parameter name ="count" dataType="character" defaultValue="10"/>
</parameters>
<dataQuery>
<sqlStatement name="Q1">
<![CDATA[SELECT BUDGET_VERSION_ID, VERSION_NAME FROM PA_BUDGET_VERSIONS WHERE ROWNUM <= :count]]>
</sqlStatement>
</dataQuery>
<dataTrigger name="beforeReport" source="PA_PAFPURUP_PKG.beforeReportTrigger"/>
<dataStructure>
<group name ="G_BUDGET_VERSIONS" source="Q1">
<element name="Budget_Version_Id" value="budget_version_id"/>
<element name="Version_Name" value="version_name"/>
</group>
</dataStructure>
</dataTemplate>
Many Thanks,
Niranjan
Hi Fred,
Thanks for your response. The issue was actually with the xml format. I had missed '?' at the end of 1st line of the xml.
Regards,
Niranjan
Similar Messages
-
The uploaded file CPSIDRPT.xml is invalid. The file should be in XML-DATA-T
can someone explain me why am I getting following error message when I'm trying to upload a data defination file?
The uploaded file CPSIDRPT.xml is invalid. The file should be in XML-DATA-TEMPLATE format.
thanks........
ketki----Based on the detail (or lack of) that you have provided, your file is not in the right format.
Can you open the file in a internet browser? Is it well-formed XML?
Edited by: SIyer on Dec 1, 2009 4:33 PM -
The file should be in XML-DATA-TEMPLATE format
Hi,
When I am trying to upload the Data Definition file in XML publisher with EBS 11.5.10.2, I got "The uploaded file GLPAYBDXDO.xml is invalid. The file should be in XML-DATA-TEMPLATE format". I have tried changing the file name to different names including XML-DATA-TEMPLATE but I could not succeed. I appreciate for any help.
Thanks,
Ram.What is the content of your xml file. Is this sample xml file or Data Template.
-
The file should be in XML-BURSTING-FILE format.
I'm gettting an error when I try to upload my xml bursting control file for my oracle report that has an rtf template defined.
The error message says"The uploaded file MT_RAXINV.xml is invalid. The file should be in XML-BURSTING-FILE format."
and my code is as below:
<?xml version="1.0" encoding="UTF-8"?>
<xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi" >
<xapi:globalData location="stream">
</xapi:globalData >
<xapi:request select="/ZRAXINV/LIST_G_ORDER_BY/G_ORDER_BY/LIST_G_INVOICE/G_INVOICE">
<xapi:delivery>
<xapi:email server="mailhost.microtune.com" port="25" from="[email protected]"
reply-to ="[email protected]" >
<! - filter=".//G_INVOICE[BILL_TO_EMAIL IS NOT NULL]"- >
<xapi:message id="${TRX_NUMBER}" to="[email protected]" cc="[email protected]" attachment="true"
subject="Microtune Inc - Receivables Statement for payment due from ${BILL_CUST_NAME}">
Please find attached Receivables Statement for payment due of ${TOTAL_AMOUNT_DUE}.
Regards,
The Receivables Team
Microtune Inc
</xapi:message>
</xapi:email>
<xapi:print id="printer_tune"
printer="ipp:\\congo\sunset" filter=".//G_INVOICE[BILL_TO_EMAIL=NULL]" copies="1" />
<xapi:filesystem output="\\astro\erp\Oracle\${TRX_NUMBER}.pdf"/>
<! - Add an id for this delivery method i.e. printer1 - >
</xapi:delivery>
<xapi:document output-type="pdf" delivery="printer_tune,${TRX_NUMBER}">
<! - Deliver to printer and email - >
<xapi:template type="rtf" location="xdo://SQLAR.ARInvoice.en.US/"?getSource=true" filter="">
<! - Specify template to be used for Receivables Statements- >
</xapi:document>
</xapi:request>
</xapi:requestset>
Any help would be much appreciated.
Thanks,
LeoThanks, for the update. Sorry I did not update this entry, I had actually figured that out but still my problem is that my email is sending without an attachment. I'm not getting any error and the email is sending fine but without the attachment.
<?xml version="1.0" encoding="UTF-8"?>
<xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi">
<xapi:request select="/ZRAXINV/LIST_G_ORDER_BY/G_ORDER_BY/LIST_G_INVOICE/G_INVOICE">
<xapi:delivery>
<xapi:email server="mailhost.microtune.com" port="25" from="[email protected]" reply-to ="[email protected]">
<xapi:message id="${TRX_NUMBER}" to="[email protected]" cc="[email protected]" attachment="true"
subject="Microtune Inc - Receivables Statement for payment due from ${BILL_CUST_NAME}">
Please find attached Receivables Statement for payment due of ${TOTAL_AMOUNT_DUE}.
Regards,
The Receivables Team
Microtune Inc.
</xapi:message>
</xapi:email>
</xapi:delivery>
<xapi:document output="Invoice_${TRX_NUMBER}" output-type="pdf" delivery="${TRX_NUMBER}">
<xapi:template type="rtf" location="xdo://SQLAR.ZRAXINV.en.US/?getSource=true"></xapi:template>
</xapi:document>
</xapi:request>
</xapi:requestset> -
XML data storage - How to handle symbol ' inside xml data from java code
Hi
I'm trying to store XML data in Oracle XML DB 10gR2 both through SQL and JAVA .
I have a simple test table called xmltable with a primary key and a XMLType column
My sql is:
insert into xmltable values ('020', sys.XMLType.CreateXML(
'<?xml version="1.0"?>
<Mpeg7 xmlns="urn:mpeg:mpeg7:schema:2001">
<DescriptionMetadata id="2005">
<LastUpdate>2006-10-19T12:48:22.null+01:00</LastUpdate>
<Creator/>
<CreationTime>2006-10-19T12:48:22.null+01:00</CreationTime>
<Instrument>
<Tool>
<Name>LAS MPEG-7 Services v1.0</Name>
</Tool>
</Instrument>
</DescriptionMetadata>
<Description xsi:type="urn:ContentEntityType" xmlns:urn="urn:mpeg:mpeg7:schema:2001" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<MultimediaContent xsi:type="urn:ImageType">
<Image id="2005">
<MediaInformation>
<MediaProfile>
<MediaFormat>
<Content/>
<Medium href="urn:mpeg:MPEG7MediumCS:2.1.1"/>
<FileFormat href="urn:mpeg:IPTCMimeTypeCS:image/jpeg"/>
<FileSize>2782043</FileSize>
<VisualCoding>
<Format colorDomain="color" href="urn:mpeg:MPEG7VisualCodingFormatCS:1"/>
<Frame height="11604" width="8676"/>
</VisualCoding>
</MediaFormat>
</MediaProfile>
</MediaInformation>
<MediaLocator>
<MediaUri>oracle:bosch.informatik.rwth-aachen.de:1521/SMILEY/AMSDB.MEDIA_IMAGE/IMAGE[IMG_ID=2005]</MediaUri>
</MediaLocator>
<TextAnnotation>
<FreeTextAnnotation>B?miy?n and Shikari areas</FreeTextAnnotation>
</TextAnnotation>
<Semantic>
<SemanticBaseRef href="oracle:bosch.informatik.rwth-aachen.de:1521/SMILEY/AMSDB.OBJECT_XML/MPEG7_SB#/mpeg7:Mpeg7/mpeg7:DescriptionMetadata[@id='65']"/>
<SemanticBaseRef href="oracle:bosch.informatik.rwth-aachen.de:1521/SMILEY/AMSDB.OBJECT_XML/MPEG7_SB#/mpeg7:Mpeg7/mpeg7:DescriptionMetadata[@id='148']"/>
</Semantic>
</Image>
</MultimediaContent>
</Description>
</Mpeg7>
Unfortunately I'm facing problem with the symbol ' at the tags:
<SemanticBaseRef href="oracle:bosch.informatik.rwth-aachen.de:1521/SMILEY/AMSDB.OBJECT_XML/MPEG7_SB#/mpeg7:Mpeg7/mpeg7:DescriptionMetadata[@id='65']"/>
<SemanticBaseRef href="oracle:bosch.informatik.rwth-aachen.de:1521/SMILEY/AMSDB.OBJECT_XML/MPEG7_SB#/mpeg7:Mpeg7/mpeg7:DescriptionMetadata[@id='148']"/>
If I tried with double ' (not '' ) it works with SQL through SQLPLUS but not with java. Indeed I have to store the data through my application
In java I get java.sql.SQLException: ORA-19102
Many thanks in advance,
EvanelaThanks for your answer. I downloaded the JDBC AddressBook application and I found it very usefull. I was able to populate a datalist from a datasource and show it in my application. My problem still remains in the sense that I am unable to show the KPI data in a "custom node" meaning I woul like not only to extract directly the database record to a datalist object but also put the information of a single record in a textbok and a gauge and keep control of paging. I think this is done with the parser in the other examples but I can not figure out how to do it with MySQL and the new Desktop screen designer. Should I use a clip object? or is that managed already by the desktop screen designer? or where can I find an example with the functionality I need?.
-
the file looks to be in the correct format and I have created similar data definitions--can anyone see something that I am missing?
any help is very appreciatedVia a XML Editor the following is signalled...
<element name="supply_qty_37
dataType="NUMBER"
value="supply_qty_37"/>
Required white space was missing.
You are missing the double quote after supply_qty_37
Correct it into
<element name="supply_qty_37"
dataType="NUMBER"
value="supply_qty_37"/>
...and your XML file is wellformed. -
XML Publisher template. Can't associate to a report
Hi,
I made a report with xml output. With it's output I define an rtf template and associate it to an XML Publisher template.
When I execute this report, I try to choose the template to format the output to excel (in Options button), but lov is empty.
This is not my first XML Publisher template an I never had this problem, but now I don't know what to do. Any idea?
These are the steps I follow:
1- Create a report and setup it on EBS with XML output
2- Launch the report in EBS and obtain and XML file
3- Create an RTF template with MS Word, XML Publisher plug-in and XML file
4- In EBS, XML Publisher Administrator, create a data definition and a template.
5- In System Administration/Requests I try to associate the template to the report in On Site Tab. The template's lov is empty
Thanks to allHi,
It is also mentioned in (Note: 276691.1 - XML Publisher and Concurrent Manager Integration). Anyway, the OP has already provided the solution without referring to any document which should be easy for those who may encounter the same issue.
Thanks,
Hussein -
How to load the XML data of SAP to a target database
i use an IDocs to read from SAP and converted into XML (ie .XSD ) and now i want to move that XML data to target data base.
i am trying to move XML data to template table, but i am getting this mapping error , even though i used NRDM and mapping while moving to template table.
ERROR MESSAGE :
Invalid mapping expression for column <Query_1.SNDPRN>. Additional information: <Cannot parse expression.
Table <Query.EDI_DC40> for column <SNDPRN> does not occur in the FROM clause. For a top-level query, all columns must belong to some table in the FROM clause.. (BODI-1112351)>. (BODI-1111081)Hi Srikanth,
Please find my understanding below.Correct me if my understanding is wrong.
1)You have moved the data from IDOC to XML file (i.e Creating an XSD and using it as target).
2)Now this XML file, will you your source and you are going to load it into the target table.
The error looks like BODS is unable to parse the Hierarchy structure to the flat structure.
How are you un-nesting your data (Are you using XML pipeline) .
Thanks
Arun. -
Trying to pass xml data to a web service
I'm working on an Apex application that is required to pass data to a web service for loading into another (non Oracle) system. The web service expects two stings as input, the first string is simply an ID, the second string is an xml document. I generate an xml 'string' using PL/SQL in an on-submit process prior to invoking the web service. If I pass regular text for the second parameter, the web service returns an error message which is stored in the response collection and displayed on the page as expected. When I pass the the xml data, I get a no data found error and the response collection is empty. I have tried this in our development environment on Apex 3.1.2 (database version 10.2). I also tried this on our Apex 4.0.2 sandbox (with the same Oracle 10.2 database). I have found that once I have nested xml, I get the no data found message, if I pass partial xml data, I get the error response from the web service. Perhaps I am not generating the xml correctly to pass to the web service (this only just occurred to me as I write this)? Or is there an issue passing xml data from Apex to the web service? Any help will be greatly appreciated! here is the code I use to generate the xml string:
declare
cursor build_data is
select u_catt_request_buid,u_catt_request_name,u_catt_cassette_buid,u_catt_cassette_name
,u_project_name,u_sub_project,replace(u_nominator,'ERROR ','') u_nominator
,replace(replace(u_going_to_vqc,'Yes','true'),'No','false') u_going_to_vqc
,u_promoter,u_cds,u_terminator
,u_primary_trait,u_source_mat_prvd,u_pro_resistance_1,u_vector_type
,nvl(u_my_priority,'Medium') u_my_priority
,replace(replace(u_immediate_trafo,'Yes','true'),'No','false') u_immediate_trafo
,replace(replace(u_new_bps_cmpnt,'Yes','true'),'No','false') u_new_bps_cmpnt
,u_compnt_name,u_new_cmpt_desc,initcap(u_target_crop) u_target_crop,u_corn_line
,u_plant_selection,u_num_of_ind_events,u_num_plants_per_event,u_molecular_quality_events
,replace(replace(u_field,'Yes','true'),'No','false') u_field
,u_t1_seed_request,u_potential_phenotype,u_submission_date
,u_sequence_length,u_trait,u_frst_parent,u_frst_parent_vshare_id,u_cds_vshare_id
,constructid,cassetteid,description
from temp_constructs_lims
order by constructid,description;
v_xml_info varchar2(350);
v_xml_header varchar2(1000);
v_xml_data clob;
v_xml_footer varchar2(50);
v_create_date varchar2(10);
v_scientist_name v_users.full_name%type;
v_scientist_email v_users.email_address%type;
v_primas_code construct.fkprimas%type;
v_nominator_name v_nominators.full_name%type;
v_file_length number;
begin
-- initialize variables
v_create_date := to_char(sysdate,'YYYY-MM-DD');
v_xml_data := null;
-- get name and email address
begin
select full_name,email_address
into v_scientist_name,v_scientist_email
from v_users
where ldap_account = :F140_USER_ID;
exception when no_data_found then
v_scientist_name := '';
v_scientist_email := '';
v_scientist_name := 'Test, Christine';
v_scientist_email := '[email protected]';
end;
-- set up xml file
if :OWNER like '%DEV%' then
v_xml_info := '
<?xml version="1.0" encoding="utf-8"?>
<exchange xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="deService"
xsi:schemaLocation="deService http://mycompany.com/webservices/apexdataexchange/schemas/RTPCATT.xsd">
else
v_xml_info := '
<?xml version="1.0" encoding="utf-8"?>
<exchange xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="deService"
xsi:schemaLocation="deService http://mycompanyprod.com/webservices/apexdataexchange/schemas/RTPCATT.xsd">
end if;
-- populate xml header records
v_xml_header := '<header xmlns="">
<stdXmlVer>2.0</stdXmlVer>
<sendingUnit>'||:P36_UNIT_NUMBER||'</sendingUnit>
<sendingPerson>'||v_scientist_name||'</sendingPerson>
<notification>'||v_scientist_email||'</notification>
<creationDate>'||v_create_date||'</creationDate>
</header>
<entities xmlns="">
for rec in build_data loop
begin
-- get primas code for current construct
select fkprimas
into v_primas_code
from construct
where constructid = rec.constructid;
exception when no_data_found then
v_primas_code := null;
end;
begin
-- get nominator name for current construct
select full_name
into v_nominator_name
from v_nominators
where nominator_id = rec.u_nominator;
exception
when no_data_found then
v_nominator_name := null;
when invalid_number then
v_nominator_name := catt_pkg.full_name_from_user_id(p_user_id => rec.u_nominator);
v_nominator_name := 'Test, Christine';
end;
v_xml_data := v_xml_data||'
<Construct>
<requestBUID>'||rec.u_catt_request_buid||'</requestBUID>
<requestName>'||rec.u_catt_request_name||'</requestName>
<cassetteBUID>'||rec.u_catt_cassette_buid||'</cassetteBUID>
<cassetteName>'||rec.u_catt_cassette_name||'</cassetteName>
<scientist>'||v_scientist_name||'</scientist>
<projectNumber>'||v_primas_code||'</projectNumber>
<subProject>'||rec.u_sub_project||'</subProject>
<comments>'||rec.description||'</comments>
<nominator>'||v_nominator_name||'</nominator>
<goingToVqc>'||rec.u_going_to_vqc||'</goingToVqc>
<primaryTrait>'||rec.u_primary_trait||'</primaryTrait>
<sourceMatPrvd>'||rec.u_source_mat_prvd||'</sourceMatPrvd>
<prokaryoticResistance>'||rec.u_pro_resistance_1||'</prokaryoticResistance>
<vectorType>'||rec.u_vector_type||'</vectorType>
<priority>'||rec.u_my_priority||'</priority>
<immediateTrafo>'||rec.u_immediate_trafo||'</immediateTrafo>
<newComponent>'||rec.u_new_bps_cmpnt||'</newComponent>
<componentName>'||rec.u_compnt_name||'</componentName>
<newComponentDescription>'||rec.u_new_cmpt_desc||'</newComponentDescription>
<targetCrop>'||rec.u_target_crop||'</targetCrop>
<Line>'||rec.u_corn_line||'</Line>
<plantSelection>'||rec.u_plant_selection||'</plantSelection>
<numOfIndEvents>'||rec.u_num_of_ind_events||'</numOfIndEvents>
<numOfPlantsPerEvent>'||rec.u_num_plants_per_event||'</numOfPlantsPerEvent>
<molecularQualityEvents>'||rec.u_molecular_quality_events||'</molecularQualityEvents>
<toField>'||rec.u_field||'</toField>
<potentialPhenotype>'||rec.u_potential_phenotype||'</potentialPhenotype>
</Construct>
end loop;
-- complete xml data
v_xml_footer := '
</entities>
</exchange>
-- complete submission data
:P36_XML_SUBMISSION := null;
:P36_XML_SUBMISSION := v_xml_info||v_xml_header||v_xml_data||v_xml_footer;
:P36_XML_SUBMISSION := trim(:P36_XML_SUBMISSION);
end;Here is an example of :P36_XML_SUBMISSION:
<?xml version="1.0" encoding="utf-8"?> <exchange xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="deService" xsi:schemaLocation="deService http://mycompany.com/webservices/apexdataexchange/schemas/RTPCATT.xsd"> <header xmlns=""> <stdXmlVer>2.0</stdXmlVer> <sendingUnit>10</sendingUnit> <sendingPerson>Test, Christine</sendingPerson> <notification>[email protected]</notification> <creationDate>2011-12-20</creationDate> </header> <entities xmlns=""> <Construct> <requestBUID>150000123</requestBUID> <requestName>AA0000123</requestName> <cassetteBUID>160000123</cassetteBUID> <cassetteName>AB000123</cassetteName> <scientist>Test, Christine</scientist> <projectNumber>T000123</projectNumber> <subProject>Discovery Plus</subProject> <comments>AA0000123 From CATT on 20-DEC-11 </comments> <nominator>Test, Christine</nominator> <goingToVqc>true</goingToVqc> <primaryTrait>promoter::intron::transit:gene::terminator</primaryTrait> <sourceMatPrvd>seed - stuff</sourceMatPrvd> <prokaryoticResistance></prokaryoticResistance> <vectorType>Plant Vector</vectorType> <priority>Medium</priority> <immediateTrafo>true</immediateTrafo> <newComponent></newComponent> <componentName>gene</componentName> <newComponentDescription>unknown function; sequence has some similarity to others</newComponentDescription> <targetCrop>Crop</targetCrop> <Line>Inbred</Line> <plantSelection>smidge ver2</plantSelection> <numOfIndEvents>6</numOfIndEvents> <numOfPlantsPerEvent>1</numOfPlantsPerEvent> <molecularQualityEvents>NA</molecularQualityEvents> <toField>true</toField> <potentialPhenotype></potentialPhenotype> </Construct> </entities> </exchange>My application page is accessed by an action from another page. The user reviews the data in a sql report region. When the use clicks on the Upload (SUBMIT) button, the xml string is generated first and then the web service is invoked. I have tried passing a simple string as the second parameter ("dummydata") and partial data in the xml string ("<sendingPerson>Test, Christine</sendingPerson>") the web service returns this error in both cases:
Error[Validate Data]: (XML) = Data at the root level is invalid. Line 1, position 1.. Cannot validate the XML! Data Exchange not accepted!Once I pass the entire xml string above, I get an Oracle-01403: no data found error. I have opened the web service in IE and pasted my xml input string and received a valid, verified result, so I am sure that the generated xml is correct. I have spoken with the web service developer; there are no log entries created by the web service when I submit the full xml string, so I suspect the failure is in the Apex application.
Thanks,
Christine
I should add that once I have nested tags in the xml, I get the Oracle no data found error ("<header xmlns=""> <stdXmlVer>2.0</stdXmlVer> <sendingUnit>10</sendingUnit> </header>"). I f I do not have nested tags in the xml ("<notification>[email protected]</notification> <creationDate>2011-12-20</creationDate>"), I get the web service response (error).
Edited by: ChristineD on Dec 20, 2011 9:54 AMOk, I think I'm getting closer to thinking this all the way through. When I have used clobs in the past, I've always used the DBMS_CLOB package. I use this to create a temp clob and then make the above calls. I had to go find an example in my own code to remember all of this. So, here is another suggestion... feel free to disregard all the previous code snippets..
declare
cursor build_data is
select u_catt_request_buid,u_catt_request_name,u_catt_cassette_buid,u_catt_cassette_name
,u_project_name,u_sub_project,replace(u_nominator,'ERROR ','') u_nominator
,replace(replace(u_going_to_vqc,'Yes','true'),'No','false') u_going_to_vqc
,u_promoter,u_cds,u_terminator
,u_primary_trait,u_source_mat_prvd,u_pro_resistance_1,u_vector_type
,nvl(u_my_priority,'Medium') u_my_priority
,replace(replace(u_immediate_trafo,'Yes','true'),'No','false') u_immediate_trafo
,replace(replace(u_new_bps_cmpnt,'Yes','true'),'No','false') u_new_bps_cmpnt
,u_compnt_name,u_new_cmpt_desc,initcap(u_target_crop) u_target_crop,u_corn_line
,u_plant_selection,u_num_of_ind_events,u_num_plants_per_event,u_molecular_quality_events
,replace(replace(u_field,'Yes','true'),'No','false') u_field
,u_t1_seed_request,u_potential_phenotype,u_submission_date
,u_sequence_length,u_trait,u_frst_parent,u_frst_parent_vshare_id,u_cds_vshare_id
,constructid,cassetteid,description
from temp_constructs_lims
order by constructid,description;
v_xml_info varchar2(350);
v_xml_header varchar2(1000);
v_xml_data clob;
v_xml_footer varchar2(50);
v_create_date varchar2(10);
v_scientist_name v_users.full_name%type;
v_scientist_email v_users.email_address%type;
v_primas_code construct.fkprimas%type;
v_nominator_name v_nominators.full_name%type;
v_file_length number;
v_xml_body varchar2(32767); --added by AustinJ
v_page_item varchar2(32767); --added by AustinJ
begin
-- initialize variables
v_create_date := to_char(sysdate,'YYYY-MM-DD');
--v_xml_data := null; --commented out by AustinJ
dbms_lob.createtemporary( v_xml_data, FALSE, dbms_lob.session ); --added by AustinJ
dbms_lob.open( v_xml_data, dbms_lob.lob_readwrite ); --added by AustinJ
-- get name and email address
begin
select full_name,email_address
into v_scientist_name,v_scientist_email
from v_users
where ldap_account = :F140_USER_ID;
exception when no_data_found then
v_scientist_name := '';
v_scientist_email := '';
v_scientist_name := 'Test, Christine';
v_scientist_email := '[email protected]';
end;
-- set up xml file
if :OWNER like '%DEV%' then
v_xml_info := '
<?xml version="1.0" encoding="utf-8"?>
<exchange xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="deService"
xsi:schemaLocation="deService http://mycompany.com/webservices/apexdataexchange/schemas/RTPCATT.xsd">
else
v_xml_info := '
<?xml version="1.0" encoding="utf-8"?>
<exchange xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="deService"
xsi:schemaLocation="deService http://mycompanyprod.com/webservices/apexdataexchange/schemas/RTPCATT.xsd">
end if;
-- populate xml header records
v_xml_header := '<header xmlns="">
<stdXmlVer>2.0</stdXmlVer>
<sendingUnit>'||:P36_UNIT_NUMBER||'</sendingUnit>
<sendingPerson>'||v_scientist_name||'</sendingPerson>
<notification>'||v_scientist_email||'</notification>
<creationDate>'||v_create_date||'</creationDate>
</header>
<entities xmlns="">
for rec in build_data loop
begin
-- get primas code for current construct
select fkprimas
into v_primas_code
from construct
where constructid = rec.constructid;
exception when no_data_found then
v_primas_code := null;
end;
begin
-- get nominator name for current construct
select full_name
into v_nominator_name
from v_nominators
where nominator_id = rec.u_nominator;
exception
when no_data_found then
v_nominator_name := null;
when invalid_number then
v_nominator_name := catt_pkg.full_name_from_user_id(p_user_id => rec.u_nominator);
v_nominator_name := 'Test, Christine';
end;
v_xml_body := '
<Construct>
<requestBUID>'||rec.u_catt_request_buid||'</requestBUID>
<requestName>'||rec.u_catt_request_name||'</requestName>
<cassetteBUID>'||rec.u_catt_cassette_buid||'</cassetteBUID>
<cassetteName>'||rec.u_catt_cassette_name||'</cassetteName>
<scientist>'||v_scientist_name||'</scientist>
<projectNumber>'||v_primas_code||'</projectNumber>
<subProject>'||rec.u_sub_project||'</subProject>
<comments>'||rec.description||'</comments>
<nominator>'||v_nominator_name||'</nominator>
<goingToVqc>'||rec.u_going_to_vqc||'</goingToVqc>
<primaryTrait>'||rec.u_primary_trait||'</primaryTrait>
<sourceMatPrvd>'||rec.u_source_mat_prvd||'</sourceMatPrvd>
<prokaryoticResistance>'||rec.u_pro_resistance_1||'</prokaryoticResistance>
<vectorType>'||rec.u_vector_type||'</vectorType>
<priority>'||rec.u_my_priority||'</priority>
<immediateTrafo>'||rec.u_immediate_trafo||'</immediateTrafo>
<newComponent>'||rec.u_new_bps_cmpnt||'</newComponent>
<componentName>'||rec.u_compnt_name||'</componentName>
<newComponentDescription>'||rec.u_new_cmpt_desc||'</newComponentDescription>
<targetCrop>'||rec.u_target_crop||'</targetCrop>
<Line>'||rec.u_corn_line||'</Line>
<plantSelection>'||rec.u_plant_selection||'</plantSelection>
<numOfIndEvents>'||rec.u_num_of_ind_events||'</numOfIndEvents>
<numOfPlantsPerEvent>'||rec.u_num_plants_per_event||'</numOfPlantsPerEvent>
<molecularQualityEvents>'||rec.u_molecular_quality_events||'</molecularQualityEvents>
<toField>'||rec.u_field||'</toField>
<potentialPhenotype>'||rec.u_potential_phenotype||'</potentialPhenotype>
</Construct>
'; --modified by AustinJ
dbms_lob.writeappend( v_xml_data, length(v_xml_body), v_xml_body); --added by AustinJ
end loop;
-- complete xml data
v_xml_footer := '
</entities>
</exchange>
-- complete submission data
v_page_item := null;
v_page_item := v_xml_info||v_xml_header||wwv_flow.do_substitutions(wwv_flow_utilities.clob_to_varchar2(v_xml_data))||v_xml_footer; --added by AustinJ
:P36_XML_SUBMISSION := trim(v_page_item); --added by AustinJ
dbms_lob.close( v_xml_data); --added by AustinJ
if v_xml_data is not null then
dbms_lob.freetemporary(v_xml_data); --added by AustinJ
end if; --added by AustinJ
end;This code will use the Database to construct your clob and then convert it back to a varchar2 for output to your webservice. This makes more sense to me now and hopefully you can follow what the process is doing.
You don't technically need the two varchar2(36767) variables. I used two for naming convention clarity sake. You could use just one multipurpose variable instead.
If you have any questions, just ask. I'll help if I can.
Austin
Edited by: AustinJ on Dec 20, 2011 12:17 PM
Fixed spelling mistakes. -
FSG schema and load xml data fails
I want to start using xml publisher to make the FSG reports look better. Whilst Oracle provides a basic template, it doesn't allow very much control over the data.
How do I create a xml data file and schema so that I can create a new rtf template.
I tried loading the xml output of the FSG request but Word complained that "Invalid at top level of document Source authentication failed"Just found Note:297280.1 on Metalink where there is a template that can be downloaded that has all the FSG columns seperate allowing
Reorder how the columns are displayed.
· Add additional columns to display in your published report.
· Add background colors to the individual column headers or data regions.
· Change the font characteristics of each individual column. -
Create Report with CR4E and XML Data Source
Hi all,
I have a problem when create a report with CR4E that should use a XML data source. It is not possible to choose fields from the field explorer, because ther are no fields from the XML-file. Is there a general problem when using an ODA data source in CR4E? At the moment I can only create reports with a database as data source.
Please help me with a tip.
Thanks
ArnoldHi,
After Installing CR4E Version 2 the code snippet for creating a XML-report not works as JSP. Has anywhere a hint to resolve the problem or a complete JSP-file?
reportClientDocument = new ReportClientDocument();
java.lang.NoClassDefFoundError: com/crystaldecisions/reports/common/data/CrystalResultSet
com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.<init>(Unknown Source)
org.apache.jsp.XMLDataSource_jsp._jspService(XMLDataSource_jsp.java:64)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
Thanks
Arnold Meier -
How to Store an XML Data into Table?
Hi All,
My Requirement is "I Have an XML File (or) XML Data as CLOB, now I should decode this XML Data and find the equivalent data for columns in a table and then store that in a relational table",
Would be greatful if any one can provide me a feasible solution (or) good link where I can get this information with examples.
Thanks in advance,
Sunil NOr,
satyaki>
satyaki>select * from v$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for Linux: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production
Elapsed: 00:00:00.03
satyaki>
satyaki>
satyaki>drop table dump_tab;
Table dropped.
Elapsed: 00:00:01.08
satyaki>
satyaki>create table dump_tab
2 (
3 raw_xml clob
4 );
Table created.
Elapsed: 00:00:00.00
satyaki>
satyaki>
satyaki>desc dump_tab;
Name Null? Type
RAW_XML CLOB
satyaki>
satyaki>
satyaki>insert into dump_tab
2 select yy.rxml
3 from (
4 select (' <data>
5 <var name="document">
6 <string>Sales Order</string>
7 </var>
8 <var name="results">
9 <recordset rowcount="2">
10 <field name="sales_num">
11 <string>12345</string>
12 <string>60192</string>
13 </field>
14 <field name="ord_qty">
15 <string>10</string>
16 <string>50</string>
17 </field>
18 </recordset>
19 </var>
20 </data>'
21 ) rxml from dual
22 ) yy;
1 row created.
Elapsed: 00:00:00.00
satyaki>
satyaki>commit;
Commit complete.
Elapsed: 00:00:00.00
satyaki>
satyaki>create table results
2 (
3 serial_no number(5),
4 sales_num number(7),
5 ord_qty number(10)
6 );
Table created.
Elapsed: 00:00:00.00
satyaki>
satyaki>desc results;
Name Null? Type
SERIAL_NO NUMBER(5)
SALES_NUM NUMBER(7)
ORD_QTY NUMBER(10)
satyaki>
satyaki>select * from dump_tab;
RAW_XML
<data>
<var name="document">
<string>Sales Order</string>
</var>
<var name="results">
<recordset rowcount="2">
<field name="sales_num">
<string>12345</string>
<string>60192</string>
</field>
<field name="ord_qty">
RAW_XML
<string>10</string>
<string>50</string>
</field>
</recordset>
</var>
</data>
Elapsed: 00:00:00.01
satyaki>
satyaki>
satyaki>ed
Wrote file afiedt.buf
1 insert into results(serial_no,sales_num,ord_qty)
2 with t
3 as (
4 select xmltype(raw_xml) xml from dump_tab
5 ),
6 t1 as (select rownum rn, t1.column_value.extract('*/text()') sales_num from t t, table(xmlsequence(t.xml.extract('//field[@name="sales_num"]/string'))) t1),
7 t2 as (select rownum rn, t2.column_value.extract('*/text()') ord_qty from t t, table(xmlsequence(t.xml.extract('//field[@name="ord_qty"]/string'))) t2)
8 select t1.rn x,
9 to_number(regexp_replace(xmlelement("e",sales_num).getstringval(),'<(|/)e>','')) sales_num
10 to_number(regexp_replace(xmlelement("d",ord_qty).getstringval(),'<(|/)d>','')) ord_qty
11 from t1,t2
12* where t1.rn = t2.rn
satyaki>/
2 rows created.
Elapsed: 00:00:00.00
satyaki>
satyaki>select * from results;
SERIAL_NO SALES_NUM ORD_QTY
1 12345 10
2 60192 50
Elapsed: 00:00:00.00
satyaki>Regards.
Satyaki De. -
Hi,
I'm working on one BI report for which XML data has been provided.This report needs to get AP check details (XML Data) and print them on checks
Based on xml data I'm trying to create RTF layout from BI desktop MS word add in
I'm loading xml data using insert field option pulling all required fields into RTF layout.
Here I faced Few issues,
1) in xml data I've more than one column with the same name for ex :
<Name> 23 </Name>
<Value>35</Value>
again I'm having another column with the same name.Though I'm pulling required column it's showing different value
2) Another issue is I'm pulling values under particular node it's not displaying right value
3)How to create group or repeating groups based on XML data for ex: checks needed to be printed based on supplier no or check no how to set group by for this ?
4) Right now my layout displays only one record eventhough more than one record is there in xml data?.
Thanks,
KiranHere's sample XML Data
Based on this data I need to develop RTF Template :
- <OutboundPaymentInstruction>
- <PaymentInstructionInfo>
<InstructionReferenceNumber>11111</InstructionReferenceNumber>
<FormatProgramRequestID>23456789</FormatProgramRequestID>
<InstructionCreationDate>2012-04-23T13:41:07</InstructionCreationDate>
- <MultiOrgAccessControl>
<HasBlockedData>N</HasBlockedData>
</MultiOrgAccessControl>
- <InstructionStatus>
<Code>CREATED_READY_FOR_FORMATTING</Code>
<Meaning>Created - Ready for Formatting</Meaning>
</InstructionStatus>
<ProcessingType>PRINTED</ProcessingType>
<ProcessType>STANDARD</ProcessType>
<UserAssignedRefCode>APR23</UserAssignedRefCode>
<BankAssignedRefCode />
- <PaymentSequence>
<SequenceName />
<LastValue />
</PaymentSequence>
- <PaymentSequence>
<SequenceName />
<LastValue />
</PaymentSequence>
- <PaymentSequence>
<SequenceName />
<LastValue />
</PaymentSequence>
- <BankInstruction>
<BankInstructionCode />
<Meaning />
<FormatValue />
</BankInstruction>
- <BankInstruction>
<BankInstructionCode />
<Meaning />
<FormatValue />
</BankInstruction>
<BankInstructionDetails />
<PaymentTextMessage />
<PaymentTextMessage />
<RegulatoryReportingOption>NO_DECLARATIONS</RegulatoryReportingOption>
<CardIssuerFileSequenceNo />
- <PaymentSystemAccount>
<AccountName />
</PaymentSystemAccount>
<Notes />
</PaymentInstructionInfo>
- <PaymentProcessProfile>
<PaymentProcessProfileInternalID>112</PaymentProcessProfileInternalID>
<PaymentProcessProfileName>ABC Check Payment</PaymentProcessProfileName>
<LogicalGroupingMode />
<BatchBookingFlag />
</PaymentProcessProfile>
- <PaymentFormat>
<PaymentFormatInternalID>IBY_PAY_EFT</PaymentFormatInternalID>
<PaymentFormatName>1/2 Inch Tape Format</PaymentFormatName>
</PaymentFormat>
- <CheckFormatInfo>
<PaymentDocumentName>001_Check</PaymentDocumentName>
- <PaperStockType>
<Code>PRENUMBERED</Code>
<Meaning>Prenumbered Stock</Meaning>
</PaperStockType>
</CheckFormatInfo>
- <InstructionTotals>
<PaymentCount>1</PaymentCount>
- <TotalPaymentAmount>
<Value>35</Value>
- <Currency>
<Code>USD</Code>
</Currency>
</TotalPaymentAmount>
</InstructionTotals>
- <InstructionGrouping>
- <PaymentCurrency>
<Code>USD</Code>
<Name>US Dollar</Name>
</PaymentCurrency>
- <Payer>
<PartyInternalID>2234567</PartyInternalID>
<PartyNumber>12345344</PartyNumber>
<Name>Abc Inc US OU/LE</Name>
- <PartyType>
<Code />
<Meaning />
</PartyType>
<TaxRegistrationNumber />
<LegalEntityRegistrationNumber>S11234</LegalEntityRegistrationNumber>
<LegalEntityInternalID>114</LegalEntityInternalID>
<LegalEntityName>Abc Inc US OU/LE</LegalEntityName>
- <Address>
<AddressInternalID>2341567</AddressInternalID>
<AddressLine1>123 Meadow Rd</AddressLine1>
<AddressLine2>P.O. Box 10000</AddressLine2>
<AddressLine3 />
<City>Fairfax</City>
<County>Fairfax</County>
<State>VA</State>
<Country>US</Country>
<ISO3DigitCountry>USA</ISO3DigitCountry>
<CountryName>United States</CountryName>
<PostalCode>20001-1111</PostalCode>
<PreFormattedConcatenatedAddress>123 Meadow Rd, P.O. Box 10000, Fairfax, VA 20001-1111</PreFormattedConcatenatedAddress>
<PreFormattedMailingAddress>123 Meadow Rd, P.O. Box 10000, Fairfax, VA 20001-1111</PreFormattedMailingAddress>
<AddressName>NA-US-VA-Fairfax 123MDR</AddressName>
</Address>
- <ContaVAInfo>
- <ContaVALocators>
<PhoneNumber />
<FaxNumber />
<EmailAddress />
<Website />
</ContaVALocators>
</ContaVAInfo>
</Payer>
- <PayerOrganization>
<OrganizationInternalID>114</OrganizationInternalID>
- <OrganizationType>
<Code>OPERATING_UNIT</Code>
<Meaning>Operating Unit</Meaning>
</OrganizationType>
<OrganizationName>Abc Inc US OU/LE</OrganizationName>
</PayerOrganization>
- <BankAccount>
<BankAccountInternalID>10067</BankAccountInternalID>
<BankName>HSBC</BankName>
<AlternateBankName />
<BankNumber />
<BranchInternalID>69937446</BranchInternalID>
<BranchName>HSBC - 001</BranchName>
<AlternateBranchName />
<BranchNumber />
<BankAccountName>001 - CHAP - HSBC</BankAccountName>
<AlternateBankAccountName />
<BankAccountNumber>1178657</BankAccountNumber>
<MaskedBankAccountNumber>XXXXXX8657</MaskedBankAccountNumber>
<UserEnteredBankAccountNumber>1178657</UserEnteredBankAccountNumber>
<BankAccountSuffix />
<SwiftCode />
<IBANNumber />
<CheckDigits />
- <BankAccountType>
<Code />
<Meaning />
</BankAccountType>
- <BankAccountCurrency>
<Code>USD</Code>
</BankAccountCurrency>
- <BankAddress>
<AddressInternalID />
<AddressLine1 />
<AddressLine2 />
<AddressLine3 />
<AddressLine4 />
<City />
<County />
<State />
<Province />
<Country>US</Country>
<ISO3DigitCountry>USA</ISO3DigitCountry>
<CountryName>United States</CountryName>
<PostalCode />
<PreFormattedConcatenatedAddress />
<PreFormattedMailingAddress />
</BankAddress>
- <FederalBankAccountInfo>
<FederalRFCIdentifier />
<FederalAgencyLocationCode />
<FederalAbbreviatedAgencyCode />
<FederalEmployerIdentificationNumber />
</FederalBankAccountInfo>
- <EFTUserNumber>
<AccountLevelEFTNumber />
<BranchLevelEFTNumber />
</EFTUserNumber>
</BankAccount>
- <FunVAionalCategory>
<Code>PAYABLES_DISB</Code>
<Meaning>Payables Disbursements</Meaning>
</FunVAionalCategory>
</InstructionGrouping>
- <OutboundPayment>
- <PaymentSourceInfo>
<ApplicationInternalID>200</ApplicationInternalID>
<ApplicationName>SQLAP</ApplicationName>
<PaymentServiceRequestID>24</PaymentServiceRequestID>
- <FunVAionalCategory>
<Code>PAYABLES_DISB</Code>
<Meaning>Payables Disbursements</Meaning>
</FunVAionalCategory>
- <PayerOrganization>
<OrganizationInternalID>114</OrganizationInternalID>
- <OrganizationType>
<Code>OPERATING_UNIT</Code>
<Meaning>Operating Unit</Meaning>
</OrganizationType>
<OrganizationName>Abc Inc US OU/LE</OrganizationName>
</PayerOrganization>
<EmployeePaymentFlag>N</EmployeePaymentFlag>
</PaymentSourceInfo>
- <PaymentNumber>
<DocCategory />
<SequenceName />
<SequenceValue />
<PaymentReferenceNumber>6</PaymentReferenceNumber>
<LogicalGroupReference />
<CheckNumber>1112223334</CheckNumber>
</PaymentNumber>
<PaymentDate>2011-12-31</PaymentDate>
<PaymentDueDate />
<MaturityDate />
- <PaymentStatus>
<Code>Instruction_CREATED</Code>
<Meaning>Instruction Created</Meaning>
</PaymentStatus>
- <Payee>
<PartyInternalID>69929643</PartyInternalID>
<PartyNumber>9755071</PartyNumber>
<Name>MUNICIPAL REVENUE DIV</Name>
<TaxRegistrationNumber />
<LegalEntityRegistrationNumber />
<AlternateName>5924</AlternateName>
<SupplierNumber>3244</SupplierNumber>
- <Address>
<AddressInternalID>14791</AddressInternalID>
<AddressLine1>PO BOX 1155</AddressLine1>
<AddressLine2 />
<AddressLine3 />
<AddressLine4 />
<City>EDISON</City>
<County />
<State>NJ</State>
<Country>US</Country>
<ISO3DigitCountry>USA</ISO3DigitCountry>
<CountryName>United States</CountryName>
<PostalCode>08818-1122</PostalCode>
<AddressName>REP-1122</AddressName>
<Addressee />
<AlternateAddressName />
<PreFormattedConcatenatedAddress>PO BOX 1155, , , EDISON, NJ, US, 08818-1122</PreFormattedConcatenatedAddress>
<PreFormattedMailingAddress>PO BOX 1155, , , EDISON, NJ, US, 08818-1122</PreFormattedMailingAddress>
</Address>
- <ContaVAInfo>
- <ContaVALocators>
<PhoneNumber />
<FaxNumber />
<EmailAddress />
<Website />
</ContaVALocators>
</ContaVAInfo>
<SupplierSiteCode>WIRE 2</SupplierSiteCode>
</Payee>
- <TradingPartner>
<PartyInternalID>69929643</PartyInternalID>
<PartyNumber>9755071</PartyNumber>
<Name>MUNICIPAL REVENUE DIV</Name>
<TaxRegistrationNumber />
<LegalEntityRegistrationNumber />
<AlternateName>5924</AlternateName>
<SupplierNumber>3244</SupplierNumber>
- <ContaVAInfo>
- <ContaVALocators>
<PhoneNumber />
<FaxNumber />
<EmailAddress />
<Website />
</ContaVALocators>
</ContaVAInfo>
<AdditionalInformation />
</TradingPartner>
<PayeeBankAccount />
- <Payer>
<PartyInternalID>2234567</PartyInternalID>
<PartyNumber>12345344</PartyNumber>
<Name>Abc Inc US OU/LE</Name>
- <PartyType>
<Code />
<Meaning />
</PartyType>
<TaxRegistrationNumber />
<LegalEntityRegistrationNumber>S11234</LegalEntityRegistrationNumber>
<LegalEntityInternalID>114</LegalEntityInternalID>
<LegalEntityName>Abc Inc US OU/LE</LegalEntityName>
- <Address>
<AddressInternalID>2341567</AddressInternalID>
<AddressLine1>123 Meadow Rd</AddressLine1>
<AddressLine2>P.O. Box 10000</AddressLine2>
<AddressLine3 />
<City>Fairfax</City>
<County>Fairfax</County>
<State>VA</State>
<Country>US</Country>
<ISO3DigitCountry>USA</ISO3DigitCountry>
<CountryName>United States</CountryName>
<PostalCode>20001-1111</PostalCode>
<PreFormattedConcatenatedAddress>123 Meadow Rd, P.O. Box 10000, Fairfax, VA 20001-1111</PreFormattedConcatenatedAddress>
<PreFormattedMailingAddress>123 Meadow Rd, P.O. Box 10000, Fairfax, VA 20001-1111</PreFormattedMailingAddress>
<AddressName>NA-US-VA-Fairfax 123MDR</AddressName>
</Address>
- <ContaVAInfo>
- <ContaVALocators>
<PhoneNumber />
<FaxNumber />
<EmailAddress />
<Website />
</ContaVALocators>
</ContaVAInfo>
</Payer>
- <BankAccount>
<BankAccountInternalID>10067</BankAccountInternalID>
<BankName>HSBC</BankName>
<AlternateBankName />
<BankNumber />
<BranchInternalID>69937446</BranchInternalID>
<BranchName>HSBC - 001</BranchName>
<AlternateBranchName />
<BranchNumber />
<BankAccountName>001 - CHAP - HSBC</BankAccountName>
<AlternateBankAccountName />
<BankAccountNumber>1178657</BankAccountNumber>
<MaskedBankAccountNumber>XXXXXX2228</MaskedBankAccountNumber>
<UserEnteredBankAccountNumber>1178657</UserEnteredBankAccountNumber>
<BankAccountSuffix />
<SwiftCode />
<IBANNumber />
<CheckDigits />
- <BankAccountType>
<Code />
<Meaning />
</BankAccountType>
- <BankAccountCurrency>
<Code>USD</Code>
</BankAccountCurrency>
- <BankAddress>
<AddressInternalID />
<AddressLine1 />
<AddressLine2 />
<AddressLine3 />
<AddressLine4 />
<City />
<County />
<State />
<Province />
<Country>US</Country>
<ISO3DigitCountry>USA</ISO3DigitCountry>
<CountryName>United States</CountryName>
<PostalCode />
<PreFormattedConcatenatedAddress />
<PreFormattedMailingAddress />
</BankAddress>
- <FederalBankAccountInfo>
<FederalRFCIdentifier />
<FederalAgencyLocationCode />
<FederalAbbreviatedAgencyCode />
<FederalEmployerIdentificationNumber />
</FederalBankAccountInfo>
- <EFTUserNumber>
<AccountLevelEFTNumber />
<BranchLevelEFTNumber />
</EFTUserNumber>
</BankAccount>
- <Beneficiary>
<Name>MUNICIPAL REVENUE DIV</Name>
</Beneficiary>
- <PaymentAmount>
<Value>35</Value>
- <Currency>
<Code>USD</Code>
<Name>US Dollar</Name>
</Currency>
</PaymentAmount>
<PaymentAmountText>Thirty-Five Dollars And Zero Cents***********************</PaymentAmountText>
- <PaymentMethod>
<PaymentMethodInternalID>CHECK</PaymentMethodInternalID>
<PaymentMethodName>Check</PaymentMethodName>
<PaymentMethodFormatValue>CHECK</PaymentMethodFormatValue>
</PaymentMethod>
<PayAlongFlag>N</PayAlongFlag>
- <SettlementPriority>
<Code />
<Meaning />
</SettlementPriority>
- <AmountWithheld>
<Value />
- <Currency>
<Code>USD</Code>
</Currency>
</AmountWithheld>
- <DiscountTaken>
- <Amount>
<Value>0</Value>
- <Currency>
<Code>USD</Code>
</Currency>
</Amount>
</DiscountTaken>
- <BankCharges>
- <BankChargeBearer>
<Code />
<Meaning />
</BankChargeBearer>
- <Amount>
<Value>0</Value>
- <Currency>
<Code>USD</Code>
</Currency>
</Amount>
</BankCharges>
- <DeliveryChannel>
<Code />
<Meaning />
<FormatValue />
</DeliveryChannel>
- <PaymentReason>
<Code />
<Meaning />
<FormatValue />
</PaymentReason>
<PaymentReasonComments />
<RemittanceMessage />
<RemittanceMessage />
<RemittanceMessage />
- <BankInstruction>
<BankInstructionCode />
<Meaning />
<FormatValue />
</BankInstruction>
- <BankInstruction>
<BankInstructionCode />
<Meaning />
<FormatValue />
</BankInstruction>
<BankInstructionDetails />
<PaymentTextMessage />
<PaymentTextMessage />
<PaymentTextMessage />
<PaymentDetails />
- <RegulatoryReporting>
<DeclarationFlag>N</DeclarationFlag>
- <Amount>
<Value>0</Value>
- <Currency>
<Code />
</Currency>
</Amount>
</RegulatoryReporting>
- <FederalPaymentInfo>
<FederalAllotmentCode />
<FederalOffsetEligibilityFlag />
<FederalAccountingSymbol />
</FederalPaymentInfo>
<DocumentPayableCount>1</DocumentPayableCount>
- <DocumentPayable>
- <DocumentNumber>
<DocumentInternalIDSegment1>79860</DocumentInternalIDSegment1>
<DocumentInternalIDSegment2>922522</DocumentInternalIDSegment2>
<DocumentInternalIDSegment3>1</DocumentInternalIDSegment3>
<DocumentInternalIDSegment4 />
<DocumentInternalIDSegment5 />
<ApplicationInternalID>200</ApplicationInternalID>
<ApplicationDocumentSubType>PAYABLES_DOC</ApplicationDocumentSubType>
<ApplicationUniqueInternalID>79860</ApplicationUniqueInternalID>
<ReferenceNumber>35.00120211</ReferenceNumber>
- <UniqueRemittanceIdentifier>
<Number />
<CheckDigit />
</UniqueRemittanceIdentifier>
<DocCategory>STD INV</DocCategory>
<SequenceName>AP_US_STD_2011</SequenceName>
<SequenceValue>2011072795</SequenceValue>
</DocumentNumber>
<PONumber>UNMATCHED</PONumber>
- <DocumentStatus>
<Code>PAYMENT_CREATED</Code>
<Meaning>Payment Created</Meaning>
</DocumentStatus>
<DocumentDate>2011-12-02</DocumentDate>
<DocumentCreationDate>2012-04-23</DocumentCreationDate>
<PaymentDueDate>2011-12-02</PaymentDueDate>
- <DocumentType>
<Code>STANDARD</Code>
<Meaning>Standard</Meaning>
</DocumentType>
<DocumentDescription>RESEARCH BOARD FORM 8802</DocumentDescription>
<ExpenseReportCreditCardNumber />
<EmployeePaymentFlag>N</EmployeePaymentFlag>
- <TotalDocumentAmount>
<Value>35</Value>
- <Currency>
<Code>USD</Code>
</Currency>
</TotalDocumentAmount>
- <PaymentAmount>
<Value>35</Value>
- <Currency>
<Code>USD</Code>
</Currency>
</PaymentAmount>
<PayAloneFlag>N</PayAloneFlag>
- <SettlementPriority>
<Code />
<Meaning />
</SettlementPriority>
- <AmountWithheld>
<Value />
- <Currency>
<Code>USD</Code>
</Currency>
</AmountWithheld>
- <DiscountTaken>
- <Amount>
<Value>0</Value>
- <Currency>
<Code>USD</Code>
</Currency>
</Amount>
<DiscountDate />
</DiscountTaken>
- <BankCharges>
- <BankChargeBearer>
<Code />
<Meaning />
</BankChargeBearer>
</BankCharges>
- <DeliveryChannel>
<Code />
<Meaning />
<FormatValue />
</DeliveryChannel>
- <PaymentReason>
<Code />
<Meaning />
<FormatValue />
</PaymentReason>
<PaymentReasonComments />
<RemittanceMessage />
<RemittanceMessage />
<RemittanceMessage />
- <Charge>
- <TotalDocumentChargeAmount>
<Value />
- <Currency>
<Code>USD</Code>
</Currency>
</TotalDocumentChargeAmount>
</Charge>
- <TotalDocumentTaxAmount>
<Value />
- <Currency>
<Code>USD</Code>
</Currency>
</TotalDocumentTaxAmount>
- <CreditAmountApplied>
<Value />
- <Currency>
<Code>USD</Code>
</Currency>
</CreditAmountApplied>
- <InterestAmountApplied>
<Value />
- <Currency>
<Code>USD</Code>
</Currency>
</InterestAmountApplied>
<InterestRate />
- <DocumentPayableLine>
<LineNumber>1</LineNumber>
<PONumber />
- <LineType>
<Code>ITEM</Code>
<Meaning />
</LineType>
<LineDescription />
- <LineGrossAmount>
<Value>35</Value>
- <Currency>
<Code>USD</Code>
</Currency>
</LineGrossAmount>
<UnitPrice />
<Quantity />
- <UnitOfMeasure>
<Code>N</Code>
<Meaning />
</UnitOfMeasure>
- <Tax>
<TaxCode />
<TaxRate />
</Tax>
</DocumentPayableLine>
<DocumentPayerLegalEntityName>Abc Inc US OU/LE</DocumentPayerLegalEntityName>
<DocumentPayerLegalEntityRegNumber>S11234</DocumentPayerLegalEntityRegNumber>
<DocumentPayerTaxRegNumber />
</DocumentPayable>
</OutboundPayment>
</OutboundPaymentInstruction> -
Xml data from database using jdbc
I should get the xml data from database. Is this scenario possible using jdbc adapter ? If possible, how can I get it ?. Plz help me
I suppose that probably, xml data are stored in a BlobImage Field.
You can use a Stored Procedure on Database Side, to select and put out the xml data structured in output fields or structures.
From JDBC Sender channel, you can call the SP, that raise out a Structure formatted like the XML Data stored in Xml Database field.
In your opinion, this should be a possible way to achieve this issue? -
Xml publisher enterprise!!! create rtf file dynamically with load xml data
i am new to xml publisher enterprise , i want a solution for this question ...
i want create rtf file dynamically with loading xml data....means i wrote a program in jsp where the the output in xml file simultaneously create rtf file..but i enable load the xml data in rtf file but when i goto rtf file from where data in that load xml then it genrate the columns..but i want in dynamiclly to load the data will you please guide me ......Hi Atiq
Im not quite clear on the requirement here:
1. Do you just want to be able to extract the data and apply a template to the XML data from your jdp and render output?
If so then you can use the XMLP APIs ... the are in the user guide. Particularly:
RTFProcessor - converts RTF template to XSLFO stylesheet
FOProcessor - takes, XML data, XSLFO stylesheet and output format and generates the required output.
2. Do you want a template that will accept any data and just format it into rows and columns ? This can be written but your XML structure is going to have to be static, the data of course can be dynamic.
Regards, Tim
Maybe you are looking for
-
Hi there, I'm wondering if anyone else is experiencing issues like this. I'm basically finding that a bunch of different buttons, fields, and tabs do not respond to my clicks. This seems to be spread out throughout the application. I've had to work a
-
Save as PDF generates SPLWOW64.EXE error
Just moved to new Windows 7 box Using Frame v 8.0p236 Have book, used Save as PDF option, click "Set". Get a popup box with big red "X" says: c:\windows\SPLWOW64.EXE Ideas? TIA, Theresa
-
Problem in SQL with CURSOR( ) ,Why the CURSOR did not work?
hi All: I have a problem in SQL with CURSOR. The data is as the attachments. Here is the SQL statement as follow: SELECT A.WADCTO,A.WADOCO,B.IGCOST,CURSOR (SELECT X.IGLITM FROM F3102 X WHERE X.IGDOCO=A.WADOCO AND X.IGCOST IN ('B1','D1','C3')) AS DETA
-
Problems with tv not showing up with 5900xt
Alright i have a msi 5900xt and up until recently, i could use the video out to watch dvd's on my tv. I only use the reference drivers from nvidia and have tried the 53.03, 56.62, and the 56.72. It used to work perfectly with the 53.03's and now i
-
New line at end of CL_SALV_HIERSEQ_TABLE?
Hi all, I would like to create a own line at the end of alv CL_SALV_HIERSEQ_TABLE. Instead of totals i would like show the difference of a value in the header line and a sum in position line. Is there any possiblity to solve this? Regards, Jana