Header child element 'WSCorIDSOAPHeader' must be namespace qualified.

I have two machines. The first machine have a managed server and server administrator OSB. The second device with a SOA managed server, the server administrator and the enterprise manager.
Call for service in OSB is redirect do SOA Server (BPEL process).
After the drive, the following error message show in SOA server log.

INFO: Platform SOA FabricProviderServlet.stateChanged is running and is accepting applications
javax.xml.soap.SOAPException: parse envelope error: probably because of an invalid SOAP message. : header child element 'WSCorIDSOAPHeader' must be the namespace qualified!
at oracle.j2ee.ws.saaj.soap.AbstractSOAPImplementation.createEnvelope(AbstractSOAPImplementation.java:137)
at oracle.j2ee.ws.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:95)
at oracle.j2ee.ws.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:64)
at oracle.j2ee.ws.saaj.soap.MessageImpl.getSOAPBody (MessageImpl.java:1572)
at oracle.j2ee.ws.common.soap.SoapUtils.getSOAPBodyFirstChildQName(SoapUtils.java:249)
at oracle.j2ee.ws.server.mgmt.runtime.model.WebServiceOperationModelHelper.getOperationModelFromInputMessage(WebServiceOperationModelHelper.java:139)
at oracle.j2ee.ws.server.provider.ProviderPort.getOperationModelFromInputMessage(ProviderPort.java:986)
at oracle.j2ee.ws.server.mgmt.runtime.SuperServerInterceptorPipeline.handleRequest(SuperServerInterceptorPipeline.java:132)
at oracle.j2ee.ws.server.provider.management.AbstractProviderInterceptorPipeline.executeRequestInterceptorChain(AbstractProviderInterceptorPipeline.java:563)
at oracle.j2ee.ws.server.provider.ProviderProcessor.executeInterceptorRequestChain(ProviderProcessor.java:921)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:231)
at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:193)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:459)
at oracle.integration.platform.blocks.soap.FabricProviderServlet.doPost(FabricProviderServlet.java:507)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:821)
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:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:111)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3715)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
Caused by: javax.xml.soap.SOAPException: header child element 'WSCorIDSOAPHeader' must be the namespace qualified!
at oracle.j2ee.ws.saaj.soap.HeaderImpl.createChildElement(HeaderImpl.java:213)
at oracle.j2ee.ws.saaj.soap.ElementImpl.createAndAppendChildElement(ElementImpl.java:827)
at oracle.j2ee.ws.saaj.soap.StaxHandler.startElement(StaxHandler.java:222)
at oracle.j2ee.ws.saaj.soap.StaxHandler.staxParse(StaxHandler.java:82)
at oracle.j2ee.ws.saaj.soap.StaxHandler.staxParse(StaxHandler.java:70)
at oracle.j2ee.ws.saaj.soap.AbstractSOAPImplementation.getStaXParsedEnvelope(AbstractSOAPImplementation.java:204)
at oracle.j2ee.ws.saaj.soap.AbstractSOAPImplementation.createEnvelope(AbstractSOAPImplementation.java:58)
at oracle.j2ee.ws.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:95)
at oracle.j2ee.ws.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:64)
at oracle.j2ee.ws.saaj.soap.MessageImpl.getSOAPBody (MessageImpl.java:1572)
at oracle.j2ee.ws.common.soap.SoapUtils.getSOAPBodyFirstChildQName(SoapUtils.java:249)
at oracle.j2ee.ws.server.mgmt.runtime.model.WebServiceOperationModelHelper.getOperationModelFromInputMessage(WebServiceOperationModelHelper.java:139)
at oracle.j2ee.ws.server.provider.ProviderPort.getOperationModelFromInputMessage(ProviderPort.java:986)
at oracle.j2ee.ws.server.mgmt.runtime.SuperServerInterceptorPipeline.handleRequest(SuperServerInterceptorPipeline.java:132)
at oracle.j2ee.ws.server.provider.management.AbstractProviderInterceptorPipeline.executeRequestInterceptorChain(AbstractProviderInterceptorPipeline.java:563)
at oracle.j2ee.ws.server.provider.ProviderProcessor.executeInterceptorRequestChain(ProviderProcessor.java:921)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:231)
at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:193)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:459)
at oracle.integration.platform.blocks.soap.FabricProviderServlet.doPost(FabricProviderServlet.java:507)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:821)
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:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:111)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3715)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
>

What is WSCorIDSOAPHeader?

Temporarily Introscope agent configuration of your managed servers and call to try the service.
It is the cause of your problem.
Contact your Administration Introscope and task on the problem of Introscope + OSB + BPEL (SOA server).

Workaround solution:
Temporarily Introscope agent configuration of your managed servers and call to try the service.

Tags: Fusion Middleware

Similar Questions

  • Cannot process the SOAP element wsse header: child 'Security' with ' mustUnder

    Hello everyone.

    Have created project in Jdeveloper. In this one, I have an external reference for Siebel Service.
    Composite, for the service of external reference (Siebel) I added a security that is strategy * "oracle_wss_username_token_client_policy."
    [Right click on SiebelService-> configure WS Policy-> Security tab, I selected above political]

    So other than that I added the property for the policy
    _ _
    < name = "oracle.webservices.auth.username property" type = "xs: String" "
    much = 'false' override = "may" > SADMIN < / property >
    < name = "oracle.webservices.auth.password property" type = "xs: String" "
    much = 'false' override = "may" > SADMIN < / property >
    _ _
    But his return following error,
    Cannot process the SOAP element wsse header: child 'Security' with 'mustUnderstand = "1" ' (SBL-EAI-08000)

    It really pushed me in development.
    I really need help. Help me on this issue.

    Thanks in advance,
    Magali

    Cannot process the SOAP element wsse header: child 'Security' with 'mustUnderstand = "1" ' (SBL-EAI-08000)

    The problem is next to Siebel. He is not able to understand the security mechanism used on the side of the SOA. There are two options-

    1 use the custom policy and affirmation to the side SOA (please refer to metalink - 1419373.1 note)
    2. write your own custom message handler class and use it next to Siebel to negotiate the safety deficiency

    Kind regards
    Anuj

  • org.xml.sax.SAXException:SimpleDeserializer met a child element...

    Hi all

    I created a following program using the 'GetReportDefintion' method provided by BI Publisher Web Services
    package bip_webservices;
    import com.oracle.xmlns.oxp.service.PublicReportService.ItemData;
    import com.oracle.xmlns.oxp.service.PublicReportService.ReportRequest;
    import com.oracle.xmlns.oxp.service.PublicReportService.ReportResponse;
    import com.oracle.xmlns.oxp.service.PublicReportService.ParamNameValue;
    import com.oracle.xmlns.oxp.service.PublicReportService.ReportDefinition;
    import com.oracle.xmlns.oxp.service.PublicReportService.ScheduleRequest;
    import com.oracle.xmlns.oxp.service.PublicReportService.DeliveryRequest;
    import com.oracle.xmlns.oxp.service.PublicReportService.EMailDeliveryOption;
    
    import  java.io.FileOutputStream;
    import  java.io.OutputStream;
    import java.net.MalformedURLException;
    import java.rmi.RemoteException;
    import  java.util.Calendar;
    import javax.xml.rpc.ServiceException;
    import org.apache.axis.client.Call;
    import org.apache.axis.client.Service;
    import org.apache.axis.encoding.XMLType;
    import org.apache.axis.encoding.ser.BeanDeserializerFactory;
    import org.apache.axis.encoding.ser.BeanSerializerFactory;
    import  javax.xml.namespace.QName;
    import  javax.xml.rpc.ParameterMode;
    import  java.net.URL;
    
    
    public class BIP_GetReportDefinition {
        
        public static void main(String[] args) throws ServiceException, MalformedURLException, RemoteException{
         try{
            final String bipEndpoint = "http://localhost:9704/xmlpserver/services/PublicReportService?wsdl";
            final String bipNamespace = "http://xmlns.oracle.com/oxp/service/PublicReportService";
            final String xdofile = "/MyReports/SummaryCustomerReport/SummaryCustomerReport.xdo";
          
            Service service = new Service();
            Call call = (Call) service.createCall();
            call.setTargetEndpointAddress(new URL(bipEndpoint));
     
           System.out.println("BEGIN TESTING getReportDefinition");
     
            // register the ReportDefinition class
            QName reportDef = new QName(bipNamespace, "ReportDefinition");
            call.registerTypeMapping(ReportDefinition.class, reportDef,
                            BeanSerializerFactory.class, BeanDeserializerFactory.class);
          
     
            // register the ParamNameValue class
            QName nmvals = new QName(bipNamespace, "ParamNameValue");
            call.registerTypeMapping(ParamNameValue.class, nmvals, BeanSerializerFactory.class, BeanDeserializerFactory.class);
     
            call.setOperationName(new QName(bipNamespace, "getReportDefinition"));
            call.addParameter("reportAbsolutePath", XMLType.XSD_STRING, ParameterMode.IN);
            call.addParameter("userID", XMLType.XSD_STRING, ParameterMode.IN);
            call.addParameter("password", XMLType.XSD_STRING, ParameterMode.IN);
            call.setReturnClass(ReportDefinition.class);
     
            // issue the request
            ReportDefinition reportDefn = (ReportDefinition) call.invoke(
                new Object[] { xdofile, "Administrator", "Administrator"});
     
            System.out.println("Report Definition Returns with \n Default Output Format = " + reportDefn.getDefaultOutputFormat());
            ParamNameValue params [] = reportDefn.getReportParameterNameValues();
     
            if (params != null) {
                for (int i = 0; i < params.length; i++) {
                    System.out.print("Parameter " + params.getName() + ":");
    if (params[i].getValues() != null) {
    for (int j = 0; j < params[i].getValues().length; j++)
    System.out.print(" " + params[i].getValues()[j]);
    } else
    System.out.print(" null");
    System.out.println(" - multiple values? " + params[i].isMultiValuesAllowed());
    }
    }
    System.out.println("END TESTING getReportDefinition");
    }catch(Exception e){
    e.printStackTrace();
    }
    }
    }


    I am getting following exception message. Anyone has any ideas what could be the mistake ?
    SEVERE: Exception:
    org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.
            at org.apache.axis.encoding.ser.SimpleDeserializer.onStartChild(SimpleDeserializer.java:145)
            at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
            at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
            at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
            at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
            at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
            at org.apache.axis.client.Call.invoke(Call.java:2467)
            at org.apache.axis.client.Call.invoke(Call.java:2366)
            at org.apache.axis.client.Call.invoke(Call.java:1812)
            at bip_webservices.BIP_GetReportDefinition.main(BIP_GetReportDefinition.java:67)
    AxisFault
     faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
     faultSubcode: 
     faultString: org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.
     faultActor: 
     faultNode: 
     faultDetail: 
            {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.
            at org.apache.axis.encoding.ser.SimpleDeserializer.onStartChild(SimpleDeserializer.java:145)
            at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
            at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
            at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
            at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
            at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
            at org.apache.axis.client.Call.invoke(Call.java:2467)
            at org.apache.axis.client.Call.invoke(Call.java:2366)
            at org.apache.axis.client.Call.invoke(Call.java:1812)
            at bip_webservices.BIP_GetReportDefinition.main(BIP_GetReportDefinition.java:67)
    
            {http://xml.apache.org/axis/}hostname:mildh0228
    
    org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.
            at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
            at org.apache.axis.client.Call.invoke(Call.java:2470)
            at org.apache.axis.client.Call.invoke(Call.java:2366)
            at org.apache.axis.client.Call.invoke(Call.java:1812)
            at bip_webservices.BIP_GetReportDefinition.main(BIP_GetReportDefinition.java:67)
    Caused by: org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.
            at org.apache.axis.encoding.ser.SimpleDeserializer.onStartChild(SimpleDeserializer.java:145)
            at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
            at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
            at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
            at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
            at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
            at org.apache.axis.client.Call.invoke(Call.java:2467)
            ... 3 more
    Thank you for giving this problem at a glance.
    -Sookie

    Hello Sookie,

    I found the problem, it is with two or three child settings are not saved the deserializer. There are two or three extra classes must be registerd.

    Register the TemplateLabelValue class
    QName templateval = new QName (bipNamespace, "TemplateFormatLabelValue");
    Class cls = TemplateFormatLabelValue.class;
    call.registerTypeMapping (cls, templateval, BeanSerializerFactory.class, BeanDeserializerFactory.class);

    Register the TemplateLabelValues class
    QName templatevals = new QName (bipNamespace, "TemplateFormatsLabelValues");
    CLS = TemplateFormatsLabelValues.class;
    call.registerTypeMapping (cls, templatevals, BeanSerializerFactory.class, BeanDeserializerFactory.class);

    Could you please give it a try?

    Thank you.
    Yang

  • HTML Parsing error: Cannot edit the item container parent before the child element is closed (KB927917).

    Original title: HTML Parsing Error:

    When I go on this particular Web page, I can open the page, but with errors.  The error I get is: HTML Parsing Error: impossible to edit the item container parent before the child element is closed (KB927917).  Can someone out there help me solve this problem.  Also, it is the only Web page devoted to this particular site that does this.

    Hi Debbie9089,

    ·         What browser do you use?

    ·         Have you been able to access this site much earlier?

    If you use Internet Explorer, you can follow this link and check if the problem persists.

    Why do I get an "Operation aborted" error message when I visit a Web page in Internet Explorer?

    Hope the helps of information.

    Please post back and we do know.

  • Cannot access a Web site, HTMLParsingError unable to change the container element parent before the child element closed

    When I go to Geaowarehouse a site to check the properties and assessments

    I can't get the information

    This message appears when I click on the yellow triangle at the bottom LHS

    HTMLParsingError unable to edit the item container parent before the child element is closed

    http://answers.Microsoft.com/en-us/IE/Forum/IE8-windows_other/HTML-parsing-error-unable-to-modify-the-parent/e64759e0-D344-42d6-b1d8-0ce27504dd71

  • In good company the child elements of the element without terminals are not visible.

    Hi all

    Jdev version 11.1.1.7.0

    I am facing a company in good standing question...

    Scenario: I create approval Service (BPEL) with flow of human labor and the Bunises rule.

    I'm assingning HW participating using the rule based (HW and BR connection).

    Problem is:

    Shema has element 'unbounded '.

    < name of item = "ExpenseItem" maxOccurs = "unbounded" >

    < complexType >

    <>sequence

    < element name = "ItemID" type = "string" / >

    < element name = "ItemName" type = "string" / >

    < element name = "ItemPrpjectID" type = "string" / >

    < element name = "ItemStatus" type = "string" / >

    < / sequence >

    < / complexType >

    < / item >

    Whenever I have create a Busines to configure rules.

    ExpenseItem rules setting up the child elements are not visible. But those who are required to configure rules.

    If you can help solve me would be useful.

    What is a behavior bedault of the BR? If yes how can I do this?

    Thank you

    David

    Solution found:

    Click on set of rules that you have created.

    Expand rule in there.

    Select the Advanced mode and mode tree, and then click OK.

    Select the root task, click insert pattren and create pattren based on unrelated element (here actually destiny)
    Once you create pattren, will be elements of access under item boundless for the configuration of business rules.

  • Get XML child elements

    Dear Indesign scripting,

    This script is made of all the tags XML ParagraphStyles.

    But he refuses to take the child to the elements. What do I have to use the XPath expression? And how?

    function main() {  
      var xes, n, doc, ps, xe;  
      if ( !app.documents.length ) return;  
      doc = app.activeDocument;
      xes = doc.xmlElements[0].xmlElements;  
      n = xes.length;  
      while ( n-- ) {  
      xe = xes[n]; 
      st = doc.paragraphStyles.itemByName (xe.markupTag.name );  
      !st.isValid && doc.paragraphStyles.add({name:xe.markupTag.name});  
      }  
    }  
      
      
    main(); 
    

    The XML code

    <Workbook>  
         <Element_A_01>  
              <Element_A_01></Element_A_01>  
         </Element_A_01>  
         <Element_B_02>  
              <Element_B_02></Element_B_02>  
         </Element_B_02>  
    </Workbook> 
    

    Greetings from Holland

    The code creates two paragraph styles namely Element_A_01 and Element_B_02. These two are created for the immediate child nodes of the workbook node. Now, it seems you are trying to create pstyles for all nodes in the XML document, which in your case would be even these two as Element_A_01 has a child node that is also named Element_A_01 and what is the case for Element_B_02.

    If I get your straight stitch then you need to create 4 pstyles if all nodes have different names, but who doesn't. For that you recursively through each node that you receive from the fixed code [n].

    The code to be something like this

    1. main() {} function
    2. fixed var n, doc, ps, xe;
    3. If (! app.documents.length) return;
    4. doc = app.activeDocument;
    5. fixed = doc.xmlElements [0] .xmlElements; This gives the immediate children nodes of the workbook node, where the length in the next statement 2
    6. n = xes.length;
    7. While (n)-{}
    8. XE = set [n];   Here you need to recursively through the xe node
    9. The number of child elements of the xe can be obtained as xe.xmlElements.length
    10. First element can be obtained by xe.xmlElements [0]
    11. }
    12. }
    13. main();

    Hope this fixes the problem

  • creating xmltype excluding child elements view

    stuck with:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi   
    I'm writing an xmltype view that shows only the project, review (latest version) and item elements and their attributes. but exclude something more. Purpose: quick / high level search/filter on the demand side.
    <project name="test">
       <revision version="1">
          <item id="some:id:100">
             <excludeme />
          </item>
          <item id="some:id:101">
             <excludeme />
          </item>
          <item id="some:id:102">
             <excludeme />
          </item>
       </revision>
       <revision version="2">
          <item id="some:id:100">
             <excludeme />
          </item>
          <item id="some:id:101">
             <excludeme />
          </item>
          <item id="some:id:102">
             <excludeme />
          </item>
       </revision>
    </project>
    I can't figure out how all the items in the list and also to exclude all child elements:
    create or replace view "v_filter" of xmltype as
    select 
      XMLELement("project",
        XMLAttributes(extractValue(object_value,'/project/@name') AS "name"),
        XMLElement("revision",
          XMLAttributes(extractValue(object_value,'/project/revision[not(@version <= preceding-sibling::revision/@version) and not(@version <= following-sibling::revision/@version)]/@version') AS "version"),
          -- unsure as to what to do here, usually I end up with an ORA-00937: not a single-group group function
          --XMLAgg(
          --  ..............
          --  )
          )
        )
      )
    from ftdb_projects;
    Hoping for:
    <project name="test">
       <revision version="2">
          <item id="some:id:100"/>
          <item id="some:id:101"/>
          <item id="some:id:102"/>
       </revision>
    </project>

    Guess the XMLAGG order by clause not usable...?

    Where do you want to see it used?

    You might try to avoid the conversion of type of data may simply by setting VERSION such as VARCHAR2 or better probably referring via xdb annotations in the schema XML for the version xdb:SQLType = varchar2

    Well, I would say that something is missing as XMLCast function to correctly get the version of a numeric data type, so that it is consistent with the schema when injected in the XQuery.

    Out of curiosity, I was testing on 11.2 too with more or less the same parameters (storage of GOLD, REGISTER_NT_AS_IOT option) and well... Let's say it's day and night.
    Applications shown above fully rewritten, even one with the XMLQuery call :)

  • XMLquery xmlns in child elements

    Hello world!

    I try to insert item xml and get it with included namespaces. I have need xmlns to the element.  Where is my mistake?

    Best regards, Mikle.

    declare

    t_xml xmltype: = xmltype)

    ' ' < root xmlns = " http://www.nosite/a "xmlns:r =" " http://www.nosite/r ">

    < name = "aaa" tId = '1' r: id = "aaa" / >

    < name = "ccc" tId = '2' r: id = "aaa" / >

    < name = "bbb" tId = '4' r: id = "aaa" / >

    (< / root > ');

    Start

    Select

    XMLQUERY)

    "xquery version '1.0 ';

    declare default element namespace " " http://www.nosite/a ";

    declare namespace r = " " http://www.nosite/r " ;

    copy $tmp: $x = change insert

    node < name s = tId "{$snm}" = "{$nid}" r: id = "aaa" / > after

    $tmp/root/s[@tId=$sid]

    return $tmp '

    from t_xml as 'x', 2 as 'sid', 'ggg' as 'MNS', 12 in the "nest".

    return content)

    in double t_xml.

    dbms_output.put_line (t_xml.getclobval ());

    end;

    " < root xmlns =" http://www.nosite/a "xmlns:r =" " http://www.nosite/r ">

    < name = "aaa" tId = '1' r: id = "aaa" / >

    < name = "ccc" tId = '2' r: id = "aaa" / >

    " < name ="ggg"tId = '12' xmlns:r = ' http://www.nosite/r ' r: id = "aaa" xmlns = " http://www.nosite/a "/>

    < name = "bbb" tId = '4' r: id = "aaa" / >

    < / root >

    post processing of the xml using regexp_replace clob...

    How dare you?

    I have also tried many different things for post-processing of XML or used a method of completely different (DOM, XMLPatch) update and it seems that voila post-processing using an identity XSLT transformation:

    SQL> declare
      2
      3    t_xml xmltype:=xmltype(
      4  '
      5    
      6    
      7    
      8  ');
      9
     10    xsl   xmltype := xmltype(
     11    '
     12    
     13      
     14        
     15      
     16    
     17  ');
     18
     19  begin
     20    select xmltransform(
     21             xmlquery(
     22              ' xquery version "1.0";
     23                declare default element namespace "http://www.nosite/a";
     24                declare namespace r = "http://www.nosite/r" ;
     25                copy $tmp := $x  modify insert
     26                   node  after
     27                   $tmp/root/s[@tId=$sid]
     28                return $tmp '
     29              passing  t_xml as "x", 2 as "sid", 'ggg' as "snm", 12 as "nid"
     30              returning content
     31             )
     32           , xsl
     33           )
     34    into t_xml
     35    from dual;
     36
     37    dbms_output.put_line(t_xml.getclobval(1,2));
     38
     39  end;
     40  /
    
    
      
      
      
      
    
    
    PL/SQL procedure successfully completed
    
  • Hide child element LOV cascading


    Hi all

    I have two selection lists set up in cascade LOV s, using the point of LOV cascading parameters.  Selects a Select1 element updates Select2 with child options available.  It works very well.

    What I also want to do, is to hide the Select2 element when no options are available. I guess I can use a dynamic action to hide/show the item, but I can't work on how to get a number of available options and hide/show when it is required. Should be simple but good?

    The apex is 4.2.5.00.08

    Thank you!

    ~ L

    OK think I worked this one, if will post it here for other peoples reference.

    Create a single dynamic action:

    Event: change

    Type: element

    Articles: List of child selection

    Condition: Expression of Javascript

    Value: this.triggeringElement.length - 1 > 0 (counting of list entries,-1 for a display null value)

    Real Action: The child show selection list

    False Action: Hide the child selection list

  • How to get the child elements of the ArrayCollection collection?

    Hi all

    I want to analyze collection ArrayCollection and want the child node element.

    How to parse the arraycollection collection?

    for (var i: int = 0; i<>

    {if (arrayCollectionObject.getItemAt (i). Item is "requireditem")}

    your code

    break;

    }

    }

    Let me know if it helps

  • Find the value of the child element is XPath, record multi type csv

    I have the following csv file
    RECEIVING LINE, A, 1, 0
    AC60 ASN, A, RECEPTION + 0000 0000, 150, 1, 25
    AC60 ASN, A, RECEPTION + 0000 0000, 150, 1, 40
    RECEIVING LINE, A, 2, 0
    RECEIVING LINE, A, 3, 0
    AC60 ASN, A, RECEPTION + 0000 0000, 150, 3, 50
    AC60 ASN, A, RECEPTION + 0000 0000, 150, 3, 59

    Corresponding XSD is:
    < xsd: element name = "ASN_ROOT" >
    < xsd: complexType >
    < xsd: Choice minOccurs = "1" maxOccurs = "unbounded" nxsd:choiceCondition = 'completed' nxsd:terminatedBy = ',' >
    < xsd: element name = "RECEIPTLINE" nxsd:conditionValue = "LINE RECEIVING" >
    < xsd: complexType >
    < xsd: SEQUENCE >
    < xsd: element name = "C2" type = "xsd: String" nxsd:style = 'completed' nxsd:terminatedBy = ',' nxsd:quotedBy = "' & quot;" / > "
    < xsd: element name = "C3" type = "xsd: String" nxsd:style = 'completed' nxsd:terminatedBy = ',' nxsd:quotedBy = "' & quot;" / > "
    < xsd: element name = "C4" type = "xsd: String" nxsd:style = 'completed' nxsd:terminatedBy = ',' nxsd:quotedBy = "" & quot; "/ >"
    < / xsd: SEQUENCE >
    < xsd: element name = "RECEIPTASN" nxsd:conditionValue = "RÉCEPTION ASN" >
    < xsd: complexType >
    < xsd: SEQUENCE >
    < xsd: element name = "C2" type = "xsd: String" nxsd:style = 'completed' nxsd:terminatedBy = ',' nxsd:quotedBy = "' & quot;" / > "
    < xsd: element name = "C3" type = "xsd: String" nxsd:style = 'completed' nxsd:terminatedBy = ',' nxsd:quotedBy = "' & quot;" / > "
    < xsd: element name = "C4" type = "xsd: String" nxsd:style = 'completed' nxsd:terminatedBy = ',' nxsd:quotedBy = "" & quot; "/ >"
    < xsd: element name = "C5" type = "xsd: String" nxsd:style = 'completed' nxsd:terminatedBy = ',' nxsd:quotedBy = "' & quot;" / > "
    < / xsd: SEQUENCE >
    < / xsd: complexType >
    < / xsd: element >
    < / xsd: complexType >
    < / xsd: element >
    < / xsd: Choice >
    < / xsd: complexType >
    < / xsd: element >

    In BPEL for loop - looking for the XPath function or alternative to check (return true or false) at least a receipt (RECEIPTLINE/C3) line number are receiving DSC (RECEIPTASN/C5)

    You can use the function "matches":
    XP20:matches($outputVariable.payload/client:processResponse/client:result,client:input)

    Here I used a transformation (in a simple bpel process) with 2 sources (variable output & input variable) and target (output variable), that for example.
    I added to each slot for each and the example above. Here is the xsl:

    ......













    Arik

  • How to change the Id of a child element that is created dynamically?

    Hello

    I would like to change the id to the dynamically created elements to work easily with their more later. Currently, edge automatically generate a random id as "eid_1376057792551" for each item.

    There's my code:

    sym.setVariable ("labels", {}

    Content2: "visitor."

    Content3: "exposing."

    content4: "Organizer."

    content5: "Contact."

    content6: 'connection '.

    });

    Clear initial state

    sym.getSymbol("tab").deleteSymbol ();

    Find all the great symbols library

    var prefix = "content"; Content1 content2... content99

    allTabs var = [];

    var symbolDefns = sym.getComposition () .symbolDefns;

    for {(var in symbolDefns key)

    If (symbolDefns.hasOwnProperty (key) & & key.search (new RegExp(prefix+"[0-9]{1,2}"))! =-1) {}

    tab var = sym.createChildSymbol ('tab', 'navigation');

    tab.setVariable ("contentId", key);

    allTabs.push (tab);

    tab$ ("btnLabel") .html (sym.getVariable ("labels") [key] |) "" );

    $tabEl = tab.getSymbolElement ();

    $tabEl.data ("sym", tab).

    $tabEl.css ({float: 'left' in the margin: "0 - 1px 15px 0"});

    {$tabEl.click (function (evt)}

    var tabSym = $(evt.currentTarget) .data ("sym");

    .each $(allTabs, {function(index,item)}

    If (item! = tabSym) {item.stop ("normal"); item.setVariable ("active", false) ;}}

    });

    var $content = sym.$("content").empty ();

    sym.createChildSymbol (tabSym.getVariable ("contentId"), "content");

    });

    }

    }

    });

    Thank you .

    Try this:

    Tab.Attr ("ID", "NEWID");

    Zaxist

  • The child element of JQuery reference

    I'm trying to animate an image

    If the image is on the scene, it works very well

    SYM. $("theImage") .animate ({"top": '= 150px'}, 1000, "easeOutBounce");

    But I can't try to get to this image, when it is inside a symbol on the stage

    I tried both of them, but neither works

    SYM. $("mySymbol") .children ("picture") .animate ({"top": '= 150px'}, 1000, "easeOutBounce");

    SYM. $("mySymbol > theImage") .animate ({"top": '= 150px'}, 1000, "easeOutBounce");

    It's something simple I'm missing?

    Thank you

    Mathias

    Use this:

    sym.getSymbol("mySymbol").$("theImage").animate ({"top": '= 150px'}, 1000, "easeOutBounce");

  • generate the List component: make all child elements on createComplete?

    Hello

    It is my understanding that a list created only children who are visible and children who lie immediately next to the display window. When scrolling, the other children in the list are created when they are ready to be displayed in the display window. I understand that it is an internal mechanism to free up memory and speed up the rendering of provision process.

    My question is, it is possible to set a property or to create a method to add all children is made in the list at present, it is created, rather than limiting children to only close the display window? Thank you b

    For the Spark list, I'll try defining a layout custom with useVirtualLayout = false

    Alex Harui

    Flex SDK Developer

    Adobe Systems Inc..

    Blog: http://blogs.adobe.com/aharui

Maybe you are looking for