Wonders - data XML

I use Httpconnection and connectionFactory to obtain the XML from a url. I currently have an inputstream, and tried out as a string. But he presents himself as alphanumeric characters instead of xml data.

 if (connection.getResponseCode() == HttpConnection.HTTP_OK) {
                    inputStream = connection.openInputStream();
                    strBuffer.append(IOUtilities.streamToBytes(inputStream));
                    result = strBuffer.toString();
 }

Do I have to parse the XML stream?

You try to flush the output using System.out.println.  You can't do that.  Instead, debug the bytes and characters and see what they are.

If you want to print the byte array, then look for a method of byteArrayToHexString and allows to throw out.  The string prints in general OK.

Tags: BlackBerry Developers

Similar Questions

  • Presentation of form data XML - Can change you the structure of nodes?

    Hi guys, I was wondering if there was a way to change the structure of nodes in an xml file [submitted via a form by e-mail], instead of that livecycle creates by default. or is it a case that once you select "submit as: data XML (XML)"-it is out of your hands? "  In the meantime thanks for any help / suggestions. At soon Dyr

    You can create an XML schema and map it to the form fields by creating a data connection (see Help file). In this way you structure the XML into any format you want.

  • ADFC-0619: failed the authorization check but system-jazn-"Data.xml" entry

    Hello

    I have an urgent problem with permission on production area.

    I set the permission for my App. create custom pages so login and custom to redirect, the Spanish developer Login bean works fine, but on prodocution I got an exception:

    WatchRule: (SEVERITY = "Error") AND ((MSGID = ' WL-101020') OR (MSGID = "WL-101017'") OR (MSGID = "WL-000802'") OR (MSGID = "BEA-101020'") OR (MSGID = "BEA-101017'") OR (MSGID = "BEA-000802'"))

    [WatchData: DATE = July 7, 2014 11:05:33 AM EDT SERVER = AdminServer MESSAGE = [path of the module: app_name_test ServletContext@304698745[app:AppName: / app_name_test spec-version: 2.5]] Servlet failed with Exception

    oracle.adf.controller.security.AuthorizationException: ADFC-0619: authorization check failed: 'viewcontroller.pageDefs.homePageDef', 'VIEW '.

    at oracle.adf.controller.internal.security.AuthorizationEnforcer.handleFailure(AuthorizationEnforcer.java:182)

    at oracle.adf.controller.internal.security.AuthorizationEnforcer.internalCheckPermission(AuthorizationEnforcer.java:162)

    at oracle.adf.controller.internal.security.AuthorizationEnforcer.checkPermission(AuthorizationEnforcer.java:116)

    at oracle.adfinternal.controller.state.ControllerState.checkPermission(ControllerState.java:663)

    at oracle.adfinternal.controller.state.ControllerState.initializeUrl(ControllerState.java:700)

    at oracle.adfinternal.controller.state.ControllerState.synchronizeStatePart2(ControllerState.java:473)

    at oracle.adfinternal.controller.application.SyncNavigationStateListener.afterPhase(SyncNavigationStateListener.java:59)

    to oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$ PagePhaseListenerWrapper.afterPhase (ADFLifecycleImpl.java:530)

    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchAfterEvent(LifecycleImpl.java:120)

    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.dispatchAfterPagePhaseEvent(LifecycleImpl.java:168)

    to oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$ PhaseInvokerImpl.dispatchAfterPagePhaseEvent (ADFPhaseListener.java:131)

    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:74)

    at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:447)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:202)

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)

    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)

    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)

    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)

    JPS - config.Xml

    <? XML version = "1.0" encoding = "UTF - 8"? >

    " < jpsConfig xmlns =" http://xmlns.Oracle.com/OracleAS/schema/11/JPs-config-11_1.xsd "" xmlns: xsi = " http://www.w3.org/2001/XMLSchema-instance " xsi: schemaLocation = " http://xmlns.Oracle.com/OracleAS/Schema/11/JPS-config-11_1.xsd HSD-config - 11_1.xsd" >

    < = name="oracle.security.jps.jaas.mode"/ 'doasprivileged' property value >

    < serviceProviders >

    "< class ="oracle.security.jps.internal.idstore.xml.XmlIdentityStoreProvider serviceProvider"name =" idstore.xml.provider "type ="IDENTITY_STORE">

    < description > XML-based IdStore provider < / description >

    < / serviceProvider >

    "< class ="oracle.security.jps.internal.policystore.xml.XmlPolicyStoreProvider serviceProvider"name =" policystore.xml.provider "type ="POLICY_STORE">

    < description > XML-based PolicyStore provider < / description >

    < / serviceProvider >

    "< class ="oracle.security.jps.internal.anonymous.idm.IdmAnonymousServiceProvider serviceProvider"name =" anonymous.provider "type 'ANONYMOUS' = >

    < description > anonymous access provider < / description >

    < / serviceProvider >

    "< class ="oracle.security.jps.internal.login.jaas.JaasLoginServiceProvider serviceProvider"name =" jaas.login.provider "type ="LOGIN">

    < description > Service Provider for the connection Module < / description >

    < / serviceProvider >

    < / serviceProviders >

    < serviceInstances >

    < provider = "idstore.xml.provider serviceInstance" name ="idstore.xml" > "

    "< value="./jazn-data.xml property "name ="location"/ >

    < property value = 'OBFUSCATE' name="jps.xml.idstore.pwd.encoding"/ >

    < value property = "jazn.com" name = "subscriber.name" / > "

    < / serviceInstance >

    < provider = "policystore.xml.provider serviceInstance" name ="policystore.xml" > "

    "< value="./jazn-data.xml property "name ="location"/ >

    < = 'false' name="oracle.security.jps.policy.principal.cache.key"/ property value >

    < / serviceInstance >

    < provider = "anonymous.provider serviceInstance" name = "anonymous" / > "

    < provider = "jaas.login.provider serviceInstance" name ="anonymous.loginmodule" > "

    < value = "oracle.security.jps.internal.jaas.module.anonymous.AnonymousLoginModule property" name = "loginModuleClassName" / > "

    < property value = "REQUIRED" name="jaas.login.controlFlag"/ >

    < property value = "true" name = "debug" / >

    < property value = "true" name = "addAllRoles" / >

    < / serviceInstance >

    < provider = "jaas.login.provider serviceInstance" name ="idstore.loginmodule" > "

    < value = "oracle.security.jps.internal.jaas.module.idstore.IdStoreLoginModule property" name = "loginModuleClassName" / > "

    < property value = "REQUIRED" name="jaas.login.controlFlag"/ >

    < property value = "true" name = "debug" / >

    < property value = "true" name = "addAllRoles" / >

    < = 'false' name="remove.anonymous.role"/ property value >

    < / serviceInstance >

    < / serviceInstances >

    < jpsContexts default 'anonymous' = >

    < name jpsContext 'anonymous' = >

    < serviceInstanceRef ref = 'anonymous' / >

    < serviceInstanceRef ref = "anonymous.loginmodule" / >

    < / jpsContext >

    < / jpsContexts >

    < / jpsConfig >

    Web.Xml

    <? XML version = "1.0" encoding = "UTF - 8"? >

    " < web - app xmlns =" http://Java.Sun.com/XML/NS/JavaEE "" xmlns: xsi = " " http://www.w3.org/2001/XMLSchema-instance "

    " xsi: schemaLocation =" http://Java.Sun.com/XML/NS/JavaEE http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"" "" "

    version "2.5" = >

    < context-param >

    javax.faces.STATE_SAVING_METHOD < param-name > < / param-name >

    customer of < param-value > < / param-value >

    < / context-param >

    < context-param >

    javax.faces.PARTIAL_STATE_SAVING < param-name > < / param-name >

    < param-value > false < / param-value >

    < / context-param >

    < context-param >

    < description > if this parameter is set to true, there will be an automatic check of the date of the change of your JSP pages and saved state will be scrapped when JSP change. It will also automatically check if your css skinning files have changed without requiring you to restart the server. This facilitates the development, but adds above. For this reason, this parameter must be set to false when your application is deployed. < / description >

    org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION < param-name > < / param-name >

    < param-value > false < / param-value >

    < / context-param >

    < context-param >

    < description > if the comment "generated by...» "down in pages ADF Faces HTML should contain version number information. < / description >

    oracle.adf.view.rich.versionString.HIDDEN < param-name > < / param-name >

    < param-value > false < / param-value >

    < / context-param >

    < context-param >

    Oracle.ADF.jsp.provider.0 < param-name > < / param-name >

    oracle.mds.jsp.MDSJSPProviderHelper < param-value > < / param-value >

    < / context-param >

    < context-param >

    < description > File Upload < / description >

    org.apache.myfaces.trinidad.UPLOAD_MAX_DISK_SPACE < param-name > < / param-name >

    < param-value > 10485760 < / param-value >

    < / context-param >

    < context-param >

    < description > the safety precautions to prevent clickjacking: bust of executives if the area of window ancestor (Protocol, host and port) and the framework are different. Other options for this setting are always and never. < / description >

    org.apache.myfaces.trinidad.security.FRAME_BUSTING < param-name > < / param-name >

    differentOrigin < param-value > < / param-value >

    < / context-param >

    < context-param >

    javax.faces.FACELETS_SKIP_XML_INSTRUCTIONS < param-name > < / param-name >

    < param-value > true < / param-value >

    < / context-param >

    < context-param >

    javax.faces.FACELETS_SKIP_COMMENTS < param-name > < / param-name >

    < param-value > true < / param-value >

    < / context-param >

    < context-param >

    javax.faces.FACELETS_DECORATORS < param-name > < / param-name >

    oracle.adfinternal.view.faces.facelets.rich.AdfTagDecorator < param-value > < / param-value >

    < / context-param >

    < context-param >

    javax.faces.FACELETS_RESOURCE_RESOLVER < param-name > < / param-name >

    oracle.adfinternal.view.faces.facelets.rich.AdfFaceletsResourceResolver < param-value > < / param-value >

    < / context-param >

    < filter >

    < filter-name > JpsFilter < / filter-name >

    > class filter < oracle.security.jps.ee.http.JpsFilter < / class filter >

    < init-param >

    enable.anonymous < param-name > < / param-name >

    < param-value > true < / param-value >

    < / init-param >

    < init-param >

    Remove.anonymous.role < param-name > < / param-name >

    < param-value > false < / param-value >

    < / init-param >

    < / filter >

    < filter >

    < name of filter > Trinidad < / filter-name >

    > class filter < org.apache.myfaces.trinidad.webapp.TrinidadFilter < / class filter >

    < / filter >

    < filter >

    < filter-name > adfBindings < / filter-name >

    > class filter < oracle.adf.model.servlet.ADFBindingFilter < / class filter >

    < / filter >

    < filter >

    < filter-name > ADFLibraryFilter < / filter-name >

    > class filter < oracle.adf.library.webapp.LibraryFilter < / class filter >

    < / filter >

    < filter mapping >

    < filter-name > JpsFilter < / filter-name >

    < url-pattern > / * < / url-pattern >

    < distributor > BEFORE < / dispatcher >

    < distributor > APPLICATION < / dispatcher >

    < distributor > INCLUDE < / dispatcher >

    < / filter-mapping >

    < filter mapping >

    < name of filter > Trinidad < / filter-name >

    < name servlet - > Faces Servlet < / servlet-name >

    < distributor > BEFORE < / dispatcher >

    < distributor > APPLICATION < / dispatcher >

    < distributor > ERROR < / dispatcher >

    < / filter-mapping >

    < filter mapping >

    < filter-name > adfBindings < / filter-name >

    < name servlet - > Faces Servlet < / servlet-name >

    < distributor > BEFORE < / dispatcher >

    < distributor > APPLICATION < / dispatcher >

    < / filter-mapping >

    < filter mapping >

    < filter-name > ADFLibraryFilter < / filter-name >

    < url-pattern > / * < / url-pattern >

    < distributor > BEFORE < / dispatcher >

    < distributor > APPLICATION < / dispatcher >

    < / filter-mapping >

    < filter mapping >

    < filter-name > adfBindings < / filter-name >

    < name servlet - > adfAuthentication < / servlet-name >

    < distributor > BEFORE < / dispatcher >

    < distributor > APPLICATION < / dispatcher >

    < / filter-mapping >

    <>earpiece

    oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack <-listener class > < / listener class >

    < / earphone >

    <>earpiece

    oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack <-listener class > < / listener class >

    < / earphone >

    <>earpiece

    Oracle.BC4J.MBean.BC4JConfigLifeCycleCallBack <-listener class > < / listener class >

    < / earphone >

    < servlet >

    < name servlet - > Faces Servlet < / servlet-name >

    > the servlet class < javax.faces.webapp.FacesServlet < / servlet-class >

    < load-on-startup > 1 < / load-on-startup >

    < / servlet >

    < servlet >

    resources < name of the servlet > - < / servlet-name >

    > the servlet class < org.apache.myfaces.trinidad.webapp.ResourceServlet < / servlet-class >

    < / servlet >

    < servlet >

    < name servlet - > BIGRAPHSERVLET < / servlet-name >

    > the servlet class < oracle.adf.view.faces.bi.webapp.GraphServlet < / servlet-class >

    < / servlet >

    < servlet >

    < name servlet - > BIGAUGESERVLET < / servlet-name >

    > the servlet class < oracle.adf.view.faces.bi.webapp.GaugeServlet < / servlet-class >

    < / servlet >

    < servlet >

    < name servlet - > MapProxyServlet < / servlet-name >

    > the servlet class < oracle.adf.view.faces.bi.webapp.MapProxyServlet < / servlet-class >

    < / servlet >

    < servlet >

    < name servlet - > GatewayServlet < / servlet-name >

    > the servlet class < oracle.adfinternal.view.faces.bi.renderkit.graph.FlashBridgeServlet < / servlet-class >

    < / servlet >

    < servlet >

    < name servlet - > adflibResources < / servlet-name >

    > the servlet class < oracle.adf.library.webapp.ResourceServlet < / servlet-class >

    < / servlet >

    < servlet >

    < name servlet - > adfAuthentication < / servlet-name >

    > the servlet class < oracle.adf.share.security.authentication.AuthenticationServlet < / servlet-class >

    < init-param >

    success_url < param-name > < / param-name >

    /faces/home.jspx < param-value > < / param-value >

    < / init-param >

    < load-on-startup > 1 < / load-on-startup >

    < / servlet >

    < servlet-mapping >

    < name servlet - > Faces Servlet < / servlet-name >

    < url-pattern > /visages / * < / url-pattern >

    < / servlet-mapping >

    < servlet-mapping >

    resources < name of the servlet > - < / servlet-name >

    < url-pattern > /adf / * < / url-pattern >

    < / servlet-mapping >

    < servlet-mapping >

    resources < name of the servlet > - < / servlet-name >

    < url-pattern > /afr / * < / url-pattern >

    < / servlet-mapping >

    < servlet-mapping >

    < name servlet - > BIGRAPHSERVLET < / servlet-name >

    < url-pattern >/servlet/GraphServlet / * < / url-pattern >

    < / servlet-mapping >

    < servlet-mapping >

    < name servlet - > BIGAUGESERVLET < / servlet-name >

    < url-pattern >/servlet/GaugeServlet / * < / url-pattern >

    < / servlet-mapping >

    < servlet-mapping >

    < name servlet - > MapProxyServlet < / servlet-name >

    < url-pattern > /mapproxy / * < / url-pattern >

    < / servlet-mapping >

    < servlet-mapping >

    resources < name of the servlet > - < / servlet-name >

    < url-pattern > /bi / * < / url-pattern >

    < / servlet-mapping >

    < servlet-mapping >

    < name servlet - > GatewayServlet < / servlet-name >

    < url-pattern > /flashbridge / * < / url-pattern >

    < / servlet-mapping >

    < servlet-mapping >

    < name servlet - > adflibResources < / servlet-name >

    < url-pattern > /adflib / * < / url-pattern >

    < / servlet-mapping >

    < servlet-mapping >

    < name servlet - > adfAuthentication < / servlet-name >

    <>url-pattern / adfAuthentication < / url-pattern >

    < / servlet-mapping >

    < mapping mime - >

    SWF < extension > < / extension >

    mime-type application/x-shockwave-flash <>< / mime-type >

    < / mime map >

    < mapping mime - >

    AMF < extension > < / extension >

    <>mime-type application/x-amf < / mime-type >

    < / mime map >

    < jsp-config >

    < jsp-property-group >

    *.jsff < url-pattern > < / url-pattern >

    true < East - xml > < / xml is >

    < / jsp-property-group >

    < / jsp-config >

    < security constraint >

    < web-resource-collection >

    < web-resource-name > adfAuthentication < / web-resource-name >

    <>url-pattern / adfAuthentication < / url-pattern >

    < / web-resource-collection >

    <>auth-constraint

    valid users - < role name > < / role name >

    < / auth-constraint >

    < / security constraint >

    <>login-config

    FORM < auth-method > < / auth-method >

    < form-login-config >

    /faces/login.jspx < form-login-page > < / form-login-page >

    /faces/login.jspx < form-error-page > < / form-error-page >

    < / form-login-config >

    < / login-config >

    <-security role >

    valid users - < role name > < / role name >

    < / security role >

    < / web - app >

    jazn-"Data.xml"

    <? XML version = "1.0" encoding = "UTF - 8" standalone = 'Yes'? "" >

    " < jazn-data xmlns: xsi =" http://www.w3.org/2001/XMLSchema-instance "

    " xsi: noNamespaceSchemaLocation = ' http://xmlns.Oracle.com/OracleAS/schema/jazn-data.xsd "> "

    < default = "jazn.com Kingdom-jazn" >

    < domain >

    < name > jazn.com < / name >

    < / domain >

    < / Kingdom-jazn >

    < policy store >

    applications <>

    < application >

    < name > AppName < / name >

    < jazn > political

    <>grant

    < dealer >

    < directors >

    < principal >

    < name > authenticated role < / name >

    oracle.security.jps.internal.core.principals.JpsAuthenticatedRoleImpl < class > < / class >

    < / main >

    < / directors >

    < / dealer >

    <>permissions

    < permission >

    oracle.adf.share.security.authorization.RegionPermission < class > < / class >

    < name > viewcontroller.pageDefs.homePageDef < / name >

    Display < share > < / actions >

    < / authorization >

    < / authorization >

    < / grant >

    < / jazn-policy >

    < / application >

    < / applications >

    < / policy-store >

    < / jazn-data >

    My fragment of connection method:

    HttpServletRequest request = (HttpServletRequest) () .getRequest () ctx.getExternalContext;
    try {}

    Topic topic = Authentication.login (new URLCallbackHandler (UN, pw));weblogic.servlet.security.ServletAuthentication.runAs (object, request);

    HttpServletResponse response = (HttpServletResponse) ctx.getExternalContext (m:System.NET.FtpWebRequest.GetResponse ());

    sendForward (request, response, LOGIN_URL);
    } catch (FailedLoginException fle) {}
    LOG.severe (fle);
    String errorText = rsBundle.getString ("ERROR_LOGIN");
    FacesMessage msg = new FacesMessage (FacesMessage.SEVERITY_ERROR, errorText, errorText);
    ctx.addMessage (null, msg);
    }

    I use Jdev 11.1.2.4

    Any help why this configuration works on production envirement?

    My system-jazn-"Data.xml" has entered correct...

    Finally, I found... Administrator develop new envirement and they use java 1.8 (WTF). Have to kill them immediately after to write this post...

    I found that the search to setDomainEnv.sh

    Changed start at 1.6 and all works like magic... IM really surprised that start weblogic with java 8 and generate strange symtomps with authentication...

    I thank all of you for the help

  • Can I export the data (XML) using Acrobat Standard DC?

    I am currently using Adobe Acrobat XI which is allow me to export XML data from tools > forms > form additional Options > export data. I know this feature is also available in Acrobat Standard DC?

    Hi jack65464326,

    Yes, you can export the data (XML) using Acrobat Standard DC, refer to this KB document for help Acrobat help. Collection and management of the PDF to form data.

    Kind regards

    Nicos

  • System-jazn-"Data.xml" not updated after deployment

    Hi all

    When I deploy my application of Portal WebCenter system jazn-"Data.xml" is not updated with the changing demand of jazn in my.

    any idea?

    It's ok now,

    in fact, my jazn-"Data.xml" located in my WebCenter application was corrupt.

    I generate a new and it wrks now.

    Thank you

  • Merge two files of system-jazn-"Data.xml"

    Hello

    I have a system-jazn-"Data.xml" from Apps BI 7.9.6.4 sized * 1291 KB * (having financial, HR, EAM Analytics) Note: a new installation and no changes have been made in safety.

    Now for EAM Analytics, there is a bug and all application roles are not present in the policy store and apply a patch Patch 16321623 which just States copy the new file system-jazn-"Data.xml" to the location of fmwconfig (see ) doc 1548988.1 )
    Problem is that the size of the system-jazn-"Data.xml" is * 342 kb.*

    Looks like both of these system-jazn-"Data.xml" should be merged. (don't know, maybe this 342KO file contains all application roles)
    Need advice here... as for what I'd do here. ?

    Thank you
    Ashish

    See that there is no problem if you replace, just take the backup or rename the existing _old and copy a new. Even when I installed the OBIA on windows machine on top of some OBIEE dummy to generate the folders (biapps) of informatica, dac, RPD, catalogue files metadata then afterwards I got the file from the file 800ko and according to the guidelines of the oracle, I need to replace the one that is generated with OLIVIER on top on OBIEE which is only 320 kb file I simply replaced it na not thorw errors/problems until now. So I m confident enough to replace the file.

    See this link http://docs.oracle.com/cd/E20490_01/bia.7963/e19038/windows_ic.htm#BABDCEGC paragraph 4.17 applying the security policy of the Oracle BI Applications to the BI domain

    If your BI EE deployed with the Oracle's Applications of BI system is different from the BI EE system used to install some Applications of BI from Oracle, you must apply to the security policy of the domain of BI on BI EE system deployed by following the steps below.

    If your BI EE deployed with the Oracle's Applications of BI system is the same as the BI EE system used to install some Applications of BI of Oracle, then the installer of Oracle's Applications of BI performs this configuration automatically.

    To apply the security policy of the Oracle BI Applications to the BI domain:

    Note: Machine is the machine system. B is the deployment machine.

    Stop all processes in the system of BI EE. More precisely:

    the Administration Server

    + (if there is a cluster) all managed servers in the cluster bi_cluster +.

    all processes managed opmn

    On computer B, save and rename the existing DOMAIN_HOME/config/fmwconfig/system-jazn-data.xml.

    For example, if the root folder of BI EE is named OracleBIEE11g, then the folder location of the field (on Windows) can be C:\OracleBIEE11g\user_projects\domains\bifoundation_domain\config\fmwconfig.

    Copy the jazn file Applications of BI of Oracle machine machine B to DOMAIN_HOME/config/fmwconfig A ORACLE_HOME/biapps/admin/provisioning/system-jazn-data.xml.

    Start all processes in the BI EE system for security of Oracle's Applications of BI policy take effect. More precisely:

    the Administration Server

    + (if there is a cluster) all managed servers in the cluster bi_cluster +.

    all processes managed opmn

    It may be useful

  • When the redeployment, jazn-"Data.xml" crushes users the App provides on Weblogic

    Hello world

    I use
    -JDeveloper 11.1.2.1.0
    -Weblogic 10.3.5

    I found that when I transferred a request, it seemed that whatever the roles that I have setup in the Console of Administration WebLogic for users who are not defined in the jazn of application data, gets crushed by the data from jazn-Application data

    for example
    I have an application with jazn-"Data.xml", defined as follows:
    -Creation of 4 users
    -Created the company 3 roles (role of customer, NormalRole, ReadOnlyRole)
    -Assigned 4 users to roles of business as a result
    -Given the workflow, Web Page and ADF entity as a result object

    If I configure the 5th, 6th, 7th and so on users through the Console of Administration WebLogic and grant them a role (i.e. NormalRole). As soon as I redeploy the application, all users (except 4 which are defined in the jazn-data application) seem to lose the delivered business role that I gave earlier in the Console of Administration WebLogic.

    It's not ideal because we always maintain user through the Console of Administration WebLogic (so we can add / remove / update user information at any time, rather than having to do it by changing jazn-Application data and do a redeployment). Is that what I was wrong? I tried excluding the jazn-"Data.xml" during deployment, but the application does not work. What should I do to prevent this?

    Thanks for any information.


    Kind regards
    Andi

    You are aware of the request-> Application-> deployment 'Deployment of Security Options' properties, particularly checkboxes to crush the security on the deployment objects?

    CM.

  • migration of system-jazn problem-"Data.xml"

    Hello! I use 10.3.5 WebLogic and JDeveloper 11.1.1.5.
    We have created the "ADF_server" on stand-alone WebLogic managed server and now we are trying to secure deployment ADF application to it.

    After deploying secure ADF application (secured by the safety of the ADF) AdminServer on stand-alone WebLogic, System-jazn-"Data.xml" is properly set up. It inserts the tag application with all users, roles of application and the company and its mappings. But when I deploy to managed 'ADF_server' no companies role configurations, application or user of the application are inserted into the system-jazn-"Data.xml".

    Everybody recognizes the problem and especially the sollution? That has something to do with permissions? I also tried to give permissions of reading / writing to system-jazn-"Data.xml" at all, but it does not help.
    Thanks for any helpful info.

    In a production environment allowing political security to be overwritten when deploying on a managed server is a security hole. That's why he behaves like that.
    Use EM or migrateSecurityStore script to migrate policies.

    Read the guide to FM security.

    http://download.Oracle.com/docs/CD/E17904_01/core.1111/e10043/devmancfg.htm#BCGDADGF
    http://download.Oracle.com/docs/CD/E12839_01/core.1111/e10043/cfgauthr.htm#BGBDDDBE

  • Extending from weblogic security roles (groups) to jazn-"Data.xml" using SQLAuth...

    Hello
    as the title suggests is that I want to do...

    The problem I encounter is that I can't map my Weblogic roles at a level of demand - roles.
    I do not see my weblogic on jazn-"Data.xml" roles and I can't create groups to the application level because
    everything works as SQLAuthenticator on Weblogic...
    I can get the role of user with EL as #{securityContext.userInRole ['ROLE']} but it cannot apply to jazn-"Data.xml".

    Hope that if anyone can help...
    Thank you
    Renan.

    PS: Jdev Studio Edition Version 11.1.1.1.0
    JPA/EJB/ADF app

    Published by: RenanMC on 12/09/2009 09:13

    Hello

    you create groups of jazn-"Data.xml" and then use the weblogic.xml file to map these business groups for groups returned by the SQLAuthenticator

    Frank

  • Add a user in the system-jazn-"Data.xml" file

    I have an ADf application (developed in JDeveloper 10.1.3.3).
    It implements security using xml. (jazn.xml points to the system-jazn-"Data.xml")

    In the system-jazn-"Data.xml", I have entries like -
    -< user >
    < name > DataBase_User_OfYmnJXIxCAH90iuGKMkBoZmd5Sfm44M < / name >
    < guid > AA61EF7072F211DD8F62B3BA7CB157C2 < / guid >
    < powers {903} OfYmnJXIxCAH90iuGKMkBoZmd5Sfm44M > < / qualifications >
    < / user >

    no idea what are these entries and why they are here.

    Hello

    as it appears, it comes to forwarding password for a data source. In order to avoid the definitions of data source by clear text password, the defined data sources use an entry in the system-jazn-"Data.xml" where they are encrypted.

    Frank

  • Process data XML of LV

    Hi, SPANKING NEW GUY BRAND here, with what is probably a Newb question entirely:

    Formula: LabView and TestStand 2014

    In Labview, I have a VI that extracts data from an XML file, the Treaty and spits out another XML file

    The result is:

    Name gross Score, rank

    To the test, I want to run the VI, take the output file and report

    Name Grade, Pass (/Fail) based on the raw score...< 60="">

    All I could do successfully is to create a report with all the elements of the output XML (1 item per line)

    Thus,.

    1. is there a way to create a report with more then 1 item per line of return?

    [Have

    Name: John

    Score: 100

    Grade: A

    Name: Fido

    Score: 50

    Category: F

    ...

    wanted:

    John, A, Pass

    Fido, F, Miss

    ...]

    2. how to read & USE the XML data, producing an item that was not in the XML file?

    Let's say you have a LabVIEW code that creates 3 tables for name, raw score, and rank by doing the analysis it seems that you are already able to do.

    In TestStand, you use a loop For for each element of the 3 tables.  Then, you have a None any adapter that is a test of numerical limit.  The Source of data for this step is the raw score and limits less than 60.  In the expression of the post, you can add the line Step.Name = name [i] + ', ' + Grade [i].  (I is the index of your loop.)

    I don't think I understand what you get your second question.

    Pulido Technologies LLC

  • How not to get no data xml publisher report

    Hi all

    I've been using oracle BI 10 g

    I need to print ANY DATA that is FOUND when my report is not out of the game.

    I tried to follow this link but its does not work as expected

    https://blogs.Oracle.com/XmlPublisher/entry/NO_DATA_FOUND

    My header tag consist @Section if its does not work.

    This is my example of XML code when the data here is his entry like this

    < XXRXRAXINV >

    < LIST_G_ORDER_BY >

    < G_ORDER_BY >

    < > 265 ORDER_BY < / ORDER_BY >

    < LIST_G_INVOICE >

    < G_INVOICE >

    < CUSTOMER_TRX_ID > 59249 < / CUSTOMER_TRX_ID >

    When no data then the xml doesn't come like that

    < XXRXRAXINV >

    < LIST_G_ORDER_BY >

    < / LIST_G_ORDER_BY >

    The Group G_Invoice is not.

    Can any one sugget that the way of print no data found. I tried with if else statement too but its not working.

    Concerning

    Srikkanth.M

    Please use this logic:

    No data found

    Section break

  • Protection data XML error when you navigate to port 9443/vcenter-customer?

    I installed the 5.1.11.3 Data Protection Unit vSphere.
    The installation/configuration has been impeccable.   After traveling to our address: https://nm-dataprotection. .org:8543 < oursite > /vdp - configure/-expected benefits were all green / running.

    The problem comes when you try to browse to: https://nm-dataprotection. .org:9443/vcenter-client/ < oursite >

    The page opens:

    < soapenv:Reason >
    < soapenv:Text XML: lang = "en - us" >
    The service is not found for the endpoint (EPR) of reference/vcenter client.
    < / soapenv:Text >
    < / soapenv:Reason >

    I reinstalled the .ovf file and monitored start the VM for the Protection of the data.  Normal Linux startup messages have no error.

    DNS resolves properly front and rear.  We're vCenter Server 5.1.0 so we cannot use the version 5.5.5 the Data Protection.

    I get the same result with several browsers on multiple systems.  We have not changed the ports and there is no firewall in place of this network.

    Any suggestions would be greatly appreciated.

    My mistake.   In my haste, I entered the DNS of the VDP:9443 instead of the vCenter:9443.   Makes a world of difference when you breathe and read the instructions at a pace where you can understand what you read.

  • Retrieve data XML stored in CLOB columns

    Hello

    I have the table below which contains the XML in a CLOB

    CREATE TABLE testxml
      (idcol NUMBER(3), xml_data CLOB
      );
      
    INSERT
    INTO testxml VALUES
      (
        201,
        '
    
    <TRADE>
       <TRADETYPE>SWAP</TRADETYPE>
       <SUBTYPE>CDS</SUBTYPE>
       <TRADEHEADER>
          <ACTION>NEW</ACTION>
          <SOURCEID>ABS-CD</SOURCEID>
          <TRADEID>20595896</TRADEID>
       </TRADEHEADER>
       <TRADELEGS>
          <TRADELEG>
             <PAY_OR_RECEIVE>P</PAY_OR_RECEIVE>
             <FIXED_FLOAT_IND>FLT</FIXED_FLOAT_IND>
             <DAY_COUNT_BASIS>A365F</DAY_COUNT_BASIS>
             <ORIG_PRIMARY_CURRENCY>ZAR</ORIG_PRIMARY_CURRENCY>
             <FIRST_VALUE_DATE>20120511</FIRST_VALUE_DATE>
          </TRADELEG>
          <TRADELEG>
             <PAY_OR_RECEIVE>R</PAY_OR_RECEIVE>
             <FIXED_FLOAT_IND>FIX</FIXED_FLOAT_IND>
             <DAY_COUNT_BASIS>A365F</DAY_COUNT_BASIS>
             <ORIG_PRIMARY_CURRENCY>ZAR</ORIG_PRIMARY_CURRENCY>
             <FIRST_VALUE_DATE>20120511</FIRST_VALUE_DATE>
          </TRADELEG>
       </TRADELEGS>
       <PVS>
          <PV_SOURCE>ABS-CD</PV_SOURCE>
          <PV>
             <NPV>0</NPV>
             <NPV_CCY>ZAR</NPV_CCY>
             <VALUATION_DATE>20130628</VALUATION_DATE>
             <LEG_NUMBER>1</LEG_NUMBER>
          </PV>
          <PV>
             <NPV>2214864.54</NPV>
             <NPV_CCY>ZAR</NPV_CCY>
             <VALUATION_DATE>20130628</VALUATION_DATE>
             <LEG_NUMBER>2</LEG_NUMBER>
          </PV>
       </PVS>
       <CREDIT_DERIVATIVES>
          <CREDIT_DERIVATIVE>
             <NOMINAL>100000000</NOMINAL>
             <MATURITY_DATE>20170620</MATURITY_DATE>
             <BUY_SELL_INDICATOR>SELL</BUY_SELL_INDICATOR>
             <CURRENCY>ZAR</CURRENCY>
          </CREDIT_DERIVATIVE>
          <CREDIT_DERIVATIVE>
             <NOMINAL>100002000</NOMINAL>
             <MATURITY_DATE>20170620</MATURITY_DATE>
             <BUY_SELL_INDICATOR>BUY</BUY_SELL_INDICATOR>
             <CURRENCY>USD</CURRENCY>
          </CREDIT_DERIVATIVE>
       </CREDIT_DERIVATIVES>
    </TRADE>
    
    '
      );
    

    I need the data must be retrieved in the form of columns. I tried the below SQL but it works for a XMLTable i.e. TRADELEGS. But if I try to use another XMLTable for PVS so it is a Cartesian join.

    SELECT id,
      xmltype(xml_data).extract('/TRADE/TRADETYPE/text()').getStringVal()          AS TRADETYPE,
      xmltype(xml_data).extract('/TRADE/SUBTYPE/text()').getStringVal()            AS SUBTYPE,
      xmltype(xml_data).extract('/TRADE/TRADEHEADER/ACTION/text()').getStringVal() AS ACTION,
      x.PAY_OR_RECEIVE,
      x.FIXED_FLOAT_IND
    FROM testxml,
      XMLTable( '/TRADE/TRADELEGS/TRADELEG' passing XMLTYPE(xml_data) 
      columns 
      PAY_OR_RECEIVE VARCHAR2(20) PATH 'PAY_OR_RECEIVE' 
      , FIXED_FLOAT_IND VARCHAR2(20) PATH 'FIXED_FLOAT_IND' ) x;
    

    The query below does not work:

    SELECT id,
      xmltype(xml_data).extract('/TRADE/TRADETYPE/text()').getStringVal()          AS TRADETYPE,
      xmltype(xml_data).extract('/TRADE/SUBTYPE/text()').getStringVal()            AS SUBTYPE,
      xmltype(xml_data).extract('/TRADE/TRADEHEADER/ACTION/text()').getStringVal() AS ACTION,
      tradeleg.PAY_OR_RECEIVE,
      tradeleg.FIXED_FLOAT_IND
      ,xmltype(xml_data).extract('/TRADE/PVS/PV_SOURCE/text()').getStringVal() AS PV_SOURCE
      ,pvs.npv,
      pvs.VALUATION_DATE
    FROM testxml,
      XMLTable( '/TRADE/TRADELEGS/TRADELEG' passing XMLTYPE(xml_data) 
      columns 
      PAY_OR_RECEIVE VARCHAR2(1) PATH 'PAY_OR_RECEIVE' 
    , FIXED_FLOAT_IND VARCHAR2(3) PATH 'FIXED_FLOAT_IND' ) tradeleg
      ,XMLTable( '/TRADE/PVS/PV' passing XMLTYPE(xml_data) 
      columns 
      NPV NUMBER PATH 'NPV' 
    , VALUATION_DATE VARCHAR2(8) PATH 'VALUATION_DATE' ) pvs
    WHERE id = 1;
    

    I need the output to TRADELEGS, PVS and CREDIT_DERIVATIVES.

    Kind regards

    Vikram

    But if I try to use another XMLTable for PVS so it is a Cartesian join.

    Of course, it does. You must use a join condition any.

    What is the correlation of TRADELEGS, PVS and CREDIT_DERIVATIVES?

    I guess you can relate a TICKET to a TRADELEG through the LEG_NUMBER, right? But what about CREDIT_DERIVATIVE PV or TRADELEG?

    I need the output to TRADELEGS, PVS and CREDIT_DERIVATIVES.

    What explains the output should look like.

  • Reading data XML without namespaces in PL/SQL

    Hello

    I'm trying to download XML data without namespaces in Oracle PL/SQL tables. Here is an example of XML data.
    Let me know, how it is feasible in PL/SQL?

    <? XML version = "1.0"? >
    < insplist worm = count "2" = "1" >
    < insp = "219991" timestamp = "134817078" id = stat 'G' operator_id = "999999" >
    < data name = 'TIME CLOCK - PUNCH' val = 'INTERIORS"type ="STRING"/ >
    < / insp >
    < / insplist >

    Thank you

    I receive by UTL_HTTP XML data. Response. Basically, I prepare a url and post it through UTL_HTTP and in response, I get XML data.

    OK, once you've got the data - I guess that in a CLOB or VARCHAR2 - variable converted XMLType and XMLTable function allows to break the XML in relational rows and columns.
    This way you can directly insert the data into your target table:

    SQL> variable xml_response varchar2(4000)
    SQL>
    SQL> BEGIN
      2
      3   :xml_response := '
      4  
      5  
      6  
      7  
      8  ';
      9
     10  END;
     11  /
    
    PL/SQL procedure successfully completed
    
    SQL>
    SQL> SELECT x.*
      2  FROM XMLTable(
      3         '/insplist/insp'
      4         passing xmltype(:xml_response)
      5         columns
      6           insp_id      number       path '@id'
      7         , tstamp       number       path '@timestamp'
      8         , stat         varchar2(1)  path '@stat'
      9         , operator_id  number       path '@operator_id'
     10         , data_name    varchar2(30) path 'data/@name'
     11         , data_val     varchar2(30) path 'data/@val'
     12         , data_type    varchar2(30) path 'data/@type'
     13       ) x
     14  ;
    
       INSP_ID     TSTAMP STAT OPERATOR_ID DATA_NAME                      DATA_VAL                       DATA_TYPE
    ---------- ---------- ---- ----------- ------------------------------ ------------------------------ ------------------------------
        219991  134817078 G         999999 TIME CLOCK - PUNCH             INNER                          STRING
     
    

Maybe you are looking for

  • screenshot with ios 10 does not

    .

  • Firefox 31 update fails

    There is nothing different, but FF started again and the update succeeded. This is after more than a dozen attempts. Automatic update fails, but gives no reason. Tried a manual update (Firefox Setup 31.0.exe) and it does not work? I tried running in

  • I have two old desktop computers running Windows XP and want to upgrade to Vista

    I tried the windows 7 Advisor and he said I'm going to need a professional installation.  Just trying to see if I can optimize these to give to a women's shelter.  I want to upgrade, but don't have to.  Is there any where that I can at least a scanne

  • Error code 00000643 dt006

    Update from Microsoft, I receive a 643 error code that made their appearance several times. Can someone please help me fix it or explain what it involves.

  • TV Tuner problem

    I have a HP 8120n desktop computer.  I recently started to use the tv again tuner card to record tv.   When I go to windows media center it tells me that no card is configured to be used.  I have set up and everything works fine.  The problem is when