Interactions with imported report

Hi all.
Again. I'm trying to use OBI SOAP API to obtain HTML code of shared reports and display it on another webapp's pages. At first time everything seems OK and i can see embedded report. But doing any interaction with it (click drill down links, paging, etc..) makes whole report to disappear. No Javascript errors or smth else abnormal. I've found that all server requests goes through hidden IFRAME and then just copied content to real place. Its SRC points to bridge URL (mod_rewrite handle it my case) and IFRAME seems fills fine (snippet below was copied from IFRAME cointent)
<DIV ID="divEncodedBody" style="display:none">
table class="ViewTable" cellspacing=0&amp;gt;
&amp;lt;tr&amp;gt;
&amp;lt;td class="ViewCell"&amp;gt;&amp;lt;div id="m:portlet~r:avatextResult" result="finished" options="b">&amp;lt;a href="javascript:void(null)" onclick="IgnoreEvent();" title="Compound" name="SectionElements"&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;table class="CVTable" cellspacing=0&amp;gt;
&amp;lt;tr&amp;gt;
&amp;lt;td class="CVView" valign=top style="vertical-align:top;" vid="m:portlet~r:avatext~v:compoundView!1~v:titleView!1" sid="fmqj7vo8msbegh2ov8u2go0o32"&amp;gt;&amp;lt; class="CVFormatTable" style="width:100%;" cellspacing=0>
&amp;lt;tr&amp;gt;
&amp;lt;td class="CVFormatCell" align=center
...Looks like escaped HTML and i'm not sure that is correct. I've no idea what to check else.
Any suggestions, examples, links?
UPD:
OAS v.10.1.3.
Different behavior on various browsers:
Firefox 2.0.0.5: report's content disappears (without any error);
IE6.0.2900.2180.xpsp_sp2: nothing happens but JS error "access denied" (host in trusted sites area)
Message was edited by:
chameleon

Still hope ;)
I've found some JS message in html code returned from getCommonBodyHtml method, wich is needed to make all that interactive stuff work. Snippet below:
<script language="javascript">
kmsgPivotJSCantDrillHere = 'Cannot drill here.';
</script>
...Seems smth goes wrong?

Similar Messages

  • Control the / interact with Report Viewer via Javascript

    Hi
    i have some questions about client control of the report viewer. I would want to use some custom buttons in order to use the report viewer functionalities, as an example to print, or to known when a customer leaf through the report pages saving something in a javascript variable.
    Is it possible to interact with the report viewer? There is a reference text?
    Thanks

    I've never done it with JavaScript, but you could use the built in events to keep track of some information about report navigation. Some of the available events are below.
    CrystalReportViewer Events
    Description
    CrystalReportViewerBase.AfterRender Event
    (Inherited from CrystalReportViewerBase Class.) Event fires when the report rendering process is finished.
    CrystalReportViewerBase.AfterRenderContent Event
    (Inherited from CrystalReportViewerBase Class.) Event fires when the report content rendering process is finished.
    CrystalReportViewerBase.AfterRenderObject Event
    (Inherited from CrystalReportViewerBase Class.) Event fires when the report object rendering process is finished.
    CrystalReportViewerBase.BeforeRender Event
    (Inherited from CrystalReportViewerBase Class.) Event fires when the report rendering process starts.
    CrystalReportViewerBase.BeforeRenderContent Event
    (Inherited from CrystalReportViewerBase Class.) Event fires when the report content rendering process starts.
    CrystalReportViewerBase.BeforeRenderObject Event
    (Inherited from CrystalReportViewerBase Class.) Event fires when the report object rendering process starts.
    CrystalReportViewer.Drill Event
    Event fires when a report is drilled down on.
    CrystalReportViewer.DrillDownSubreport Event
    Event fires when the user drills down on a subreport.
    CrystalReportViewerBase.Error Event
    (Inherited from CrystalReportViewerBase Class.) Event fires when the report object throws an exception.
    CrystalReportViewer.Navigate Event
    Event fires when the user navigates through a report.
    CrystalReportViewerBase.OnRenderScript Event
    (Inherited from CrystalReportViewerBase Class.) Event fires when the HTML script generation starts.
    CrystalReportViewerBase.OnRenderStyle Event
    (Inherited from CrystalReportViewerBase Class.) Event fires when the HTML style class generation starts.
    CrystalReportViewerBase.ReportPartBookmarkNavigation Event
    (Inherited from CrystalReportViewerBase Class.) Event fires after navigation to a report part in the same report or another report is finished.
    CrystalReportViewer.ReportRefresh Event
    Event fires when the data in the report is refreshed.
    CrystalReportViewer.Search Event
    Event fires when text is searched for in the report.
    CrystalReportViewer.ViewZoom Event
    Event fires when zoom level of the viewer changes.
    CrystalReportViewerBase Events
    Description
    CrystalReportViewerBase.AfterRender Event
    Event fires when the report rendering process is finished.
    CrystalReportViewerBase.AfterRenderContent Event
    Event fires when the report content rendering process is finished.
    CrystalReportViewerBase.AfterRenderObject Event
    Event fires when the report object rendering process is finished.
    CrystalReportViewerBase.BeforeRender Event
    Event fires when the report rendering process starts.
    CrystalReportViewerBase.BeforeRenderContent Event
    Event fires when the report content rendering process starts.
    CrystalReportViewerBase.BeforeRenderObject Event
    Event fires when the report object rendering process starts.
    CrystalReportViewerBase.Error Event
    Event fires when the report object throws an exception.
    CrystalReportViewerBase.OnRenderScript Event
    Event fires when the HTML script generation starts.
    CrystalReportViewerBase.OnRenderStyle Event
    Event fires when the HTML style class generation starts.
    CrystalReportViewerBase.ReportPartBookmarkNavigation Event
    Event fires after navigation to a report part in the same report or another report is finished.

  • What is interactive report , difference bet interactive and classic report

    what is interactive report , difference bet interactive and classic report

    Hi
    Check this thread to get more idea about ALVs.
    Interactive ALV
    DIRLL DOWN AND INTERACTIVE REPORT
    http://www.sap-img.com/abap/difference-between-drilldown-report-and-interactive-report.htm
    As the name suggests, the user can Interact with the report. We can have a drill down into the report data. For example, Column one of the report displays the material numbers, and the user feels that he needs some more specific data about the vendor for that material, he can HIDE that data under those material numbers.
    And when the user clicks the material number, another report (actually sub report/secondary list) which displays the vendor details will be displayed.
    We can have a basic list (number starts from 0) and 20 secondary lists (1 to 21).
    Events associated with Interactive Reports are:
    AT LINE-SELECTION
    AT USER-COMMAND
    AT PF<key>
    TOP-OF-PAGE DURING LINE-SELECTION.
    HIDE statement holds the data to be displayed in the secondary list.
    sy-lisel : contains data of the selected line.
    sy-lsind : contains the level of report (from 0 to 21)
    Interactive Report Events:
    AT LINE-SELECTION : This Event triggers when we double click a line on the list, when the event is triggered a new sublist is going to be generated. Under this event what ever the statements that are been return will be displayed on newly generated sublist.
    AT PFn: For predefined function keys...
    AT USER-COMMAND : It provides user functions keys.
    TOP-OF-PAGE DURING LINE-SELECTION :top of page event for secondary list.
    http://abapprogramming.blogspot.com/search/label/INTERACTIVE%20REPORT%20BASICS

  • Java interface with Crystal Reports

    Post Author: [email protected]
    CA Forum: JAVA
    Hello everyone,I need to build a Java interface for JSP to interact with crystal reports.Could anyone recommend any book or forward me the url's where I can find the related material with examples. Eagerly Waiting for reply!Thanks,Prathima.

    Post Author: MJ@BOBJ
    CA Forum: JAVA
    The latest version of the Java Report Component (JRC) is available from the Diamond website.  This download is actually a plugin for Eclipse but you can still use the JRC runtime jars to use the SDK APIs in your JSP page.  You will also find lots of resources such as samples, videos, and forums to help you get started.  You can also refer to the DevLibrary for more information.

  • In Fi Hw we wll interact with Abapers and hw we wll write logic for reports

    hi every body...
    my name is ravi prasad.  i need one help.in FI....in real time as a sap FI consultant how we will interact with Abapers.and
    how we will write Logic for the Reports. please send me step by step.
    My mail id is    [email protected]
    Thank you very much.
    Awaiting for your response.

    hi,
    Please give me one example , and how we enter into tables, and how we know which table we have to use, and we will write logic.
    Ex;---if our client needs total sales commission payed by him.... if it is below 100,
    and if it above hundred....like that
    for that purpose in which place we will write logic.; i need the place where we write the logic.
    please send me tcodes and step by steps.
    Thank you very much,
    awaiting for your reply.
    my mail id is      [email protected]

  • Production Premium CS6 syncing problem with premiere to after effects. "The importer reported a generic error."

    I have CS6 Production Premium suite. I've had it and it works fine on my laptop for a couple years and just bought a new apple desktop and now when I have a project in premiere, it won't allow me to send it to After Effects. I keep getting a "The importer reported a generic error." Really need to get this problem resolved as the laptop is not as fast as it used to be, and I'm working on a short film haha.
    Thank you for your time and help.
    All the best,
    Brandon

    Hi Brandon,
    ascarib wrote:
    After doing the reboot my computer gives me the "You can't use this version of the application "Adobe After Effects CS6" with this version of OS X. Nothing has changed on my computer but it was fine before. What else can we try? Thank you for your patience.
    Make sure that you update After Effects: Can't launch | Mac OS X 10.9 (Mavericks)
    Thanks,
    Kevin

  • Import, and interact with, Flash 8 movies in Flex3.

    Hey gang,
    I have a Flash CS3 App built with ActionScript 2.0 that imports Flash 8 SWFs. Those Flash 8 SWFs are each comprised of hundreds of movieclips.
    I'm rebuilding the Flash CS3 App in Flex 3, and even though I can import the Flash 8 SWFs but can't interact with them (change their color, change their sizes, duplicate them, etc).
    Before you tell me to convert all the Flash 8 SWFs to CS3/ActionScript 3.0 know that there are 700+ of them.
    Tips? Tricks? Ideas?
    A sample SWF (and source FLA) I'm trying to import into Flex 3 can be found here:
    http://www.bensmash.net/sample/SM2.swf
    http://www.bensmash.net/sample/SM2.fla
    I appreciate your help!
    -Benjamin

    ejl_70 sorry but is true you need flash cs3 to save in flash 8 in flash cs4 your only save as to flash cs3

  • Interacting with adapters from Spring Component, especially db adapter

    hello everybody,
    I try to interact with adapters from my Spring component. I actually try to start my query and to receive the result in my Spring Component.
    I've already search for documentation about api to communicate with it or documentation about the classes created during the db adapter creation... But .. no result..
    So I'm trying to do it my self but I encounter some problems when I'm trying to call the query on the dbAdapter and trying to "play" with the classes created by the db adapter.
    Could anyone say me HOW we can interact with adapters from Spring component (in the class bean)?
    Also, how can I access to the variables? Is there an equivalent of "getVariableData" and "setVariableData" that I can use in the Spring Component? with which jar and/or import?
    I copy/paste what I've already done.
    So My Composite contains a Web Service "getStatusByCC" which is linked to a Mediator. The Mediator calls the Spring Component "SprinCallDB" and the Spring Component is linked to a database adapter called "getCreditValidation". The transformation in the mediator component is correct (I test it without the call to the db and it works fine)
    First, there is the classes created and added to my project by the db adapter :
    Creditcardinfo.java
    package com.oracle.xmlns.pcbpel.adapter.db.top.getcreditvalidation;
    import javax.xml.bind.annotation.XmlAccessType;
    import javax.xml.bind.annotation.XmlAccessorType;
    import javax.xml.bind.annotation.XmlElement;
    import javax.xml.bind.annotation.XmlType;
    * <p>Java class for Creditcardinfo complex type.
    * <p>The following schema fragment specifies the expected content contained within this class.
    * <pre>
    * &lt;complexType name="Creditcardinfo">
    * &lt;complexContent>
    * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
    * &lt;sequence>
    * &lt;element name="ccnumber">
    * &lt;simpleType>
    * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
    * &lt;maxLength value="20"/>
    * &lt;/restriction>
    * &lt;/simpleType>
    * &lt;/element>
    * &lt;element name="status" minOccurs="0">
    * &lt;simpleType>
    * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
    * &lt;maxLength value="20"/>
    * &lt;/restriction>
    * &lt;/simpleType>
    * &lt;/element>
    * &lt;/sequence>
    * &lt;/restriction>
    * &lt;/complexContent>
    * &lt;/complexType>
    * </pre>
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "Creditcardinfo", propOrder = {
    "ccnumber",
    "status"
    public class Creditcardinfo {
    @XmlElement(required = true)
    protected String ccnumber;
    protected String status;
    * Gets the value of the ccnumber property.
    * @return
    * possible object is
    * {@link String }
    public String getCcnumber() {
    return ccnumber;
    * Sets the value of the ccnumber property.
    * @param value
    * allowed object is
    * {@link String }
    public void setCcnumber(String value) {
    this.ccnumber = value;
    * Gets the value of the status property.
    * @return
    * possible object is
    * {@link String }
    public String getStatus() {
    return status;
    * Sets the value of the status property.
    * @param value
    * allowed object is
    * {@link String }
    public void setStatus(String value) {
    this.status = value;
    CreditcardinfoCollection.java
    package com.oracle.xmlns.pcbpel.adapter.db.top.getcreditvalidation;
    import java.util.ArrayList;
    import java.util.List;
    import javax.xml.bind.annotation.XmlAccessType;
    import javax.xml.bind.annotation.XmlAccessorType;
    import javax.xml.bind.annotation.XmlElement;
    import javax.xml.bind.annotation.XmlType;
    * <p>Java class for CreditcardinfoCollection complex type.
    * <p>The following schema fragment specifies the expected content contained within this class.
    * <pre>
    * &lt;complexType name="CreditcardinfoCollection">
    * &lt;complexContent>
    * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
    * &lt;sequence>
    * &lt;element name="Creditcardinfo"
    * type="{http://xmlns.oracle.com/pcbpel/adapter/db/top/getCreditValidation}Creditcardinfo" maxOccurs="unbounded" minOccurs="0"/>
    * &lt;/sequence>
    * &lt;/restriction>
    * &lt;/complexContent>
    * &lt;/complexType>
    * </pre>
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "CreditcardinfoCollection", propOrder = {
    "creditcardinfo"
    public class CreditcardinfoCollection {
    @XmlElement(name = "Creditcardinfo")
    protected List<Creditcardinfo> creditcardinfo;
    * Gets the value of the creditcardinfo property.
    * <p>
    * This accessor method returns a reference to the live list,
    * not a snapshot. Therefore any modification you make to the
    * returned list will be present inside the JAXB object.
    * This is why there is not a <CODE>set</CODE> method for the creditcardinfo property.
    * <p>
    * For example, to add a new item, do as follows:
    * <pre>
    * getCreditcardinfo().add(newItem);
    * </pre>
    * <p>
    * Objects of the following type(s) are allowed in the list
    * {@link Creditcardinfo }
    public List<Creditcardinfo> getCreditcardinfo() {
    if (creditcardinfo == null) {
    creditcardinfo = new ArrayList<Creditcardinfo>();
    return this.creditcardinfo;
    GetCreditValidationSelectCcnb.java
    package com.oracle.xmlns.pcbpel.adapter.db.top.getcreditvalidation;
    import javax.xml.bind.annotation.XmlAccessType;
    import javax.xml.bind.annotation.XmlAccessorType;
    import javax.xml.bind.annotation.XmlElement;
    import javax.xml.bind.annotation.XmlType;
    * <p>Java class for getCreditValidationSelect_ccnb complex type.
    * <p>The following schema fragment specifies the expected content contained within this class.
    * <pre>
    * &lt;complexType name="getCreditValidationSelect_ccnb">
    * &lt;complexContent>
    * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
    * &lt;sequence>
    * &lt;element name="ccnb" type="{http://www.w3.org/2001/XMLSchema}string"/>
    * &lt;/sequence>
    * &lt;/restriction>
    * &lt;/complexContent>
    * &lt;/complexType>
    * </pre>
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "getCreditValidationSelect_ccnb", propOrder = {
    "ccnb"
    public class GetCreditValidationSelectCcnb {
    @XmlElement(required = true)
    protected String ccnb;
    * Gets the value of the ccnb property.
    * @return
    * possible object is
    * {@link String }
    public String getCcnb() {
    return ccnb;
    * Sets the value of the ccnb property.
    * @param value
    * allowed object is
    * {@link String }
    public void setCcnb(String value) {
    this.ccnb = value;
    ObjectFactory.java
    package com.oracle.xmlns.pcbpel.adapter.db.top.getcreditvalidation;
    import javax.xml.bind.JAXBElement;
    import javax.xml.bind.annotation.XmlElementDecl;
    import javax.xml.bind.annotation.XmlRegistry;
    import javax.xml.namespace.QName;
    * This object contains factory methods for each
    * Java content interface and Java element interface
    * generated in the com.oracle.xmlns.pcbpel.adapter.db.top.getcreditvalidation package.
    * <p>An ObjectFactory allows you to programatically
    * construct new instances of the Java representation
    * for XML content. The Java representation of XML
    * content can consist of schema derived interfaces
    * and classes representing the binding of schema
    * type definitions, element declarations and model
    * groups. Factory methods for each of these are
    * provided in this class.
    @XmlRegistry
    public class ObjectFactory {
    private final static QName CreditcardinfoCollectionQNAME = new QName("http://xmlns.oracle.com/pcbpel/adapter/db/top/getCreditValidation", "CreditcardinfoCollection");
    private final static QName GetCreditValidationSelectCcnbInputParametersQNAME = new QName("http://xmlns.oracle.com/pcbpel/adapter/db/top/getCreditValidation", "getCreditValidationSelect_ccnbInputParameters");
    * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.oracle.xmlns.pcbpel.adapter.db.top.getcreditvalidation
    public ObjectFactory() {
    * Create an instance of {@link CreditcardinfoCollection }
    public CreditcardinfoCollection createCreditcardinfoCollection() {
    return new CreditcardinfoCollection();
    * Create an instance of {@link GetCreditValidationSelectCcnb }
    public GetCreditValidationSelectCcnb createGetCreditValidationSelectCcnb() {
    return new GetCreditValidationSelectCcnb();
    * Create an instance of {@link Creditcardinfo }
    public Creditcardinfo createCreditcardinfo() {
    return new Creditcardinfo();
    * Create an instance of {@link JAXBElement }{@code <}{@link CreditcardinfoCollection }{@code >}}
    @XmlElementDecl(namespace = "http://xmlns.oracle.com/pcbpel/adapter/db/top/getCreditValidation", name = "CreditcardinfoCollection")
    public JAXBElement<CreditcardinfoCollection> createCreditcardinfoCollection(CreditcardinfoCollection value) {
    return new JAXBElement<CreditcardinfoCollection>(_CreditcardinfoCollection_QNAME, CreditcardinfoCollection.class, null, value);
    * Create an instance of {@link JAXBElement }{@code <}{@link GetCreditValidationSelectCcnb }{@code >}}
    @XmlElementDecl(namespace = "http://xmlns.oracle.com/pcbpel/adapter/db/top/getCreditValidation", name = "getCreditValidationSelect_ccnbInputParameters")
    public JAXBElement<GetCreditValidationSelectCcnb> createGetCreditValidationSelectCcnbInputParameters(GetCreditValidationSelectCcnb value) {
    return new JAXBElement<GetCreditValidationSelectCcnb>(_GetCreditValidationSelectCcnbInputParameters_QNAME, GetCreditValidationSelectCcnb.class, null, value);
    package-info.java
    @javax.xml.bind.annotation.XmlSchema(namespace = "http://xmlns.oracle.com/pcbpel/adapter/db/top/getCreditValidation", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
    package com.oracle.xmlns.pcbpel.adapter.db.top.getcreditvalidation;
    GetCreditValidation_ptt.java
    package getcreditvalidation.validationforccwithspring.creditcardvalidation.db.adapter.pcbpel.com.oracle.xmlns;
    import javax.jws.WebMethod;
    import javax.jws.WebParam;
    import javax.jws.WebResult;
    import javax.jws.WebService;
    import javax.jws.soap.SOAPBinding;
    import javax.jws.soap.SOAPBinding.ParameterStyle;
    import javax.xml.bind.annotation.XmlSeeAlso;
    import javax.xml.ws.Action;
    // !DO NOT EDIT THIS FILE!
    // This source file is generated by Oracle tools
    // Contents may be subject to change
    // For reporting problems, use the following
    // Version = Oracle WebServices (11.1.1.0.0, build 111209.0821.28162)
    @WebService(targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/CreditCardValidation/validationForCCWithSpring/getCreditValidation",
    name="getCreditValidation_ptt")
    @XmlSeeAlso(
    { com.oracle.xmlns.pcbpel.adapter.db.top.getcreditvalidation.ObjectFactory.class })
    public interface GetCreditValidation_ptt
    @WebMethod
    @SOAPBinding(parameterStyle=ParameterStyle.BARE)
    @Action(input="http://xmlns.oracle.com/pcbpel/adapter/db/CreditCardValidation/validationForCCWithSpring/getCreditValidation/getCreditValidation_ptt/getCreditValidationSelectRequest",
    output="http://xmlns.oracle.com/pcbpel/adapter/db/CreditCardValidation/validationForCCWithSpring/getCreditValidation/getCreditValidation_ptt/getCreditValidationSelectResponse")
    @WebResult(targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/top/getCreditValidation",
    partName="CreditcardinfoCollection", name="CreditcardinfoCollection")
    public com.oracle.xmlns.pcbpel.adapter.db.top.getcreditvalidation.CreditcardinfoCollection getCreditValidationSelect(@WebParam(targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/top/getCreditValidation",
    partName="getCreditValidationSelect_inputParameters", name="getCreditValidationSelect_ccnbInputParameters")
    com.oracle.xmlns.pcbpel.adapter.db.top.getcreditvalidation.GetCreditValidationSelectCcnb getCreditValidationSelect_inputParameters);
    Here there is the classes linked to the Spring Component and the configuration file :
    SpringCallDB
    <?xml version="1.0" encoding="windows-1252" ?>
    <beans xmlns="http://www.springframework.org/schema/beans"
    xmlns:util="http://www.springframework.org/schema/util"
    xmlns:jee="http://www.springframework.org/schema/jee"
    xmlns:lang="http://www.springframework.org/schema/lang"
    xmlns:aop="http://www.springframework.org/schema/aop"
    xmlns:tx="http://www.springframework.org/schema/tx"
    xmlns:sca="http://xmlns.oracle.com/weblogic/weblogic-sca"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.5.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-2.5.xsd http://www.springframework.org/schema/lang http://www.springframework.org/schema/lang/spring-lang-2.5.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd http://www.springframework.org/schema/tool http://www.springframework.org/schema/tool/spring-tool-2.5.xsd http://xmlns.oracle.com/weblogic/weblogic-sca META-INF/weblogic-sca.xsd">
    <!--Spring Bean definitions go here-->
    <sca:service name="CCSpringService" target="CCSpringImpl"
    type="validationForCC.spring.service.api.ISpringCCService"/>
    <bean id="CCSpringImpl" class="validationForCC.spring.service.impl.SpringCCServiceImpl">
    <property name="dbRequest" ref="getCreditValidation"/>
    </bean>
    <sca:reference type="getcreditvalidation.validationforccwithspring.creditcardvalidation.db.adapter.pcbpel.com.oracle.xmlns.GetCreditValidation_ptt"
    name="getCreditValidation"/>
    </beans>
    CreditCardNumber.java
    package validationForCC.spring.model;
    public class CreditCardNumber {
    private String ccNumber;
    public CreditCardNumber() {
    super();
    public void setCcNumber(String nb){
    this.ccNumber = nb;
    public String getCcNumber(){
    return ccNumber;
    Response.java
    package validationForCC.spring.model;
    public class Response {
    String reply;
    public Response() {
    super();
    public void setReply(String rep){
    this.reply = rep;
    public String getReply(){
    return reply;
    ISpringCCService.java
    package validationForCC.spring.service.api;
    import validationForCC.spring.model.CreditCardNumber;
    import validationForCC.spring.model.Response;
    public interface ISpringCCService {
    * @param ccn
    * @return
    public Response getCCStatus(CreditCardNumber ccn);
    SpringCCServiceImpl.java
    package validationForCC.spring.service.impl;
    import com.oracle.xmlns.pcbpel.adapter.db.top.getcreditvalidation.*;
    import java.util.List;
    import javax.jws.WebParam;
    import validationForCC.spring.model.CreditCardNumber;
    import validationForCC.spring.model.Response;
    public class SpringCCServiceImpl {
    public SpringCCServiceImpl() {
    super();
    private getcreditvalidation.validationforccwithspring.creditcardvalidation.db.adapter.pcbpel.com.oracle.xmlns.GetCreditValidation_ptt dbRequest;
    public Response getCCStatus(CreditCardNumber ccn){
    Response resp = new Response();
    CreditcardinfoCollection resultSet;
    GetCreditValidationSelectCcnb selectCCNb = new GetCreditValidationSelectCcnb();
    selectCCNb.setCcnb(ccn.getCcNumber());
    resultSet = dbRequest.getCreditValidationSelect(selectCCNb);
    resp.setReply((resultSet.getCreditcardinfo().get(0).getStatus()));
    return resp;
    public getcreditvalidation.validationforccwithspring.creditcardvalidation.db.adapter.pcbpel.com.oracle.xmlns.GetCreditValidation_ptt getDbRequest(){
    return dbRequest;
    public void setDbRequest(getcreditvalidation.validationforccwithspring.creditcardvalidation.db.adapter.pcbpel.com.oracle.xmlns.GetCreditValidation_ptt dbReq){
    this.dbRequest = dbReq;
    So, the line which is the cause of the error is the following :
    resultSet = dbRequest.getCreditValidationSelect(selectCCNb);
    in the SpringCCServiceImpl.java class
    And there is the error I obtain :
    +weblogic.sca.api.ScaException: java.lang.RuntimeException: BINDING.JCA-12563 Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'getCreditValidationSelect' failed due to: DBReadInteractionSpec Execute Failed Exception. Query name: [getCreditValidationSelect], Descriptor name: [getCreditValidation.Creditcardinfo]. Caused by Exception [EclipseLink-6003] (Eclipse Persistence Services - 2.3.1.v20111018-r10243): org.eclipse.persistence.exceptions.QueryException Exception Description: The number of arguments provided to the query for execution does not match the number of arguments in the query definition. Query: ReadAllQuery(name="getCreditValidationSelect" referenceClass=Creditcardinfo ). See root exception for the specific exception. This exception is considered not retriable, likely due to a modelling mistake. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution.
    Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'getCreditValidationSelect' failed due to: DBReadInteractionSpec Execute Failed Exception. Query name: [getCreditValidationSelect], Descriptor name: [getCreditValidation.Creditcardinfo]. Caused by Exception [EclipseLink-6003] (Eclipse Persistence Services - 2.3.1.v20111018-r10243): org.eclipse.persistence.exceptions.QueryException Exception Description: The number of arguments provided to the query for execution does not match the number of arguments in the query definition. Query: ReadAllQuery(name="getCreditValidationSelect" referenceClass=Creditcardinfo ). See root exception for the specific exception. This exception is considered not retriable, likely due to a modelling mistake. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution.
    java.lang.RuntimeException: BINDING.JCA-12563 Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'getCreditValidationSelect' failed due to: DBReadInteractionSpec Execute Failed Exception. Query name: [getCreditValidationSelect], Descriptor name: [getCreditValidation.Creditcardinfo]. Caused by Exception [EclipseLink-6003] (Eclipse Persistence Services - 2.3.1.v20111018-r10243): org.eclipse.persistence.exceptions.QueryException Exception Description: The number of arguments provided to the query for execution does not match the number of arguments in the query definition. Query: ReadAllQuery(name="getCreditValidationSelect" referenceClass=Creditcardinfo ). See root exception for the specific exception. This exception is considered not retriable, likely due to a modelling mistake. ". The invoked JCA adapter raised a resource exception. Please examine the above error message ca
    Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'getCreditValidationSelect' failed due to: DBReadInteractionSpec Execute Failed Exception. Query name: [getCreditValidationSelect], Descriptor name: [getCreditValidation.Creditcardinfo]. Caused by Exception [EclipseLink-6003] (Eclipse Persistence Services - 2.3.1.v20111018-r10243): org.eclipse.persistence.exceptions.QueryException Exception Description: The number of arguments provided to the query for execution does not match the number of arguments in the query definition. Query: ReadAllQuery(name="getCreditValidationSelect" referenceClass=Creditcardinfo ). See root exception for the specific exception. This exception is considered not retriable, likely due to a modelling mistake. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. +
    Any idea is welcome! :)
    If you have great urls to communicate with adapters and variables from spring component, don't hesitate to post it!
    Thanks in advance,
    Sophie
    Edited by: 953383 on Sep 18, 2012 6:41 AM
    Edited by: 953383 on Sep 18, 2012 6:43 AM
    Edited by: 953383 on Sep 18, 2012 6:46 AM

    Hello,
    Finally, I can interact with my db adapter.
    But, I ask you the following question : is there any documentation on the manner to interact with adapters and other component of the suite and on all classes generated?
    Thanks in advance,
    Sophie

  • Problem with Import and Export Data Wizard

    Downloaded and installed SQL Server Express 2008 R2 today because I want to explore how Access interacts with SQL Server (using my home computer). I'm using Access 2010 (under Windows 7), so the 2008 version of SQL Server Express seemed to be the version
    to use.
    After a couple of false starts, installation appeared to go okay. After the installation. My Start menu listed Microsoft SQL Server 2008 and Microsoft SQL Server 2008 R2. The latter listed Import and Export Data (64-bit). When I clicked that, the first Import
    and Export Data Wizard page was displayed. I wasn't ready at that time to explore the wizard, so I closed it. An hour or so later I again attempted to open the Import and Export Data wizard. This time, the wizard didn't open. Instead this error message was
    displayed: "The SSIS Runtime object could not be created. Verify that DTS.dll is available and registered."
    I found DTS.dll on my computer at C:\Program Files\Microsoft SQL Server\100\DTS\Binn, so the file is available, but don't know whether it is registered.
    How can I correct this problem?

    First can you please post all log file errors
    >> I can't really give you a solution or specific recommendation since I did not saw this error yet myself, but on your own risk you can try:
    1. You may try to just register 'dts.dll' using regsvr32.exe, but this error may indicate a bigger problem with setup.
    If you are running SQL Server 64bit then try running this at the command prompt: %windir%\syswow64\regsvr32 "%ProgramFiles(x86)%\Microsoft SQL Server\90\dts\binn\dts.dll"
    2. You can try reinstall from start (In this case you have to make sure that you un-install all)
    [Personal Site] [Blog] [Facebook]

  • In Adobe premiere elements 12 it wont let me add a m4a file. It says that "the importer reported a generic error". Please help.

    please help, I need to make a video and cant get in my music.

    tuckey2012
    For background information, what computer operating system is your Premiere Elements 12 running on?
    I could ask you for a lot of details to build a troubleshooting plan. However, in this instance with .m4a file and "importer reported a generic error", I am going to cut to what I believe your workflow problem to be.
    You are working with iTunes music. To use them in Premiere Elements (any version), please convert them to .wav file in iTunes.
    To do that....
    a. Open iTunes and go to Music - File Menu/Add File To Library
    b. Edit Menu/Preferences/General and there click on Import Settings
    c. In the Import Settings dialog, go to Import Using and set for WAV Encoder.
    d. OK out of that area.
    In the Music Section/Songs, right click your import, select Create WAV Version
    Then right click the WAV Version, select Copy, and then Paste it to the computer desktop
    from where you import it into Premiere Elements 12 Expert workspace Add Media/Files and Folders/Project Assets
    from where you drag it to one of the audio tracks.
    Please let us know if that works for you.
    Thanks.
    ATR

  • Adobe Premiere Elements 12: Add Media Failure: The Importer Reported a Generic Error

    I am trying to add a MOV file to PE 12 I and keep recieving and Add Media Failure Error stating "The Importer Reported a Generic Error".  I have added other MOV files without any issue so I don't know why some MOV will work and others won't.  The only common characteristic I've found is that the MOV files that won't work are files that were recorded with my SLR camera. The location of the files I've added/tried adding are on my external hard drive.

    bunzondarun
    Try importing a few of the problematic files from a Local Disc C location like Videos and determine if problem presists. How is the external hard drive formatted, NTFS or FAT32?
    Do you have the latest version of QuickTime installed on your computer with Premiere Elements 12? And, on what computer operating system is Premiere Elements 12 running? Are you running QuickTime and Premiere Elements 12 as Run As Administrator and/or from a User Account with Administrative Privileges?
    What specifically is the video compression for the problematic files? And, what is the brand/model/settings for the camera that is recording these videos?
    More later.
    ATR

  • Internal table with Import and Export

    Hi All,
    Hi all
    Please let me know the use of <b>Internal table with Import and Export parameters and SET/GET parameters</b>, on what type of cases we can use these? Plese give me the syntax with some examples.
    Please give me detailed analysis on the above.
    Regards,
    Prabhu

    Hi Prabhakar,
    There are three types of memories.
    1. ABAP MEMORY
    2. SAP MEMORY
    3. EXTERNAL MEMORY.
    1.we will use EXPORT/ IMPORT TO/ FROM MEMORY-ID when we want to transfer between ABAP memory
    2. we will use GET PARAMETER ID/ SET PARAMETER ID to transfer between SAP MEMORY
    3. we will use EXPORT/IMPORT TO/FROM SHARED BUFFER to transfer between external memory.
    ABAP MEMORY : we can say that two reports in the same session will be in ABAP MEMORY
    SAP MEMORY: TWO DIFFERENT SESSIONS WILL BE IN SAP MEMORY.
    for ex: IF WE CALL TWO DIFFERENT TRANSACTIONS SE38, SE11
    then they both are in SAP MEMORY.
    EXTERNAL MEMORY: TWO different logons will be in EXTERNAL MEMORY.
    <b>Syntax</b>
    To fill the input fields of a called transaction with data from the calling program, you can use the SPA/GPA technique. SPA/GPA parameters are values that the system stores in the global, user-specific SAP memory. SAP memory allows you to pass values between programs. A user can access the values stored in the SAP memory during one terminal session for all parallel sessions. Each SPA/GPA parameter is identified by a 20-character code. You can maintain them in the Repository Browser in the ABAP Workbench. The values in SPA/GPA parameters are user-specific.
    ABAP programs can access the parameters using the SET PARAMETER and GET PARAMETER statements.
    To fill one, use:
    SET PARAMETER ID <pid> FIELD <f>.
    This statement saves the contents of field <f> under the ID <pid> in the SAP memory. The code <pid> can be up to 20 characters long. If there was already a value stored under <pid>, this statement overwrites it. If the ID <pid> does not exist, double-click <pid> in the ABAP Editor to create a new parameter object.
    To read an SPA/GPA parameter, use:
    GET PARAMETER ID <pid> FIELD <f>.
    This statement fills the value stored under the ID <pid> into the variable <f>. If the system does not find a value for <pid> in the SAP memory, it sets SY-SUBRC to 4, otherwise to 0.
    To fill the initial screen of a program using SPA/GPA parameters, you normally only need the SET PARAMETER statement.
    The relevant fields must each be linked to an SPA/GPA parameter.
    On a selection screen, you link fields to parameters using the MEMORY ID addition in the PARAMETERS or SELECT-OPTIONS statement. If you specify an SPA/GPA parameter ID when you declare a parameter or selection option, the corresponding input field is linked to that input field.
    On a screen, you link fields to parameters in the Screen Painter. When you define the field attributes of an input field, you can enter the name of an SPA/GPA parameter in the Parameter ID field in the screen attributes. The SET parameter and GET parameter checkboxes allow you to specify whether the field should be filled from the corresponding SPA/GPA parameter in the PBO event, and whether the SPA/GPA parameter should be filled with the value from the screen in the PAI event.
    When an input field is linked to an SPA/GPA parameter, it is initialized with the current value of the parameter each time the screen is displayed. This is the reason why fields on screens in the R/3 System often already contain values when you call them more than once.
    When you call programs, you can use SPA/GPA parameters with no additional programming overhead if, for example, you need to fill obligatory fields on the initial screen of the called program. The system simply transfers the values from the parameters into the input fields of the called program.
    However, you can control the contents of the parameters from your program by using the SET PARAMETER statement before the actual program call. This technique is particularly useful if you want to skip the initial screen of the called program and that screen contains obligatory fields.
    Reading Data Objects from Memory
    To read data objects from ABAP memory into an ABAP program, use the following statement:
    Syntax
    IMPORT <f1> [TO <g 1>] <f 2> [TO <g 2>] ... FROM MEMORY ID <key>.
    This statement reads the data objects specified in the list from a cluster in memory. If you do not use the TO <g i > option, the data object <f i > in memory is assigned to the data object in the program with the same name. If you do use the option, the data object <f i > is read from memory into the field <g i >. The name <key> identifies the cluster in memory. It may be up to 32 characters long.
    You do not have to read all of the objects stored under a particular name <key>. You can restrict the number of objects by specifying their names. If the memory does not contain any objects under the name <key>, SY-SUBRC is set to 4. If, on the other hand, there is a data cluster in memory with the name <key>, SY-SUBRC is always 0, regardless of whether it contained the data object <f i >. If the cluster does not contain the data object <f i >, the target field remains unchanged.
    Saving Data Objects in Memory
    To read data objects from an ABAP program into ABAP memory, use the following statement:
    Syntax
    EXPORT <f1> [FROM <g 1>] <f 2> [FROM <g 2>] ... TO MEMORY ID <key>.
    This statement stores the data objects specified in the list as a cluster in memory. If you do not use the option FROM <f i >, the data object <f i > is saved under its own name. If you use the FROM <g i > option, the data objet <g i > is saved under the name <f i >. The name <key> identifies the cluster in memory. It may be up to 32 characters long.
    Check this link.
    http://www.sap-img.com/abap/difference-between-sap-and-abap-memory.htm
    Thanks,
    Susmitha.
    Reward points for helpful answers.

  • Trying to generate a pdf with jasper reports

    Fellas,
    i hav trying to generate a pdf with jasper reports, but i cant. I create a file .jasper with iReports. This is my code:
    emite.java
    package utilitarios;
    //import net.sf.jasperreports
    import net.sf.jasperreports.engine.*;
    import net.sf.jasperreports.view.JasperViewer;
    import java.sql.*;
    import java.util.*;
    import javax.swing.*;
    import java.util.HashMap;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class emitebl {
    private static Connection getConnection( ) throws ClassNotFoundException, SQLException{
    String driver = "org.postgresql.Driver";
    String url = "jdbc:postgresql://localhost/sist";
    String user = "usuario";
    String password = "";
    Class.forName(driver);
    Connection con = DriverManager.getConnection( url, user, password );
    return con;
    public void geraRelatorio( ) throws JRException, Exception{
    Connection con = getConnection( );
    Statement stm = con.createStatement( );
    String query = "SELECT * FROM emissaobl WHERE id=4";
    ResultSet rs = stm.executeQuery(query);
    JRResultSetDataSource jrRS = new JRResultSetDataSource(rs);
    Map parameters = new HashMap();
    JasperFillManager.fillReportToFile("emitebl.jasper",parameters,jrRS);
    JasperExportManager.exportReportToPdfFile("emitebl.jrprint");
    JasperViewer.viewReport("emissao_bl.pdf",false);
    } emissao.jsp:
    <%@ page import="utilitarios.*" %>
    <%
    new emitebl().geraRelatorio();
    %>Following the error message exception:
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: emitebl.jasper
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:846)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:779)
         org.apache.jsp.emissaobl.exportapdf_jsp._jspService(exportapdf_jsp.java:76)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:325)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)
    root cause
    net.sf.jasperreports.engine.JRException: emitebl.jasper
         net.sf.jasperreports.engine.util.JRLoader.loadObject(JRLoader.java:73)
         net.sf.jasperreports.engine.JasperFillManager.fillReportToFile(JasperFillManager.java:270)
         utilitarios.emitebl.geraRelatorio(emitebl.java:37)
         org.apache.jsp.emissaobl.exportapdf_jsp._jspService(exportapdf_jsp.java:54)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:325)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)where i hav to put the .jasper file?

    Hi,
    If you have placed your .jrxml file say in C:\reports, and when you use compileReportToFile(jrxmlFileName), then the jasper file will be created in the same directory C:\report with the same file name with .jasper extension. If you want a pdf report then specify the same location and file name with '.pdf' extension as destination .
    Hope this helps

  • How to print a pdf without user interaction (With C#)

    My boss assigned me a task that to get the ImagePreview of 1st page of PDF.
    My thought is to print the 1st page of PDF to file(virtual print to file), and get the image source, but there comes the problem:
    How can print a pdf without user interaction(With C#),question are these:
    1. I can use the ShellExcute but cannot assign the destination of output file.
    2. User interface is unwanted, I don't want show anyone the Acrobat Reader interface who click the file just want to get a preview.
    3. No place to put those parameters in.
    This problem confused me a lot of days, I wish someone can give some hints.
    Thank you very much!
    (Maybe you will tell me to use Acrobat SDK, please don't, I'm afraid we cannot afford that)

    >I have not read the document yet
    This is the first step. There are many documents, but start with the
    introductory/getting started material.
    > with a index.pdx
    A PDX is a search database to allow you to do fast searching in
    Acrobat.
    >
    >About the relationship between Adobe Reader and Acrobat, as far as I know is that, the previous one is just the reading tool for PDF document, instead, Acrobat can modify and resave the PDF doc. Is it right?
    Effectively, yes. But the Acrobat SDK is mainly for working with
    Acrobat. It's very important to keep this clear, since you have said
    you only have the free Reader, so 95% of what is in the SDK cannot
    work for you.
    >
    >Simply my questions,
    >1. I don't know which dll to refer in the .Net project to print with. Is the ActiveX folder in product folder?
    Simply, there is no point asking these questions, yet, because you
    have not started on the documentation.
    But let's continue in the SDK forum, where I have posed what seems to
    be a very important question about why print to file at all.
    Aandi Inston

  • Do migrated forms still interact with EBS database?

    Once you have completed a EBS forms conversion into APEX, are you able to have the new APEX applications forms read/write from the EBS database?
    For instance ,say your wanting to take currently used forms XYZ out of EBS and put them into APEX so you can create a better UI and such for them or just give the users better use of the data. Can the EBS users then use those forms rather then the EBS ones to do their same day to day functions?
    I'm just not seeing anything regarding how the APEX forms would interact with the EBS data tables, but i could be overlooking something.
    A simple Yes/No would be great, a yes w/ some pointers or tags to documentation would get ya some bonus points!
    Thanks,
    Jeremy

    A good example could be a custom form for some module that you built using Oracle Forms for the 11i stack. Maybe it maintains data in a custom table that you use for reporting or extension purposes.
    You know that although R12 supports Forms in the techs tack, its going to be de-supported in the future in favor of ADF/Fusion/Next Java technology. You don't have a lot of java experience in your shop and want to retain the pl/sql developers you have, so you decide you will use Apex for your custom form development from now on instead of forms or OAF.
    Apex is really no different than any other framework (no matter what anyone will lead you to believe). Its great for interactive applications, forms, read-only..etc. So if you can do it in java, you can do it in Apex. I completely agree that you absolutely do not want to modify the EBS forms in any way - in fact by doing so you are pretty much de-supporting yourself as support won't touch anything that didnt come from Oracle directly.

Maybe you are looking for

  • More than one track at a time

    I have an Allen and Heath zed 12 mixer connected by usb to my mac. can I record more that one track at a time using Garage band?

  • How to add new fields for ESS leave request

    Hi friends, Can u please help me with my issue....... My issue is to add new fields in ess/leave request i.e... The component needs to be Checked-out through Net Weaver Development Infrastructure, make the necessary enhancements, and finally Check-it

  • Deployment exception : Cannot determine sdm host (is empty). error

    Hi all, i have installed the NW2004 s sneek preview. Trying to deploy a web dynpro application. Yesterday i was able to. Today The deployment fails with the message Deployment exception : Cannot determine sdm host (is empty). Please configure your en

  • Sun Java Studio Enterprise 8.1 and JBoss 4.05

    I'm getting this error trying to add a JBoss Application Server for the IDE to deploy to: java.lang.NoClassDefFoundError: org/dom4j/io/SAXReader What should I do now?

  • IOS Simulator problem

    I'm using the latest OS version OS Mountain Lion, and the latest xCode version. My problem is, when I use xCode, to test iOS Simulator, ios simulator won't run. The program will open but it will freeze. I have been searching for solutions but no luck