XML response / Velocity template
Hi everyone,
I have a servlet which uses velocity engine to generate a soap request ,send it to a server and receive an xml response. How do I go about extracting the elements from the response and displaying them in a more readable format in a browser?
Any help appreciated,
Ruth
you receive an XML reponse, so use an XML parser to prse and extarct the data you need.
use sax for example to do this.
here some examples:
http://www.onjava.com/pub/a/onjava/2002/06/26/xml.html
http://www.cafeconleche.org/books/xmljava/
http://totheriver.com/learn/xml/xmltutorial.html
hth
Similar Messages
-
XML response / Velocity templates
Hi everyone,
I have a servlet which uses velocity engine to generate a soap request ,send it to a server and receive an xml response. How do I go about extracting the elements from the response and displaying them in a more readable format in a browser?
Any help appreciated,
Ruthyou receive an XML reponse, so use an XML parser to prse and extarct the data you need.
use sax for example to do this.
here some examples:
http://www.onjava.com/pub/a/onjava/2002/06/26/xml.html
http://www.cafeconleche.org/books/xmljava/
http://totheriver.com/learn/xml/xmltutorial.html
hth -
Velocity Template that contains XML
I have found an annoying issue with .vm velocity template files that contain XML within JDeveloper 10.1.3.0.4 (SU3). The .vm file is being picked up as an XML file and XML validation is failing due to the velocity commands. This is stopping me building the application. The issue is due to the first line containing <?xml version="1.0" encoding="UTF-8"?>.
I have a work around with the following as the first lines of .vm file.
#set($foo = '<?xml version="1.0" encoding="UTF-8"?>')
$foo
Is there a way to associate .vm files with a velocity syntax checker such as the VelocityWebEdit plug in for eclipse? (https://sourceforge.net/project/showfiles.php?group_id=126011)Preloaders tend to sit in the first few frames of a timeline,
If you are using any of the XML component objects then they
have to be also registered in the first frame so that their
respective bindings can be set before use. -
Hi everyone, I'd be grateful if someone could help me out here. I use apache velocity to generate an xml request to send to a gateway which processes the request and sends an xml response. At the moment, the response (xmlString) is outputted to the browser as a string (see code below).
I want to separate out the elements in the response and display them in a more readable format on the browser eg.
Name = "xyz"
Address = "xyz"
Here is a snippet of what I have. What is the quickest way to extract the individual elements from the xml response and display them?
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
try {
DiskFileItemFactory factory = new DiskFileItemFactory();
factory.setSizeThreshold(4096);
factory.setRepository(new File( FOLDERUPLOAD ));
PrintWriter writer = response.getWriter();
ServletFileUpload upload = new ServletFileUpload(factory);
upload.setSizeMax(60000000);
String xmlResult = executeCheck( upload, request);
manageResponse( writer, xmlResult);
} catch (FileUploadException e) {
e.printStackTrace();
private void manageResponse(PrintWriter writer, String xmlResult) {
writer.println(xmlResult);
writer.flush();
private String executeCheck( ServletFileUpload upload, HttpServletRequest request ) throws FileUploadException, IOException {
List items = upload.parseRequest(request);
Iterator iter = items.iterator();
while( iter.hasNext() ) {
System.out.println(items.toString());
FileItem item = (FileItem)iter.next();
if ( !item.isFormField() && item.getFieldName().equalsIgnoreCase("upload") ) {
InputStream in = item.getInputStream();
VasGatewayClient wsC = new VasGatewayClient( in, _URL );
return wsC.send();
return null;
}Could you please stop crossposting?
Other thread here
http://forum.java.sun.com/thread.jspa?threadID=5198243 -
Velocity Templates - output an XML File
Greetings,
I'm a bit stuck on finding a way to have a Servlet using Velocity Templates, output an XML file. I know how to set the mime type and all that jazz in the Velocity Template. My problem is that all templates seem to be wrapped with the .htm extension.
Program flow is basically calling the template from a servlet and displaying the XML in the template.
So, using Velocity templates is their a way to:
a. change the file extension that is served
b. any other way to accomplish having an XML file served from a template
Thank you in advance!
-peterTry this code below:
data l_xml_table2 type table of xml_line with header line.
W_filename - This is a Path.
if w_filename(02) = '
open dataset w_filename for output in binary mode.
if sy-subrc = 0.
l_xml_table2[] = l_xml_table[].
loop at l_xml_table2.
transfer l_xml_table2 to w_filename.
endloop.
endif.
close dataset w_filename.
else.
call method cl_gui_frontend_services=>gui_download
exporting
bin_filesize = l_xml_size
filename = w_filename
filetype = 'BIN'
changing
data_tab = l_xml_table
exceptions
others = 24.
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif. -
Velocity template loading problem.
Hello,
I want to run first velocity servlet and I can't do this from 2 days
I tried many combination.
I use Netbeans 5.5 on linux
So in this moment I have
new project of netbeans in
/home/marcin/3ROK/1SEM/java1/ul/Velocity/
[root@zet Velocity(0)]# ls -R
build build.xml catalog.xml dist nbproject src test web
./build:
web
./build/web:
index.jsp META-INF WEB-INF
./build/web/META-INF:
context.xml MANIFEST.MF
./build/web/WEB-INF:
classes hello.vm lib templates velocity.properties web.xml
./build/web/WEB-INF/classes:
HelloTest.class hello.vm
./build/web/WEB-INF/lib:
velocity-1.5.jar velocity-dep-1.5.jar velocity-tools-1.3.jar velocity-tools-view-1.3.jar
./build/web/WEB-INF/templates:
hello.vm
./dist:
Velocity.war
./nbproject:
ant-deploy.xml build-impl.xml genfiles.properties private project.properties project.xml
./nbproject/private:
private.properties private.xml
./src:
conf java
./src/conf:
MANIFEST.MF
./src/java:
HelloTest.java hello.vm
./test:
./web:
index.jsp META-INF WEB-INF
./web/META-INF:
context.xml
./web/WEB-INF:
hello.vm templates velocity.properties web.xml
./web/WEB-INF/templates:
hello.vmHelloTest.java
import org.apache.velocity.Template;
import org.apache.velocity.servlet.VelocityServlet;
import org.apache.velocity.app.Velocity;
import org.apache.velocity.context.Context;
import javax.servlet.http.*;
import java.util.Properties;
import org.apache.velocity.exception.ParseErrorException;
import org.apache.velocity.exception.ResourceNotFoundException;
import javax.servlet.ServletConfig;
public class HelloTest extends VelocityServlet {
public Template handleRequest( HttpServletRequest request,
HttpServletResponse response,
Context context ) {
Properties p = new Properties();
p.setProperty( "resource.loader", "class" );
p.setProperty( "class.resource.loader.class", "org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader" );
p.setProperty( "resource.loader", "file" );
p.setProperty( "file.resource.loader.class", "org.apache.velocity.runtime.resource.loader.FileResourceLoader" );
p.setProperty( "file.resource.loader.path", "/home/marcin/3ROK/1SEM/java1/ul/Velocity/build/web/WEB-INF/templates");
p.setProperty( "file.resource.loader.cache", "true");
p.setProperty( "file.resource.loader.modificationCheckInterval","2");
try{
Velocity.init(p);
catch(Exception e){
System.err.println("ZET 1 Exception caught: " + e.getMessage());
Template template = null;
try {
context.put("name", "Velocity Test");
System.out.println("Before gettemplate");
template = Velocity.getTemplate("hello.vm");
System.out.println("After Getting the Template"+template);
} catch( Exception e ) {
System.err.println("ZET 2 Exception caught: " + e.getMessage());
return template;
}When I tried localhost:8082/Velocty/HelloTest in netbeans in tomcat window
i see this:
Before gettemplate
ZET 2 Exception caught: Unable to find resource 'hello.vm'
2007-04-29 18:44:11 org.apache.velocity.runtime.log.JdkLogChute log
SEVERE: ResourceManager : unable to find resource 'hello.vm' in any resource loader.Hi,
Even iam facing the same problem..
here is my code:
try
System.out.println("*****************LOADING CONTEXT OBJECTS");
Properties p = new Properties();
p.setProperty( "resource.loader", "class" );
p.setProperty( "class.resource.loader.class", "org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader" );
//Velocity.init(p);
//Template template = Velocity.getTemplate( "report_email_html.vm" );
Velocity.init(p);
VelocityContext ctx = new VelocityContext();
ctx.put("myObject", new TestContext());
Template template = Velocity.getTemplate("/WEB-INF/DefaultTemplate.vm");
BufferedWriter writer = writer = new BufferedWriter(new OutputStreamWriter(System.out));
if(template != null)
template.merge(ctx, writer);
writer.flush();
writer.close();
catch(Exception e)
e.printStackTrace();
} Pls help me out -
Error while loading velocity template using ear file (weblogic 8.1,SP5)
Hi,
In one of our j2ee applications we have a web application and an EJB application.
Web application uses velocity(1.2).
Application server is weblogic 8.1 with sp5.
If web app and ejb app are deployed separately, web app is able to load templates properly but if we make an ear file bundling web app and ejb app, we get following error at the time when application tries to load even the first velocity template.
org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'login.vt'
at org.apache.velocity.runtime.resource.ResourceManager.getResource(ResourceManager.java:438)
at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:736)
at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:718)
at org.apache.velocity.runtime.RuntimeSingleton.getTemplate(RuntimeSingleton.java:337)
at org.apache.velocity.servlet.VelocityServlet.getTemplate(VelocityServlet.java:499)
at com.nfsmith.servlet.Controller.handleRequest(Controller.java:377)
at org.apache.velocity.servlet.VelocityServlet.doRequest(VelocityServlet.java:331)
at org.apache.velocity.servlet.VelocityServlet.doGet(VelocityServlet.java:292)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6981)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
We have tried to configure and use all the resource loader for velocity engine(FileResourceLoader, ClasspathResourceLoader , JarResourceLoader etc.) but noting is working.
I have tried keeping all the templates under WEB-INF\classes dir. This does not work.
I have even tried keeping all the templates in a separate jar file and kept the same under APP-INF/lib and bundled the same in ear file, even this does'nt work either.
Should I create a rar file archive or is there any other way to achieve this?
Appreciate your responses.
JaspalPlease repost this in the WebLogic Portal forum:
WebLogic Portal -
How to generate xml using "Data Template"
Hi,
Can any one please tell me the steps to create xml using "Data Template".
As per the user guide the execution method for "data Template" is "Java Concurrent Program" and the Executable mentiones is "XDODTEXE".
But there is no information about the "execution file name" and "execution path name" which is mandatory.
Thanks and Regards,
SandhyaHi Sandhya,
To put a Data Template into use, you don't need to define any new executables. XDODTEXE executable is already registered in the system, as it ships with the application. The Data Template is not an executable as such, but a collection of instructions for what queries to perform and what should the resulting XML look like. XDODTEXE knows how to interpret those instructions, and produce the XML output.
(And if you add a layout template, handle that too.)
You do need to do the following:
1) Create a new Data Definition (XML Publisher Administrator > Data Definitions)
2) Upload your Data Template (remember the Code for the next step)
3) Create a Concurrent Program that is linked to the Data Definition (Short Name = Code) (System Administrator > Program > Define)
4) Add your Concurrent Program to a Request Group (System Administrator > Security > Responsibility > Request)
I recommend you take a look at the XML Publisher Administration and Developer's Guide, you will find more information there.
(http://download-west.oracle.com/docs/cd/B40089_02/current/acrobat/120xdoig.pdf)
Best Regards & Happy New Year 2008,
Matilda Smeds -
VO Extension Error in modifying the query of XML Publisher Report Template
Hi Friends,
I have one requirement related to calling XML Publisher Reports Template from OAF Page.
When clicking on the submit button the XML Publisher template is calling and displaying the data.
Our requirement is to display some more columns in the XML Publisher Template and display the data.
As according to OAF stndards,whenever we need to add new columns for display or SELECT purpose,
we will do the VO Extension. So we modified the query by adding the new additional colums in the standard VO.
I am able to retrieve the data from the SQL DEVELOPER. But when doing the VO Extension process and
calling the template from the OAF page its throwing the following error.Please suggest me some alternatives
to fix the issue.
oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT
DECODE(ASO_QUOTES.RESOURCE_ID, null, sales.name, sales1.name) sales_rep_name,
aso_quotes.quote_name,
aso_quotes.contract_id,
aso_quotes.quote_number||decode(aso_quotes.quote_version,NULL,'',' - ') || aso_quotes.quote_version quote_name_version,
to_char(aso_quotes.quote_expiration_date, nvl(FND_PROFILE.VALUE('ICX_DATE_FORMAT_MASK'), 'DD-MON-RRRR')) quote_expiration_date,
TO_NUMBER(TO_CHAR(aso_quotes.quote_expiration_date,'J')) - TO_NUMBER(TO_CHAR(Sysdate,'J')) duration,
I_HEADER_CONTACT_PARTY.PARTY_NAME sold_to_contact_name,
I_CUST_PARTIES.party_name customer_name,
I_PHONE.PHONE_AREA_CODE || DECODE(I_PHONE.PHONE_AREA_CODE , NULL, '',' ' ) || I_PHONE.PHONE_NUMBER full_phone_number,
I_INVOICE_REL_PARTY.PARTY_NAME invoice_to_contact_name,
I_ACCTS_INV_PARTY.PARTY_NAME invoice_to_cust_party_name,
I_INVOICE_LOCATIONS.ADDRESS1 invoice_to_address1,
I_INVOICE_LOCATIONS.ADDRESS2 invoice_to_address2,
I_INVOICE_LOCATIONS.ADDRESS3 invoice_to_address3,
I_INVOICE_LOCATIONS.ADDRESS4 invoice_to_address4,
decode(I_INVOICE_LOCATIONS.city, null,'',I_INVOICE_LOCATIONS.city || decode(I_INVOICE_LOCATIONS.county,null,'',',' || I_INVOICE_LOCATIONS.county)) invoice_to_city,
I_INVOICE_LOCATIONS.state || decode(I_INVOICE_LOCATIONS.postal_code, null,'',' '||
I_INVOICE_LOCATIONS.postal_code || decode(I_INVOICE_LOCATIONS.province,null,'',',' ||I_INVOICE_LOCATIONS.province )) invoice_to_county,
I_INVOICE_LOCATIONS.country invoice_to_country,
aso_quotes.currency_code Currency_Code,
(select distinct ppf.email_address
from per_people_f ppf,
JTF_RS_SALESREPS jrs
where jrs.resource_id = aso_quotes.resource_id
and jrs.PERSON_ID = ppf.person_id
and ppf.person_type_id = 3
) Sales_Rep_Email,
aso_quotes.quote_header_id, oav.name||decode(oav.agreement_num,NULL,'',',')||oav.agreement_num||decode(oav.agreement_num,NULL,'',',')||oav.revision Agreement_name,
oav.name||oav.agreement_num||oav.revision Agreement_check,
to_char(oav.revision_date, nvl(FND_PROFILE.VALUE('ICX_DATE_FORMAT_MASK'), 'DD-MON-RRRR')) revision_date,
(select payment_term_name
FROM
aso_payments_v
WHERE
quote_line_id is null and
quote_header_id = aso_quotes.quote_header_id) payment_terms,
to_char(sysdate, nvl(FND_PROFILE.VALUE('ICX_DATE_FORMAT_MASK'), 'DD-MON-RRRR')) curr_date,
aso_quotes.total_list_price total_list_price,
aso_quotes.total_adjusted_amount total_adjusted_amount,
(aso_quotes.total_list_price + aso_quotes.total_adjusted_amount) total_net_price,
aso_quotes.total_shipping_charge charges_total,
aso_quotes.total_tax taxes_total,
aso_quotes.total_quote_price total_quote_price,
(select cust_po_number
FROM
aso_payments
WHERE
quote_line_id is null and
quote_header_id = aso_quotes.quote_header_id ) cust_po_number,
(select fct.name
from fnd_currencies_tl fct
where aso_quotes.currency_code = fct.currency_code
and fct.language = userenv('lang')) Currency_Name,
(select fcurr.symbol
from fnd_currencies fcurr
where aso_quotes.currency_code = fcurr.currency_code) Currency_Symbol,
(Select meaning
From oe_lookups
Where lookup_type = 'FREIGHT_TERMS'
And lookup_code = (select aship.freight_terms_code
from aso_shipments aship
where aship.quote_header_id = aso_quotes.quote_header_id
and aship.quote_line_id is null)) Freight_Terms,
(Select fl.meaning
From fnd_lookup_values fl
where fl.lookup_type = 'SHIP_METHOD'
And fl.lookup_code = (select aship.ship_method_code
from aso_shipments aship
where aship.quote_header_id = aso_quotes.quote_header_id
and aship.quote_line_id is null)
And fl.language = userenv('LANG')) shipping_method ,
aso_quotes.org_id ,
aso_quotes.quote_number ,
aso_quotes.Quote_version VersionNumber,
I_ACCTS.ACCOUNT_NUMBER CustomerNumber,
oav.agreement_num Agreement_Number,
:action action,
aso_quotes.minisite_id minisite_id,
(select imt.msite_name from ibe_msites_tl imt where imt.msite_id = aso_quotes.minisite_id
and imt.language = userenv('LANG')) msite_name,
(select asl.meaning from oe_lookups asl, aso_shipments ash
where asl.lookup_type = 'SHIPMENT_PRIORITY'
and asl.lookup_code = ash.shipment_priority_code
and ash.quote_header_id = aso_quotes.quote_header_id) shipment_priority_name
,(select OE_SYS_PARAMETERS.VALUE('INSTALLMENT_OPTIONS',aso_quotes.org_id) from dual) enable_pay_now
from
hz_CONTACT_POINTS I_PHONE ,
HZ_RELATIONSHIPS I_HEADER_CONTACT_REL,
HZ_PARTIES I_HEADER_CONTACT_PARTY,
ASO_QUOTE_HEADERS ASO_QUOTES,
HZ_RELATIONSHIPS I_INVOICE_REL,
HZ_PARTIES I_INVOICE_REL_PARTY,
HZ_PARTY_sites I_INVOICE_PARTY_SITES,
HZ_LOCATIONS I_INVOICE_LOCATIONS,
HZ_PARTIES I_CUST_PARTIES,
HZ_CUST_ACCOUNTS I_ACCTS,
HZ_CUST_ACCOUNTS I_ACCTS_INV,
HZ_PARTIES I_ACCTS_INV_PARTY,
JTF_RS_SALESREPS_MO_V SALES,
JTF_RS_SALESREPS_MO_V SALES1,
FND_TERRITORIES_VL I_TERRITORIES,
oe_agreements_vl oav
where
ASO_QUOTES.PARTY_ID = I_HEADER_CONTACT_REL.PARTY_ID(+)
AND I_HEADER_CONTACT_REL.SUBJECT_ID = I_HEADER_CONTACT_PARTY.PARTY_ID(+)
AND I_HEADER_CONTACT_REL.SUBJECT_TYPE(+) = 'PERSON'
AND I_HEADER_CONTACT_REL.SUBJECT_TABLE_NAME(+) = 'HZ_PARTIES'
and i_header_contact_rel.object_id(+) = aso_quotes.cust_party_id
AND ASO_QUOTES .INVOICE_TO_PARTY_SITE_ID = I_INVOICE_PARTY_SITES.PARTY_SITE_ID (+)
AND I_INVOICE_PARTY_SITES.LOCATION_ID = I_INVOICE_LOCATIONS.LOCATION_ID(+)
AND I_INVOICE_LOCATIONS.country = I_TERRITORIES.territory_code(+)
AND ASO_QUOTES.INVOICE_TO_PARTY_ID = I_INVOICE_REL.PARTY_ID(+)
AND I_INVOICE_REL.SUBJECT_ID = I_INVOICE_REL_PARTY.PARTY_ID(+)
AND I_INVOICE_REL.SUBJECT_TYPE(+) = 'PERSON'
AND I_INVOICE_REL.SUBJECT_TABLE_NAME(+) = 'HZ_PARTIES'
AND i_invoice_rel.object_id (+) = aso_quotes.invoice_to_cust_party_id
AND ASO_QUOTES.ORG_ID = SALES.ORG_ID(+)
AND ASO_QUOTES.EMPLOYEE_PERSON_ID = SALES.PERSON_ID (+)
AND ASO_QUOTES.ORG_ID = SALES1.ORG_ID (+)
AND ASO_QUOTES.RESOURCE_ID = SALES1.RESOURCE_ID (+)
AND ASO_QUOTES.CUST_ACCOUNT_ID =I_ACCTS.CUST_ACCOUNT_ID(+)
AND ASO_QUOTES.CUST_PARTY_ID = I_CUST_PARTIES.PARTY_ID
AND ASO_QUOTES.INVOICE_TO_CUST_ACCOUNT_ID = I_ACCTS_INV.CUST_ACCOUNT_ID(+)
AND ASO_QUOTES.INVOICE_TO_CUST_PARTY_ID = I_ACCTS_INV_PARTY.PARTY_ID(+)
AND aso_quotes.phone_id = i_phone.contact_point_Id(+)
AND oav.agreement_id(+) = aso_quotes.contract_id
AND aso_quotes.quote_header_id = 666584
at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:912)
at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:886)
at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(OAException.java:1009)
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:211)
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:153)
at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:762)
at oracle.apps.aso.print.webui.MainCO.processRequest(MainCO.java:180)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:600)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processRequest(OAHeaderBean.java:391)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1182)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2607)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1940)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)
at OA.jspService(_OA.java:212)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
at OA.jspService(_OA.java:221)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:619)
## Detail 0 ##
java.sql.SQLException: Attempt to set a parameter name that does not occur in the SQL: 1
at oracle.jdbc.driver.OraclePreparedStatement.setObjectAtName(OraclePreparedStatement.java:11915)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.setObjectAtName(OraclePreparedStatementWrapper.java:815)
at oracle.jbo.server.OracleSQLBuilderImpl.bindParamValue(OracleSQLBuilderImpl.java:3919)
at oracle.jbo.server.BaseSQLBuilderImpl.bindParametersForStmt(BaseSQLBuilderImpl.java:3335)
at oracle.jbo.server.ViewObjectImpl.bindParametersForCollection(ViewObjectImpl.java:13827)
at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:804)
at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:669)
at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3723)
at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(Unknown Source)
at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4560)
at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:743)
at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:892)
at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:806)
at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:800)
at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3643)
at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:439)
at oracle.apps.aso.print.server.PrintQuoteAMImpl.queryQuote(PrintQuoteAMImpl.java:447)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:190)
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:153)
at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:762)
at oracle.apps.aso.print.webui.MainCO.processRequest(MainCO.java:180)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:600)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processRequest(OAHeaderBean.java:391)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1182)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2607)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1940)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)
at OA.jspService(_OA.java:212)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
at OA.jspService(_OA.java:221)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:619)
java.sql.SQLException: Attempt to set a parameter name that does not occur in the SQL: 1
at oracle.jdbc.driver.OraclePreparedStatement.setObjectAtName(OraclePreparedStatement.java:11915)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.setObjectAtName(OraclePreparedStatementWrapper.java:815)
at oracle.jbo.server.OracleSQLBuilderImpl.bindParamValue(OracleSQLBuilderImpl.java:3919)
at oracle.jbo.server.BaseSQLBuilderImpl.bindParametersForStmt(BaseSQLBuilderImpl.java:3335)
at oracle.jbo.server.ViewObjectImpl.bindParametersForCollection(ViewObjectImpl.java:13827)
at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:804)
at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:669)
at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3723)
at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(Unknown Source)
at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4560)
at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:743)
at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:892)
at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:806)
at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:800)
at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3643)
at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:439)
at oracle.apps.aso.print.server.PrintQuoteAMImpl.queryQuote(PrintQuoteAMImpl.java:447)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:190)
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:153)
at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:762)
at oracle.apps.aso.print.webui.MainCO.processRequest(MainCO.java:180)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:600)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processRequest(OAHeaderBean.java:391)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1182)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2607)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1940)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)
at OA.jspService(_OA.java:212)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
at OA.jspService(_OA.java:221)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:619)"java.sql.SQLException: Attempt to set a parameter name that does not occur in the SQL"
Try the suggestions in this? https://kr.forums.oracle.com/forums/thread.jspa?messageID=10253362
Check the bindign styles and bind variables.. -
Page Break In XML Publisher RTF Templates Are Not Working
Please refer to the Metalink Doc below:
Subject: Page Break In XML Publisher RTF Templates Are Not Working.
Doc ID: 559111.1
Type: PROBLEM
Modified Date: 24-MAR-2008
Status: MODERATED
In this Document
Symptoms
Cause
Solution
References
This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process, and therefore has not been subject to an independent technical review.
Applies to:
Oracle XML Publisher - Version: 5.6.3
This problem can occur on any platform.
Symptoms
Using XML Publisher version 5.6.3 in 11.5.10.
Find <?split-by-page-break:?> syntax is ignored.
EXPECTED BEHAVIOR
Expect page breaks to occur at point set by "split-by-page-break:" code.
STEPS
The issue can be reproduced at will with the following steps:
1. Create a template.
2. Call split-by-page-break: inside a loop.
3. Output is not formatted correctly, page break call is ignored,
Cause
Unpublished BUG 5011628 SPLIT-BY-PAGE-BREAK NOT WORKING IF ADDED SORT WITHIN DYNAMIC GROUP
Unpublished BUG 5011628 matches the client issue as it is a call to split-by-page-break inside a loop.
Fix is in ScalableStringList.java version 115.4.
This is delivered in <Bug 6165466> XDOFX:CHR(N) FUNCTION FAILING.
Solution
To implement the solution, please execute the following steps:
1. Apply Patch 6165466 when it is released.
2. Test your report.
References
Bug 6165466 - XDOFX:CHR(N) FUNCTION FAILING
Keywords
XML~PUBLISHER; LOOP; DYNAMIC~GROUP; PAGE~BREAK;
Help us improve our service. Please email us your comments for this document. .Hi JDev,
Check this out:
http://oracle.anilpassi.com/xml-publisher-developing-reports-printed-on-pre-printed-stationary-2.html
Hope this might help.
Thanks -
Hi ,
after installing the Patch
Patch 12415414: 1OFF:11873050:12.1.3:12.1.3:FRM-41830, FRM-40212 SUBMITTING PROGRAM - PUBLISH FS
i managed to add and excel template to XML Publisher , the template working fine in the Desktop template viewer but when running it using the XML publisher its only shows the static heading with not data
anyone knows why its generate an empty file ?! the concurrent generated the XML data but the output is an empty excel file
thanks@user635184 looks like you missed something
12.1.x does not have all the code to execute Excel templates.
ebs r12.1.3 has excel template
furthermore ebs r12.1.1 has excel template feature but it must be enabled as in mos R12: How to add Microsoft Excel as Type to the Create Template List of Values in BI Publisher (Doc ID 1343225.1)
EBS version 12.2 has some support for Excel templates.
some support
@Ayman
i managed to add and excel template to XML Publisher , the template working fine in the Desktop template viewer but when running it using the XML publisher its only shows the static heading with not data
anyone knows why its generate an empty file ?! the concurrent generated the XML data but the output is an empty excel file
need more info with versions of tools -
How do you query the Hotmail Calendar with a freebusy URL to get an XML response ?
Hello,
I've posted this on the Exchange Server Legacy thread, but they point me back here....
Assuming that Outlook's (Hotmail's) Calendar service still supports XML FreeBusy requests, what am I doing wrong here ?
I'm sending this GET request to obtain an XML return that I can then further process:
GET / HTTP/1.1
owa/public/?cmd=freebusy&start=2014-12-04T14: 00:00+01:00&end=2014-12-08T16:00:00+01:00&interval=30&u=SMTP:*** Email address is removed for privacy ***
Translate: t User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR 1.1.4322)
Content-Type: text/xml
Host:
www.calendar.live.com
(Translate: t comes from http://www.infinitec.de/post/2004/12/31/Retrieving-a-users-availability-(freebusy-data).aspx)
(User-Agent seems needed in order to get an XML response)
It keeps giving me "400 - BAD REQUEST".
What is the correct syntax for this ?Hi,
From your description, I would like to clarify the following things:
1. If you use an Exchange account, you can use an OWA command to retrieve Free/busy information for a particular user.
2. In your case, you use an Hotmail account. Actually, we have a dedicated support team regarding the Microsoft Outlook.com . I recommend you ask your question on our Microsoft Outlook.com forum which is staffed by more experts specializing in this kind
of problems. Your understanding will be appreciated.
For your convenience:
http://answers.microsoft.com/en-us/outlook_com/forum/ocalendar?tab=Threads
Hope this can be helpful to you.
Best regards,
If you have feedback for TechNet Subscriber Support, contact
[email protected]
Amy Wang
TechNet Community Support -
Using a Velocity Template in Java User Exit Custom Handler
I would have thought it would be possible to use a Velocity template in combination with a custom handler in a Java user exit, but I can't seem to figure out how to do it, and I'm not finding an example of doing this anywhere in the GoldenGate docs.
For example, I can create a Velocity template and use it to output transactions in the desired format to a file by using a propeties file that looks something like this:
gg.handlerlist=myhandler
gg.handler.myhandler.mode=tx
gg.handler.myhandler.format=./dirprm/my_template.vm
gg.handler.myhandler.type=file
gg.handler.myhandler.file=my_output.txt
What I'm hoping to do is to have a custom handler, and some how be able to get to the Velocity formatted transaction data in the "transactionCommit(DsEvent, DsTransaction)" method of my custom extension of AbstractHandler by having a properties file that looks like this (same as the above, except for the type, and no file property ... eg:
gg.handlerlist=myhandler
gg.handler.myhandler.mode=tx
gg.handler.myhandler.format=./dirprm/my_template.vm
gg.handler.myhandler.type=my.custom.GGHandler
I've verified that I have a valid DsEvent and a DsTransaction with the desired information in by custom handler's transactionCommit method ... and I can even pull out the required data and re-format it there to the desired format so that it looks just like the format that my Velocity template outputs when I'm outputting to a file (as shown in the first properties file). But shouldn't I somehow be able to access the Velocity transformation for my DsTransaction in my custom handler?
Thanks for any assistance / info provided.I would have thought it would be possible to use a Velocity template in combination with a custom handler in a Java user exit, but I can't seem to figure out how to do it, and I'm not finding an example of doing this anywhere in the GoldenGate docs.
For example, I can create a Velocity template and use it to output transactions in the desired format to a file by using a propeties file that looks something like this:
gg.handlerlist=myhandler
gg.handler.myhandler.mode=tx
gg.handler.myhandler.format=./dirprm/my_template.vm
gg.handler.myhandler.type=file
gg.handler.myhandler.file=my_output.txt
What I'm hoping to do is to have a custom handler, and some how be able to get to the Velocity formatted transaction data in the "transactionCommit(DsEvent, DsTransaction)" method of my custom extension of AbstractHandler by having a properties file that looks like this (same as the above, except for the type, and no file property ... eg:
gg.handlerlist=myhandler
gg.handler.myhandler.mode=tx
gg.handler.myhandler.format=./dirprm/my_template.vm
gg.handler.myhandler.type=my.custom.GGHandler
I've verified that I have a valid DsEvent and a DsTransaction with the desired information in by custom handler's transactionCommit method ... and I can even pull out the required data and re-format it there to the desired format so that it looks just like the format that my Velocity template outputs when I'm outputting to a file (as shown in the first properties file). But shouldn't I somehow be able to access the Velocity transformation for my DsTransaction in my custom handler?
Thanks for any assistance / info provided. -
How to insert the partner link (xml)response to data base adapter in BPEL:
Hi to every one,
I have little bit knowledge in oracle SOA suit and having knowledge in java technologies,
I am developing one central reporting server for this I have the following requirement.
I need to call ‘N’ departmental servers (partner links) daily at specific time I need to insert all the transaction details (xml) response in central database (db adapter).
I’m able to call the ‘N’ partner links but I’m facing the problem while inserting ‘N’ servers response into central db using db adapter.
I written one common xsd file for request and response for N departmental server.
Following are the SOAP request and response formats for your reference.
<!-- =========== request formate ========= -->
<Reportreq xsi:type="rep:Reportreq">
<reqdate xsi:type="xsd:string">01-01-2010</reqdate>
<reqtime xsi:type="xsd:string">1100</reqtime>
</Reportreq>
<!-- ======= Response Formate ================================ -->
<multiRef id="id0" soapenc:root="0"
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xsi:type="ns2:ResponseBean" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns2="ReportServer">
<errorcode xsi:type="xsd:string"/>
<errordesc xsi:type="xsd:string" xsi:nil="true"/>
<reportres xsi:type="xsd:string">
<![CDATA[<response:getTransData>
<transdate>01-01-2010</transdate>
<transtime>1100</transtime>
<distcode>03</distcode>
<transdata>
<centre>GVLH</centre><deptcode>15</deptcode><servicecode>1</servicecode>
<cashtrans>1</cashtrans><cashamt>165</cashamt><chqtrans>0</chqtrans>
<chqamt>0</chqamt><ddtrans>0</ddtrans><ddamt>0</ddamt>
<cardtrans>0</cardtrans><cardamt>0</cardamt>
<epaytrans>0</epaytrans><epayamt>0</epayamt><userchrgs>0</userchrgs>
</transdata>
<transdata><centre>RBVP</centre><deptcode>15</deptcode>
<servicecode>1</servicecode><cashtrans>1</cashtrans><cashamt>3000</cashamt>
<chqtrans>0</chqtrans><chqamt>0</chqamt><ddtrans>0</ddtrans><ddamt>0</ddamt><cardtrans>0</cardtrans>
<cardamt>0</cardamt><epaytrans>0</epaytrans><epayamt>0</epayamt>
<userchrgs>0</userchrgs></transdata>
<transdata><centre>RKBH</centre><deptcode>15</deptcode>
<servicecode>1</servicecode><cashtrans>1</cashtrans><cashamt>412</cashamt>
<chqtrans>0</chqtrans><chqamt>0</chqamt><ddtrans>0</ddtrans><ddamt>0</ddamt><cardtrans>0</cardtrans><cardamt>0</cardamt><epaytrans>0</epaytrans>
<epayamt>0</epayamt><userchrgs>0</userchrgs></transdata>
<transdata><centre>ARLV</centre><deptcode>101</deptcode>
<servicecode>1</servicecode><cashtrans>1</cashtrans><cashamt>125</cashamt>
<chqtrans>0</chqtrans><chqamt>0</chqamt><ddtrans>0</ddtrans>
<ddamt>0</ddamt><cardtrans>0</cardtrans><cardamt>0</cardamt>
<epaytrans>0</epaytrans><epayamt>0</epayamt><userchrgs>0</userchrgs>
</transdata>
<transdata><centre>NTRS</centre><deptcode>101</deptcode>
<servicecode>1</servicecode><cashtrans>7</cashtrans><cashamt>2567</cashamt>
<chqtrans>0</chqtrans><chqamt>0</chqamt><ddtrans>0</ddtrans>
<ddamt>0</ddamt><cardtrans>0</cardtrans>
<cardamt>0</cardamt><epaytrans>0</epaytrans><epayamt>0</epayamt>
<userchrgs>0</userchrgs></transdata>
<!-- I will get “transdata” tag nearly 1000 to 10000 -->
</response:getTransData> ]]>
</reportres>
</multiRef>
In java I hold the response XML string between the <response> tag and with the DOM parser I am able to insert the response data into central server.
Now I want to do this in BPEL, I am getting the response from N partner links but I am facing the problem while inserting the response data into central database.
Let me know if you have any idea or small example to achieve my requirement.
Note: All partner services were implemented in bottom up approach.
Have a good day,
Thanks in advance,
Regards,
Ishmayel.vHi to every one,
I have little bit knowledge in oracle SOA suit and having knowledge in java technologies,
I am developing one central reporting server for this I have the following requirement.
I need to call ‘N’ departmental servers (partner links) daily at specific time I need to insert all the transaction details (xml) response in central database (db adapter).
I’m able to call the ‘N’ partner links but I’m facing the problem while inserting ‘N’ servers response into central db using db adapter.
I written one common xsd file for request and response for N departmental server.
Following are the SOAP request and response formats for your reference.
<!-- =========== request formate ========= -->
<Reportreq xsi:type="rep:Reportreq">
<reqdate xsi:type="xsd:string">01-01-2010</reqdate>
<reqtime xsi:type="xsd:string">1100</reqtime>
</Reportreq>
<!-- ======= Response Formate ================================ -->
<multiRef id="id0" soapenc:root="0"
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xsi:type="ns2:ResponseBean" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns2="ReportServer">
<errorcode xsi:type="xsd:string"/>
<errordesc xsi:type="xsd:string" xsi:nil="true"/>
<reportres xsi:type="xsd:string">
<![CDATA[<response:getTransData>
<transdate>01-01-2010</transdate>
<transtime>1100</transtime>
<distcode>03</distcode>
<transdata>
<centre>GVLH</centre><deptcode>15</deptcode><servicecode>1</servicecode>
<cashtrans>1</cashtrans><cashamt>165</cashamt><chqtrans>0</chqtrans>
<chqamt>0</chqamt><ddtrans>0</ddtrans><ddamt>0</ddamt>
<cardtrans>0</cardtrans><cardamt>0</cardamt>
<epaytrans>0</epaytrans><epayamt>0</epayamt><userchrgs>0</userchrgs>
</transdata>
<transdata><centre>RBVP</centre><deptcode>15</deptcode>
<servicecode>1</servicecode><cashtrans>1</cashtrans><cashamt>3000</cashamt>
<chqtrans>0</chqtrans><chqamt>0</chqamt><ddtrans>0</ddtrans><ddamt>0</ddamt><cardtrans>0</cardtrans>
<cardamt>0</cardamt><epaytrans>0</epaytrans><epayamt>0</epayamt>
<userchrgs>0</userchrgs></transdata>
<transdata><centre>RKBH</centre><deptcode>15</deptcode>
<servicecode>1</servicecode><cashtrans>1</cashtrans><cashamt>412</cashamt>
<chqtrans>0</chqtrans><chqamt>0</chqamt><ddtrans>0</ddtrans><ddamt>0</ddamt><cardtrans>0</cardtrans><cardamt>0</cardamt><epaytrans>0</epaytrans>
<epayamt>0</epayamt><userchrgs>0</userchrgs></transdata>
<transdata><centre>ARLV</centre><deptcode>101</deptcode>
<servicecode>1</servicecode><cashtrans>1</cashtrans><cashamt>125</cashamt>
<chqtrans>0</chqtrans><chqamt>0</chqamt><ddtrans>0</ddtrans>
<ddamt>0</ddamt><cardtrans>0</cardtrans><cardamt>0</cardamt>
<epaytrans>0</epaytrans><epayamt>0</epayamt><userchrgs>0</userchrgs>
</transdata>
<transdata><centre>NTRS</centre><deptcode>101</deptcode>
<servicecode>1</servicecode><cashtrans>7</cashtrans><cashamt>2567</cashamt>
<chqtrans>0</chqtrans><chqamt>0</chqamt><ddtrans>0</ddtrans>
<ddamt>0</ddamt><cardtrans>0</cardtrans>
<cardamt>0</cardamt><epaytrans>0</epaytrans><epayamt>0</epayamt>
<userchrgs>0</userchrgs></transdata>
<!-- I will get “transdata” tag nearly 1000 to 10000 -->
</response:getTransData> ]]>
</reportres>
</multiRef>
In java I hold the response XML string between the <response> tag and with the DOM parser I am able to insert the response data into central server.
Now I want to do this in BPEL, I am getting the response from N partner links but I am facing the problem while inserting the response data into central database.
Let me know if you have any idea or small example to achieve my requirement.
Note: All partner services were implemented in bottom up approach.
Have a good day,
Thanks in advance,
Regards,
Ishmayel.v -
How to debug WFXML 1.1 XML response?
Hello,
I am using the Extended Communication configuration of a Web Activity step in a custom workflow (R/3 version 4.7). The step is setup to start an external non-SAP WF using WFXML 1.1 and store the response in a WF Proxy container element using routing class CL_SWH_WEB_XML_ROUTER.
The external XML response has the same structure like a response I get when connecting the same WF to a SAP test workflow instead of the external workflow.
The problem is that the workflow proxy container field does not get populated during runtime.
Is there any way of finding out why a workflow has a problem creating the proxy object? I couldn't find any log entries, traces or ways to simulate the incoming XML response.
Thanks for your help.
Regards
MartinHi Paul..
This is a common problem when you are working with webservices, i have worked with them and not always the response of the ws comes like de wsdl says, depends of your wsdl provider.
I suggest you that checks your response of your webservice with the Enterprise Portal Web Services Checker View
For see this view in NetWeaver go to Window > Show View > Other > Enterprise Portal Web Services Checker
Put the wsdl url definition in wsdl url textbox
and the click in the letter W, this procedure brings you all methods and everything for play with the WEB Services.. and you can check the response of you webservices call funtion, checks that all the tags comes like says in the wsdl
Good luck
Joshua
Maybe you are looking for
-
Multiple iTunes accounts with iPad2.
I have the following scenario: We have purchased several iPads for our employees and we are trying to find the best way to administer them. We would like to be abble to: 1. Users to use their home computer and personal iTunes account to purchase apps
-
I am trying to locate the original jpg or photo files that I uploaded from my camera. I know that the photos are there, because they show up in my iPhoto Library. Where can I go to find the original file ex: DSCN1242.jpg or OLM4564.jpg ?
-
IPad VGA adapter, picture is dull & pink connected to my projector
I'm having a problem with my VGA connector, and I desperately need a fresh point of view in this issue. When I connect my iPad to my projector, the picture has a dull reddish, pinkish hue to it. This is true for everything- video app, Netflix, slides
-
Hi, I have two Exchange 2010 servers running on Windows 2008 Ent R2. These mail servers have been running fine for a few years. Today I noticed two things. 1. users were telling me they were having delays receiving emails from outside of our own doma
-
Aperture and iPhoto Library (not my own)
A friend has sent me a copy of his iPhoto library containing pictures he's asked me to adjust for him. His version of iPhoto is the 2009 release having come with his new MacBook Pro. My iPhoto is version 6. It won't open the library my friend sent. I