Import Multiple XSD Files

Is it not possible to import multiple xsd files. If a single file is used there is no problem but when the second import statement is added, it will not compile.
It complains that it cannot find one of the element types. Removing the second import it compiles fine.
I also tried it using seperate schema tags for each import.
<types>
  <schema xmlns="http://www.w3.org/2001/XMLSchema">
   <import namespace="http://TargetNamespace.com/ftpadapter"
           schemaLocation="delimited_2.txt"/>
   <import namespace="http://xmlns.oracle.com/FTP_Test"
           schemaLocation="FTP_Test.xsd"/>
  </schema>
</types>

It is possible to add multiple XSD's in WSDL.
1. Did u add different namespace alias's for these two in <definitions> section ??
2.How you are referring the element which it can't find in the wsdl ?
Try this to identify the issue
"remove the first xsd and use the second one alone. "
If this works then it eliminates that there is an issue with xsd.
Thanks,
Satish
http://soadiscovery.blogspot.com

Similar Messages

  • How to create java classes when multiple xsd files with same root element

    Hi,
    I got below error
    12/08/09 16:26:38 BST: [ERROR] Error while parsing schema(s).Location []. 'resultClass' is already defined
    12/08/09 16:26:38 BST: [ERROR] Error while parsing schema(s).Location []. (related to above error) the first definition appears here
    12/08/09 16:26:38 BST: Build errors for viafrance; org.apache.maven.lifecycle.LifecycleExecutionException: Internal error in the plugin manager executing goal 'org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.7.1:generate': Mojo execution failed.
    I tried genarate java classes from multiple xsd files, but getting above error, here in .xsd file i have the <xe: element="resultClass"> in all .xsd files.
    So I removed all .xsd files accept one, now genarated java classes correctly. but i want to genarte the java classes with diffrent names with out changing .xsd
    Can you please tell me any one how to resolve this one......
    regards
    prasad.nadendla

    Gregory:
    If you want to upload several Java classes in one script the solution is .sql file, for example:
    set define ?
    create or replace and compile java source named "my.Sleep" as
    package my;
    import java.lang.Thread;
    public class Sleep {
    public static void main(String []args) throws java.lang.InterruptedException {
    if (args != null && args.length>0) {
    int s = Integer.parseInt(args[0]);
    Thread.sleep(s*1000);
    } else
    Thread.sleep(1000);
    create or replace and compile java source named "my.App" as
    package my;
    public class App {
    public static void main(String []args) throws java.lang.InterruptedException {
    System.out.println(args[0]);
    exit
    Then the .sql file can be parsed using the SQLPlus, JDeveloper or SQLDeveloper tools.
    HTH, Marcelo.

  • Error during import of XSD file in message mapping

    When i try to import an XSD file from desktop during message mapping I am getting a following error 'display problem'.
    "Root element not found. Root Schema only describe type defintions. Cannot opent this XSD."
    Is there any direct or work around way to import the file?
    Any help would be appreciated.
    Thanks
    Prem

    Thanks Alexey
      Let me specify some more detail. I got the following XSD file from a third party vendor. I am using XML spyeditor to edit the file. When i tried to add the global element it says the schema is not validated. How can it fix this?
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
         <xs:include schemaLocation="http://www.ABC.com/schemas/ABCXMLlibrary.xsd"/>
         <xs:complexType name="sesType">
              <xs:sequence>
                   <xs:element name="eserviceNumber" type="xs:string">
                   <xs:element name="SAPPurchaseOrder" type="SAPPurchaseOrderType" minOccurs="0"/>
                   <xs:any namespace="##any" minOccurs="0" maxOccurs="unbounded"/>
              </xs:sequence>
         </xs:complexType>
    </xs:schema>
    Thanks
    Prem

  • How to import multiple DNG files into Premiere

    I want to import multiple raw DNG files from a 2.5K blackmagic camera. Each clip is recorded in a separate folder:
    I can import each clip separately by selecting its folder and clicking on a DNG file, but -for obvious practical reasons- I would like to import ALL clips at once. However, when I try to do so, Premiere does not import the clips. Instead, it imports each folder, and within them there is not one single clip, but as many clips as DNG files compounded that particular clip. In other words, if the clip had ONE HUNDRED DNG files, Premiere imports that clip ONE HUNDRED times, not just once:
    In this image, each file contains the ENTIRE clip, not just a DNG file. Is there a workaround for this? Otherwise, DNG files must be imported one by one, which of course makes the workflow much more difficult.

    Jim, when selecting the blackmagic2 level, the only available option is File Directory:
    This doesn't happen with RED files, where you can choose between File Directory and RED from the first level. Unlike blackmagic's DNG clips, RED files can be imported all at once, so maybe that's the whole problem:
    And yes, Source Settings are available for RED files, whereas they are not for DNG (only basic information, not raw manipulation):
    RED Source Settings:
    DNG Source Settings:

  • JAXB parser fails on multiple xsd files in same namespace

    I am having a problem with JAXB parsing a schema that imports 2 schema files from a similar namespace. Lets say we have 3 schema files A.xsd, B.xsd, and C.xsd as follows:
    A: <xsd:schema xmlns:xsd="<http://www.w3.org/2001/XMLSchema> targetNamespace="A" xmlns="A" xmlns:z="Z" xmlns:jxb="<http://java.sun.com/xml/ns/jaxb> jxb:version="1.0" elementFormDefault="qualified"> <xsd:import namespace="Z" schemaLocation="B.xsd"/> <xsd:import namespace="Z" schemaLocation="C.xsd"/> </xsd:schema>
    B: <xsd:schema xmlns:xsd="<http://www.w3.org/2001/XMLSchema> targetNamespace="Z" xmlns="Z" elementFormDefault="qualified"><xs:element name="BElement"></xs:element></xsd:schema>
    C: <xsd:schema xmlns:xsd="<http://www.w3.org/2001/XMLSchema> targetNamespace="Z" xmlns="Z" elementFormDefault="qualified"> <xs:element name="CElement"></xs:element></xsd:schema>
    The problem we have is that JAXB compiler fails during parsing and complains about an unresolved element (z:CElement) in the second schema (C.xsd) for the single namespace (Z). The complaint is reversed if we flip the order of the imported schema. The exact error is as follows: [ERROR] src-resolve: Cannot resolve the name 'z:CElement' to a(n) element declaration component.
    So the question is, how do we get JAXB to permit the import of 2 or more elements that are defined in individual schema files that belong to the same namespace.
    Thanks for your support,

    Greg,
    I believe that Xerces does not (and is not required to) parse anything other than the first <import> for a given namespace. I think what you are seeing is that Xerces is ignoring the second import for the "Z" namespace and therefore, the JAXB schema compiler is complaining that it can't resolve the element ref.
    Others on this thread may have already covered these work arounds, but here goes:
    1. you can disable JAXB's schema validation check by passing "-nv" to xjc or <arg value="-nv"/> to the ant task. This should allow XJC to get past the xerces behavior and generate proper code. In the current codebase, we are realying on some xerces internals to perform schema validation within XJC.
    2. you might also be able to create another schema file, say Z.xsd, that <includes> all of your schemas belonging to that namespace. Then you can bring all of them in with a single <import> of Z.xsd in A.xsd.
    I haven't tried it, but I think it'll work.
    Greg, FYI we have a very active developer community on Java.net - that's the best place to post these kinds of questions. We (the JAXB team) don't monitor the developer forums as closely. Check it out:
    http://jaxb.dev.java.net
    and join the "users" interest list:
    https://jaxb.dev.java.net/servlets/ProjectMailingListList
    Thanks,
    --Ryan Shoemaker, Sun Microsystems, Inc.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • DS 4.1 SP02 : Error when trying to import XML/XSD-Files

    Hello,
    i want to import a lot of XML-files with Data Services. I have a XSD file with the XML schema. I've validated the schema against the XML files with XML spy, xmllint and the result is ok. Only Data Services will run on error when i run the job:
    (14.1) 06-20-14 09:34:00 (E) (8948:10636) XML-240108: |Data flow DF_Load_easybank|Reader READ MESSAGE easybank_XML_Input OUTPUT(easybank_XML_Input1)
    An element named <DeviceCashInventory> present in the XML data input does not exist in the XML format used to set up this XML
    source in data flow <DF_Load_easybank>. Validate your XML data.
    (14.1) 06-20-14 09:34:00 (E) (8948:10636) XML-240307: |Data flow DF_Load_easybank|Reader READ MESSAGE easybank_XML_Input OUTPUT(easybank_XML_Input1)
    XML parser failed: See previously displayed error message.
    (14.1) 06-20-14 09:34:10 (E) (11260:10904) XML-240307: |Data flow DF_Load_easybank|Reader READ MESSAGE easybank_XML_Input OUTPUT(easybank_XML_Input1)
    XML parser failed: See previously displayed error message.
    In Data Service Designer i get the following error, when i try to spy into the data source with the spy-glass:
    XML parser failed: See previously displayed error message.
    Can anybody help me ? Many thanks in advance.
    Greeting Peter & George

    Hi there
    I'd be totally surprised if this were to work. This may sound strange from the standpoint that Captivate offers a XML import option. But I believe this option is intended for importing an XML file back into Captivate that was first exported OUT of this captivate project.
    XML export creates an XML file in a specific format. I think the name is XLIFF and it's intended to facilitate localizing your project into assorted languages.
    Hopefully this helps... Rick
    Click here for Adobe Certified Captivate and RoboHelp HTML Training
    Click here for the SorcerStone Blog
    Click here for RoboHelp and Captivate eBooks

  • XML Validation with multiple XSD files (referenced)

    Hello,
    I know that XML validation with version 7.1 is possible now. However I was provided with a set of XSD files that have references to each other and need to be placed in a hierachical file system order so that references can be resolved.
    An element <xsl:include schemaLocation="../../baseSchemas/baseSchema.xsd" /> is used for example. How can I handle that for XSD validation in PI? Can I create the same folder structure or do I need to put all XSD files in one directory and change the import manually?
    But most important question: Is it possible it all to use more than one XSD for schema validation?

    Dear Florian,
    I had encountered such case in a project.
    I was given 3 files. One main file and 2 others called Schema1.xsd and Schema2.xsd.
    This happens because your data type is not in single namespace, but is being referred across namespaces and software components.
    I am assuming that you have read the How to Guide for XML validations on PI 7.1
    Best way to do this quickly is as follows.
    1. Enable XML validation at adapter engine in the sender agreement.
    2. Post a message using HTTP post. (http://sappihttpclient.codeplex.com)
    3. Check communication channel in runtime workbench. There will be an error saying which is missing at what path.
    4. Create the path mentioned and place the file at that path.
    5. Repeat steps 2,3,4 for all the files.
    When you are done with this, you will get a proper validation error in case XML file is not correct. And remember to generate XSD from message type and not data type.
    Regards,
    Vikas
    Edited by: Vikas Aggarwal on Sep 2, 2009 8:45 PM
    Edited by: Vikas Aggarwal on Sep 2, 2009 8:48 PM

  • Import multiple tpz files at a time

    Hello,
    Present, only one person can import one tpz file at a time in a PI system.
    Can many people do import of tpz file simultaneously (at a time) in PI system?
    Best Regards,
    Manisha

    Hello
    What method are you using to import the tpz files? CTS+, CMS or File System method?
    "Can many people do import of tpz file simultaneously (at a time) in PI system?"
    - Do you mean the same tpz file or different tpz files?
    Regards
    Mark

  • Is it possible to import multiple Attachments/Files in one Dialog-Step using JavaScript?

    The only Methods I know to import Attachments or File Contents in an interactive Form are
    the Methods Doc.importDataObject() and util.readFileIntoStream().
    Both Methods allow the Selection of just one File.
    1)I need a Technique to allow the User to select several Files in just one Step.
    Does anybody know a possible Solution?
    2)I would like to limit the File-Selection to certain File-Types.
    Is this possible?
    Thanks in Advance for your Help,
    Bernd Urban.

    The only Methods I know to import Attachments or File Contents in an interactive Form are
    the Methods Doc.importDataObject() and util.readFileIntoStream().
    Both Methods allow the Selection of just one File.
    1)I need a Technique to allow the User to select several Files in just one Step.
    Does anybody know a possible Solution?
    2)I would like to limit the File-Selection to certain File-Types.
    Is this possible?
    Thanks in Advance for your Help,
    Bernd Urban.

  • Importing multiple RAW files as layers into PSE9

    Hey,
    Im a newbie to PSE. I am spoiled from the CS5 trial and am already disapointed with the features of the cheap PSE9.
    I haven't been able to import multiple RAW images into PSE as layers. The only I found to do it is to open all RAW images and then make new layers, then copy and paste into new layers.... I used Bridge when I had the CS5 trial. Is there another way? Do I need Lightroom too?
    Also, I have yet to find a way to "auto" align layers. Is this another feature that was cut.
    Thanks in advance for the help!

    I think I solved my problem....
    I opened all photos in PSE then I used the "Move Tool" and then dragged each photo onto the first image in the "Project Bin" area of the PSE window.
    I'm interested in Plug-ins. Where can I find them? I still have not solved the align issue....other than manual aligning...
    Thx for the help all!

  • Import multiple MP3 files into one video demo? (Cap 6)

    Hi,
    I have recorded a video demo in Captivate 6. I have individual MP3 files that I would like to import into the file and then synchronize with the video. Can this be done? I imported one longer audio file, but it would be helpful to be able to bring in individual ones so I can sync more easily without splitting sometimes.
    Thank you
    Michele

    Hi Michele,
    Are you using an Event Video or a Multi-Slide Synchonize one?
    If your video spread across various slides, you can insert your audio to 'slides' and can edit and adjust the audio timing as per your requirement and time it to a certain duration equivalent to the corresponding video duration on the same slide.
    In case of an Event Video, You can try inserting audio to individual slides and time the audio to be in sync with video based on their durations or else you can go to the Vidoe properties and can add audio and bind it up to play alongside with video.
    Thanks,
    Anjaneai

  • How to Import multiple PNGs/files in order of file name?

    Im trying to create a PDF pased on a folder of PNGs I have. The Files are titled sequentailly, but when I highlight/select multiple PNGs and import them (or click and drag) into a new PDF, the Pages are all out of wack. How can I make the Pages appear sequentially based on the file names of the selected files being imported?  Click and draging individually is becoming a bit tiresome.
    Using Adobe Acrobat Pro 9.

    I don't have access to Acrobat 9 but in XI adding files with these names to the Combine Files window results in the correct order. I don't think there's much you can do about it in Acrobat 9, unless you use a script to combine the files. Your best option is probably to upgrade to XI.

  • Is there any way to import multiple video files into a Logic Pro X project ?

    Hi All,
    Im working on score for a movie, I have multiple video clips that I need to make score for. Im wondering if there is a way to import all the video clips in to a single LPX project.
    Thanks.
    Ara

    No, Logic allows only one video file per Project.
    You have to edit them together in iMovie or Final Cut Pro first.
    However, the common workflow in film scoring is one Project per cue, so if there are no overlapping music cues between the videos, it shouldn't be a problem
    Hope that helps
    Edgar Rothermich
    http://DingDingMusic.com/Manuals/
    'I may receive some form of compensation, financial or otherwise, from my recommendation or link.'

  • How do I import multiple Ai files into one Indesign File - whilst still keeping the Ai Files editable and up dateable for the one Indesign File?

    Hi All,
    Im relatively new to Ai and Indesign, and have been doing Uni work over Christmas, and have a rather urgent question thats stressing me out.
    I originally had many art boards in my ai file, but due to the number, I split these into single files to help my computer run better.
    Now I want to organise them into one document to save. From searching online Indesign can import these and save as one file, yet automatically update if the original ai file is updated. I would like to do this but just don't know how to do this correctly?
    Any help would be greatly appreciated.
    Im using CC Ai and indesign.
    Thanks in advance
    Sam

    Yes, effectively I would like to catalogue the files into one collection so i can save as one PDF and Print as one.:)
    I know I could save each AI as a pdf them then merge the pdf's together in acrobat, but I have nearly 100 files so would feel more comfortable seeing them all together before print / saving.
    My concern is that if I insert them in Ai, will the file resolution reduce? and will the ai still be editable and would it update the indesign file?
    Thanks for the quick reply

  • Importing multiple jpeg files from local folder into database LOB column

    I have to programatically save multiple pictures (jpeg) from the folder on my PC into Oracle table LOB column. I have to be able to choose local folder on my PC where are the pictures, and press button on Oracle Forms to save pictures in LOB column in database.
    I'm using Forms 6i and Oracle 10g Rel2 database.
    Is this possible with Oracle Forms or the only way to do that is to use create directory database command and use dbms_lob package which I shouldn't do, because Oracle database directory is not allowed to see my local folder.

    As I said I don't know how to use object data type, I just given a shot as below. I know the following code has errors can you please correct it for me.
    Public
    Sub Main()
    ' Add your code here 
    Dim f1
    As FileStream
    Dim s1
    As StreamReader
    Dim date1
    As
    Object
    Dim rline
    As
    String
    Dim Filelist(1)
    As
    String
    Dim FileName
    As
    String
    Dim i
    As
    Integer
    i = 1
    date1 =
    Filelist(0) =
    "XYZ"
    Filelist(1) =
    "123"
    For
    Each FileName
    In Filelist
    f1 = File.OpenRead(FileName)
    s1 = File.OpenText(FileName)
    rline = s1.ReadLine
    While
    Not rline
    Is
    Nothing
    If Left(rline, 4) =
    "DATE"
    Then
    date1 (i)= Mid(rline, 7, 8)
     i = i + 1
    Exit
    While
    End
    If
    rline = s1.ReadLine
    End
    While
    Next
    Dts.Variables(
    "date").Value = date1(1)
    Dts.Variables(
    "date1").Value = date1(2)
    Dts.TaskResult = ScriptResults.Success
    End
    Sub

Maybe you are looking for

  • How do I change the apple ID my iPad is associated with

    I'm trying to figure out how to change the Apple ID our iPad is associated with. My husband bought the iPad and set up a new Apple ID instead of using mine. Now we cannot use iCloud to sync all of our devices. Any help out there?

  • Nikon .NEF Files - can not import these files - help please

    Hi Folks. I just made the plunge into the dslr world, purchasing a nikon d40x. I want to shoot raw files and work with the keepers in PS. I saw LR and watched several on-line tutorials by michael tate, and decided to DL the trial version. I'm running

  • I cant active iPhone 3GS to iOS 5

    Hey! I just upgraded my iPhone 3GS to iOS 5. All went well, then at the end, it asks me a few set ups (like language, Location, and WiFi settings). After that, it attempts to activate, and fails, giving me the following error in iTunes: "There is no

  • WebLogic and Apache

    Hi,           We are developing an application using WebLogic ejb and servlet and we           are planning to use Apache as the HTTP server. Are there any know           issues about this combination?           According to the manual, the mod_proxy

  • Wild card highlighting

    CTX_DOC.MARKUP is working fine for basic word search & stemming, but does not highlight for wild card search. For example, searches for "roam" and "$roam" highlight the word "roams", but searches for "roam%" do NOT highlight the word "roams". The Tex