Extra element in XMLBean doc returned from DBControl!

Hi,
I am returning XMLBeans from a DBControl. The returned XMLBean has an extra element in it that was not defined in the schema for the bean. Here's the schema that is defined:
<xs:complexType name="CompanyCoreDetailsType">
<xs:sequence>
<xs:element name="accountNo"/>
<xs:element name="companyName"/>
<xs:element name="companyNameDisp"/>
<xs:element name="address1"/>
<xs:element name="address2"/>
<xs:element name="address3"/>
<xs:element name="city"/>
<xs:element name="state"/>
<xs:element name="zip"/>
<xs:element name="country"/>
<xs:element name="website"/>
<xs:element name="regionID"/>
<xs:element name="regionName"/>
<xs:element name="hiringSummer"/>
<xs:element name="hiringFullTime"/>
<xs:element name="recruitingNotes"/>
<xs:element name="recruitingNotesDate"/>
<xs:element name="hiringInfoSource"/>
<xs:element name="overviewFileName"/>
<xs:element name="stockSymbol"/>
<xs:element name="active"/>
<xs:element name="forceToWeb"/>
<xs:element name="numCompanyContacts"/>
<xs:element name="numStudentContacts"/>
<xs:element name="numInsights"/>
<xs:element name="reviewDate"/>
<xs:element name="lastDate"/>
</xs:sequence>
</xs:complexType>
And here's the return from the DBControl:
Return value: <CompanyCoreDetails xmlns="http://gsb.stanford/valobj" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<accountNo>
<ACCOUNTNO>A2100856964%5:0E/Mai</ACCOUNTNO>
<COMPANYNAME>AAAAAA</COMPANYNAME>
<COMPANYNAMEDISP>AAAAAA</COMPANYNAMEDISP>
<ADDRESS1>Mother Ignacia Street</ADDRESS1>
<ADDRESS2 xsi:nil="true"/>
<ADDRESS3 xsi:nil="true"/>
<CITY>Quezon City</CITY>
<STATE xsi:nil="true"/>
<ZIP/>
<COUNTRY>Philippines</COUNTRY>
<WEBSITE>www.aaaaaa.com</WEBSITE>
<REGIONID>2</REGIONID>
<REGIONNAME>Asia/Australia</REGIONNAME>
<HIRINGSUMMER xsi:nil="true"/>
<HIRINGFULLTIME xsi:nil="true"/>
<RECRUITINGNOTES xsi:nil="true"/>
<RECRUITINGNOTESDATE xsi:nil="true"/>
<HIRINGINFOSOURCE xsi:nil="true"/>
<OVERVIEWFILENAME xsi:nil="true"/>
<STOCKSYMBOL xsi:nil="true"/>
<ACTIVE>Active</ACTIVE>
<FORCETOWEB>No</FORCETOWEB>
<NUMCOMPANYCONTACTS>1</NUMCOMPANYCONTACTS>
<NUMSTUDENTCONTACTS>0</NUMSTUDENTCONTACTS>
<NUMINSIGHTS>0</NUMINSIGHTS>
<REVIEWDATE xsi:nil="true"/>
<LASTDATE>2005-06-07T14:29:00-07:00</LASTDATE>
</accountNo>
</CompanyCoreDetails>
Notice the extra <accountNo> element which is added and wraps most of the other elements.
The db control is calling a stored procedure which returns all the elements defined in the schema in the same order. The names of the elements are the same, but the case is different. The SP does return something called ACCOUNTNO which looks like it's interpreted correctly.
Thank you,
Max

Jennifer,
Here's the code for the db control... let me know what else you need and thanks for looking into this.
* Defines a new database control.
* The @jc:connection tag indicates which WebLogic data source will be used by
* this database control. Please change this to suit your needs. You can see a
* list of available data sources by going to the WebLogic console in a browser
* (typically http://localhost:7001/console) and clicking Services, JDBC,
* Data Sources.
* @jc:connection data-source-jndi-name="CIDBDataSource"
public interface CompanyDBControl extends DatabaseControl, com.bea.control.ControlExtension
static final long serialVersionUID = 1L;
* @jc:sql statement="exec s_gm_company_criteria_search {industries}, {regions}, {jobFunctions}"
CompanySearchResultCltnDocument criteriaSearch(String industries, String regions, String jobFunctions);
* @jc:sql statement="exec s_gm_company_alpha_search {alpha}"
CompanySearchResultCltnDocument alphaSearch(String alpha);
* @jc:sql statement="exec s_gm_company_name_search {name}"
CompanySearchResultCltnDocument nameSearch(String name);
* @jc:sql statement="exec s_gm_get_company_info {accountNo}"
CompanyCoreDetailsDocument getCoreCompanyDetails(String accountNo);
* @jc:sql statement="exec s_gm_get_company_cmc_contacts {accountNo}"
CompanyCMCContactsCltnDocument getCompanyCMCContacts(String accountNo);
* @jc:sql statement="exec s_gm_get_company_student_contacts {accountNo}"
CompanyStudentContactsCltnDocument getCompanyStudentContacts(String accountNo);
* @jc:sql statement="exec s_gm_get_company_insights {accountNo}"
CompanyInsightsCltnDocument getCompanyInsights(String accountNo);
}

Similar Messages

  • A SOA Exception returned from Oracle EBS ISG

    Hi All,
    Need your help. Maybe someone know the solution for this error.
    Background
    Using a webservice client to call WSDL service which is published in Oracle EBS Integrated SOA Gateway. After invoking, encounter a error.
    Error
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header/><env:Body><env:Fault xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><faultcode xmlns="">SOAP-ENV:Server</faultcode><faultstring xmlns="">FND_SOA_SERVICE_EXECUTION_ERR:oracle.apps.fnd.soa.util.SOAException: ServiceExecutionError: Error while executing the service Exception returned from JCA Service Runtime. Exception returned from JCA Service Runtime. null
        :Please see service monitor logs for full error trace</faultstring></env:Fault></env:Body></env:Envelope>
    My Research
    I checked SOA log, found detailed log like below.
    Fri Aug 23 19:19:04 CST 2013 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke : JCAClientFactoryCrated.
    Fri Aug 23 19:19:04 CST 2013 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke : JCAInterfaceCreated.
    Fri Aug 23 19:19:04 CST 2013 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke : JCAOperationCreated.
    Fri Aug 23 19:19:04 CST 2013 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke : buildversion in jcahanlder is 1213
    Fri Aug 23 19:19:04 CST 2013 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke : found runtime classes
    Fri Aug 23 19:19:04 CST 2013 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke : created instance for runtime classes
    Fri Aug 23 19:19:04 CST 2013 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke : runtime Methods found [Ljava.lang.reflect.Method;@2ba02ba0
    Fri Aug 23 19:19:04 CST 2013 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke : method executeRequestResponseOperation found
    Fri Aug 23 19:19:04 CST 2013 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke : executing 3 parameter method
    Fri Aug 23 19:19:05 CST 2013 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke : Exception returned from JCA Service Runtime.java.lang.reflect.InvocationTargetException
    Fri Aug 23 19:19:05 CST 2013 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke : Exception returned from JCA Service Runtime.oracle.apps.fnd.soa.util.SOAException: ServiceProcessingError: Exception returned from JCA Service Runtime. null
    Fri Aug 23 19:19:05 CST 2013 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.handleRequest : Exception returned from JCA Service Runtime.oracle.apps.fnd.soa.util.SOAException: ServiceProcessingError: Exception returned from JCA Service Runtime. Exception returned from JCA Service Runtime. null
    Fri Aug 23 19:19:05 CST 2013 : oracle.apps.fnd.soa.provider.SOAProvider.createErrorResponseMessage : Creating Error Response Message.
    Fri Aug 23 19:19:05 CST 2013 : oracle.apps.fnd.soa.provider.SOAProvider.getNLSTranslatedMessage : Error code : FND_SOA_SERVICE_EXECUTION_ERR
    Fri Aug 23 19:19:05 CST 2013 : oracle.apps.fnd.soa.util.SOAContext.setSecurityContext : Is security context set = true
    Fri Aug 23 19:19:05 CST 2013 : oracle.apps.fnd.soa.util.SOAContext.setNLSContext : Is nls context set = true
    Fri Aug 23 19:19:05 CST 2013 : oracle.apps.fnd.soa.provider.SOAProvider.getNLSTranslatedMessage : NLS Compliant Error Msg = FND_SOA_SERVICE_EXECUTION_ERR
    Fri Aug 23 19:19:05 CST 2013 : oracle.apps.fnd.soa.provider.SOAProvider.createErrorResponseMessage : Setting fault string = FND_SOA_SERVICE_EXECUTION_ERR:oracle.apps.fnd.soa.util.SOAException: ServiceExecutionError: Error while executing the service Exception returned from JCA Service Runtime. Exception returned from JCA Service Runtime. null
        :Please see service monitor logs for full error trace
    Fri Aug 23 19:19:05 CST 2013 : oracle.apps.fnd.soa.provider.SOAProvider.createErrorResponseMessage : Error Response Message Created
    Fri Aug 23 19:19:05 CST 2013 : oracle.apps.fnd.soa.provider.SOAProvider.processMessage : oracle.apps.fnd.soa.util.SOAException: ServiceExecutionError: Error while executing the service Exception returned from JCA Service Runtime. Exception returned from JCA Service Runtime. null
        at oracle.apps.fnd.soa.provider.services.jca.JCAHandler.handleRequest(JCAHandler.java:135)
        at oracle.apps.fnd.soa.provider.SOAProvider.processMessage(SOAProvider.java:366)
        at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:958)
        at oracle.j2ee.ws.server.WebServiceProcessor$1.run(WebServiceProcessor.java:388)
        at java.security.AccessController.doPrivileged(AccessController.java:284)
        at javax.security.auth.Subject.doAs(Subject.java:573)
        at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:385)
        at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:481)
        at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
        at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
        at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:200)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
        at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
        at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
        at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
        at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
        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 oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
        at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
        at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
        at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
        at java.lang.Thread.run(Thread.java:735)
    java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:599)
        at oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke(JCAHandler.java:193)
        at oracle.apps.fnd.soa.provider.services.jca.JCAHandler.handleRequest(JCAHandler.java:123)
        at oracle.apps.fnd.soa.provider.SOAProvider.processMessage(SOAProvider.java:366)
        at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:958)
        at oracle.j2ee.ws.server.WebServiceProcessor$1.run(WebServiceProcessor.java:388)
        at java.security.AccessController.doPrivileged(AccessController.java:284)
        at javax.security.auth.Subject.doAs(Subject.java:573)
        at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:385)
        at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:481)
        at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
        at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
        at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:200)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
        at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
        at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
        at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
        at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
        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 oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
        at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
        at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
        at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
        at java.lang.Thread.run(Thread.java:735)
    Caused by: org.collaxa.thirdparty.apache.wsif.WSIFException: file:/xxxx/soa/PLSQL/4392/INVOKEFMSWS.wsdl [ INVOKEFMSWS_ptt::INVOKEFMSWS(InputParameters,OutputParameters) ] - WSIF JCA Execute of operation 'INVOKEFMSWS' failed due to: Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    ; nested exception is:
        ORABPEL-11622
    Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    See root exception for the specific exception. You may need to configure the connection settings in the deployment descriptor (i.e. $J2EE_HOME/application-deployments/default/DbAdapter/oc4j-ra.xml) and restart the server. Caused by javax.resource.spi.InvalidPropertyException: Missing Property Exception.
    Missing Property: [DBManagedConnectionFactory.userName].
    Make sure the property is set in the interaction (activation) spec by editing its definition in the wsdl.
        at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:642)
        at oracle.tip.adapter.client.JCABindingOperation.invokeWsifProvider(JCABindingOperation.java:275)
        at oracle.tip.adapter.client.JCABindingOperation.executeRequestResponseOperation(JCABindingOperation.java:182)
        ... 30 more
    Caused by: ORABPEL-11622
    Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    See root exception for the specific exception. You may need to configure the connection settings in the deployment descriptor (i.e. $J2EE_HOME/application-deployments/default/DbAdapter/oc4j-ra.xml) and restart the server. Caused by javax.resource.spi.InvalidPropertyException: Missing Property Exception.
    Missing Property: [DBManagedConnectionFactory.userName].
    Make sure the property is set in the interaction (activation) spec by editing its definition in the wsdl.
    And in MOS, I found below related metalink note, But I think my case is not same with the description in that note, bcz the reponsibility I provided is not null, and should be a correct value.
    FND_SOA_SERVICE_EXECUTION_ERR Error When Invoking EBS SOA Gateway Web Service (Doc ID 1512956.1)
    Thanks in advance
    Paul

    Hi, PaulTian ,
      Have you find the solution? I have the same problem, and it world not be responsibility reasons. The webservice worked well ,but it stopped when applied a patch.
    Kevin

  • How can I refresh a calling page on return from a TF activity ?

    Hi,
    I have a (sounds easy) case where a view activity invokes a BTW with fragments. The called BTF has been declared with isolated data control scope. Inside the BTF some updates happen and when the BTF returns the calling view should display the modified data. The BTF should not be opened as a dialog and the above take place inside a region. There are examples in the Internet for how to implement such case but only calling a taskflow with pages from a dialog.
    I tried creating first the Taskflow binding definition [19.10.1 How to Associate a Page Definition File with a Task Flow Activity|http://docs.oracle.com/cd/E35521_01/web.111230/e16182/taskflows_activities.htm#sthref539] , then I set the related operations (Execute, setCurrentRowWithKey, ...) in the Page Definition and invoke the operations inside the “After Listener” Listener (<after-listener>) of the taskflow activity but the binding context is not accessible inside the listener, I get NPE accessing the binding.
    After some tests I have found that I can call the Operations using “#data.taskflowdefinition..” but I afraid using this technique because of so many papers stating that this is a bad practice.
    Additionally I tested using an invokeAction in the calling page definition page and it works but I prefer “refreshing” the model from the activity (there are many pages calling the same activity).
    I am wondering if there is a more elegant solution that I haven’t seen yet.
    Thanks for any ideas,
    Yiannis
    Edited by: Tses on Mar 8, 2013 11:15 PM

    Hi Timo and thank you for your reply,
    As far as I know any method executed in the BTF has no effect in the calling page because of the isolated data control scope.
    Consider the following layout of a very simple TF diagram. The BTF has "Share data controls with calling task flow" unchecked and "Always begin new transaction"
    View --> Method Call --> BTF
    Now imagine that a user navigates from the View to the BTF, make updates and finally commits the transaction from a taskflow return activity. The updates are executed inside the "private" BTF's data control scope because of the BTF settings.
    Returning to the calling View the user sees stale data from the Data Control of the View, until he re-queries the model.
    ADF supports execution of code during the call of the BTF (through Method Call) and also sending and returning parameters from the View to the BTF.
    Conversely on return from the BTF there is no handler for executing code (something like "Return Method Call") in order to refresh (e.g. re-query and set current row) the View exploiting the return parameters.
    The "After Listener" in the taskflow call activity has not access to the bindings context. Using #{data.bindingTFXXX} I guess that has a risk in a high availability environment for NPE where the http call to the BTF might be processed in a different server than the returning http call so the #{data.bindingTFXXX} might not exists.
    The other solution I found using invokeAction with RefreshCondition depends on the returning values of the BTF, bloats the View with Bindings that I would prefer to be in a central place.
    Am i missing something in the whole flow above ?
    Yiannis

  • Adding an extra element to a XML message

    Hello,
    We are generating XML-files using DBMS_XMLQUERY on a Oracle Database 10g Enterprise Edition Release 10.2.0.3.0.
    This works fine. But now one of our customers needs an extra element (header) in the XML file. How do I get this job done?
    The XML-file needs to look like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <aankomstBevestiging>
    <header>
    <retailPartnerCode>retailPartnerCode</retailPartnerCode>
    <bestandsNaam>bestandsNaam</bestandsNaam>
    <berichtNaam>berichtNaam</berichtNaam>
    <berichtDatumTijd>2001-12-31T12:00:00</berichtDatumTijd>
    </header>
    <aankomst>
    <artikelNummer>artikelNummer</artikelNummer>
    <kleurNummer>kleurNummer</kleurNummer>
    <maat>maat</maat>
    <status>status</status>
    <aantalOntvangen>1</aantalOntvangen>
    <werkelijkeAankomstDatum>2001-01-01</werkelijkeAankomstDatum>
    <ggb>1</ggb>
    <goederenSoort>goederenSoort</goederenSoort>
    </aankomst>
    </aankomstBevestiging>
    Currently the output looks like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <aankomstBevestiging>
    <aankomst>
    <artikelNummer>artikelNummer</artikelNummer>
    <kleurNummer>kleurNummer</kleurNummer>
    <maat>maat</maat>
    <status>status</status>
    <aantalOntvangen>1</aantalOntvangen>
    <werkelijkeAankomstDatum>2001-01-01</werkelijkeAankomstDatum>
    <ggb>1</ggb>
    <goederenSoort>goederenSoort</goederenSoort>
    </aankomst>
    </aankomstBevestiging>
    The code generating this XML:
    procedure create_xml_file(
    is
    l_xml clob;
    l_ctx DBMS_XMLQUERY.ctxhandle;
    PROCEDURE clob_to_xml (p_file IN VARCHAR2,
    p_clob IN CLOB,
    p_dir in varchar2,
    p_setrowsettag in varchar2 default 'Dataset',
    p_setrowtag in varchar2 default 'Table'
    IS
    l_output UTL_FILE.file_type;
    l_amt NUMBER DEFAULT 5000;
    l_offset NUMBER DEFAULT 1;
    l_length NUMBER DEFAULT NVL (DBMS_LOB.getlength (p_clob), 0);
    BEGIN
    l_output := UTL_FILE.fopen (p_dir, p_file, 'w', 32760);
    WHILE (l_offset < l_length)
    LOOP
    UTL_FILE.put (l_output, DBMS_LOB.SUBSTR (p_clob, l_amt, l_offset));
    UTL_FILE.fflush (l_output);
    l_offset := l_offset + l_amt;
    END LOOP;
    UTL_FILE.new_line (l_output);
    UTL_FILE.fclose (l_output);
    END clob_to_xml;
    BEGIN
    l_ctx := DBMS_XMLQUERY.newcontext('select mvw.rpr_artikel_nr "artikelNummer",
    mvw.rpr_kleur_nr "kleurNummer",
    mvw.rpr_maat_code "Maat",
    mat.locus_status_code "Status",
    mat.ontvangen_aantal "aantalOntvangen",
    mat.werkelijke_aankomst_datum "werkelijkeAankomstDatum",
    mat.ontvangst_order_nr "ggb",
    mat.ontvangst_order_nr "goederenSoort"
    from wdp_magazijn_aankomsten mat
    , wdp_rpr_artikel_maat_vw mvw
    where mvw.maa_id = mat.maa_id;);
    DBMS_XMLQUERY.setrowsettag (l_ctx, 'aankomstBevestiging' );
    DBMS_XMLQUERY.setrowtag (l_ctx, 'aankomst');
    DBMS_XMLQUERY.setdateformat (l_ctx, 'dd-MM-yyyy HH:mm:ss');
    DBMS_XMLQUERY.setencodingtag (l_ctx, 'UTF-8');
    l_xml := DBMS_XMLQUERY.getxml(l_ctx);
    DBMS_XMLQUERY.closecontext (l_ctx);
    clob_to_xml (p_file_name,l_xml, l_dir );
    end if;
    end;
    /

    Posted this messages also in PL/SQL XML programming
    Adding an extra element to a XML message

  • HT5527 Account status: An error was returned from server. Please try again later - I have been trying to access my account for more than a week... always the same answer any advice appreciated.

    I have been trying to access my iCloud account for more than a week...looking to drop it to the 5GB from current 7GB. I always get the same answer any advice appreciated.  System Preferences clcik on clous = Account status: An error was returned from server. Please try again later
    I have tries later many many times.
    Thanks,
    Sophie

    I don't know why you can't access it, but if you were a MobileMe subscriber with the free extra storage this has now been removed and your account will have reverted to 5GB.

  • I have a 3 year old MacBook Pro with MAC OSX 10.6.8, iPhoto '09 version 8.1.2 and have downloaded two software programs: one is Aperture 3.2 and the other is Photoshop Elements 9 (which I got from a friend who didn't need it). I am totally happy with the

    I have a 3 year old MacBook Pro with MAC OSX 10.6.8, iPhoto ’09 version 8.1.2 and have downloaded two software programs: one is Aperture 3.2 and the other is Photoshop Elements 9 (which I got from a friend who didn’t need it).
    I am totally happy with the way iPhoto organizes my photos and how I can work with iMovie to create slide shows with music from iTunes, etc.
    I have been shooting mostly high resolution jpegs and I continue to learn more and more about photography, post processing etc. I realize that the small adjustments I can make in iPhoto are good, and are adequate most of the time. However, a have started to experiment with shooting RAW images and would like to go the next step, ie. post processing.I am totally technically challenged and need SIMPLE, INTUITIVE programs and am certainly NOT anywhere ready for Photoshop CS whatever!
    After having these programs sit on my computer, I decided to try to see if I could figure them out. When I opened Aperture, this is what first comes up.
    “Welcome to Aperture 3.2
    Your library needs to be upgraded to work with this version of Aperture. Once upgraded, you will not be able to use this library with previous versions of Aperture.
    Upgrading a library from previous versions of Aperture 3 generally takes a few minutes or less, though larger libraries will take longer. After that, Aperture 3.2 will upgrade your library's thumbnails, but you can use the application during that time.
    Tip: To open a different library, quit Aperture and hold the Option key down while starting Aperture
    Current Library Location:
    Jadzia (home)   -----Pictures------Aperture Library
                                                      QUIT             UPGRADE”
    I have heard horror stories  about moving your entire library to Aperture, ending up with 2 libraries, etc. etc. hence my previous reluctance in attempting Aperture. In addition, many of my photography friends are saying: Go with Lightroom 3.....you’ll love it!
    So here is my dilemma.  I don’t want to mess around with my iPhoto library. All I want to be able to do, is to isolate a few photos, export them to Aperture, Elements, and work on them there, then bring them back into iPhoto.
    Can I do this? Should I forget about Aperture and Elements and look at purchasing yet another program like Lightroom?

    Export those few photos via the File ➙ Export ➙ File Export menu option with Kind = Original to the Desktop.  Then import them into the Aperture library. That would keep one copy in your iPhoto library and another in your Aperture library to edit, etc.
    You can use Photoshop Elements 9 from within iPhoto as your editor of choice. However, if you edit a raw file in iPhoto with PSE9 the resulting edited version must be saved outside the iPhoto Library and imported back in as a new file.  For editing jpegs just do a Save (not a Save As) and it all will be kept within iPhoto. 
    Using Photoshop or Photoshop Elements as Your Editor of Choice in iPhoto.
    1 - select Photoshop or Photoshop Elememts as your editor of choice in iPhoto's General Preference Section's under the "Edit photo:" menu.
    2 - double click on the thumbnail in iPhoto to open it in Photoshop.  When you're finished editing click on the Save button. If you immediately get the JPEG Options window make your selection (Baseline standard seems to be the most compatible jpeg format) and click on the OK button. Your done. 
    3 - however, if you get the navigation window
    that indicates that  PS wants to save it as a PS formatted file.  You'll need to either select JPEG from the menu and save (top image) or click on the desktop in the Navigation window (bottom image) and save it to the desktop for importing as a new photo.
    This method will let iPhoto know that the photo has been editied and will update the thumbnail file to reflect the edit..
    NOTE: With Photoshop Elements  the Saving File preferences should be configured as shown:
    I also suggest the Maximize PSD File Compatabilty be set to Always.  In PSE’s General preference pane set the Color Picker to Apple as shown:
    Note:  to switch between iPhoto and PS or PSE as the editor of choice Control (right)-click on the thumbnail and select either Edit in iPhoto or Edit in External Editor from the contextual menu. If you use iPhoto to edit more than PSE re-select iPhoto in the iPhoto General preference pane. Then iPhoto will be the default editor and you can use the contextual menu to select PSE for your editor when desired.
    OT

  • Can't view comments in the doc sent from a collegue

    can't view comments from in doc sent from colleague

    Hi annab69154197,
    Please tell me a bit more about the file that you're working with. I'm assuming it's a PDF since you landed in the Acrobat.com forum--are you viewing it in Acrobat or Reader, and which version?
    When you open the PDF, are there no comments in it? Or, are you seeing empty comment boxes, or comments that are too small to read? Are you able to view comments in other PDF files?
    Best,
    Sara

  • Best way to refresh page after returning from task flow?

    Hello -
    (Using jdev 11g release 1)
    What is the best way to refresh data in a page after navigating to and returning from a task flow with an isolated data control scope where that data is changed and commited to the database?
    I have 2 bounded task flows: list-records-tf and edit-record-tf
    Both use page fragments
    list-records-tf has a list.jsff fragment and a task flow call to edit-record-tf
    The list.jsff page has a table of records that a user can click on and a button which, when pressed, will pass control to the edit-record-tf call. (There are also set property listeners on the button to set values in the request that are used as parameters to edit-record-tf.)
    The edit-record-tf always begins a new transaction and does not share data controls with the calling task flow. It consists of an application module call to set up the model according to the parameters passed in (edit record X or create new record Y or...etc.), a page fragment with a form to allow users to edit the record, and 2 different task flow returns for saving/cancelling the transaction.
    Back to the question - when I change a record in the edit page, the changes do not show up on the list page until I requery the data set. What is the best way to get the list page to refresh itself automatically upon return from the edit-record-tf?
    (If I ran the edit task flow in a popup dialog I could just use the return listener on the command component that launched the popup. But I don't want to run this in a dialog.)
    Thank you for reading my question.

    What if you have the bean which has refresh method as TF param? Call that method after you save the data. or use contextual event.

  • My iphone 4S has problem in making and receiving the calls. While making the call , call fails and netwrok disappears. Like wise no voice is heard for incoming calls. This happened after return from the overseas travel.

    My iphone 4S has problem in making and receiving the calls. While making the call , call fails and netwrok disappears. Like wise no voice is heard for incoming calls. This happened after return from the overseas travel.

    Hello SamSax
    Check out the assist page below for troubleshooting call connectivity.
    Calls and connection issues
    http://www.apple.com/support/iphone/assistant/calls/
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • Returning from a JSF flow with faces-redirect

    I'm using Glassfish 4.1 with JSF 2.2.9. I can't figure out how to return from a JSF flow with a redirect. I've tried this in the flow definition xml:
    <flow-return id="returnFromFlow">
        <from-outcome>/index.xhtml?faces-redirect=true</from-outcome>
    </flow-return>
    This does the redirect but results in navigation errors on the page, specifically the button that enters the flow again: "Unable to find matching navigation case from view ID '/index.xhtml' for outcome 'select-person'" (the flow is called select-person).
    I've also tried appending faces-redirect=true to the action of the commandButton that exits the flow. Now the flow does not exit, it reloads the current page within the flow and says "Unable to find matching navigation case with from-view-id '/select-person/select-person.xhtml' for action 'returnFromFlow?faces-redirect=true' with outcome 'returnFromFlow?faces-redirect=true'"
    Exiting the flow with h:link works, but I want to be able to call an action and submit form values with the button so that isn't a good workaround for me.
    What's kind of interesting is that navigating between views within the flow DOES work with faces-redirect=true. I can add a "step2" node, and a commandButton with action="step2?faces-redirect=true", and it works. It's just exiting the flow that does not work.
    Any ideas?

    Hi Frank,
    Thanks so much for your response.
    Yes, since the user can do a commit prior to exiting my edit task flow, option 1 will not work for me.
    Option 2 sounded feasible, but jdeveloper would not let me set the restore point to true, since my btf didn't require a transaction. Is there a step I'm missing here??
    The thing that is really getting me when return via the cancel button from this edit task flow, back to my parent task flow, the record pointer is always moving back to the beginning of the data set in my parent task flow. For example,if I have a data set
    rec1, rec2, rec3..
    On my parent taskflow call it browser task flow, I navigate (via the next button) to rec3, and I click edit. At this point, my edit task flow kicks off, and since both task flows share the same data control, the edit task flow rec pointer is the same as the browse one.
    Okay I decide I don't want to change anything in my rec3, so I click cancel.
    At this point, when I return back to the navigator task flow, it points me back to rec1 ..
    HOwever, the savepoint seems to fix this. When I set my cancel return from edit taskflow to savePoint = true, the rec pointer stays in the correct spot. However, I cannot always do this, because the user can make iterative saves in the edit task flow which (based on your previous email) stales out the savepoint id.
    Question, so in this case, how can I make the parent browser task flow call stay on the same record I was just editing, opposed to going back to the beginning of the data set(ie. rec1)??

  • How to Customize the Message "No Row Returned" from a Report

    Hi,
    I've been trying to customize the Message "No Row Returned" from a Report.
    First i followed the instructions in Note:183131.1 -
    How to Customize the Message "No Row Returned" from a Report
    But of course the OWA_UTIL.REDIRECT_URL in this solution did not work (in a portlet) and i found the metalink document 228620.1 which described how to fix it.
    So i followed the "fix" in the document above and now my output is,..
    "Portlet 38,70711 responded with content-type text/plain when the client was requesting content-type text/html"
    So i search in Metalink for the above and come up with,...
    Bug 3548276 PORTLET X,Y RESPONDED WITH CONTENT-TYPE TEXT/PLAIN INSTEAD OF TEXT/HTML
    And i've read it and read it and read it and read it and can't make heads or tails of what it's saying.
    Every "solution" seems to cause another problem that i have to fix. And all i want to do is customize the Message "No Row Returned" from a Report. Please,...does anyone know how to do this?

    My guess is that it only shows the number of rows it has retrieved. I believe the defailt is for it to only retrieve 50 rows and as you page through your report it retrieves more. So this would just tell you how many rows was retireved, but probably not how many rows the report would contain if you pages to the end. Oracle doesn't really have a notion of total number of rows until the whole result set has been materialized.

  • Reading User Profile Properties pragmatically in SharePoint 2010 Returns Null Values Although it has values returned from AD

    Reading User Profile Properties pragmatically in SharePoint 2010 Returns Null Values Although it has values returned from AD
    I configured the user profile service application and run Sync and user profiles and its properties returned from Active directory but when I want to read it pragmatically it returns null values.
    this is my code...
       void runQueryButton_Click(object sender, EventArgs e)
               // Get the My Sites site collection, ensuring proper disposal
                using (SPSite mySitesCollection = new SPSite("http://sp/my"))
                    //Get the user profile manager
                    SPServiceContext context = SPServiceContext.GetContext(mySitesCollection);
                    UserProfileManager profileManager = new UserProfileManager(context);
                    UserProfile profile = profileManager.GetUserProfile("Contoso\\user");
                    foreach (Property prop in profileManager.Properties)
                       // if (prop.Name == "Department")
                        resultsLabel.Text += prop.DisplayName + ":" + profile[prop.Name].Value + "<br />"; ;

     Hi,
    Please try with the following code
          PrincipalContext principalContext = new PrincipalContext(ContextType.Domain);
                                SPServiceContext context = SPServiceContext.GetContext(site);
                                UserProfileManager profileManager = new UserProfileManager(context);                        
      foreach (Property prop in profileManager.Properties)
                       // if (prop.Name == "Department")
                        resultsLabel.Text += prop.DisplayName
    + ":" + profile[prop.Name].Value + "<br />"; ;
    Thanks,
    Vivek
    Please vote or mark your question answered, if my reply helps you

  • No data return from BI7 via MDX drvier in Crystal report

    I have:
    Windows 2000 SP4
    SAP BI7 patch level 16
    SAP GUI 710 patch level 7 (BW3.5 addon patch 3, BI 710 patch 5)
    Crystal report XI R2 SP4
    SAP_Integration_Kit_XI R2-SP4
    and the BW tranports already imported in BI7.
    I can create a report over a Bex query in Crystal report using BW Query driver and retirved datafrom BI7
    Then I tried to create a report over the same Bex query in Crystal report using MDX driver, I got no data return from BI7.
    So I used the RSRTRACE transaction to trace the log when refreshing data in Crystal report, and then go to debug the call 10- GET_CELL_DATA and I have data from the MDX excution in BI7.
    So I think Crystal report can pass the MDX query to BI7 and BI7 can excute it without any problem, the issue is no data return to Crystal report.
    Could anyone help please?
    Thanks.

    [HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.5\SAP]
    "TraceDir"="C :\\Crystal Report\\"
    [HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.5\SAP\BW MDX Query Driver]
    "Trace"="Yes"
    "ExcludeSummaries"="Yes"
    Above are the right code in Reg and I have tried "C:\" as well, but still no trace file created.
    I was create the CR MDX report via SAP tool bar (and I create 2 reports base on the same Bex query with MDX and BW query just to compare, that one via BW query return data from BW)
    Thanks a lot.
    Allen
    Edited by: Wen Allen on Aug 25, 2008 5:32 PM

  • How do I move Elements 8 projects (slide shows) from a Windows XP computer to new Windows 7 computer that also has Elements 8 on it so that the slides shows will work (Elements 8 works well on the Windows 7 computer & I have done several new slide show pr

    How do I move Elements 8 projects (slide shows) from a Windows XP computer to new Windows 7 computer that also has Elements 8 on it so that the slides shows will work (Elements 8 works well on the Windows 7 computer & I have done several new slide show projects on it)?    I tried backup & restore without success.  I have also found the .psess files and copied them to the catalog in the new computer but when the sides shows are opened none of the images or music is there.  Only the text that I entered shows.  I have even tried to replicate the file paths from the XP computer to the new computer to see if that will help.

    UPDATE:  By a stroke of luck I happened to find a catalog link (a PSE8D file) in the 'My Catalog' file where the imported data was stored.  When I clicked on it to investigate what is was 'magically' all of my transferred projects appeared in Organizer.  Upon further investigation I found that the projects transferred from my XP computer were stored in a hidden catalog that had to be accessed through the Custom Location option in Catalog Manager (accessed by clicking File then Catalog then Custom Location).  No Windows or Elements search revealed this fact.  I am appreciative that I just got lucky.  The Adode/Photoshop company was absolutely of no help.  If fact to me their structure is designed to avoid contact with their customers unless you're buying a new product.  Their products have many good features (even though user unfriendly) and it's a shame they don't value their customers more once the sale is completed. 
    Bottom line:  All of the projects (sideshows) have been recovered and work in my new Windows 7 computer.  I hope my experience helps others. 

  • Can you open word doc. In pages? (Opening a doc. From the web) in the iPad or iPod tuch?

    Can you open word doc. In pages? (Opening a doc. From the web) in the iPad or iPod tuch?

    NH,
    This may seem a fine point, but iWork apps don't actually Open Office apps. They Import them. The reason I make this distinction for you is that when you view the result of the import, you may see some variations from what was in the Office document because of an imperfect translation, and when you make edits, you are editing an iWork document, not the original Office document.
    Jerry

Maybe you are looking for

  • Problem loading data into write optimized dso.....

    Hi , I am having problem loading the data from PSA to write optimised DSO I have changed the normal DSO into a Write Optimised DSO. I have 2 data sources to be loaded into the write optimized DSO. One for Demand and one for Inventory. The loading of

  • Can the RV180W have multiple SSIDs with different security configurations?

    I am trying to configure the RV180W with a guest network and regular wireless network. The regular wireless network is just a bridge to the wired network, using WPA2-Pers for authentication. I built and enabled another wireless SSID, using a differen

  • Problem in delimiting the Relationship

    Hi, When we try to create a create a new relationship using PP01 for a Org. Unit, it is not delimiting the existing relationship. It just creates another relationship.  But for some of SAP Standard relationships when i try to create the new relations

  • Process for Oracle Text

    am working as a dba and we plan to introduce oracle text for text search. since I am new to this concept, I would like to know step by step implementation of Oracle text. I've searched some web sites but still not clear on the implementation part. Pl

  • Score match in oralce

    Hello, Is there any function in oracle with returns the top match for a word on the top based on % of the match? e.g. i searched for for word "mango" the result should look like - mango a mango b mango abc mango abc etc. Thank you, Paras Edited by: P