issues namespace attributes

Not sure if these are indeed questions of catalyst, but they are part of the workflow through catalyst, so:

(1) are attributes in the namespace "d" (as "userLabel") compiled into the SWF file when compiling in Builder?

For example:

< s:TextInput " skinClass ="components. "UserTextField" text ="username" d: userLabel = "UserTextField"x ="43" y ="82""/ >

1 (a) is in the affirmative, how to access them in AS3?

1 (b) if not, what is it? I know - they carry on useful data, but is there something we can do with them in the constructor other than search and replace?

Thank you

Kirk

HI Kirk,

Any attribute with a prefix (d:, e:, AI:, etc.) is totally ignored by the compiler and is not accessible during execution. They are called "private attributes.

They are not directly useful in the generator. Do not hesitate to strip them.

-Adam

Tags: Flash Catalyst

Similar Questions

  • issue of attribute ecommerce

    I have a site with a stock in different sizes and colors. I need to be able to add the product can I use attributes with for example

    Tshirt name: Blue XL 10 instock

    Tshirt name: Lge Black 7 instock

    Tshirt name: Green Sm 0 instock

    Focus on a product selected if you choose blue Xl it say 10 instock and like wise for Lge Black and so green sold out

    At the moment I have only the inventory on the size, but I need it to be of size and color, is there a solution?

    Hey there:

    You have all these goodies...

    http://forums.Adobe.com/docs/doc-2721

  • Form of authentication issues - from attributes to applications on JBoss

    Question: How do I pass the user name, password and all other attributes that I draw from my login form in an application for SINGLE sign-on when the authenticated user?

    My environment is a server Apache 2.2 protected with the WebGate using a reverse proxy to JBoss application server.

    Once authenticated, how I pass the name to username/password / other attributes for applications on my JBoss server?

    Thank you.
    Bryan

    Bryan,

    You will find [this response | http://forums.oracle.com/forums/message.jspa?messageID=3446719#3446719] useful Kiran. A few comments-

    (1) HTTP_OBLIX_UID is a name of special header used by the OAM identity system. I advise you to not use that to rule out the possibility of confusion.

    (2) I knew the type of action to be case-sensitive. Instead of HEADERVAR, you might want to try HeaderVar. In addition, if you use a Cookie, you should see the value of the DN even in subsequent requests in HTTP traces

    (3) If you want to stick with headers, you can put a simple jsp page on your JBoss server and have as the protected resource. You should be able to print the received headers in the jsp page.

    -Vinod

  • Issue wrt attribute usr_change_pwd_at_next_logon

    Hi all

    When a user is created in OIM 11 g R2 PS2 BP04 (UI or Recon), the usr_change_pwd_at_next_logon is 1/true. We use our target resource access policies. After the execution of the task of user evaluate resources policies is supplied but the flag usr_change_pwd_at_next_logon is updated to 0/false.  As far as I know, it shouldn't get resets to 0/false.

    Is this correct behavior?

    TIA

    Yes, this is the default behavior

  • How to add an element with a namespace prefix.

    I have a very simple problem, but I think I go about it the wrong way.

    I have the following variable of XMLTYPE in pl/sql:

    <A xmlns="namespace" xmlns:def="myns_namespace">
         <B/>
    </A>
    

    In a separate step, I would like to add the following after B: element

    <C attr="attribute" def:defattr="def_attribute"/>
    

    To produce the following XML:

    <A xmlns="namespace" xmlns:def="myns_namespace">
         <B/>
         <C attr="attribute" def:defattr="def_attribute"/>
    </A>
    

    What is the best way to do it?  I tried the following:

    1. the following statement fails because when you create the item C, oracle complains "prefix 'def' is not declared."  It's logical.

    SELECT
    insertChildXML(
         eltA,
         '/A/B',
         'C',
         xmlElement("C", xmlAttributes('attribute' "attr", 'def:defattr' "def_attribute")),
         'xmlns="namespace" xmlns:def="myns_namespace"'
    )
    INTO ...
    

    2. I also tried to create C element with namespace attributes before adding to the element and then removing the namespace declaration attributes using deleteXML.  This does not apparently the function can remove attributes, but it cannot remove namespace declarations. I try to avoid ending up with this:

    <A xmlns="namespace" xmlns:def="myns_namespace">
         <B/>
         <C xmlns="namespace" xmlns:def="myns_namespace" attr="attribute" def:defattr="def_attribute"/>
    </A>
    

    I was hoping to find a function that could be one of the following:

    1 create fragments of the element, ignoring prefixes to namespace and does not throw an error.

    2 remove the specific namespace declarations, or any statement redundant namespace.

    3. Add a child element otherwise wherein the child element would not need to be created and validated independently before being added to the parent.

    4 maybe I treat everything the wrong way and need to rethink my strategy on this xml creation?

    You will have to do it in two steps in order to avoid the redeclaration of namespace at the level of the child:

    SQL > SELECT xmlserialize (document

    (2 insertchildxml)

    (3 appendChildXML)

    4 xmltype ("")

    5             , '/A'

    6, xmlelement ("C", xmlattributes ('attribute' is "attr"))

    7, 'xmlns = "namespace" '

    8             )

    9           , '/A/C'

    10, ' @def: attribute '

    11, "def_attribute".

    "12, ' xmlns ="namespace"xmlns:def ="myns_namespace""

    13           )

    14 indent

    15         )

    16 DOUBLE;

    XMLSERIALIZE (DOCUMENTINSERTCHI

    --------------------------------------------------------------------------------

  • How to add prefixes to namespace to XMLType created from object?

    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    PL/SQL Release 11.2.0.3.0 - Production
    CORE 11.2.0.3.0 Production
    TNS for Linux: Version 11.2.0.3.0 - Production
    NLSRTL Version 11.2.0.3.0 - Production
    

    I work with SOAP request the creation of a pattern of derived Types.

    Consider the following annotated schema registration (I wanted Oracle to create types for me, but with my own names):

    exec dbms_xmlschema.deleteSchema(schemaURL => 'Parameters4.xsd');
    
    declare
    v_xsd xmltype := xmltype('<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" 
               xmlns:oraxdb="http://xmlns.oracle.com/xdb"
               xmlns = "http://www.cognera.com"
               targetNamespace = "http://www.cognera.com">
      <xs:element name="Parameters" oraxdb:SQLName="Parameters" oraxdb:SQLType="Parameters">
        <xs:complexType oraxdb:SQLType="Parameters">
          <xs:sequence>
            <xs:element name="Param1" type="xs:string" oraxdb:SQLName="Param1" oraxdb:SQLType="VARCHAR2" />
            <xs:element name="NestedItems" oraxdb:SQLName="NestedItems" oraxdb:SQLType="NestedItemsType">
              <xs:complexType oraxdb:SQLType="NestedItemsType">
                <xs:sequence>
                  <xs:element name="NestedItem" type="NestedItemType" oraxdb:SQLName="NestedItem" oraxdb:SQLType="NestedItemType"/>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:complexType name="NestedItemType" oraxdb:SQLType="NestedItemType">
        <xs:sequence>
          <xs:element name="nParam1" type="xs:string" oraxdb:SQLName="nParam1" oraxdb:SQLType="VARCHAR2"/>
          <xs:element name="nParam2" type="xs:string" oraxdb:SQLName="nParam2" oraxdb:SQLType="VARCHAR2"/>
          <xs:element name="nParam3" type="xs:string" oraxdb:SQLName="nParam3" oraxdb:SQLType="VARCHAR2"/>
        </xs:sequence>
      </xs:complexType>
    </xs:schema>
    ');
    begin
      dbms_xmlschema.registerSchema(schemaURL => 'Parameters4.xsd', --this name is local to each ERS schema.                                 
                                          schemaDoc => v_xsd,
                                          local => TRUE,
                                          genTypes => TRUE, --only want the types
                                          genbean => FALSE,
                                          genTables => TRUE, --not sure if I need this
                                          force => TRUE,
                                          owner => user);
    end;
    /
    

    The types created were:

    CREATE OR REPLACE TYPE "NestedItemType" AS OBJECT ("SYS_XDBPD$" "XDB"."XDB$RAW_LIST_T","nParam1" VARCHAR2(4000 CHAR),"nParam2" VARCHAR2(4000 CHAR),"nParam3" VARCHAR2(4000 CHAR))NOT FINAL INSTANTIABLE
    /
    CREATE OR REPLACE TYPE "NestedItemsType" AS OBJECT ("SYS_XDBPD$" "XDB"."XDB$RAW_LIST_T","NestedItem" "NestedItemType")FINAL INSTANTIABLE
    /
    CREATE OR REPLACE TYPE "Parameters" AS OBJECT ("SYS_XDBPD$" "XDB"."XDB$RAW_LIST_T","Param1" VARCHAR2(4000 CHAR),"NestedItems" "NestedItemsType")FINAL INSTANTIABLE
    /
    

    I found that to build these types using constructors (to avoid the PLS-00306: wrong number or types of arguments in the call to 'NestedItemType'), that I needed to change these types (drop the xdb magic):

    CREATE OR REPLACE TYPE "NestedItemType" AS OBJECT ("nParam1" VARCHAR2(4000 CHAR),"nParam2" VARCHAR2(4000 CHAR),"nParam3" VARCHAR2(4000 CHAR))FINAL INSTANTIABLE
    /
    CREATE OR REPLACE TYPE "NestedItemsType" AS OBJECT ("NestedItem" "NestedItemType")FINAL INSTANTIABLE
    /
    CREATE OR REPLACE TYPE "Parameters" AS OBJECT ("Param1" VARCHAR2(4000 CHAR),"NestedItems" "NestedItemsType")FINAL INSTANTIABLE
    /
    

    I read on the forums of a hack to get a space of names added to the output:

    CREATE OR REPLACE TYPE "Parameters" AS OBJECT ("@xmlns" VARCHAR2(4000), -- namespace attribute HACK
                                                           "Param1" VARCHAR2(4000 CHAR),"NestedItems" "NestedItemsType")FINAL INSTANTIABLE
    /
    

    Putting it all together, I have:

    DECLARE
      v_Parameters    "Parameters";
      v_xml           xmltype;
      v_print_output  clob;      
    begin
      v_Parameters :=  "Parameters"('www.cognera.com',
                                    'hello',
                                  "NestedItemsType"("NestedItemType"('one',
                                                                 'two',
                                                                 'three'
                                                                )
                                                 )
                                 );
        
      v_xml := xmltype(xmlData => v_Parameters);
    
      select xmlserialize(document
                          xmlquery('declare namespace soap = "http://www.w3.org/2003/05/soap-envelope";                                                              
                                    declare namespace cognera = "http://www.cognera.com";
                                    <soap:Envelope>
                                       <soap:Header/>
                                       <soap:Body>
                                         {/}
                                       </soap:Body>
                                     </soap:Envelope>
                                   ' passing v_xml returning content) as clob
                          indent size=2
                         ) into v_print_output from dual;
      dbms_output.put_line(v_print_output);
    end;
    

    This generates:

    <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
      <soap:Header/>
      <soap:Body>
        <Parameters xmlns="www.cognera.com">
          <Param1>hello</Param1>
          <NestedItems>
            <NestedItem>
              <nParam1>one</nParam1>
              <nParam2>two</nParam2>
              <nParam3>three</nParam3>
            </NestedItem>
          </NestedItems>
        </Parameters>
      </soap:Body>
    </soap:Envelope>
    

    What I really want is:

    <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:c="www.cognera.com">
      <soap:Header/>
      <soap:Body>
        <c:Parameters>
          <c:Param1>hello</c:Param1>
          <c:NestedItems>
            <c:NestedItem>
              <c:nParam1>one</c:nParam1>
              <c:nParam2>two</c:nParam2>
              <c:nParam3>three</c:nParam3>
            </c:NestedItem>
          </c:NestedItems>
        </c:Parameters>
      </soap:Body>
    </soap:Envelope>
    

    How can I do this without having to add to the namespace using the custom XQuery function?

    Both outputs are semantically equivalent.

    Why do you need one?

  • self-referential attribute: how to set the value if it is /inconnu

    Hello

    I get the following error while checking the logic loop:

    self-referential attribute: b5@Rules_test_doc
    number of rules in this loop: 3
    number of attributes in the string in loop: 3
    number of links in the chain loop: 0

    The rules engine will begin with information from a database.

    My requirement is to define a value for the attribute (X) = 'ABC' if (X) is null and (Y) 0
    (10.4 null is represented by unknown)

    You will need to have an intermediate field here to achieve. It's certainly a logic in terms of the OPA loop, as you try to use X to prove the X.
    You need to do to resolve the issue:

    attribute (X) = 'ABC' if (X_input) is null and (Y) 0

    Or for an example of "true":

    Office of the person:
    ------------------------------------
    "london" | Office provided the person is currently unknown
    the person is provided to the office. in the opposite case

    So if no office treatment was provided by the database (i.e. ' null') it is by default effectively in London.
    You can then use "Office of transformation of the person" as normal during menstruation, confident that he should never be unknown.

    See you soon,.
    Ben

    Published by: Ben Rogers on 8 January 2013 13:28

  • XMLType.Transform () / namespace

    Hello

    My server is Oracle9i Enterprise Edition Release 9.2.0.6.0.

    I'm transforming an XML fragment of entry into a fragment of XML output using XMLType.Transform ().
    This works well when no namespace attribute is present in the input XML code.

    For example:

    < < < code > > >
    DECLARE
    LXML XMLTYPE: = XMLTYPE ("< movement >
    < NOTF_ID > 1022914300 < / NOTF_ID >
    < SNUN_CDE > BE40309029-0101 < / SNUN_CDE >
    < ANML_REF_NBR > 6 43301900 < / ANML_REF_NBR >
    < NOTP_CDE > MMDPR < / NOTP_CDE >
    < OCR_DTE > 2008 - 11 - 05T 00: 00:00 < / OCR_DTE >
    (< / movement > ');

    lxsl XMLTYPE: = XMLTYPE ("< xsl: stylesheet version ="1.0"xmlns: xsl =" http://www.w3.org/1999/XSL/Transform">)
    < xsl: output method = "xml" / >
    < xsl: template match = "Movement" >
    < movement >
    < xsl: Copy - of select="./NOTF_ID"/ >
    < xsl: Copy - of select="./ANML_REF_NBR"/ >
    < xsl: Copy - of select="./OCR_DTE"/ >
    < / movement >
    < / xsl: template >
    (< / xsl: stylesheet > ');
    lstr VARCHAR2 (4000);
    BEGIN
    LXML: = lxml. Transform (lxsl);

    -show the result
    lstr: = lxml.getStringVal ();
    IN all, LENGTH (lstr) > 0
    LOOP
    DBMS_OUTPUT. Put_line (substr (lstr, 1, 255));
    lstr: = SUBSTR(lstr,256);
    END LOOP;
    END;
    /
    < < < code > > >

    The result is exactly what I want it to be:

    < < < output > > >
    < movement >
    < NOTF_ID > 1022914300 < / NOTF_ID >
    < ANML_REF_NBR > 6 43301900 < / ANML_REF_NBR >
    < OCR_DTE > 2008 - 11 - 05T 00: 00:00 < / OCR_DTE >
    < / movement >
    < < < output > > >

    However, when a namespace attribute is present on the element root entry XML, the result of the transformation, not what want to:

    < < < code > > >
    DECLARE
    LXML XMLTYPE: = XMLTYPE ("< movement xmlns =" http://some_url">)
    < NOTF_ID > 1022914300 < / NOTF_ID >
    < SNUN_CDE > BE40309029-0101 < / SNUN_CDE >
    < ANML_REF_NBR > 6 43301900 < / ANML_REF_NBR >
    < NOTP_CDE > MMDPR < / NOTP_CDE >
    < OCR_DTE > 2008 - 11 - 05T 00: 00:00 < / OCR_DTE >
    (< / movement > ');

    lxsl XMLTYPE: = XMLTYPE ("< xsl: stylesheet version ="1.0"xmlns: xsl =" http://www.w3.org/1999/XSL/Transform">)
    < xsl: output method = "xml" / >
    < xsl: template match = "Movement" >
    < movement >
    < xsl: Copy - of select="./NOTF_ID"/ >
    < xsl: Copy - of select="./ANML_REF_NBR"/ >
    < xsl: Copy - of select="./OCR_DTE"/ >
    < / movement >
    < / xsl: template >
    (< / xsl: stylesheet > ');
    lstr VARCHAR2 (4000);
    BEGIN
    LXML: = lxml. Transform (lxsl);

    -show the result
    lstr: = lxml.getStringVal ();
    IN all, LENGTH (lstr) > 0
    LOOP
    DBMS_OUTPUT. Put_line (substr (lstr, 1, 255));
    lstr: = SUBSTR(lstr,256);
    END LOOP;
    END;
    /
    < < < code > > >

    This translates to the concatenation of all the item values in the input XML code:

    < < < output > > >
    43301900MMDPR2008 1022914300BE40309029-0101BE 6-11 - 05T 00: 00:00
    < < < output > > >

    My question is: how to make the style sheet so that the attribute for namespace in the XML of entry is either ignored or simply copied in the XML output?

    Any suggestions?

    Thank you
    Jaap Kool

    I knew that my first reaction was made of namespace on the elements copied over but he did show you how to use namespaces and you allowed to go further along your solution. Here's a way (others may exist) to remove the copy of empty items above

    
    
         
         
              
                   
                        
                             
                        
                   
                   
                        
                   
                   
                        
                   
              
         
    
    

    The reason behind using text() is therefore that would not result in the empty element in your XML output file.

    Hope that helps.

  • Support for song in last OR-IMAQdx data

    Vision Acquisition software, March 2010 edition, came with a nice novelty. Supported data piece for GigE Vision cameras, point 3.6 IMAQdx. This is a feature I've been waiting for for a while, so I gave it a try with my camera Basler Runner. I put in a few comments/questions:

    • I have found no documentation for the novelty. Is there something there? Document, help file, example?
    • I put the attribute 'Chunk Mode' active through MAX. However, the enum "Segment selector" attribute is empty and enum values are filled after Chunk Mode is turned on and the camera is re - found by MAX. But MAX will not let you save the attribute 'Active Chunk Mode' unless 'Chunk' set to a valid value - it shows the error 'attribute out of reach. " To get out of this circle without end, I had to manually modify the CIM and define 'Chunk Active Mode'. That done, I could now "Segment selector" for example "timestamp" by MAX and thus activate the piece of timestamp.
    • In a loop of image in LabVIEW acquisition, I have read custom data attached to the IMAQ Image from IMAQdx get Image. There are only two keys here, "IMAQdxActualHeight" and "IMAQdxLostPackets". No timestamp. So, I went back to MAX and off "active Chunk Mode. After the re-run of the loop of the acquisition, now the piece of the timestamp was in fact among the custom data - both keys "IMAQdxTimestampHigh" and "IMAQdxTimestampLow". It's a little weird that the song data are available only when the 'active Chunk Mode' is set to OFF. However, the data contained in the keys "IMAQdxTimestampHigh" and "IMAQdxTimestampLow" are perfectly OK, just the timestamps of image that I always wanted to have.
    • Having experienced the weird behavior of the active 'Chunk Mode' attribute, I turned the attribute back and tried to adjust the second new attribute "Chunk Data active decoding". In this case, I had a lot of new keys in the custom data from the image. Among them, also "IMAQdxChunkData_CameraAttributes::ChunkData:ChunkTimestamp". Which seems to be what I needed. In any case, after his conversion to the type U64, this key gives me values that I do not exactly understand. They are somehow related to the current timestamp, but I am not able to decode the relationship.

    To summarize, it looks like the novelty is here and providing results. But a lot of things seems to be not working "as planned", forcing me to use the really nasty workarounds. Or maybe I am doing something wrong. I can't know when there is no documentation.

    So any that would clarify things a bit?

    Hi Vladimir,.

    Sorry you had to find out the hard way that the documentation is a bit 'lack' of this new feature. I hope that this will be fixed in the next version...

    I'll try to explain how things work and answer your questions along the way

    Song data must be implemented and enabled in two places: the camera and the driver.

    How it is activated on the camera picture is (now) very specific seller. Some providers may enable by default, most need to be activated manually. I don't know if I've seen the issue you see with the "Segment selector" function on the camera of Basler. The way it should work is that after activating "Chunk Mode active", would then toggle the "segment selector" through each available value and to enable or disable this feature to be included in the block sends data to the camera. You should not need to directly modify the CIM... If you simply switch the Active Mode to 'true' segment, move the "segment selector" a valid value and then click on save, it does not work?

    After you enable the various components of the song you want in the camera data, you then go to the 'Chunk Data decoding Enabled' attribute of IMAQdx and set it to true. This will cause IMAQdx decode data piece that is present from the camera and put it in the custom data to the image of the Vision. That's what you see when you see all custom data with the key starting with 'IMAQdxChunkData_ '. The name that follows is the name of the song data element (specified in the XML as attributes, so they live in the namespace attribute).

    Now, the two keys to custom data that you were called 'IMAQdxTimestampHigh' and 'IMAQdxTimestampLow' are actually NOT given piece. They are data that is present in the charge of the standard image of a GigE camera. We are actually still those revenues since the first version of IMAQdx with GigE Vision supports. These should match exactly the same values that you will receive if you query the 'IMAQdxChunkData_CameraAttributes::ChunkData:ChunkTimestamp' on a device of Basler. Interestingly, however, you discovered already, when the song sending on the camera data are enabled, these integrated timestamps will disappear. This is because in the version 1.0 x GigE Vision, song data package format specification did not have the same fields in the data that is in charge of the base image. The idea was that, once you have activated the data segment, you need to get all these areas through song data. In the new version of the specification GigE Vision (which is not yet implemented by IMAQdx and maybe not on all cameras still), there is a combined format that allows the use of the song with the standard image information data (like parking meters, height of the image, etc.) without needing them to be sent as song explicit data elements. However, for all purposes, practices, cameras should allow you to activate the exact same fields missing load of the image and present them as a piece of data instead.

    Hope this helps to explain some of the behavior,

    Eric

  • ComboBox and e4x dataProvider labelField

    Well, this should be a common use case, but, of course, I am struggling with it. I just want to fill a mx:ComboBox to the results of a Web service, but I can't get the ComboBox control to pick up the xml appropriate for the labelField. The result of the call to Webservice is e4x. The result of Webservice (verified) is:

    "< SOAP - ENV:Envelope xmlns:SOAP - ENV =" http://schemas.xmlsoap.org/soap/envelope/ "> "
    < SOAP - ENV:Header / >
    < SOAP - ENV:Body >
    "< mb:MarketBasketsResponse xmlns:mb =" http://mycompany.com/market-basket/schemas "> "
    < mb:MarketBasket basketId = "1" >
    < mb:Name > A customer < / mb:Name >
    < / mb:MarketBasket >
    < mb:MarketBasket basketId '2' = >
    Customer B < mb:Name > < / mb:Name >
    < / mb:MarketBasket >
    < / mb:MarketBasketsResponse >
    < / SOAP - ENV:Body >
    < / SOAP - ENV:Envelope >

    (Note the namespace)

    In my recall webservice result handler:

    private void handleMarketBasketsResult(event:ResultEvent):void {}
    var x: XML = new XML (event.result);
    MB of namespace = "" http://mycompany.com/market-basket/schemas "; "
    x.addNamespace (mb);
    mbCombo.dataProvider = x... MB::MarketBasket as XMLList;
    mbCombo.data = "mb::basketId";
    mbCombo.labelField = "mb::Name";
    }

    Unfortunately, the combo box is filled with the beginning of the XML string with elements of MarketBasket (which for a drop-down list box big!).

    It must be a simple error on my name, but I'm exhausted trying to find the answer. Is there a place in the LiveDocs that points to a similar usage scenario?

    Thank you.

    Dan


    Just to complete the loop (BTW, I feel like I speak for myself)... Here's a function that you could use to dynamically retrieve the label of a child node with a namespace declaration. Note that this is no longer necessary with the namespaces, because I did have problem filling a data grid based on the standard dataField attribute of DataGridColumn otherwise. In this example, I use the parameter of the dataField (WITHOUT ANY REFERENCE to THE namespaces) attribute that is passed into a function defined as the labelFunction for each column:

    private void getItemValue(data:Object,_column:DataGridColumn):String {}
    Return data.child (new QName (mb, column.dataField));
    }

    I hope that the other records some of the aggravation, I've experienced on the issue. I would like to see a cleaner handling of namespaces in flex components, but at least it works.

    Dan

  • XML parsing is not the case for &lt; xmlns &gt;!

    People,

    I try to analyse a XML data using XMLTABLE and because of the presence XML namespace attribute, it does not analyze the content. That's why no results.

    If I change this to another name, it is able to retrieve the xml data. What can be done to analyze with < xmlns > suggestions?

    Examples of data

    -Table

    create table xml_table (id number, xmlc xmltype);

    -block insert xml data (sample)

    declare

    xmltype x_xml;

    Start

    delete from xml_table;

    x_xml: = xmltype (' <? xml version = "1.0" encoding = "UTF - 8" standalone = "yes"? >)

    "< ContactDetailsResponse xmlns="http://capabilities.nat.xyz.com/xsd/crm/v8/contactDetails"> ".

    < Items >

    < CUGID > CUG5000144600 < / CUGID >

    < / Items >

    < CustomerContact >

    < ListOfEmailAddresses >

    < EmailAddress >

    Y < primary > < / elementary school >

    Email from < type > < / Type >

    < lastUpdated > 2015-03-24T 06: 06:39.000Z < / lastUpdated >

    < MailAddress > [email protected] < / MailAddress >

    < IntegrationId > NC1427177191 < / IntegrationId >

    < ListOfEmailconsentPermission >

    < EmailconsentPermission >

    < type > consent to email < / Type >

    < addressId > ABC. [email protected] < / addressId >

    < value > No. < / value >

    < confirmedDate > 2014-04-22 + 01:00 < / confirmedDate >

    820ZCAV190 < accountId > < / accountId >

    < / EmailconsentPermission >

    < / ListOfEmailconsentPermission >

    < / EmailAddress >

    < EmailAddress >

    Email from < type > < / Type >

    < lastUpdated > 2013 - 10 - 04T 07: 51:55.000 + 01:00 < / lastUpdated >

    < MailAddress > [email protected] < / MailAddress >

    < IntegrationId > 921ECAV190 < / IntegrationId >

    < ListOfEmailconsentPermission >

    < EmailconsentPermission >

    < type > consent to email < / Type >

    < addressId > [email protected] < / addressId >

    < value > No. < / value >

    < confirmedDate > 2013-10-04 + 01:00 < / confirmedDate >

    820ZCAV190 < accountId > < / accountId >

    < / EmailconsentPermission >

    < / ListOfEmailconsentPermission >

    < / EmailAddress >

    < / ListOfEmailAddresses >

    < impairmentDetails >

    < impairmentFlag > N < / impairmentFlag >

    < / impairmentDetails >

    < createdBy > 920321698 < / createdBy >

    < createdOn > 2013 - 10 - 04T 07: 51:55.000 + 01:00 < / createdOn >

    < lastModifiedBy > JUMI < / lastModifiedBy >

    < lastModifiedOn > 2015-03-24T 06: 06:39.000Z < / lastModifiedOn >

    < / CustomerContact >

    (< / ContactDetailsResponse > ');

    insert into

    xml_table

    values (1, x_xml);

    commit;

    end;

    /

    -The petition to analyze and extract

    SELECT x1.prim,

    x 1. ETYPE,

    x1.EmailID,

    x 2 .account_num,

    x 2 .addr_id

    OF xml_table x,.

    XMLTABLE)

    ' / ContactDetailsResponse, CustomerContact, ListOfEmailAddresses, EmailAddress.

    PASSAGE X.XMLC

    COLUMNS prim VARCHAR2 (100) PATH '. / primary ',

    ETYPE VARCHAR2 (100) PATH '. / Type',

    EmailID VARCHAR2 (100) PATH "MailAddress".

    child_xml PATH of XMLTYPE '.') x 1,

    XMLTABLE)

    "/ EmailAddress/ListOfEmailconsentPermission/EmailconsentPermission.

    PASSAGE x1.child_xml

    COLUMNS account_num VARCHAR2 (100) PATH "accountId"

    addr_id VARCHAR2 (100) PATH 'addressId') x 2

    WHERE prim = 'Y ';

    -The result

    ETYPE PRIM EMAILID ACCOUNT_NUM ADDR_ID

    ---------------------------------------

    Y Email [email protected] 820ZCAV190 ABC. [email protected]

    Let me know for any trouble again!

    Thank you!

    Post edited by: Ashu_Neo modified the e-mail ID and exit.

    Specify namespace in XMLTABLE as below (untested)

    SELECT x1.prim,

    x 1. ETYPE,

    x1.EmailID,

    x 2 .account_num,

    x 2 .addr_id

    OF xml_table x,.

    XMLTABLE (XMLNamespaces (default 'http://capabilities.nat.xyz.com/xsd/crm/v8/contactDetails'),

    ' / ContactDetailsResponse, CustomerContact, ListOfEmailAddresses, EmailAddress.

    PASSAGE X.XMLC

    COLUMNS prim VARCHAR2 (100) PATH '. / primary ',

    ETYPE VARCHAR2 (100) PATH '. / Type',

    EmailID VARCHAR2 (100) PATH "MailAddress".

    child_xml PATH of XMLTYPE '.') x 1,

    XMLTABLE (XMLNamespaces (default 'http://capabilities.nat.xyz.com/xsd/crm/v8/contactDetails'),

    "/ EmailAddress/ListOfEmailconsentPermission/EmailconsentPermission.

    PASSAGE x1.child_xml

    COLUMNS account_num VARCHAR2 (100) PATH "accountId"

    addr_id VARCHAR2 (100) PATH 'addressId') x 2

    WHERE prim = 'Y ';

    Thank you

    Ann

  • "Window could not find updates. Error (s) found: Code 80244018. Update the window has encountered a problem.

    Hello!

    I found the error in my system, "window 8.

    The message that is displayed when the search for updates,

    "Window could not find updates. Error (s) found: Code 80244018. Upgrade from window fell on a problem".

    To get help on this error, no feedback is provided by help and support section as well.

    Please help me solve this problem

    Concerning

    Generally attributed to a proxy server or a firewall.

    See the info here:

    http://answers.Microsoft.com/en-us/Office/Forum/officeversion_other-OneNote/i-cant-install-one-note-app-for-surface-RT-error/4737171e-6fce-48f6-88d1-8c44ac0e6ae0

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_8-windows_store/cannot-upgrade-to-Windows-81-error-0x80244018/56c64112-d374-40Cf-B1B1-8c4fd4924d69

    Discussion:

    http://social.msdn.Microsoft.com/forums/en-us/a8c813ab-5b18-482C-82c4-12f1cc57b460/what-issue-is-attributed-to-error-code-0x80244018

  • Add ' ns1: "to a tag xml in a PLSQL

    Hi friends,

    in the xml below

    I use DomNode approach to create the XML Core

    and use the below query

    SELECT XMLSERIALIZE (DOCUMENT xmlroot

    ((XMLELEMENT)

    "ns1:DeriveCoverageRequest,"

    XmlAttributes)

    "urn: xyz:ccw:config:common: data ' AS 'xmlns '.

    ("urn: xyz:ccw:config:msa: data ' AS 'xmlns:ns1'),

    l_xmltype)

    version "1.0" encoding = "UTF - 8', AUTONOMOUS YES

    )

    AS CLOB)

    in l_value

    and the XML look like

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

    < ns1:DeriveCoverageRequest xmlns = "urn: xyz:ccw:config:common: data" xmlns:ns1 = "urn: xyz:ccw:config:msa: data" >

    < majorLine >-

    < > 47285 lineId < / lineId >

    xyz15454 < itemName > < / itemName >

    < quantity > 5 < / quantity >

    < minorLine >

    < > 47293 lineId < / lineId >

    15454-CC-FTA < itemName > < / itemName >

    < quantity > 5 < / quantity >

    xyz15454:15454 - < itemPath > < / itemPath >

    < / minorLine >

    < / majorLine >

    < / ns1:DeriveCoverageRequest >

    Double;

    now, I have to add ns1: with the majorLine tag, it should be like

    < ns1:majorLine >

    < / ns1:majorLine >

    Code for the creation of this majorLine is

    l_major_line_node: =.

    DBMS_XMLDOM.

    appendChild)

    l_root_node,

    DBMS_XMLDOM.

    makeNode (DBMS_XMLDOM.createElement (l_domdoc, 'majorLine')));

    and I changed as

    l_major_line_node: =.

    DBMS_XMLDOM.

    appendChild)

    l_root_node,

    DBMS_XMLDOM.

    makeNode (DBMS_XMLDOM.createElement (l_domdoc, 'ns1:majorLine')));

    but it did not work. could you please suggest an idea on that

    Now you begin to see why this approach is wrong, not you?

    Use only one method to build the entire XML code.

    As I said, my preference goes to the SQL/XML functions, much easier to use than DOM when the source is relational data.

    If you want to stick with DOM (bad idea) then, in addition to adding the prefix, you must also create the namespace attribute, otherwise the XML is not correct:

    l_major_line_elem: = dbms_xmldom.createElement (l_domdoc, "ns1:majorLine");

    dbms_xmldom.SetAttribute (l_major_line_elem, 'xmlns:ns1', ' urn: xyz:ccw:config:msa: data');

    l_major_line_node: = dbms_xmldom.appendChild (l_root_node, dbms_xmldom.makeNode (l_major_line_elem));

  • Consume on SOA WSDL SOAP

    Hello

    Here's what I got: installed and configured SOA Suite 11 g (weblogic server 10.3, repository creation utility, soa suite, studio, database Oracle XE 10 g jdeveloper).

    SOA infrastructure

    Service engines (BPEL, mediator, business rules, workflow of Thomas

    Metadastore (MDS)

    Enterprise manager, web Manager, B2B, Adapterframework (JCA) service

    Oracle Business Activity monitoring (BAM)

    Everything is set up and running. Tutorial project put on both purchase orders treatment (its "book" starting Oracle SOA suite 11 g R1 a hands on tutorial "").

    Tests are run well, that all past (several types of credit cards, small, medium and large orders, manual and automatic approval several types of delivery chosen automatically on the size of the order, etc..)

    Screen Shot 08-29-14 at 04.12 PM.PNG

    What I want now is to connect - consume - palin JAVA application service.

    Following this tutorial (http://theopentutorials.com/examples/java-ee/jax-ws/create-and-consume-web-service-using-jax-ws/)

    I managed to use JAX - WS the tool called "wsimport" to generate the necessary objects to create and consume a web service.

    "wsimport" takes a wsdl as input file.

    He compiled well in addition a warning for what I think is not critical (or maybe it is?)

    C:\Users\Nenad\eclipseJunoSESR2\GettingStartedWithEclipseJuno\SOAConsume02 > wsimport CBC d bin tp://i3770k.mshome.net:8001/soa-infra/services/default/POProcessing/receivePO?WSDL ht s

    the analysis of WSDL...

    [WARNING] R2716 WSI-BasicProfile version 1.0, namespace attribute not allowed in doc/bed for soapbind: Body: 'run '.

    line 31 of http://i3770k.mshome.net:8001 / soa-infra/services/default/POProcessing/receivePO? WSDL

    code generation...

    compiling the code...

    C:\Users\Nenad\eclipseJunoSESR2\GettingStartedWithEclipseJuno\SOAConsume02 >

    If the classes are here:

    Screen Shot 08-29-14 at 04.26 PM.PNG

    And now I'm stuck, because I have no idea how to send an 'order' i.e. how fill out the input arguments:

    request PurchaseOrderType

    * CustID, string value

    * String of ID value

    string productName

    string itemType

    decimal price

    decimal quantity

    Status string

    ccType, string

    ccNumber

    In eclipse, I created SOAClient class such as:

    package com.oracle.client;

    import Java.Math.BigDecimal;

    import com.oracle.sca.soapservice.poprocessing.poprocessing.receivepo.ReceivePO;

    import com.oracle.xmlns.ns.order.PurchaseOrderType;

    public class SOAClient {}

    Public Shared Sub main (String [] args) {}

    ReceivePO receivePO = new ReceivePO();

    Pot of PurchaseOrderType = new PurchaseOrderType();

    pot.setCustID("1111");

    pot.setID("2121");

    pot.setProductName ("Atrium");

    pot.setItemType ("Electronics");

    BigDecimal bd_p = new BigDecimal ("49.99");

    pot.setPrice (bd_p);

    BigDecimal bd_q = new BigDecimal("1000");

    pot.setQuantity (bd_q);

    pot.setStatus ("original");

    pot.setCcType ("Mastercard");

    pot.setCcNumber("8765-8765-8765-8765");

    }

    }

    Auto generated class looks like ExecutePtt:

    package com.oracle.sca.soapservice.poprocessing.poprocessing.receivepo;

    Import javax.jws.Oneway;

    Import javax.jws.WebMethod;

    Import javax.jws.WebParam;

    Import javax.jws.WebService;

    Import javax.jws.soap.SOAPBinding;

    Import javax.xml.bind.annotation.XmlSeeAlso;

    import com.oracle.xmlns.ns.order.ObjectFactory;

    import com.oracle.xmlns.ns.order.PurchaseOrderType;

    /**

    * This class was generated by the JAX - WS RI.

    * JAX - WS RI 2.1.6 JDK 6

    * Generated source version: 2.1

    *

    */

    @WebService (name = "execute_ptt", targetNamespace = "http://oracle.com/sca/soapservice/POProcessing/POProcessing/receivePO")

    @SOAPBinding (parameterStyle = SOAPBinding.ParameterStyle.BARE)

    @XmlSeeAlso({)

    ObjectFactory.class

    })

    public interface {ExecutePtt}

    /**

    *

    @param request

    */

    @WebMethod (action = "run")

    @Oneway

    public void execute)

    @WebParam (name = "PurchaseOrder", targetNamespace = "http://xmlns.oracle.com/ns/order", = "request" partName)

    Application of PurchaseOrderType);

    }

    ReceivePO class is:

    package com.oracle.sca.soapservice.poprocessing.poprocessing.receivepo;

    to import java.net.MalformedURLException;

    import java.net.URL;

    to import java.util.logging.Logger;

    Import javax.xml.namespace.QName;

    Import javax.xml.ws.Service;

    Import javax.xml.ws.WebEndpoint;

    Import javax.xml.ws.WebServiceClient;

    Import javax.xml.ws.WebServiceFeature;

    /**

    * This class was generated by the JAX - WS RI.

    * JAX - WS RI 2.1.6 JDK 6

    * Generated source version: 2.1

    *

    */

    @WebServiceClient (name = "receivePO", targetNamespace = "http://oracle.com/sca/soapservice/POProcessing/POProcessing/receivePO", wsdlLocation ="http://i3770k.mshome.net:8001 / soa-infra/services/default/POProcessing/receivePO?") WSDL")

    public class ReceivePO

    extends service

    {

    RECEIVEPO_WSDL_LOCATION private final static URLS.

    Private final static Logger logger = Logger.getLogger (com.oracle.sca.soapservice.poprocessing.poprocessing.receivepo.ReceivePO.class.getName ());

    {public static

    URL url = null;

    try {}

    BaseUrl URL;

    baseUrl = com.oracle.sca.soapservice.poprocessing.poprocessing.receivepo.ReceivePO.class.getResource(".");

    url = new URL (baseUrl, "http://i3770k.mshome.net:8001 / soa-infra/services/default/POProcessing/receivePO?") WSDL") ;

    } catch (MalformedURLException e) {}

    logger.warning ("unable to create the URL for the WSDL location: 'http://i3770k.mshome.net:8001 / soa-infra/services/default/POProcessing/receivePO?") ("WSDL', retry in a local file");

    Logger.Warning (e.getMessage ());

    }

    RECEIVEPO_WSDL_LOCATION = url;

    }

    public ReceivePO (URL wsdlLocation, serviceName-QName) {}

    Super (wsdlLocation, serviceName);

    }

    public ReceivePO() {}

    super (RECEIVEPO_WSDL_LOCATION, new QName ("http://oracle.com/sca/soapservice/POProcessing/POProcessing/receivePO", "receivePO"));

    }

    /**

    *

    * @return

    * Returns ExecutePtt

    */

    @WebEndpoint (name = "execute_pt")

    public ExecutePtt getExecutePt() {}

    return super.getPort (new QName ("http://oracle.com/sca/soapservice/POProcessing/POProcessing/receivePO", "execute_pt"), ExecutePtt.class);

    }

    /**

    *

    @param features

    * List of the javax.xml.ws.WebServiceFeature {@link} to configure the proxy server.  Support for the features not in the functions of < code > < code > parameter will have their default values.

    * @return

    * Returns ExecutePtt

    */

    @WebEndpoint (name = "execute_pt")

    ExecutePtt public getExecutePt(WebServiceFeature... features) {}

    return super.getPort (new QName ("http://oracle.com/sca/soapservice/POProcessing/POProcessing/receivePO", "execute_pt"), ExecutePtt.class, features);

    }

    }

    Class ObjectFactory is:

    package com.oracle.xmlns.ns.order;

    Import javax.xml.bind.JAXBElement;

    Import javax.xml.bind.annotation.XmlElementDecl;

    Import javax.xml.bind.annotation.XmlRegistry;

    Import javax.xml.namespace.QName;

    /**

    * This item contains the factory for each methods

    * Content interface Java and Java element

    * generated in the com.oracle.xmlns.ns.order package.

    * < p > year ObjectFactory lets you programmatically

    build new instances of the representation of Java

    for XML content. The representation of Java to XML

    * content can consist of schema from interfaces

    * and classes that represent the schema binding

    * type definitions, element and model declarations

    * groups.  The factory for each methods are

    * provided in this class.

    *

    */

    @XmlRegistry

    public class ObjectFactory {}

    private final static QName _PurchaseOrder_QNAME = new QName ("http://xmlns.oracle.com/ns/order", "PurchaseOrder");

    /**

    Create another ObjectFactory which can be used to create instances of classes of schema package from: com.oracle.xmlns.ns.order

    *

    */

    public ObjectFactory() {}

    }

    /**

    Create an instance of {@link PurchaseOrderType}

    *

    */

    public createPurchaseOrderType() {} PurchaseOrderType

    return new PurchaseOrderType();

    }

    /**

    {* Create an instance of {@link JAXBElement} {@code..} {@link PurchaseOrderType} {@code >}}

    *

    */

    @XmlElementDecl (namespace = "http://xmlns.oracle.com/ns/order", name = "PurchaseOrder")

    public JAXBElement < PurchaseOrderType > createPurchaseOrder (PurchaseOrderType value) {}

    return of new < PurchaseOrderType > JAXBElement (PurchaseOrderType.class, null, _PurchaseOrder_QNAME, value);

    }

    }

    information on the package is

    @javax.xml.bind.annotation.XmlSchema (namespace = "http://xmlns.oracle.com/ns/order", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)

    package com.oracle.xmlns.ns.order;

    and

    PurchaseOrderType class is

    package com.oracle.xmlns.ns.order;

    import Java.Math.BigDecimal;

    Import javax.xml.bind.annotation.XmlAccessType;

    Import javax.xml.bind.annotation.XmlAccessorType;

    Import javax.xml.bind.annotation.XmlElement;

    Import javax.xml.bind.annotation.XmlType;

    /**

    * < Java class p > for the complex type PurchaseOrderType.

    *

    * < p > the following schema fragment specifies the expected content contained in this class.

    *

    * < pre >

    * & lt; name = "PurchaseOrderType" complexType >

    * & lt; complexContent >

    * & lt; restriction base = "{http://www.w3.org/2001/XMLSchema} anyType" >

    * & lt; sequence >

    * & lt; element name = "CustomerID" type = "{http://www.w3.org/2001/XMLSchema} string" / >

    * & lt; element name = "ID" type = "{http://www.w3.org/2001/XMLSchema} string" / >

    * & lt; element name = "productName" type = "{http://www.w3.org/2001/XMLSchema} string" minOccurs = "0" / > "

    * & lt; element name = "itemType" type = "{http://www.w3.org/2001/XMLSchema} string" minOccurs = "0" / > "

    * & lt; element name = "price" type = "{http://www.w3.org/2001/XMLSchema} decimal" minOccurs = "0" / > "

    * & lt; element name = "quantity" type = "{http://www.w3.org/2001/XMLSchema} decimal" minOccurs = "0" / > "

    * & lt; element name = 'status' type = "{http://www.w3.org/2001/XMLSchema} string" minOccurs = "0" / > "

    * & lt; element name = 'ccType' type = "{http://www.w3.org/2001/XMLSchema} string" minOccurs = "0" / > "

    * & lt; element name = 'ccNumber' type = "{http://www.w3.org/2001/XMLSchema} string" minOccurs = "0" / > "

    * & lt; / sequence >

    * & lt; / restriction >

    * & lt; / complexContent >

    * & lt; / complexType >

    * < / pre >

    *

    *

    */

    @XmlAccessorType (XmlAccessType.FIELD)

    @XmlType (name = "PurchaseOrderType", propOrder = {}

    'CustomerID ',.

    "id."

    "productName",.

    "itemType".

    'price ',.

    "quantity."

    'status ',.

    'ccType ',.

    'ccNumber '.

    })

    public class {PurchaseOrderType

    @XmlElement (name = "CustomerID", required = true)

    protected String custID;

    @XmlElement (name = "ID", required = true)

    protected string ID;

    protected String productName;

    protected String itemType;

    price of BigDecimal protected;

    amount of BigDecimal protected;

    protection status string;

    protected String ccType;

    protected String ccNumber;

    /**

    * Gets the value of the custID property.

    *

    * @return

    * possible object is

    * {@link string}

    *

    */

    public String getCustID() {}

    custID return;

    }

    /**

    * Sets the value of the custID property.

    *

    @param value

    * authorized object is

    * {@link string}

    *

    */

    public void setCustID (String value) {}

    this.custID = value;

    }

    /**

    * Gets the value of the property id.

    *

    * @return

    * possible object is

    * {@link string}

    *

    */

    public String getID() {}

    return the id;

    }

    /**

    * Sets the value of the property id.

    *

    @param value

    * authorized object is

    * {@link string}

    *

    */

    public void setID (String value) {}

    This.ID = value;

    }

    /**

    * Gets the value of the productName property.

    *

    * @return

    * possible object is

    * {@link string}

    *

    */

    public String getProductName() {}

    return productName;

    }

    /**

    * Sets the value of the productName property.

    *

    @param value

    * authorized object is

    * {@link string}

    *

    */

    public void setProductName (String value) {}

    this.productName = value;

    }

    /**

    * Gets the value of the itemType property.

    *

    * @return

    * possible object is

    * {@link string}

    *

    */

    public String getItemType() {}

    return of itemType;

    }

    /**

    * Sets the value of the itemType property.

    *

    @param value

    * authorized object is

    * {@link string}

    *

    */

    public void setItemType (String value) {}

    this.itemType = value;

    }

    /**

    * Gets the value of the property price.

    *

    * @return

    * possible object is

    * {@link BigDecimal}

    *

    */

    public BigDecimal getPrice() {}

    return of the price;

    }

    /**

    * Sets the value of the property price.

    *

    @param value

    * authorized object is

    * {@link BigDecimal}

    *

    */

    {} public void setPrice (BigDecimal value)

    This.Price = value;

    }

    /**

    * Gets the value of the quantity property.

    *

    * @return

    * possible object is

    * {@link BigDecimal}

    *

    */

    public BigDecimal getQuantity() {}

    return quantity;

    }

    /**

    * Sets the value of the quantity property.

    *

    @param value

    * authorized object is

    * {@link BigDecimal}

    *

    */

    {} public void setQuantity (BigDecimal value)

    This.Quantity = value;

    }

    /**

    * Gets the value of the status property.

    *

    * @return

    * possible object is

    * {@link string}

    *

    */

    public String getStatus() {}

    return the situation;

    }

    /**

    * Sets the value of the status property.

    *

    @param value

    * authorized object is

    * {@link string}

    *

    */

    public void setStatus (String value) {}

    This.Status = value;

    }

    /**

    * Gets the property ccType value.

    *

    * @return

    * possible object is

    * {@link string}

    *

    */

    public String getCcType() {}

    return ccType;

    }

    /**

    * Sets the property ccType value.

    *

    @param value

    * authorized object is

    * {@link string}

    *

    */

    public void setCcType (String value) {}

    this.ccType = value;

    }

    /**

    * Gets the value of the property ccNumber.

    *

    * @return

    * possible object is

    * {@link string}

    *

    */

    public String getCcNumber() {}

    Return ccNumber;

    }

    /**

    * Sets the value of the property ccNumber.

    *

    @param value

    * authorized object is

    * {@link string}

    *

    */

    public void setCcNumber (String value) {}

    this.ccNumber = value;

    }

    }

    So my questions are:

    1. How can I add in my SOAClient class to make this work (the settings and run test - place an order)

    2 should I use JAX - WS to all? I ask because I've seen some tutorials without it, but I have not yet studied them.

    Thanks a lot for any idea, suggestion or give me right direction.

    Sorry, I didn't know you wanted to call the service from Java strictly. Thought that you were just practice SOA Suite

    Now, here are the steps that I usually use to call the service using java classes generated:

    1. instantiate the Service. ReceivePO recPOService = new ReceivePO();

    2. download the Port for the operation. ExecutePtt recPOPort is recPOService. getExecutePt() ;

    3. create the Message schema object

    PurchaseOrderType purchaseOrder = new ObjectFactory () .createPurchaseOrderType ();

    4 fill in your message:

    purchaseOrder.setCustID("1")

    .

    .

    .

    5 run the service:

    recPOPort.execute (purchaseOrder)

    Let me know how it goes.

  • sys_context via dblink

    Hello.

    How to create the context that will work via data link?
    According to the literature, such context must be created in "initialized externally ' and db link should be"logged-in user.

    Remote DB:

    CONTEXT of CREATE con1 USING proc1 initialized externally.

    CREATE PROCEDURE proc1 (VARCHAR2 value) IS
    BEGIN
    DBMS_SESSION. SET_CONTEXT ('con1', 'attr', value);
    END;

    Local DB:

    create link1 link database using "remote_db."

    exec proc1@link1 ('123')

    SELECT * FROM SESSION_CONTEXT@link;

    VALUE OF THE NAMESPACE ATTRIBUTE
    --------- --------- -----
    CON1 ATTR 123

    As we see, the context is set. But the following query returns the value null:

    Select sys_context ('con1', 'attr') in the dual@link1;

    SYS_CONTEXT ('CON1', 'ATTR')
    --------------------------

    1 selected line

    What's wrong?

    Thank you.

    MEV for remote objects works the same way with regard to the premises. There is no need to call sys_context() and, therefore, the use of "initialized externally" context. Oracle automatically apply SRM policies at remote site. You only need to put it into context with calls remotely.

Maybe you are looking for

  • I can't copy video files to my iMac dvd .vob

    I have a video that has been recorded on a dvd from a video camera and cannot find a way to copy it to my hard drive to the Mac i. When I look in the Finder on the file in my external dvd player, it says the film is a .vob file. How can I copy it on

  • How can I force photos to create miniature previews?

    Hello I use the latest version of OS X El Capitan and the latest version of Photo. TL; DR my Photos library has about 26 000 images and missing about half of thumbnail and preview images so that if I click on the site I can see the image, but the pla

  • Cursor at the same time serve as control and indicator

    Hello world Is it possible to create a custom control that serves as both a control and indicator?  What I want is a slider vertical I can put a value with the help of the thumb or digital input, but I also want a horizontal line which would be about

  • Deskjet HP930C printer will not print

    I have a Deskjet HP930C printer.  I ran the corner store without success.  Don't just print.  Evil light is lit indicating there is a problem with the color cartridge, but I just replaced today and still does not print and the orange light still flas

  • Open my pictures slows down the entire computer

    I have a Windows XP computer that missed anything when I open my pictures. There are probably only 50 pictures in the file, but get the thumbnails to fill takes all means, making the computer unusable for 20 minutes approximately. What is the solutio