How to add muliple namespace in XMP schema?

Dear All,
I was wondering how to add more than one namespace in a schema. I have seen that some schemas in XMP have more than one namespace, e.g.,
<rdf:Description rdf:about=""
            xmlns:xmpTPg="http://ns.adobe.com/xap/1.0/t/pg/"
            xmlns:xmpG="http://ns.adobe.com/xap/1.0/g/"
            xmlns:stFnt="http://ns.adobe.com/xap/1.0/sType/Font#">
When I register a namespace using IMetaDataAccess:RegisterNamespace, say http://ns.abc.com, I get a schema as follows:
<rdf:Description rdf:about=""
            xmlns:abc="http://ns.abc.com">
How to add an another namespace, say http://ns.xyz.com, to the same schema to get as follows:
<rdf:Description rdf:about=""
            xmlns:abc="http://ns.abc.com"
            xmlns:xyz="http://ns.xyz.com">

Dear All,
I was wondering how to add more than one namespace in a schema. I have seen that some schemas in XMP have more than one namespace, e.g.,
<rdf:Description rdf:about=""
            xmlns:xmpTPg="http://ns.adobe.com/xap/1.0/t/pg/"
            xmlns:xmpG="http://ns.adobe.com/xap/1.0/g/"
            xmlns:stFnt="http://ns.adobe.com/xap/1.0/sType/Font#">
When I register a namespace using IMetaDataAccess:RegisterNamespace, say http://ns.abc.com, I get a schema as follows:
<rdf:Description rdf:about=""
            xmlns:abc="http://ns.abc.com">
How to add an another namespace, say http://ns.xyz.com, to the same schema to get as follows:
<rdf:Description rdf:about=""
            xmlns:abc="http://ns.abc.com"
            xmlns:xyz="http://ns.xyz.com">

Similar Messages

  • How to add multiple namespaces in XSD ?

    Can anyone tell me how to add multiple namespaces inside an XSD. Or how to import XSD into another XSD ??
    Thanks

    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://xml.ibridge.nl/nl/rsg/domein/3/company" xmlns:alg="http://mynamespace/generic" targetNamespace="http://xml.ibridge.nl/nl/rsg/domein/3/company" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.1">
         <xs:import namespace="http://mynamespace/generic" schemaLocation="algemeen.xsd"/>
    you define xmlns:alg with a namespace
    and after that use the namespace itself to import a xsd for it

  • How to add all namespaces in root node of xquery transformation result?

    Hi,
    I'm using xquery Transformation in oracle service bus to transfrom output. The schema used for output transfromation has elements being imported from several schemas. so that output xml has these long tags with namespaces of repective schemas e.g.
    <rr:Get360ViewOfProductResponse      xmlns:rr="http://canaldigital.com/schema/product/CPMProductInformation/v2.0/">
    <ResponseHeader>
    <com:ResponseCode xmlns:com="http://broadcast.telenor.com/tsi/common/commonparameters_v1" >0</com:ResponseCode>
    <com:ResponseText xmlns:com="http://broadcast.telenor.com/tsi/common/commonparameters_v1" >0</com:ResponseText>
    </ResponseHeader>
    </rr:Get360ViewOfProductResponse>
    what I want to achieve is that all namespaces come once in the rootNode and all childnodes just use the repective prefixes, so that the xml size doesnt grow too large.Like below.
    <rr:Get360ViewOfProductResponse      xmlns:com="http://broadcast.telenor.com/tsi/common/commonparameters_v1" xmlns:rr="http://canaldigital.com/schema/product/CPMProductInformation/v2.0/" xmlns:pr="http://broadcast.telenor.com/tsi/common/program_v1">
    <ResponseHeader>
    <com:ResponseCode>0</com:ResponseCode>
    <com:ResponseText>0</com:ResponseText>
    </ResponseHeader>
    </rr:Get360ViewOfProductResponse>
    the difference is that ResponseCode and responseText should only use their prefix, and not complete namespace. How can i acheive this.
    Thanks in advance.
    Edited by: 856401 on Feb 9, 2012 1:53 AM

    I get error 'Invalid expression- Unexpected token copy-namespaces'. Is it supported by xquery version 1.0 ? Following is the updated xquery transformation which gives static error:
    xquery version "1.0" encoding "Cp1252";
    (:: pragma bea:global-element-parameter parameter="$get360ViewOfProductResponse1" element="ns5:Get360ViewOfProductResponse" location="../XSD/CPMSchema_v20.xsd" ::)
    (:: pragma bea:global-element-return element="ns6:Get360ViewOfProductResponse" location="../XSD/CPMSchema_v3.xsd" ::)
    declare namespace ns2 = "http://broadcast.telenor.com/tsi/common/displayinformation_v1";
    declare namespace ns1 = "http://broadcast.telenor.com/tsi/common/commonparameters_v1";
    declare namespace ns4 = "http://broadcast.telenor.com/tsi/common/Property_v2";
    declare namespace ns3 = "http://broadcast.telenor.com/tsi/common/ProductMain_v2";
    declare namespace ns0 = "http://broadcast.telenor.com/tsi/common/condition_v1";
    declare namespace ns9 = "http://broadcast.telenor.com/tsi/common/extension_v1";
    declare namespace ns5 = "http://broadcast.telenor.com/tsi/psd/cpm/CPMSchema_v20";
    declare namespace ns6 = "http://canaldigital.com/schema/product/CPMProductInformation/v3.0/";
    declare namespace xf = "http://tempuri.org/CPM_OSB_v3/XQuery/Get360ViewOfProductResponse/";
    declare namespace ns7 = "http://broadcast.telenor.com/tsi/common/productofferingpricewithrules_v2";
    declare namespace ns8 = "http://broadcast.telenor.com/tsi/common/pricecomponent_v2";
    declare copy-namespaces preserve, inherit;
    declare function xf:Get360ViewOfProductResponse($get360ViewOfProductResponse1 as element(ns5:Get360ViewOfProductResponse))
    as element(ns6:Get360ViewOfProductResponse) {
    <ns6:Get360ViewOfProductResponse>
    <ResponseHeader>
    <ns1:ResponseCode>0</ns1:ResponseCode>
    <ns1:ResponseText>{ data($get360ViewOfProductResponse1/responseDescription) }</ns1:ResponseText>
    </ResponseHeader>
    </ns6:Get360ViewOfProductResponse>
    declare variable $get360ViewOfProductResponse1 as element(ns5:Get360ViewOfProductResponse) external;
    xf:Get360ViewOfProductResponse($get360ViewOfProductResponse1)

  • SAXParser reading external Schema - how to add addtional namespaces

    Hi,
    I have an application where the XML-Schema has to be read from somewhere else if the XML file does not have a reference to a Schema.
    Usually, my XML-file starts with:
    <ODM xsi:schemaLocation="http://www.cdisc.org/ns/odm/v1.2 ODM1-2-0.xsd" xmlns="http://www.cdisc.org/ns/odm/v1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ...>
    Remark the extra namespace for xsi.
    I am using the following code:
    parser.setFeature("http://xml.org/sax/features/validation",true); // validation
    parser.setFeature("http://apache.org/xml/features/validation/schema",true); // against Schema
    parser.setProperty("http://apache.org/xml/properties/schema/external-schemaLocation", "http://www.cdisc.org/ns/odm/v1.2 file://C:/CDISC_ODM_Checker_testfiles/ODM1.2/ODM1-2-0.xsd");
    etc...
    Although I am sure that the file location is correct, I get the following error when parsing:
    org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'ODM'.
    My Schemafile looks like:
    <xs:schema targetNamespace="http://www.cdisc.org/ns/odm/v1.2" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.cdisc.org/ns/odm/v1.2" elementFormDefault="qualified" attributeFormDefault="unqualified">
         <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/03/xml.xsd"/>
         <xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="http://www.w3.org/TR/xmldsig-core/xmldsig-core-schema.xsd"/>
    I am wondering what is wrong.
    Does it have to do with the usual xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" that I usually have in the XML file ? Should I also tell the parser about xsi ?
    Or is there anything very obvious I oversee ?
    Parser is Xerces-2-5-0, Operating System is Windows 2000.
    Any help is welcome
    Jozef Aerts
    XML4Pharma

    Hi,
    Many thanks for all the suggestions !
    The problem remains that I am only allowed to make changes in the Java code, not in the XML-Schema or in the incoming XML file.
    To be more specific, the file can come in in 2 separate ways. The first way is :
    <ODM xsi:schemaLocation="http://www.cdisc.org/ns/odm/v1.2 ODM1-2-0.xsd" xmlns="http://www.cdisc.org/ns/odm/v1.2" xmlns="http://www.cdisc.org/ns/odm/v1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Description="CDISC ODM version 1.2.2 format" FileType="Transactional" Granularity="All" FileOID="987-654-321" CreationDateTime="2002-04-29T11:07:23-05:00"> ... </ODM>
    No problem to parse this when the odm1-2-0.xsd is in the same directory.
    However, in some cases, the file can come in as:
    <ODM Description="CDISC ODM version 1.2.2 format" FileType="Transactional" Granularity="All" FileOID="987-654-321" CreationDateTime="2002-04-29T11:07:23-05:00">
    So, no references to schema location nor namespaces.
    In the latter case, I need to assign an external schema file (which can be in another directory as the xml file) and tell the SAXParser about the namespaces. It's the second thing that I do not know how to do.
    I do not want to edit the incoming xml file if possible, but just tell the parser about the namespaces.
    Many thanks in advance
    Jozef Aerts
    XML4Pharma

  • How to add mulitple namespace in xml

    Hi,
    I have this output xml:
    <?xml version="1.0" encoding="utf-8" ?>
    - <E24B:E24B_Update_MachineCards_001 xmlns:E24B="urn:E24B_UpdateMachineCards_001">
    - <E24B:DataArea>
    - <E24B:UpdateMachineCards>
    - <E24B:Machine>
    - <E24B:Component>
      <f:ComponentSerNo xmlns:f="urn:fields">000000000000000456</f:ComponentSerNo>
      <f:ComponentType xmlns:f="urn:fields">108</f:ComponentType>
      </E24B:Component>
    - <E24B:Market>
      <f:FinalMarket xmlns:f="urn:fields">TR</f:FinalMarket>
      </E24B:Market>
      <f:SalesModel xmlns:f="urn:fields" />
      <f:SerialNo xmlns:f="urn:fields">000000000000000456</f:SerialNo>
    - <s:CntrolArea xmlns:s="urn:segments">
    - <s:Bsr>
      <s:Noun>Machine Card</s:Noun>
      <s:Verb>UPDATE</s:Verb>
      </s:Bsr>
    - <s:DateTime>
      <s:Dt_Qualifier>Creation</s:Dt_Qualifier>
      <s:Dt_Value>20111207</s:Dt_Value>
      <s:TimeZone>7200</s:TimeZone>
    But this content is wrong.
    The expected  content should be as follows:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <E24B:E24B_Update_MachineCards_001 xmlns:E24B="urn:E24B_UpdateMachineCards_001" xmlns:f="urn:fields" xmlns:s="urn:segments"  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    - <s:CntrolArea>
    - <s:Bsr>
      <s:Verb>Update</s:Verb>
      <s:Noun>Machine Card</s:Noun>
    Also xml content need to have multiple namespace. Can you help me please?
    Nurhan

    I used for target external definition and for  prefix (E24B  , f , s, instead of ns0, ns1..) i added module "AF_Modules/XMLAnonymizerBean".
    My source xml from  is
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_Machine_Update xmlns:ns0="http://xxx.com/MachineUpdate">
       <ControlArea>
          <Bsr>
             <Verb>13</Verb>
             <Noun>32</Noun>
          </Bsr>
          <Sender>
             <LogicalId>34124</LogicalId>
             <ReferenceId>124</ReferenceId>
          </Sender>
          <DateTime>
             <Dt_Qualifier>42</Dt_Qualifier>
             <Dt_Value>214</Dt_Value>
             <TimeZone>14</TimeZone>
          </DateTime>
       </ControlArea>
       <DataArea>
          <UpdateMachineCards>
             <CompanyCode>4325</CompanyCode>
             <CompanyName>325</CompanyName>
             <ManufacturerCode>352</ManufacturerCode>
             <ManufacturerName>53</ManufacturerName>
             <Machine>
                <SalesModel>24</SalesModel>
                <SerialNo>352</SerialNo>
                <EnvironmentCode>53</EnvironmentCode>
                <Market>
                   <FinalMarket>24</FinalMarket>
                   <NewCompanyCode></NewCompanyCode>
                </Market>
                <Component>
                   <ComponentType>23</ComponentType>
                   <PartNo>35</PartNo>
                   <Model>35</Model>
                   <ComponentSerNo>352</ComponentSerNo>
                </Component>
             </Machine>
          </UpdateMachineCards>
       </DataArea>
    </ns0:MT_Machine_Update>
    The output should be as follows:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <E24B:E24B_Update_MachineCards_001 xmlns:E24B="urn:E24B_UpdateMachineCards_001" xmlns:f="urn:fields" xmlns:s="urn:segments" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    - <s:CntrolArea>
    - <s:Bsr>
      <s:Verb>Update</s:Verb>
      <s:Noun>Machine Card</s:Noun>
      </s:Bsr>
    - <s:Sender>
      <s:LogicalId>CWL</s:LogicalId>
      <s:ReferenceId>2006-03-21T12:26:33</s:ReferenceId>
      </s:Sender>
    - <s:DateTime>
      <s:Dt_Qualifier>Creation</s:Dt_Qualifier>
      <s:Dt_Value>2006-03-24T14:29:46</s:Dt_Value>
      <s:TimeZone>+02:00</s:TimeZone>
      </s:DateTime>
      </s:CntrolArea>
    - <E24B:DataArea>
    - <E24B:UpdateMachineCards>
      <f:CompanyCode>428003</f:CompanyCode>
      <f:CompanyName>VOLVO ÉPÍTÕGÉPEK HUNGÁRIA KERESKEDELMI KFT.</f:CompanyName>
      <f:ManufacturerCode>CWL</f:ManufacturerCode>
      <f:ManufacturerName>VOLVO COMPACT W</f:ManufacturerName>
    - <E24B:Machine>
      <f:SalesModel>L45</f:SalesModel>
      <f:SerialNo>19521</f:SerialNo>
      <f:CurrentDate>20060323</f:CurrentDate>
    - <E24B:Market>
      <f:FinalMarket>HU</f:FinalMarket>
      </E24B:Market>
    - <E24B:Component>
      <f:ComponentType>17</f:ComponentType>
      <f:PartNo>11305947</f:PartNo>
      <f:ComponentSerNo>G070910121</f:ComponentSerNo>
      </E24B:Component>
    - <E24B:Component>
      <f:ComponentType>66</f:ComponentType>
      <f:PartNo>2814557</f:PartNo>
      <f:ComponentSerNo>100710021</f:ComponentSerNo>
      </E24B:Component>
      </E24B:Machine>
      </E24B:UpdateMachineCards>
      </E24B:DataArea>
      </E24B:E24B_Update_MachineCards_001>
    Thanks for your help

  • How to add muliple panels to a single frame?

    How can i place my diff panels on a same frame at same location/place?
    what i need is on double clicking on each leaf node of my tree.. i need corresponding panel on frame.
    the problem is can place each panel in diff place(ie east/west/north/south in BorderLayout)
    but i cannot place 2 panels in same place.

    thanks got correct..

  • How to add namespace prefixes 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'm working with SOAP request creation from Schema derived Types.
    Consider the registration of the following annotated schema (I wanted Oracle to create the 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;
    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 in order to build these types using constructors (to avoid PLS-00306: wrong number or types of arguments in call to 'NestedItemType'), that I needed to edit 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 namespace added in 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 outputs:
    <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 do I do this without having to programatically add the namespace using a custom XQuery function?

    See this similar thread, it should give you some better alternatives than the "@xmlns" hack :
    Add Namespaces via XQuery to an XML Instance
    For example :
    SQL> SELECT XMLSerialize(DOCUMENT
      2           XMLTransform(
      3             xmltype(
      4               "Parameters"('hello', "NestedItemsType"("NestedItemType"('one','two','three')))
      5             )
      6           , xmlparse(content
      7  '<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
      8    <xsl:output encoding="UTF-8" indent="yes" method="xml"/>
      9    <xsl:param name="ns"/>
    10    <xsl:template match="/">
    11      <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
    12        <soap:Header/>
    13          <soap:Body>
    14               <xsl:apply-templates select="*"/>
    15             </soap:Body>
    16         </soap:Envelope>
    17    </xsl:template>
    18    <xsl:template match="*">
    19      <xsl:element name="{local-name()}" namespace="{$ns}">
    20        <xsl:apply-templates select="@*|node()"/>
    21      </xsl:element>
    22    </xsl:template>
    23  </xsl:stylesheet>')
    24           , q'{ns="'www.cognera.com'"}'
    25           )
    26           INDENT
    27         ) AS "XSLT Output"
    28  FROM dual ;
    XSLT Output
    <?xml version="1.0" encoding="UTF-8"?>
    <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>
    You can store the stylesheet in the XDB repository or in a table and access it using a DBUriType.
    It then provides a concise way to both add the namespace and wrap the payload in the envelope.

  • How to add new trip schemas in Pr05 Transcation?

    Hi Experts,
    We have 6 trip schemas for trip provison variant:10.Current only three trip schemas are appearing in "Choose a trip schema" pop up in  PR05 transcation.I want  to bring all remaining trip schemas also in Pr05.
    I have tried to find out the relevant settings in the img node "Define Schema and Individual Field Control" under "Dialog Control", but i couldn't.
    Please guide me  how to add  trip schemas in Pr05 Transcation?.
    Thanks,
    JA.

    Hi Jobish
    Can you confirm me how many custom trip schema's you have created?? As you have mentioned earlier as 6, does this Include with the Std Schema's (Domestic Trip,Travel calendar, Travel Planning, Weekly report, Trip Advances)???
    Kindly let me know your schema's & come with screen shots of V_T706S or FITVFELD T-code
    Cheers
    Pradyp

  • How to add dimension in dimension_values.csv and schema.csv file

    How to add  one dimension in dimension_values.csv and schema.csv file

    I'm not sure on the equation Ventzo, so please tell me if I've got this wrong.
    This should create a text file on the desktop with a name of the folder you are in plus the time.
    #target bridge
    if( BridgeTalk.appName == "bridge" ) { 
    var quadDetails = MenuElement.create("command","Get  Quadrature", "at the end of Tools","QuadDetails");
    quadDetails .onSelect = function () {
    var file = new File(Folder.desktop +"/" + decodeURI(Folder(app.document.presentationPath).name) + time() +".txt");
    file.open("w", "TEXT", "????");
    $.os.search(/windows/i)  != -1 ? file.lineFeed = 'windows'  : file.lineFeed = 'macintosh';
    file.open('w');
    var sels = app.document.selections;
    for(var a in sels){
    var myThumb = new Thumbnail( sels[a]);
    var Resolution = myThumb.core.quickMetadata.xResolution;
    if(Resolution == 0) Resolution = 72;
    var CM = Resolution /2.54;
    var m = CM*100;
    var Height = (myThumb.core.quickMetadata.height/m);
    var Width = (myThumb.core.quickMetadata.width/m);
    file.writeln(decodeURI(sels[a].spec.name) + " - " +(Height * Width).toFixed(4));
    file.close();
    alert(decodeURI(file.name) + "  Has been created on the Desktop");
    function time(){
    var date = new Date();
    var d  = date.getDate();
    var day = (d < 10) ? '0' + d : d;
    var m = date.getMonth() + 1;
    var month = (m < 10) ? '0' + m : m;
    var yy = date.getYear();
    var year = (yy < 1000) ? yy + 1900 : yy;
    var digital = new Date();
    var hours = digital.getHours();
    var minutes = digital.getMinutes();
    var seconds = digital.getSeconds();
    var amOrPm = "AM";
    if (hours > 11) amOrPm = "PM";
    if (hours > 12) hours = hours - 12;
    if (hours == 0) hours = 12;
    if (minutes <= 9) minutes = "0" + minutes;
    if (seconds <= 9) seconds = "0" + seconds;
    todaysDate = "-" + hours + "_" + minutes + "_" + seconds + amOrPm;
    return todaysDate.toString();

  • How to add xml data to an xml scheme

    Hi all,
    I am having a problem trying to add content to an XML schema file - I have a schema (xsd file) and i want to use it in order to create and validate new/other xml's.
    The issue is that i want to place some data in the original XML schema file that will be inserted into the new xml's i create based on the schema.
    I am using java APIs to create the new xml's based on the original schema. I tried at first using default values in order to create the initial data, but I have a problem doing this for complex types.
    Has anyone encountered a similar problem?
    Thanks
    shahar

    Hello Ashley,
    you are already close to the solution. In BADI QISR1 you simply fill the
    table SPECIAL_DATA e.g.like
      fieldindex = 1
      fieldname = 'FIELD1'
      fieldvalue = 'Value1'
      fieldindex = <n>
      fieldname = 'FIELD1'
      fieldvalue = 'VALUE<n>'
    Then on the Adobe form layout (Adobe Designer), you have to use the table control XFO from the standard library. Here you have to bind then the corresponding column to FIELD1.
    Best regards,
    Simon

  • How to add xmp metadata to dae files

    How to add metadatas to 3D dae files...?
    The cad file used as an entry, the 2D files used as textures, environment, shaders...etc?

    Hi,
    Yes sorry about the "Acrobat Tag" , the question was more for the CS6 suite, and the management of DAE files in Bridge and Photoshop Extended in a CQ5 DAM workspace.
    But nevertheless, it should be cool if Acrobat X 3D could import directly Collada files...

  • How to add namespace prefix to XML file?

    I have a file(XML) to proxy scenario. I 've created an asynch Inbound message and a asynch Outbound message.
    I have generated the class in Sproxy of my R/3 System.
    In the Integration directory I have 2 business system :
    -one which sent the file
    -my r/3 system
    System which send file generate XML like this:
    <?xml version="1.0" encoding="UTF-8" ?>
       <batch id="20080211001" customer="some customer" user="user" language="EN">
         <structure>
           <localization>
              <string id="customer" text="Customer" />
    etc........
    As you see, it have not any namespace prefix.
    How can I insert namespace prefix in this file with XI tools?

    Hi Pavel
    I am also facing the same issue
    my XML structure is quite complex
    <ROW EVENT="RE" SEQ="9" MORE="Y" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
      <FileDate Internal="61409" ROWID="Y">02/17/2009</FileDate>
      <FileSeq ROWID="Y">9</FileSeq>
      <Event>RE</Event>
      <Grp>3</Grp>
      <LinkFileTime>42324</LinkFileTime>
      <Mrn></Mrn>
      <ROW DESCR="RE" TABLE="PAT" EVENT="RE">
        <BusTel/>
        <BusTelHipaaConsent/>
        <Cont1Addr1/>
      <ROW DESCR="RE" TABLE="INS" EVENT="RE">
        <DictRef1/>
        <DictRef10/>
    Do i have to create the Message Interface  for Outbound Synchronous ..
    <DictRef11/>

  • How to Add Content Editor WebPart in PageLayout

    Hi
    I have copied the Content Editor webpart snippet and pasted it in my Page layout.
    But nothing is showing in page edit mode. 
    Can anyone tell me how to add this if the following is not correct?
    <div style="width:100%">
                    <div data-name="WebPartZone">
                        <!--CS: Start Content Editor Snippet--><!--SPM:<%@Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint,
    Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>--><!--MS:<WebPartPages:ContentEditorWebPart xmlns:WebPartPages="namespace" runat="server" webpart="true">--><!--PS: Start of READ-ONLY
    PREVIEW (do not modify)--><div class="ms-webpart-chrome ms-webpart-chrome-fullWidth "><div class="ms-webpart-chrome-title" id="WebPart_ChromeTitle"><span title="$Resources:core,ContentEditorWebPartTitle;
    - $Resources:core,ContentEditorWebPartDescription;" id="WebPartTitle" class="js-webpart-titleCell"><h2 style="text-align:justify;" class="ms-webpart-titleText"><nobr><span>$Resources:core,ContentEditorWebPartTitle;</span><span
    id="WebPartCaption"></span></nobr></h2></span></div><div WebPartID="00000000-0000-0000-0000-000000000000" HasPers="true" id="WebPart" width="100%" class="ms-WPBody ms-WPBorder
    noindex ms-wpContentDivSpace " OnlyForMePart="true" allowDelete="false" style=""><div class="ms-rtestate-field"></div><div class="ms-clear"></div></div></div><!--PE:
    End of READ-ONLY PREVIEW--><!--MS:<WebPart xmlns="http://schemas.microsoft.com/WebPart/v2">--><!--MS:<Title>--><!--SPM:$Resources:core,ContentEditorWebPartTitle;--><!--ME:</Title>--><!--MS:<Description>--><!--SPM:$Resources:core,ContentEditorWebPartDescription;--><!--ME:</Description>--><!--MS:<PartImageLarge>--><!--SPM:/_layouts/15/images/mscontl.gif--><!--ME:</PartImageLarge>--><!--MS:<ID>--><!--SPM:g_4998626c_cd3f_4f31_962c_51e943923c4f--><!--ME:</ID>--><!--ME:</WebPart>--><!--ME:</WebPartPages:ContentEditorWebPart>--><!--CE:
    End Content Editor Snippet-->
                    </div>
                </div>
    S H A J A N

    Hi  ,
    For adding the Content Editor Web Part to a SharePoint Layout , you can add the  code between the <Zonetemplate> tags:
    <!-- CEWP -->
    <WebPartPages:ContentEditorWebPart ID="ContentEditorWebPart1" runat="server" __MarkupType="xmlmarkup" WebPart="true" __WebPartId="{F40E10C3-ED3A-473D-8538-996344EE795C}" >
    <WebPart xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/WebPart/v2">
    <Title>Content Editor Web Part</Title>
    <FrameType>TitleBarOnly</FrameType>
    <Description>Use for formatted text, tables, and images.</Description>
    <IsIncluded>true</IsIncluded>
    <PartOrder>2</PartOrder>
    <FrameState>Normal</FrameState>
    <Height />
    <Width />
    <AllowRemove>true</AllowRemove>
    <AllowZoneChange>true</AllowZoneChange>
    <AllowMinimize>true</AllowMinimize>
    <AllowConnect>true</AllowConnect>
    <AllowEdit>true</AllowEdit>
    <AllowHide>true</AllowHide>
    <IsVisible>true</IsVisible>
    <DetailLink />
    <HelpLink />
    <HelpMode>Modeless</HelpMode>
    <Dir>Default</Dir>
    <PartImageSmall />
    <MissingAssembly>Cannot import this Web Part.</MissingAssembly>
    <PartImageLarge>/_layouts/images/mscontl.gif</PartImageLarge>
    <IsIncludedFilter />
    <ExportControlledProperties>true</ExportControlledProperties>
    <ConnectionID>00000000-0000-0000-0000-000000000000</ConnectionID>
    <ID>g_f40e10c3_ed3a_473d_8538_996344ee795c</ID>
    <ContentLink xmlns="http://schemas.microsoft.com/WebPart/v2/ContentEditor" />
    <Content xmlns="http://schemas.microsoft.com/WebPart/v2/ContentEditor"><![CDATA[Edit this text.]]></Content>
    <PartStorage xmlns="http://schemas.microsoft.com/WebPart/v2/ContentEditor" />
    </WebPart>
    </WebPartPages:ContentEditorWebPart>
    For more information, you can refer to the thread:
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/1ba645f2-2481-4560-a4c3-3be9f9e878bc/adding-the-content-editor-web-part-to-a-sharepoint-layout-aspx-page?forum=sharepointcustomizationlegacy
    http://hiren-j-patel.blogspot.com/2012/07/hello-all-today-we-will-add-content.html
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • WCF request with utl_dbws how to add Header into SOAP envelope

    I’m trying to make WCF (Windows Communication Foundation) request and using for that utl_dbws package.
    After making request (calling utl_dbws.invoke) it will give error “ORA-29532: Java call terminated by uncaught Java exception: javax.xml.rpc.soap.SOAPFaultException: The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework 3.0 SDK documentation and inspect t”
    I turned on logging (utl_dbws.set_logger_level) I see that system sends standard SOAP envelope and does not have Header at all. How can I use my own SOAP envelope and/or add Header.
    All info that logging give is:
    ServiceFacotory: oracle.j2ee.ws.client.ServiceFactoryImpl@eec8c59c
    WSDL: null
    Service: oracle.j2ee.ws.client.BasicService@7c110d23
    *** Created service: -677524827 - oracle.jpub.runtime.dbws.DbwsProxy$ServiceProxy@562bd0c4 ***
    ServiceProxy.get(-677524827) = oracle.jpub.runtime.dbws.DbwsProxy$ServiceProxy@562bd0c4
    getOperationInfo return NULL: port={http://tempuri.org/Service/}BasicHttpBinding_Service, operation={http://tempuri.org/Service/}GetLov
    setProperty(javax.xml.rpc.soap.http.soapaction.use, true)
    setProperty(javax.xml.rpc.soap.http.soapaction.uri, http://tempuri.org/Service/GetLov)
    setProperty(javax.xml.rpc.encodingstyle.namespace.uri, http://www.w3.org/2005/08/addressing)
    setProperty(javax.xml.rpc.security.auth.username, DefaultUser)
    setProperty(javax.xml.rpc.security.auth.password, MySecretPassword)
    <GetLOV xmlns="http://tempuri.org/"> <request xmlns:d4p1="http://schemas.datacontract.org/2004/07/x.y.z.LOV.Request" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <d4p1:AgentCode>AGENT</d4p1:AgentCode> <d4p1:Language>ENG</d4p1:Language> <d4p1:ProcessName>test</d4p1:ProcessName> </request></GetLOV>
    Attribute 0: http://tempuri.org/: xmlns, http://tempuri.org/
    createElement(GetLOV,null,http://tempuri.org/)
    Attribute 0: http://tempuri.org/: xmlns, http://tempuri.org/
    dbwsproxy.element.node.child.0: 1, null
    dbwsproxy.add.map: d4p1, http://schemas.datacontract.org/2004/07/x.y.z.LOV.Request
    Attribute 0: http://schemas.datacontract.org/2004/07/x.y.z.LOV.Request: xmlns:d4p1, http://schemas.datacontract.org/2004/07/x.y.z.LOV.Request
    dbwsproxy.add.map: i, http://www.w3.org/2001/XMLSchema-instance
    Attribute 1: http://www.w3.org/2001/XMLSchema-instance: xmlns:i, http://www.w3.org/2001/XMLSchema-instance
    createElement(request,null,http://tempuri.org/)
    dbwsproxy.add.soap.element.namespace: d4p1, http://schemas.datacontract.org/2004/07/x.y.z.LOV.Request
    Attribute 0: http://schemas.datacontract.org/2004/07/x.y.z.LOV.Request: xmlns:d4p1, http://schemas.datacontract.org/2004/07/x.y.z.LOV.Request
    dbwsproxy.add.soap.element.namespace: i, http://www.w3.org/2001/XMLSchema-instance
    Attribute 1: http://www.w3.org/2001/XMLSchema-instance: xmlns:i, http://www.w3.org/2001/XMLSchema-instance
    dbwsproxy.element.node.child.0: 1, null
    dbwsproxy.lookup.map: d4p1, http://schemas.datacontract.org/2004/07/x.y.z.LOV.Request
    createElement(d4p1:AgentCode,null,http://schemas.datacontract.org/2004/07/x.y.z.LOV.Request)
    dbwsproxy.text.node.child.0: 3, E01306
    dbwsproxy.element.node.child.1: 1, null
    dbwsproxy.lookup.map: d4p1, http://schemas.datacontract.org/2004/07/x.y.z.LOV.Request
    createElement(d4p1:Language,null,http://schemas.datacontract.org/2004/07/x.y.z.LOV.Request)
    dbwsproxy.text.node.child.0: 3, ENG
    dbwsproxy.element.node.child.2: 1, null
    dbwsproxy.lookup.map: d4p1, http://schemas.datacontract.org/2004/07/x.y.z.LOV.Request
    createElement(d4p1:ProcessName,null,http://schemas.datacontract.org/2004/07/x.y.z.LOV.Request)
    dbwsproxy.text.node.child.0: 3, tesr
    request:
    <GetLOV xmlns="http://tempuri.org/">
    <request xmlns:d4p1="http://schemas.datacontract.org/2004/07/x.y.z.LOV.Request" xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://tempuri.org/">
    <d4p1:AgentCode>AGENT</d4p1:AgentCode>
    <d4p1:Language>ENG</d4p1:Language>
    <d4p1:ProcessName>test</d4p1:ProcessName>
    </request>
    </GetLOV>
    13.05.2010 14:17:28 oracle.j2ee.ws.client.ClientMessages infoAboutToInvokeCallForEndpoint
    INFO: Trying to connect to URL: https://x.y.z/WS/ Service.svc
    13.05.2010 14:17:30 oracle.j2ee.ws.client.StreamingSender _sendImpl
    FINE: StreamingSender.request:<?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><env:Body><GetLOV xmlns="http://tempuri.org/"><request xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:d4p1="http://schemas.datacontract.org/2004/07/x.y.z.LOV.Request"><d4p1:AgentCode>AGENT</d4p1:AgentCode><d4p1:Language>ENG</d4p1:Language><d4p1:ProcessName>test</d4p1:ProcessName></request></GetLOV></env:Body></env:Envelope>
    13.05.2010 14:17:30 oracle.j2ee.ws.client.StreamingSender _sendImpl
    FINE: StreamingSender.response:<?xml version="1.0" encoding="UTF-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><s:Fault><faultcode xmlns:a="http://schemas.microsoft.com/net/2005/12/windowscommunicationfoundation/dispatcher">a:InternalServiceFault</faultcode><faultstring xml:lang="et-EE">The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the &lt;serviceDebug&gt; configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework 3.0 SDK documentation and inspect the server trace logs.</faultstring></s:Fault></s:Body></s:Envelope>
    Exception in thread "Root Thread" javax.xml.rpc.soap.SOAPFaultException: The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework 3.0 SDK documentation and inspect the server trace logs.
         at oracle.j2ee.ws.client.StreamingSender._raiseFault(StreamingSender.java:559)
         at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java)
         at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:112)
         at oracle.j2ee.ws.client.dii.CallInvokerImpl.directInvoke(CallInvokerImpl.java:705)
         at oracle.j2ee.ws.client.dii.BasicCall.directInvoke(BasicCall.java:692)
         at oracle.j2ee.ws.client.dii.BasicCall.invoke(BasicCall.java:598)
         at oracle.jpub.runtime.dbws.DbwsProxy$CallProxy.invokeProxy(Unknown Source)
         at oracle.jpub.runtime.dbws.DbwsProxy$CallProxy.access$2600(Unknown Source)
         at oracle.jpub.runtime.dbws.DbwsProxy.invokeProxy(Unknown Source)

    HTTP is HTPP... mostly.
    In other words, the application protocol is stand and specified in RFC2616 (http://www.w3.org/Protocols/rfc2616/rfc2616.html)
    The exception is specific proprietary extensions.. like for example Microsoft's NTLM authentication handshake.
    The UTL_HTTP interface supports the protocol pretty well as per the protocol's specification. So using it to interact with a a web service should not be a major issue. The protocol is standard (e.g. POST command is used to supply the payload to the web service). The only real issue is formatting the payload for that as per what the web service expect. And that has nothing to do with HTTP itself - or UTL_HTTP. It is simply the delivering mechanism.
    Getting that mechanism to work is fairly easy and should not pose a problem. Instead I suggest you focus on exactly how the HTTP payload needs to look like. Does that web service expects any specific name-values in the header? What does it expect in the body? Etc.

  • Need Info on new "IPTC Core" XMP Schema

    I have seen in quite a few places that there is a new "IPTC Core" XMP Schema, probably to replace the old IPTC binary structure and the various aliases scattered in other XMP schemas. This happened months ago, and details were to be released by the end of 2004, but I can't find anything anywhere.
    I have about 150GB of digitized photo and I once wrote my own software to insert XMP in my TIFFs/JPEGs. I already added my own XMP schema to describe my photos in a specific way, but I'd also like to throw this information in an XMP schema that is (or at least, will be for the next 10 years or so) recognized in several applications. Most important, I'm about to archive all of that to read-only media, so I'd like to do it in a proper way once for good.
    So far, it seems that IPTC is very descriptive and is what matches the more closely my own XMP schema, and don't want to have to duplicate information across several schemas such as "Photoshop" or "Dublic Core", unless that what the new "IPTC Core" is all about, but I seriously doubt it. I don't want to go with the old IPTC structure either.
    After all, if there is "so many standard to choose from", that's because there isn't actualy any!
    Anybody got any information of that new "IPTC Core" XMP Schema?

    Emmanuel,
    It's been a while since you posted your message, but here's the info in the event you haven't already found it:
    http://www.iptc.org/IPTC4XMP/index.php
    I just started digging into XMP a few days ago and am planning to write software to add/read info from image files for the automagic creation of web pages. I've been using Adobe's XMP SDK and would be very interested in hearing how you wrote your code.
    Cheers,
    Andreas

Maybe you are looking for

  • AP Line-Item Report for State Auditors

    Dear Members, I am preparing one Report named AP Line-Item Report for State Auditors and i need the following fields in my report. Check Number                PAYR-CHECT Voucher Number             BSEG-BELNR Check Date                     PAYR-ZALDT

  • HI all, i'm using Mac Pro 15" Retina. My screen goes darker and after brighter after a while? How to fix it?

    HI all, i'm using Mac Pro 15" Retina. My screen goes darker and after brighter after a while? How to fix it?

  • Two Dimensional Barcode

    Hi Experts, According to my requirement,I have to print the two diemsional barcode....How can i acheive this using smartforms.Will you please help in this. Regards, Asmitha.

  • Flex eg, show flex or flex-attach

    Greetings, Is there an idiots guide to what flex related commands mean to me? Perhaps my searching abilities are not the best but I would like to read someting in plain English what the flex related commands achieve. Mostly, this information needs to

  • Restauración desde iCloud. ¿ Problema de seguridad ?

    Cuando he restaurado mi iphone desde iCloud, después de restaurar el sistema ha comenzado a descargar de nuevo las aplicaciones, etc. Hasta ahí todo bien. El problema es que para mi sorpresa me ha empezado a pedir las contraseñas de un unas 20 IDs de