Unable to Generate XML Schema

Hi all,
           When i add a sales order it's giving an error like "Couldn't Generate XML schema"....can anybody pls give me some suggestions....i have tried all the possibilities but unable to rectify this error...
<?xml version="1.0"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
<env:Body>
<env:Fault>
<env:Code>
<env:Value>env:Receiver</env:Value>
<env:Subcode>
<env:Value>-2053</env:Value>
</env:Subcode>
</env:Code>
<env:Reason>
<env:Text xml:lang="en">Could not Generate XML Schema</env:Text>
</env:Reason>
<env:Detail>
<Object>oDocuments</Object>
<Object>oDocuments</Object>
<ObjectIndex>1</ObjectIndex>
<Command>AddObject</Command>
<SessionID>2789C3B9-2E34-EC45-4F44-9E5F224CF30D</SessionID>
</env:Detail>
</env:Fault>
</env:Body>
</env:Envelope>
My coding for adding a sales order is given below:--
Private Sub btnClick_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnClick.Click
        Dim oQuotationXml As Xml.XmlElement
        Dim oBpCode As Xml.XmlNodeList
        Dim oDocNo As Xml.XmlNodeList
        Dim oItemCode As Xml.XmlNode
        Dim oDocDate As Xml.XmlNode
        Dim oItemQuantity As Xml.XmlNode
        Dim oDocumentLines As Xml.XmlNode
        oQuotationXml = DIS.GetEmptySalesXml(SessionID)
        oDocNo = oQuotationXml.SelectNodes("//DocEntry")
        oDocNo.Item(0).InnerText = "29"
        oBpCode = oQuotationXml.SelectNodes("//CardCode")
        oBpCode.Item(0).InnerText = "C3456" 
        oDocDate = oQuotationXml.SelectSingleNode("//DocDueDate")
        oDocDate.InnerText = "20080909"
        oItemCode = oQuotationXml.SelectSingleNode("//ItemCode")
        oItemCode.InnerText = "A00006"
        oItemQuantity = oQuotationXml.SelectSingleNode("//Quantity")
        oItemQuantity.InnerText = "2"
        txtTmp.Text = oQuotationXml.OuterXml
        DIS.AddSalesOrder(SessionID, oQuotationXml.OuterXml)
regards,
shangai.

Hi Mohan,
I am facing a similar issue in creating XML from IDOC for MATMAS05, can you tell me how you fixed the issue? I am unable to follow your above comment about started with '\' in root? Can you tell me where was this please?
Thanks.
Manish

Similar Messages

  • Problem with XML import MDM 7.1 - Can't generate Xml Schema

    Hi All,
    When I try to open an XML file using Import manager, I'm getting some errors, as detailed below. I mention that I'm using MDM 7.1.
    The first error I received was the following:
    "Can't open C:/Program files/SAP MDM 7.1/Import Manager/XSD.exe". I copied the file xsd.exe in the Import Manager folder, as suggest here:
    Re: Import Manager Error.
    Afterwards, I received a new error:
    "Can't generate Xml Schema for: C:/Program files/SAP MDM 7.1/Import Manager/filename.xml"
    If anyone has faced the same problem - and solved it -, could you please help me find the reason for this behaviour?
    Regards,
    Laura

    Hi Laura,
    The error message "Can't generate Xml Schema"  might be related to DTD. the XML file has a directive for loading DTD.
    MDM doesnot support DTDs.
    Remove the DTD line and make sure there is only one root element in the XML file and try again.
    Hope this helps,
    Bes t Regards,
    Silpa Chillakuru

  • Generate XML Schema

    Can I generate XML schema from a existing xml file?

    Hi,
    i have tried the stylus studio to generate XSD from XML but it does not generate all the tags for e.g the maxlength. is there any way to generate a XSD from an XML query

  • Generating xml schema?

    Hi,
    What are the procedures I must take to generate an XML schema? I would like to do this from PL/SQL directly, and just see a printout of the xml document direcly within SQLPLUS.
    Are there any xml schema-specific commands that come with Oracle 9, just to generate xml schemas?
    Please let me know,
    Thanks!

    Yes,
    Please have a look at XSU. Using the classes provided there, you can generate a schema according to the table.
    Hope this helps.

  • Generate XML Schema from oracle tables

    I am new to xml...We have a requirement to generate xml schemas for one or more oracle tables...Are there any tools availaible in oracle?.....I have tried xml spy which generates the schema but i want it like a batch process probably without user intervention...

    An XML document may be generated from a database table with XSU.
    http://www.devx.com/xml/Article/32046

  • Generate XML Schema from Oracle Database

    Is there a utility that would allow our team to generate XML Schemas directly from existing Oracle databases? Or do you have a suggestion on how to achieve this?
    Thank you.

    Hey, The Schema Processor is available in the Technologies section on this site. Just download it and see the samples. You will get the way for doing it. If you are having problems then just call me.
    Bye.
    null

  • Can you generate XML schema from XMLDB?

    I have not used XMLDB and don´t read the entire doc about the product(sorry for that).
    I got the following question, is it possible to generate a XML schema from relational data through XMLDB? Or is this best done via a third party software like XMLSpy or alike?

    3rd Party Software...
    We can generate a schema for an object Hierarchy but our considered opinion is that there is no sensible way to generate an XML Schema representation of a purely relational data structure. It requires a tool which allows you to make decisions on how to organize the heirarchy.

  • Generate XML Schema from Java classes?

    Hi,
    Considering an XML Mapping, i would like to generate a default XML Schema from my Java class.
    Is there a tool in toplink (10.1.3) to do that or does anyone have an easy way to generate this XML schema?
    Thanks,
    Ludovic

    Hi Ludovic,
    We don't have support for schema generation from Java classes in TopLink 10.1.3. It's required for JAXB 2.0 so it will be available in a future release.
    --Shaun                                                                                                                                                                                                                                                                                                                                                                           

  • Unable to generate XML's for BLOB datatypes from Concurrent program

    Hi All,
    I've a requirement to print images on rtf layout. Images are uploaded by end user through attahments men
    there are getting stored in fnd_lobs tables.
    for printing blob images we need to convert them into CLOB and generate XML's.
    I've done the conversion through a function and calling the function in the select query which is generating XML when i run it from toad.
    SELECT xmlgen.getXml(
    'SELECT file_id,mob_getbase64String(file_data) photo
    FROM fnd_lobs
    WHERE file_id = 2490481'
    ,0
    ) FROM dual;
    But the same thing we i registered as concurrent program (SQL*Plus) the program is running into error.
    Output file
    The XML page cannot be displayed
    Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
    Invalid at the top level of the document. Error processing resource 'https://dbtdev5i.oracleoutsourcing.com/OA_CGI/FNDWRR.e...
    Input truncated to 17 characters
    ^
    Log file
    Concurrent Manager encountered an error while running SQL*Plus for your concurrent request 10868311.
    Review your concurrent request log and/or report output file for more detailed information.
    Can anyone help me through on how to bypass this error and generate XML's.
    Thanks in Advance
    Jana

    Hi Priya..,
    I have changed the query and registered in apps and now i am able to generate XML's of the blob image and the same is getting printed on the tempate..
    DECLARE
    v_colb CLOB;
    v_query VARCHAR2(1000);
    BEGIN
    v_query := 'SELECT file_id,mob_getbase64String(file_data) photo
    FROM fnd_lobs fl,
    fnd_documents_vl fd
    WHERE fd.media_id = fl.file_id
    AND (fd.end_date_active IS NULL
    OR fd.end_date_active > SYSDATE)
    AND fd.security_type = 2
    AND fd.security_id = fnd_profile.value(''GL_SET_OF_BKS_ID'')';
    --FND_FILE.put_line( FND_FILE.LOG,v_query);
    v_colb := xmlgen.getxml (v_query, 0);
    --DBMS_OUTPUT.put_line (v_query);
    FND_FILE.put_line( FND_FILE.OUTPUT,v_colb);
    END;
    /

  • Unable to generate XML file

    Hi Gurus,
    I am generating one sample xml file in one of the designated location on the server. The xmldir directory is provided with all the necessary privileges. But when I am executing the pl/sql script for generating the xml file, it is throwing 'ORA-29285: file write error'.
    Any permissions do I need to set,while googling I found there are certain permissions need to be set. But I've given full access on the directories. Please let me know what exactly is missing.
    Thanks for your help in advance.
    Regards
    Nagendra

    I am generating one sample xml file in one of the designated location on the server.How?
    The xmldir directory is provided with all the necessary privileges.Which?
    But when I am executing the pl/sql script for generating the xml file, it is throwing 'ORA-29285: file write error'.Show please
    In my case the following is work
    select * from v$version
    BANNER                                                          
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production                          
    CORE     10.2.0.1.0     Production                                        
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production         
    NLSRTL Version 10.2.0.1.0 - Production                          
    conn sys@ora as sysdba
    create or replace directory T as 'c:\tmp\t';
    grant read, write on directory T to SCOTT;
    conn scott@ora
    declare
        v_filename varchar2(30);
        f_xml_file utl_file.file_type;
        v_record_data varchar2(4000) := null;
        v_empno varchar2(50) := null;
        v_ename varchar2(50) := null;
        v_job varchar2(50) := null;  
        cursor cur is
          select empno, ename, job from emp;
      begin  
        v_FILENAME := 'to_xml_file.xml';
        f_XML_FILE := UTL_FILE.fopen('T', v_FILENAME, 'W');
        v_RECORD_DATA := '<?xml version="1.0" encoding="UTF-8"?>';
        UTL_FILE.put_line(f_XML_FILE, v_RECORD_DATA);
        UTL_FILE.put_line(f_XML_FILE, '<DATA>');
        open cur;
        loop
          fetch cur into v_empno, v_ename, v_job;    
          EXIT WHEN cur%NOTFOUND;
          UTL_FILE.put_line(f_XML_FILE, ' <DETAILS>');
          utl_file.put_line(f_xml_file, ' <EMPNOTAG>' || v_empno || '</EMPNOTAG>');
          utl_file.put_line(f_xml_file,
                            ' <ENAMETAG>' || v_ename || '</ENAMETAG>');
          utl_file.put_line(f_xml_file,
                            ' <JOBATAG>' || v_job || '</JOBATAG>');     
          UTL_FILE.put_line(f_XML_FILE, ' </DETAILS>');
        end loop;
        close cur;
        UTL_FILE.put_line(f_XML_FILE, '</DATA>');
        UTL_FILE.FCLOSE(f_XML_FILE);
      EXCEPTION
        WHEN UTL_FILE.INTERNAL_ERROR THEN
          raise_application_error(-20500,
                                  'Cannot open file :' || v_FILENAME ||
                                  ', internal error; code:' || sqlcode ||
                                  ',message:' || sqlerrm);
        WHEN UTL_FILE.INVALID_OPERATION THEN
          raise_application_error(-20501,
                                  'Cannot open file :' || v_FILENAME ||
                                  ', invalid operation; code:' || sqlcode ||
                                  ',message:' || sqlerrm);
        WHEN UTL_FILE.INVALID_PATH THEN
          raise_application_error(-20502,
                                  'Cannot open file :' || v_FILENAME ||
                                  ', invalid path; code:' || sqlcode ||
                                  ',message:' || sqlerrm);
        WHEN UTL_FILE.WRITE_ERROR THEN
          raise_application_error(-20503,
                                  'Cannot write to file :' || v_FILENAME ||
                                  ', write error; code:' || sqlcode ||
                                  ',message:' || sqlerrm);
      end;in C:\tmp\t exsist to_xml_file.xml with
    <?xml version="1.0" encoding="UTF-8"?>
    <DATA>
    <DETAILS>
    <EMPNOTAG>9999</EMPNOTAG>
    <ENAMETAG>Tim</ENAMETAG>
    <JOBATAG></JOBATAG>
    </DETAILS>
    <DETAILS>
    <EMPNOTAG>7369</EMPNOTAG>
    <ENAMETAG>SMITH</ENAMETAG>
    <JOBATAG>CLERK</JOBATAG>
    ...

  • EhP1 - Unable to create XML file in Solman

    Hi all,
    I need some assistance
    I am trying to upgrade our XI system to EhP1 - SP04. I use Maintenance Optimizer in our Solution Manager (SAP EHP 1 for SAP Solution Manager 7.0) to select the necessary files for my upgrade. The XI system has been set up in SMSY an given a Logical Component. Also, added to the Solution Landscape. I use the SAPehpi-installer to upgrade XI.
    However, when I get to section three, I am supposed to provide the SMSDXML.xml file. This file is not created by our Solution Manager for some reason. The file, as I understand it, is supposed to be generated automatically during Maintenance Optimizer. But when I check the EPS and EPS/in folder of our solman, the file is not to be found. I have also checked the parameter DIR_EPS_ROOT in RZ11. It is correct. The authorization has been set to full on group Everyone, just to check if that could be the problem, but with no luck.
    When I use transaction /n/tmwflow/mopz_stack i am able to view the XML file (I assume that it is the correct file), but any attempt to copy the text displayed, and to save it as an XML-file has not resulted in any success.
    The only thing I have to go on, is a warning displayed in Maintenance Optimizer, stating: "Warning - No SLM configured in system - <SID>. Every document etc, Iu2019ve read sais that one can use Software Lifecycle Manager as an alternative to Download Basket. I havenu2019t seen SLM listed as a prereq, so I donu2019t believe that this could be the reason why the XML-file is not generated.
    Is there some setup/configuration Iu2019ve missed?
    Any help will be much appreciated!
    Best Regards,
    Stian
    Notes checked:
    1134872 FAQ for stack Delta Files
    1022704 Upgrade phase EHP_INCLUSION and SPSTACK_REQUEST
    1277035 Solution Manager: EHP4 product data missing

    I downloaded the SPSTab.xml from SMP, but it didnt work. It gave an error: "The selected configuration file ("C:EHP1SPSTab.xml") is not usable. Reason: "Stackfile not found""
    I have used the dockument in the link you provided as a basis for my upgrade. So I still need this to work in order to upgrade my XI Netweaver 7.0 to Enhancement Package 1...
    In the document you provided:
    Section 3 SAP Solution Manager
    3.1 Support Package Level of SAP Solution Manager (Check - Mine is EHP1)
    3.2 System Landscape (SMSY) of SAP Solution Manager (Check - as stated above in opening post)
    3.3 SAP Solution Manager Maintenance Optimizer (Check)
    3.4 SAP Solution Manager Troubleshooting: (Check)
    3.4.4 No Stack Configuration File is generated: This is the core of my problem... I have read the notes listed, and run the IMG activity under Maintenance Optimizer, as per note 1134872. I get an warning stating "SAP ChaRM auto-configuration warnings" This could be the source of the problem, but in the thread Re: Message no. IMG_FASTCONF028  in Charm SolManiac says that it is nothing to worry about.
    So to summarise:
    I an still unable to generate XML file in Solman, and I am uable to get the XML downloaded from SMP to work with SAPehpi.
    BR
    Stian
    (EDIT: I am however not shure if the settings under SMSY etc are 100% correct, but in my mind, that should prevent Maintenance Optimizer from generating the XML file)
    Edited by: Stian Eiken on Jul 13, 2009 1:18 PM

  • Problem generating XML data file through XSD

    Hello there,
    I'm trying to generate an XML data file as per the below steps:
    Making a normal schema in query transform.
    Mapping desired source column into query schema.
    Right click on query transform and generating XML schema (XSD) in my local system.
    In object library XML file format adding the XSD with schema as a root element.
    Creating target instance from object library XML file.
    In target file specifying file creation path in my local system. 
    After performing above steps and executing the job getting below error.
    Any help on this will be much appreciated.
    Regards,
    Jagari

    I found some code looking at a similar issue - I don't know how to recover other data (in I guess) the rest of the HTML in the code. I need to find a better reference with details and examples.
    I fixed it by changing:
        ssDebug.trace(moreStuff.xliff.file.body.trans-unit); // - error
    to:
       ssDebug.trace(moreStuff.file.body['trans-unit']); //- no error
    with expected output (no error):
    <trans-unit id="001" resname="IDS_ZXP7_JAM_01">
      <source>If, while you are printing, your printer stops, ...</source>
    </trans-unit>
    <trans-unit id="002" resname="IDS_ZXP7_JAM_02">
      <source>look at the Operator Control Panel (OCP) for the fault description.</source>
    </trans-unit>
    <trans-unit id="003" resname="IDS_ZXP7_JAM_03">
      <source>If the fault is a card jam, open and close the Print Cover (or Options Cover).</source>
    </trans-unit>
    <trans-unit id="004" resname="IDS_ZXP7_JAM_04">
      <source>The printer will initialize and move the jammed card to the Reject Bin.</source>
    </trans-unit>
    <trans-unit id="005" resname="IDS_ZXP7_JAM_TITLE">
      <source>Card Jam</source>
    </trans-unit>

  • Creating XML Schema from tables With Constraints

    Greetings,
    I'd have an interesting question. I finally am getting familiar with the various kinds of xml solutions provided by the oracle database, but hey here I have another interesting question I can't seem to get into life. I'm currently generating XML Schemas (XSD) from the tables of my database. Its nice its cool however I'd need to have the table's constraints with the xsd:elements also. And heres my problem, I can't seem to insert the table constrains. I'll show you what I mean:
    <xsd:element name="MESSAGE_TABLE">
      <xsd:complexType>
        <xsd:sequence>
          <xsd:element name="MESSAGE_RECORD">
            <xsd:complexType>
              <xsd:all>
                <xsd:element name="ID" type="xsd:integer" minOccurs="1" />
                <xsd:element name="HEADER">
                  <xsd:simpleType>
                    <xsd:restriction base="xsd:string>
                      <xsd:maxLength value="255" />
                    </xsd:restriction>
                  </xsd:simpleType>
                </xsd:element>
              </xsd:all>
            </xsd:complexType>
          </xsd:element>
        </xsd:sequence>
      </xsd:complexType>
      <!-- I'd need some more things here like... -->
      <!-- Primary key(s) -->
      <xsd:key name="PK_ID_PRIM">
        <xsd:selector xpath="." />
        <xsd:field xpath="ID" />
      </xsd:key>
      <!-- Foreign key(s) -->
      <xsd:keyref name="FK_HEADER_FOREIGN" refer="PK_HEADER_ID">
        <xsd:selector xpath="HEADER" />
        <xsd:field xpath="ID" />
      </xsd:keyref>
      <!-- Unique constraint(s) -->
      <xsd:unique name="UQ_..." ... />
      </xsd:unique>
    </xsd:element>That would fit my business needs, however I may be so blind that I can't see the forest from the tree. Currently I got so far that:
              xmlElement
                  "xsd:schema",
                  xmlAttributes
                      'http://www.w3.org/2001/XMLSchema'      as "xmlns:xsd"
                  xmlElement
                    "xsd:element",
                    xmlAttributes
                      target_table                            as "name"
                    xmlElement               
                      "xsd:complexType",
                      xmlElement
                        "xsd:sequence",
                        xmlElement
                          "xsd:element",
                          xmlAttributes
                            target_table || '_RECORD'         as "name",
                            'unbounded'                       as "maxOccurs"
                          xmlElement
                            "xsd:complexType",
                            xmlElement
                              "xsd:sequence",
                                xmlAgg(ELEMENT)
                    xmlElement
                      "xsd:Key",
                )As you can see this won't be good since I have put a single xml element in there. I guess I'd need something more like an xmlAgg(CONSTRAINTS), however in that case I'm wondering how will the select's FROM part look like.
      FROM
        SELECT  table_name, internal_column_id,
                CASE
                  WHEN data_type IN ('VARCHAR2', 'CHAR')
                  THEN
                    xmlElement
                      "xsd:element",
                      xmlattributes
                        column_name as "name",
                        decode(NULLABLE, 'Y', 0, 1) as "minOccurs"
                      xmlElement
                        "xsd:simpleType",
                        xmlElement
                          "xsd:restriction",
                          xmlAttributes
                            'xsd:string' as "base"
                          xmlElement
                            "xsd:maxLength",
                            xmlAttributes
                              DATA_LENGTH as "value"
                  WHEN data_type = 'DATE'
                  THEN
                    xmlElement
                      "xsd:element",
                      xmlattributes
                        column_name as "name",
                        'xsd:date' as "type",
                        decode(NULLABLE, 'Y', 0, 1) as "minOccurs"
                  WHEN data_type = 'NUMBER'
                  THEN
                    xmlElement
                      "xsd:element",
                      xmlattributes
                        column_name as "name",
                        decode(DATA_SCALE, 0, 'xsd:integer', 'xsd:double') as "type",
                        decode(NULLABLE, 'Y', 0, 1) as "minOccurs"
                  ELSE
                    xmlElement
                      "xsd:element",
                      xmlattributes
                        column_name as "name",
                        'xsd:anySimpleType' as "type",
                        decode(NULLABLE, 'Y', 0, 1) as "minOccurs"
        end ELEMENT
        FROM user_tab_cols c
        WHERE TABLE_NAME = target_table
        ORDER BY internal_column_id
      GROUP BY TABLE_NAME;Thank you very much for all your help!
    Regards,
    Joey
    Edited by: Wrath#87 on 2012.09.05. 22:15

    Thanks for that, answer. That helped me a lot managing primary constraints. However I still have problems managing foreign keys. I come up with the following formula:
              xmlElement
                  "xsd:schema",
                  xmlAttributes
                      'http://www.w3.org/2001/XMLSchema'      as "xmlns:xsd"
                  xmlElement
                      "xsd:element",
                      xmlAttributes
                          upper(target_table) as "name"
                      xmlElement
                          "xsd:complexType",
                          xmlElement
                            "xsd:all",
                                xmlAgg(ELEMENT)
                          SELECT    xmlElement
                                      "xsd:key",
                                      xmlattributes
                                        uc.constraint_name as "name"
                                      xmlElement
                                        "xsd:selector",
                                        xmlattributes
                                          '.' as "xpath"
                                      xmlAgg
                                        xmlElement
                                          "xsd:field",
                                          xmlattributes
                                            ucc.column_name as "xpath"
                                        order by ucc.position
                          FROM      user_constraints uc
                                    JOIN      user_cons_columns ucc
                                    ON        ucc.constraint_name   =   uc.constraint_name
                          WHERE     uc.table_name                   =   upper(target_table)
                          AND       uc.constraint_type              =   'P'
                          GROUP BY  uc.constraint_name
                          SELECT    xmlElement
                                        "xsd:keyRef",
                                        xmlattributes
                                            a.constraint_name as "name"
                                        xmlElement
                                            "xsd:selector",
                                            xmlattributes
                                                c.table_name as "xpath"
                                        xmlAgg
                                            xmlElement
                                                "xsd:field",
                                                xmlattributes
                                                    d.column_name as "xpath"
                                            order by  c.table_name
                          FROM      all_constraints   a,
                                    all_cons_columns  b,
                                    all_constraints   c,
                                    all_cons_columns  d
                          WHERE     a.constraint_name   =   b.constraint_name
                          AND       a.constraint_name   =   c.r_constraint_name
                          AND       c.constraint_name   =   d.constraint_name
                          AND       a.table_name        =   upper(target_table)
              )This gives me the following error message: 00937. 00000 -  "not a single-group group function"

  • Xml schema different between Dev and QA

    The XML schemas are different between our DEV and QA systems after applying XI stack 13/SRM stack 10. It may be that they were different before applying the stacks but it has only been spotted in testing. We need to find out why before we live with the SP stack into production.
    We have re-applied the XI content tpz files to both the DEV and QA servers and can't see any differences between in the design time repository apart from between the generated XML schemas:
    A simple example of the difference is included below. The difference
    only seem to be in the SRM Server 5.5 content and seems to be to do with the hierarchies in the header declaration with xmlns:p0="http://sap.com/xi/SRM/Basis/Global" being in a different position in Dev than in QA. I have raised an OSS message but have been waiting for 2 1/2 days now for a response and we are due to go live with the patching in a weeks time. Any help steering me in the right direction would be most appreciated.
    Dev:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:p0="http://sap.com/xi/SRM/Basis/Global"
    xmlns="http://sap.com/xi/SAPGlobal/Global"
    targetNamespace="http://sap.com/xi/SAPGlobal/Global">
    <xsd:import namespace="http://sap.com/xi/SRM/Basis/Global" />
    <xsd:element name="PurchaseOrderRequest"
    type="p0:PurchaseOrderMessage" />
    </xsd:schema>
    QA:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns="http://sap.com/xi/SAPGlobal/Global"
    targetNamespace="http://sap.com/xi/SAPGlobal/Global">
    <xsd:import namespace="http://sap.com/xi/SRM/Basis/Global" />
    <xsd:element xmlns:p0="http://sap.com/xi/SRM/Basis/Global"
    name="PurchaseOrderRequest" type="p0:PurchaseOrderMessage" />
    </xsd:schema>
    Many thanks
    Ian

    Like I have mentioned in my reply yesterday to your another post, I am very positive that the role you are looking at in your QA system is the role "Accessible Content Administration".
    Please verify your role assignment and make sure that you have the correct roles assigned.
    Thanks,
    Shanti

  • How to generate XML file based on XSD in SSIS

    please provide step by step process to create xml based on XSD in SSIS  

    Hi hemasankar,
    In SQL Server Integrated Services, we can generate XML Schema (XSD) file based on a XML file with XML Source Editor. If we want to generate XML file based on a XSD file, we can use Generate Sample XML feature in Visual Studio. For more details, please refer
    to the following steps:
    Click on "XML Schema Explorer" or 'Use the XML Schema Explorer...' to open XML Schema Explorer in Visual Studio. 
    If your Schema file is valid and you are having elements, right-click on element and click on "Generate Sample XML", this functionality generates XML file in temp folder and open ups in the XML Editor.
    The following two document about how to generate XML file based on a XSD file are for your reference:
    http://msdn.microsoft.com/en-us/library/dd489258.aspx
    http://www.codeproject.com/Articles/400016/Generate-Sample-XML-from-XSD
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

Maybe you are looking for