Using XSD in the syndicator

I created an XSD using the xomLite45. I defined the XSD in the console (in the Admin>XML schemas). After that I tryed to use it in the syndicator but I am not able to open it when I defined it in the destination properties.
What can be the problem?
Thanks, Tal

Hi Tal,
Following could be the possibilities of XML schema not opening
1) If you are using standard Repository then it could be that it has was not correctly archived due to which the Schema generated in incorect,if you are using customized repository then check and verfiy the rep in console before exporting the Schema.
2) The XML schema generated from xomlite may not be comletely generated.Is it showing the .XSD ext and is the file  in the correct format ie xsd not xml?
3) While giving the Schema name in Console could be you have given the XML file name instead of XSD.Check that
4) In the Syndicator the Root may not have been populated properly.Just check whether whether the root is getting populated.
Your problem could be due to one of these reason.
Hope it helps
Reward points if found useful
Thanks
Simona

Similar Messages

  • XSD for the inbound/outbound file

    MDMers,
    We have customized Material repository supplied with business content of MDM. We have added a few tables/fields and deleted few.
    How do we create XSD from the repository which can be used in Import process and syndication process?
    Thanking you in advance,
    Dan.

    Hi Dan,
    Agreed you have customized your repository by adding and deleting certain fields.
    But the point is from where are you importing your source file.Because the XSD that you use in importinga nd syndicating must match with the input and output XML file.It need not be the Schema of your MDM rep.
    Eg: If you are importing an XML matmas file from ECC having material master record data you will have to upload and use the matmas XSD in MDM console similarly...
    If you are exporting your master data to an ECC system you will need the same matmas XSD in syndicator as well.As while syndicating your Source XSD will be your repository structure any ways it sthe destination xsd which is decided based on wats your target system.
    If are jsut trying and doing an R n D with the tool then you can use the xomlite to create your xsd of the MDM repository forimporting mdm data and syndicating MDM data.
    Hope It Helped
    Thanks & Regards
    Simona Pinto

  • Unable to load XSD from the MDS

    Hi,
    We are undergoing this problem for the last 2 weeks. We are working with BPEL processes which refer the schema from MDS. Everything is working fine in dev which is a single server, but as soon as we moved the code to a clustered test environment, the interfaces are failing to load the XSDs often and they are working only intermittently. When they fail, we receive the following error:
    +<fault>+
    +<bpelFault>+
    +<faultType>0</faultType>+
    +<bindingFault>+
    +<part name="summary">+
    +<summary>Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'Put' failed due to: Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "Could not instantiate InteractionSpec oracle.tip.adapter.ftp.outbound.FTPInteractionSpec due to: XSD Resolution problem. XSD Resolution problem. Unable to load Translation schemas from for -Namespace- due to: Unable to lookup schema for '-Namespace- ' Please make sure all used XML schemas are imported/included correctly. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. </summary>+
    +</part>+
    +<part name="detail">+
    +<detail>Connection reset</detail>+
    +</part>+
    +<part name="code">+
    +<code>null</code>+
    +</part>+
    +</bindingFault>+
    +</bpelFault>+
    +</fault>+
    The server logs are shown:
    +<May 2, 2013 9:18:32 AM GMT+00:00> <Error> <oracle.soa.adapter> <BEA-000000> <JCABinding=> InterfaceName:AdapterName [ Write_ptt::Write(body) ] Could not invoke operation 'Write' against the 'File Adapter' due to:+
    BINDING.JCA-12563
    Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "Could not instantiate InteractionSpec oracle.tip.adapter.file.outbound.FileInteractionSpec due to: XSD Resolution problem.
    XSD Resolution problem.
    Unable to load Translation schemas from  for -Namespace- due to: Unable to lookup schema for '-Namespace-'
    Please make sure all used XML schemas are imported/included correctly.
    +".+
    +The invoked JCA adapter raised a resource exception.+
    +Please examine the above error message carefully to determine a resolution.+
    +>+
    +<May 2, 2013 9:18:32 AM GMT+00:00> <Error> <oracle.soa.adapter> <BEA-000000> <JCABinding=> [default/InterfaceName!3.0*soa_7aa1ce63-47ca-49af-a447-b231b8cde31c.AdapterName]:Write One-way operation Write() failed>+
    +<May 2, 2013 9:18:32 AM GMT+00:00> <Error> <oracle.soa.bpel.engine.ws> <BEA-000000> <got FabricInvocationException+
    +java.net.SocketException: Connection reset+
    +at java.net.SocketInputStream.read(SocketInputStream.java:168)+
    +at weblogic.utils.io.ChunkedInputStream.read(ChunkedInputStream.java:159)+
    +at java.io.InputStream.read(InputStream.java:82)+
    +at com.certicom.tls.record.ReadHandler.readFragment(Unknown Source)+
    +at com.certicom.tls.record.ReadHandler.readRecord(Unknown Source)+
    +...+
    We have never had this problem till moving to the clustered environment and all the XSDs in the MDS are configured properly to our knowledge. Any helpful pointers to the problem are very much appreciated.
    Regards,
    vu2jerry
    Edited by: 989720 on May 2, 2013 4:57 AM

    We have a sev-1 SR raised with Oracle and the issue hasn't been found yet. I had no idea it was a known issue as I couldn't find anything related to these on the web.
    By the way it isn't a problem with the File and FTP adapters alone. Even the validate activity is failing to load the XSDs more often than not with the same error. Has anyone else faced the same issue?
    Regards,
    vu2jerry

  • Generation of XML using XSD

    I Have to generate XML file using XSD. I have the xsd available with me ,i have the values of elements also,now i need create a xml file using the XSD or DTD, with the values i got from the database.
    Kindly help.

    Create an XML file from XSD file

  • In Reply to : How to validate org.jdom.Document object using xsd: dvohra09

    Hi All
    I am creating org.jdom.Document object using constructor Document() and adding children using setRootElement(), setChildren() and addContent() methods. The children are objects of org.jdom.Element. If i want to validate the org.jdom.Document using xsd what i have to do. Thanks in anticipation.

    I tried the below code and it is always giving the
    Parsing fatal error : The markup in the document preceding the root element must be well-formed.
    But it is possible to validate the same Document object as right document after writing it onto xml file using XMLOutputter and parsing it using DOMParser
    Thanks in anticipation
    org.jdom.Document document;
    String documentString=document.toString();
    StringReader stringReader=new
    StringReader(documentString);
    SAXBuilder saxBuilder =new
    SAXBuilder("org.apache.xerces.parsers.SAXParser",true);
    saxBuilder.setFeature("http://xml.org/sax/features/vali
    ation",  true);
    saxBuilder.setFeature("http://apache.org/xml/features/v
    lidation/schema",  true);
    saxBuilder.setFeature("http://apache.org/xml/features/v
    lidation/schema-full-checking", true);
    //Set a error handler with
    setErrorHandler(org.xml.sax.ErrorHandler errorHandler)
    saxBuilder.build(stringReader);

  • Updates to the Extensions Exchange and the new XSDs on the Oracle Wiki

    I have just posted the following SQL Developer Forum
    +<p>The Extensions Exchange has been updated with a number of new extensions including a few new extensions from teams at Oracle. You can download and install any of the extensions. Some of these are also available for download through the Check for Updates utility. Please note the disclaimer on that extensions page. None of these have been validated or tested by the SQL Developer team.+
    The <a href="http://wiki.oracle.com/page/SQL%2BDev%2BSDK%2BHow%2BTos">Oracle Wiki</a> has also been updated to help you write your own extensions. A set of the most commonly used XSDs have now been added.</p>
    Instead of singling out individual extensions, I'd encourage you to look at what is available on the exchange and remind you that you can create your own extensions, whether they are Java or pure XML. We have updated the Oracle WIKI with a few examples and finally have added a selection of XSDs. This has been long awaited so for those of you looking out for these, please visit the HOW TO on the Oracle Wiki.
    You'll also notice that some of these extensions are showing up under the third party section in Check For Updates.
    Sue

    firefox 3.6 - http://www.mozilla.org/en-US/firefox/all-older.html
    or you can find all the previous versions here
    ftp://ftp.mozilla.org/pub/firefox/releases/
    edit: replaced random unofficial download site link.

  • How to validate xml using xsd

    Hi All
    please tell me how to validate xml using xsd
    regards

    Try using this link:
    = http://www.google.nl/search?q=XML+validate+oracle for instance or
    = use the search button on this forum and / or
    = read the FAQ on this (XML DB FAQ
    Thanks Eddie et all, for educating me via http://awads.net/wp/2006/11/14/barts-punishment-for-asking-dumb-questions (don't mind the URL , the info there is really useful)
    The following link on this site is just brilliant: http://www.albinoblacksheep.com/flash/posting.php
    Grz
    Marco
    Message was edited by:
    mgralike

  • Issue using XSD from MDS

    Hi
    I am having issue when using XSD from MDS. ( AIA 11G)
    I have created MDS connection and tested it and it workds. Through SOA Browser -> Resource Pallet I am able to brouse XSD also. After selecting XSD when i import , I get below mentioned error
    Exception: oracle.mds.exception.MDSException: MDS-02501: cannot load the ORAMDS URL "oramds:/apps/AIAMetaData/AIAComponents/EnterpriseObjectLibrary/Industry/HealthSciences/EBO/SupplierParty/V1/SupplierPartyEBO.xsd" because MDS session could not be created or resolved
    MDS-01330: unable to load MDS configuration document
    MDS-01329: unable to load element "persistence-config"
    MDS-01370: MetadataStore configuration for metadata-store-usage "mstore-usage_2" is invalid.
    MDS-00918: Connection details for the MDS repository are incomplete. The values for "userName, password, jdbcURL" are invalid
    Is there something i am missing?
    Bikash

    i run into the same issue a lot and it seems that everytime i modify the composite or the bpel, somehow all the userid, password, and jdbc-url properties are removed from the adf-config file. i always have to restore to a previous version from history. i have no idea what causes jdeveloper to remove these tags and haven't yet found a remedy for this problem.

  • Using XSD while constructing schema

    Hi,
    I have the following scenario. I hae 2 methods getsendinputschema and
    getsendoutputschema as shown
    in the Interactionimpl.java of the email adapter.
    I call a EIS event in the execute method.The EIS returns me a xml
    document.Now i have to construct
    the XML doc.
    In the email adapter, the getsendoutput schema is called. This method
    constructs the
    output schema
    In my case, I have the xsd template of this doc returned by the EIS.
    Now how do I use SOM schema with this xsd? .
    Basically what i want is the adapter should return the EIS data to the
    process integrator using
    the xsd (as the schema)I provide?
    Any inputs will be greatly appreciated.
    Thanks

    Rick,
    Thanks for the input. In fact after posting my query, I was working on those
    lines.
    But the problem I have is when I try to create the schema
    private FileReader in;
    in = new FileReader("D:\\bea\\tests\\CX\\rk.xsd");
    int c;
    StringBuffer buf = new StringBuffer();
    do
    c = in.read();
    buf.append((char)c);
    } while (c != -1);
    System.out.println(buf);
    // File read properly
    // construct the schema based on xsd
    String h= new String(buf);
    SOMSchema e = new SOMSchema(h);
    // SOMSchema e = new SOMSchema(in);
    When i execute this, I get an error saying that the doc is not well
    formed.Refer to the xsd.
    Any ideas?
    Once again thanks for ur input
    "Rick DeGrande" <[email protected]> wrote in message
    news:[email protected]..
    Kishore,
    I'm not sure I understand exactly what you're asking for, but if you
    have an xsd (Schema definition) and you want to use it to create an
    IDocument here's what you need to do...
    I'll assume you have a Schema in text form.
    First
    Create a SOMSchema using the schema you have.
    Once you have the SOMSchema you can use it to create the default
    document. You'll need to create a DocumentOptions object in order to
    specify defaults for the document creation. For instance the following
    code could be used to create the event schema for the email adapter if
    the "stringWithSchema" was set using the
    InteractionImpl.getEventSchema().
    SOMSchema schema = new SOMSchema(stringWithSchema);
    DefaultDocumentOptions options = new DefaultDocumentOptions();
    options.setForceMinOccurs(1);
    options.setRootName("RECEIVEMAIL");
    options.setTargetDocument(DocumentFactory.createDocument());
    IDocument myDocument = schema.createDefaultDocument(options);
    myDocument.setStringInFirst("//RECEIVEMAIL/ADDRESS",
    "[email protected]");
    myDocument.setStringInFirst("//RECEIVEMAIL/SUBJECT", "Hello");
    myDocument.setStringInFirst("//RECEIVEMAIL/EMAILBODY", "Message Body");
    Now you have a populated instance document for the schema.
    Hope this helps.
    Rick[rk.xsd]

  • DataType creation using XSD

    I'm trying to create a data type using a simple XSD given below but i'm getting errors. Please let me know what am I missing?
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <xsd:element name="Contact">
    <xsd:complexType>
      <xsd:sequence>
       <xsd:element name="FirstName" type="xsd:string"/>
       <xsd:element name="LastName" type="xsd:string"/>
       <xsd:element name="City" type="xsd:string"/>
       <xsd:element name="State" type="xsd:string"/>
       <xsd:element name="Country" type="xsd:string"/>  
      </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    the error it shows is:
    Schema to be handled does not contain a definition of type Contact.
    Let me know what is wrong with this XSD.
    Angela

    Hi Angela,
    The Data Type name and its namespace that you have created should match the name and namespace of the root element in the XSD file. In this case, in the Integration Repository, you HAVE to name the Data Type as 'Contact', with the namespace "http://www.w3.org/2001/XMLSchema".
    The better way wiould be to change name and namespace in the the XSD file to match with that you are using in the IR.
    Hope this helps,
    Bhanu

  • Webservices call using xsd

    I got an excel sheet (CSV) with schema description,i want to convert to an xsd is there to any tool convert automatically,i have a wsdl file the  messages in the wsdl can be used to call webservices or i have to take xsd,i am confused because when i am working on a scenario
    /people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
    This weblog says that we have to take xsd for the message structure (At my first try i used the messages getDistanceRequest and getDistanceResponse in my mapping but later found out that it wasnt the message structure that the webservice expected.) For the response structure of the SOAP i created a XSD and imported it as a external definition.
    In some scnearios which i have seen for the webservices they have taken wsdl.
    In my work i have to work with rfc to webservices,so any please help me out how to take the message structure in message mapping.
    Thanks
    sriram

    Hi Sriram,
    please go thru the link below and see if u have followed the steps mentioned in it while defining the web service. if it still doesn’t help you, please do give a little more detail about the scenario you are doing...
    http://help.sap.com/saphelp_erp2004/helpdata/en/31/daa0404dd52b54e10000000a1550b0/content.htm
    http://help.sap.com/saphelp_erp2004/helpdata/en/54/048d40e802ce62e10000000a155106/frameset.htm
    You can create SOAP Request from WSDL using the following tool.
    http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=65a1d4ea-0f7a-41bd-8494-e916ebc4159c
    You've to expose your outbound message interface as a WSDL which can be used by say EP.
    Also go thru the following threads
    Re: WebService
    Re: SOAP Client for Synchronous Scenario
    Re: How to test a webservice as a standalone?
    In any B2B scenario, you're going to have stricter security requirements. XI and other SAP applications in the vast majority of cases reside within the internal network of a company, as I'm sure it does for your company A. It is recommended to have some kind of reverse proxy/web switch hardware/software residing in the DMZ to intercept the external request. Direct requests (especially HTTP) by most, if not all, companies will not be allowed to freely pass to applications within a company's intranet.
    SAP has something called the Web Dispatcher that is commonly used for such a purpose. You can find more info on it at the following link:
    http://help.sap.com/saphelp_nw04/helpdata/en/42/5cfd3b0e59774ee10000000a114084/frameset.htm
    You'll also find some visuals and more security related topics at the following link:
    http://help.sap.com/saphelp_nw04/helpdata/en/d9/ef2940cbf2195de10000000a1550b0/frameset.htm
    In addition, you'll probably require a more secure transport protocol like HTTPS/SSL as well.
    Regards,
    Abhy

  • Attemp to build loosely coupled WS using xsd:any & xsd:anyType?

    Dear All,
    i want to write a loosely coupled web service that allow
    the server to evolve independently to the client. (main
    purpose is to extend the service by adding more properties
    in the request / response message)
    i want to achieve the loosely coupled goal by adding
    xsd:any or xsd:anyType to the request / response messages
    (i.e. wsdl ComplexType). (just follow the normal XML
    guideline).
    i have try to write simple program with xsd:any (which
    mapped to SOAPElement in JAX-RPC). And the result seems
    good and can achieve my goal. ( i can consume the service
    in java and .net without problem).
    but later, i read some article, in the web, (like this: http://www.ibm.com/developerworks/xml/library/ws-tip-xsdcaution.html)
    that clams it is better to use xsd:anyType instead of
    xsd:any (as anyType is mapped to SOAPElement or java
    object if server/client can deserialize it).
    as far as i know, the support of xsd:anyType is not standardized / madatory.
    could anyone tell me your comment about using xsd:anyType or xsd:any?
    how about the support of xsd:anyType across different platform / tools?
    xsd:anyAttribute seems not supported by jax-rpc, could you please comment on using this element in the wsdl? good or bad?
    oracle will map this element to an oracle proprietary java object.
    am i choosing the right way to achieve loosely-coupled WS? any other way?
    some article claims to send request as xml doc. but it
    seems that is not very convenient to server and client as
    both sides need to write code for serialization /
    deserialization.
    why not use the existing automatic XML <--> java object provided by the jax-rpc standard?
    Thank you very much
    Message was edited by:
    lsp

    Hello,
    Is your question related to very specific element of your message or for the complete message.
    Using any/anyType even if powerful could be sometimes complex for Web Service Client developer to handle since the Java object (SOAPElement or Object) is not typed so doing late binding of schema force people to do the mapping themself any.
    So before choosing this in a wide scope on your project think also to its impact for end user/developers, and I think you are on the good path, as you said anyType will recognize the object.
    I am inviting you to also look at the Oracle Web Services Interoperability documentation.
    and this article from SUN: Interoperability With Patterns and Strategies for Document-Based Web Services
    Regards
    Tugdual Grall

  • Can I use XML using XSD

    Hi,
    I know we can use XML as data server with DTD. Is it also possible to use XSD instead of DTD. If yes would the driver be same.
    Thanks
    Jasvinder Singh

    Got SAS error when used as "jdbc:snps:xml?f=C:\myxml.xml"
    (Try to insert null into a non-nullable column: column: NAME table: STAGI_ELEMENT in statement [insert into STAGI_ELEMENT (ELEMENTORDER, ELEMENTPK, NAME, REF, SCHEMAFK, SEQUENCEFK)  values (?, ?, ?, ?, ?, ?)]
    all these table name and columns comes by itselt , non are reffereing to my data. thn i tried some jugglery in changing the XSD. then it worked , but when i reserved though model window it showed me as
    SCHEMA     Table
    ELEMENT     Table
    SEQUENCE     Table
    COMPLEXTYPE     Table
    these are part of XSD elements definations.
    what i understand that use f=xml file and d=dtd file name or d=xsd file name.

  • Deploying xsd to the SOA MDS

    Hi,
    I am trying to deploy some xsds to the SOA MDS ..
    I am following the SOA developer's guide (http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10224/toc.htm - 43.4 Deploying and Using Shared Metadata Across SOA Composite Applications) but while deploying I get the error :
    [04:30:27 PM] ---- Deployment started. ----
    [04:30:27 PM] Target platform is (Weblogic 10.3).
    [04:30:27 PM] Entering Target Selection Dialog
    [04:30:29 PM] Retrieving existing application information
    [04:30:30 PM] Running dependency analysis...
    [04:30:30 PM] Building...
    [04:30:31 PM] Deploying 2 profiles...
    [04:30:31 PM] Wrote Archive Module to C:\JDeveloper\TestsWorkspace\Tests\bin\deploy\metadata_shared.jar
    [04:30:33 PM] #### Deployment incomplete. ####
    [04:30:33 PM] == ERROR: No j2ee modules detected in EAR archive. Deployment aborted. == (oracle.jdeveloper.deploy.VetoableDeployException)
    Does someone have an idea ?
    Thanks,
    romain.

    Hi,
    Thank you for your answer.
    Yes, I followed the documentation in which it is said to deploy the application ....
    I found the problem :
    I was trying to deploy a SOA Bundle containing only the metadata jar => I got the error.
    I tried to deploy a SOA Bundle containing 2 jars : one for metadata and another for a BPEL Project, it worked.
    I can't deploy the metadata only ...
    Romain.

  • Using xsd functions in borland c++ builder 5

    I am having difficulties using the xsd libraries in my project. I am trying to use the schema validator. I have included the oraxml.hpp and oraxsd.hpp header files, and I have added the provided libraries to the project. The first error was that the library files were erroneous.
    I then used the implib tool to create the library files from the dlls in the bin directory. I then add these new library files to the project.
    Now the linker cannot find the functions.
    [Linker Error] Unresolved external XMLParser::xmlint(......).
    I get the same error whenever I try to use any of the functions.
    Is there anything I am missing out when trying to link and compile?

    Hi,
    I don't think this is the forum you need. This is the Oracle Reports forum. To be honest, I'm not familiar with what you are doing, otherwise, I would direct to the appropriate forum.
    Toby

Maybe you are looking for

  • How to make this work in IE?

    Hello, I'm trying to make my new website and it works well in all browsers except IE... what should I change to make links work? I use <li id="bgcolor_grafico"><a href="#grafico">Graphic design</a></li> <ul id="grafico">         <li id="bgcolor_grafi

  • HOW TO edit original message text in a Reply email

    Hello All!  We have an Application over several countries in which our Field Technicians must answer emails (reply) informing field ocurrences in order to update our central database in a (quite) "real-time" basis. The problem is that, to do it, they

  • UPGRADE CONFUSION! What are the facts?

    Hi All! I have the 'new' Intel 1.83Mhz mac mini but would like to upgrade my processor. Is this even possible? The techie over at my local mac store told me that the processor can't be upgraded due to the motherboard?! Is this true or farce? I have b

  • 2 users on the same iPad

    Hi there, is it possible to have i.e. 2 users on an iPad in the same way that it's possible with a MacBook Pro? Thanks for your feedback(s). Peter

  • Transaction line item

    Hi, How transaction line items be maintained under sub asset. We want to maintain a hierarchy in assets as follows: Account determination-Asset Class-Group asset-Main asset-Sub asset-Transaction line item. It will help us in reporting. Please suggest