Problem in the XSD generation

Hi people,
In our project we are working a POC to integrate MDM. For it, the MDM people request the XSD that generated XI.
We send this XSD:
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" >
     <xsd:complexType name="NombreDT">
          <xsd:sequence>
               <xsd:element name="campo1" type="xsd:string"></xsd:element>
               <xsd:element name="campo2" type="xsd:string"></xsd:element>
               <xsd:element name="campo3" type="xsd:string"></xsd:element>
               <xsd:element name="campo4" type="xsd:string"></xsd:element>
               <xsd:element name="campo5" type="xsd:string"></xsd:element>
               <xsd:element name="campo6" type="xsd:string"></xsd:element>
          </xsd:sequence>
     </xsd:complexType>
</xsd:schema>
The XML that we sent through scenario created in XI is:
<?xml version="1.0" encoding="UTF-8"?>
<NombreDT>
     <campo1>data1</campo1>
     <campo2>data2</campo2>
     <campo3>data3</campo3>
     <campo4>data4</campo4>
     <campo5>data5</campo5>
     <campo6>data6</campo6>
</NombreDT>
When MDM wants to import the XML to MDM's repository using the XSD as Schema, it shows the following error:
Logon Error: Failed to Parse XML file.
Error:
COM error: 80004005 Unspecified error
Source =      Description =
SAX2Error: errCode=80004005, PublicId =,
Error Message= The element "NombreDT" is used but not declared in DTD/Schema.
They have provided us a XSD and a XML that works to them correctly:
XSD:
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<xs:element name="DataSuper">
<xs:complexType>
<xs:sequence>
<xs:element ref="MiniData" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="MiniData">
<xs:complexType>
<xs:attribute name="code1" use="required" type="xs:integer"/>
<xs:attribute name="code2" use="required" type="xs:NCName"/>
<xs:attribute name="code3" use="required" type="xs:NMTOKEN"/>
<xs:attribute name="code4" use="required" type="xs:NMTOKEN"/>
<xs:attribute name="code5" use="required" type="xs:NCName"/>
</xs:complexType>
</xs:element>
</xs:schema>
XML:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<DataSuper>
<MiniData code1="22550" code2="ppp" code3="150" code4="30" code5="dat1"/>
<MiniData code1="22551" code2="out" code3="400" code4="30" code5="dat2"/>
<MiniData code1="22552" code2="out" code3="350" code4="30" code5="dat3"/>
<MiniData code1="22553" code2="ppp" code3="1505" code4="30" code5="dat1"/>
</DataSuper>
Is it the problem of the XSD generated in XI?
What is the difference between xsd:element and xs:element?
Can we generate in XI a XSD of the type xs:element?
King Regards

Hi,
I think the problem is, that the xsd you posted contains only a type definition but no element definition. I would recommend trying:
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" >
<xsd:complexType name="NombreDT">
<xsd:sequence>
<xsd:element name="campo1" type="xsd:string"></xsd:element>
<xsd:element name="campo2" type="xsd:string"></xsd:element>
<xsd:element name="campo3" type="xsd:string"></xsd:element>
<xsd:element name="campo4" type="xsd:string"></xsd:element>
<xsd:element name="campo5" type="xsd:string"></xsd:element>
<xsd:element name="campo6" type="xsd:string"></xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="NombreDT" type="NombreDT" />
</xsd:schema>
The reason why the original xsd you got from the Message TYpe contained this import statement is, that you decided to spread the definition of your Message Type over two namespaces. I assume that you changed the content of the field XML namespace in the Message Type to BLANK (by default it equals the technical namespace you define your Message Type in, in your case probably "myNamespace").
Greetings
Stephan

Similar Messages

  • Does anyone have problems with the 7th generation nano not being recognized by windows?

    Just got my nano and although it worked the first time I plugged it in to my laptop, it now can not be recognized by Windows, it is completely dead and will not charge at all...anyone else having this issue?

    Hello Chloe
    Start with the first article below to go over some general hardware troubleshooting to get a charge on your iPod nano. If you get that to turn on and you cannot get it to show up on your computer, then the second article should sort you out.
    iPod nano (7th generation): Hardware troubleshooting
    http://support.apple.com/kb/TS4433
    iPod not appearing in iTunes
    http://support.apple.com/kb/TS3716
    Regards,
    -Norm G.

  • Problem with the mail generation for the CCMS alert

    HI ,
    I have created CCMS alert for the RFCdestination  in the system and is working fine, and now i would like to configure mail for the same alert for that i have did the following
    1.copied the method CCMS_ONALERT_EMAIL_v2 in RZ21 and created the new method .
    2. And then assigned the same in the CCMS alert in the autoreaction tab.
    But still iam unable to generate mails.Mail configutation is ok and am able send mails to external addresses.
    Can any one please let me know if iam missing anything and guide me .
    Any help is appreciated

    Hi Vamsi,
    Please check below thread and go through suggested documentation.
    Automatic Email for CCMS Alerts
    Revert for any queries.
    Regards,
    Rajesh

  • Problems creating a web service that uses the report generation toolkit

    Hi,
           Im trying to develop a web service using labview 2013.
    I create a html form that is correctly communicating with my labview method and part of the web service functionality is to create a report from the data obtained in the html form published.
    I realized that using the report generation toolkit inside of the web service method the server cannot generate a report. ( If I run the same Vi before publishing the web service it works on the server but it doesnt work after I deploy it)
    I thought that maybe Im unable to use the report generation toolkit VIs inside of the web service because Im not incluiding the (dynamic VIs labview uses when they run), I tried to add the excel dynamic library to the proyect but with no success.
    I also tried to use VI SERVER to call a VI that generates the report using the report generation toolkit  in the method that runs when the web service is call but  it doesnt work either.
    How can I deploy a web service able to use  the report generation toolkit ?, how can I deploy a web service able to use VI server ?
    Any help is really appreciated.
    Erwin Franz 
    Erlab

    The issue you are running into is actually a limitation intended by Microsoft.  They don't want windows services to be able to call into the ActiveX interface for Microsoft Office for security reasons.  If you are deploying your web service to the NI Application Web Server on Windows you will run into this problem since the web server is a Windows Service.
    While I haven't tested this, you may be able to work around this by packaging your Web service with a LabVIEW EXE rather than deploying to the NI Application Web server. 
    Mark
    LabVIEW R&D

  • Problem with the number format in the graph axis with Report Generation Toolkit.

    Hi!
    I'm trying to use the Report Generation Toolkit to plot some graphs in Excel.
    My first problem is that I don't know how to configure the number format in the Excel Set Graph Font.vi so that my numbers are correctly displayed in the graph's axis. The only given option is general (0,0) but this is not enough for me, my numbers can get really small so I need engineering notation or fraccional format.
    Second: I also insert a table with the graph source data, but the numbers are not correctly displayed either: for example: 
    0,75 is shown as: 
    0,750000
    but 1,25  is shown as: 
    1!250!000
    My guess is I am making to much or wrong string to number conversions or Excel is getting it wrong but I can't find my way...
    Can someone help me with this?
    Thanks,
    Isabel

    Here is my VI, it's just a trial so it can look messy...
    Thanks,
    Isabel
    Message Edited by Isa_pm on 01-22-2007 01:12 PM
    Attachments:
    Create report.vi ‏96 KB

  • There is a problem with the left headphone or stereo  headphone jack connection in the ipod touch 2nd generation

    I have had my ipod touch 2nd generation for 3 yrs. Now its been a year with this problem but i never seem to get it fixed because i lost my warranty and repair certificate a year ago. So  the problem is whenever I put in a headphone jack for some reason only the right head phone or right speaker works not the left, but when i place the ipod on the docking port both speakers on my stereo work.
    Now I have taken great care of this thing. Never lost it. I assume that a connection inside the jack port is pushed in from debrie (forgot how to spell that word)  because, I always place my ipod into my pocket. The only way to get the left speaker or headphone to work is to push on the headphone jack so it tilts, then the left speaker works; but when i release it the left speaker or headphone turns off or stop making sound. So i know its not wiring problems its the connection for the headphone jack to the ipods jack's connection for the left speaker. Though microphones work.
    My question is can this be a DIY or do i have to take it in to a local apple store. Problem i lost the warranty and protection repair form or license 2 years ago. I have had no problems with my ipod at all these years until this problem has consisted to happen since last year.
    Anything?
    Thanks,
    Sigma119

    - If you want to replace the headphone jack yourself see:
    iPod Touch Repair - iFixit
    - Apple will only exchange your iPod for a refurbished one for this price, You get a new battery.  However, it may not be worth it for a 2G iPod.
    Apple - Support - iPod - Repair pricing- A third-party place like this one is less expensive. Google from more places.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens

  • Anyone else having WiFi problems with the IPod Touch 5th Generation?

    I upgraded my old IPod Touch 3rd Generation to a 5th Generation yesterday. I've noticed however that for some reason the wi-fi connection on the 5th Generation drops off all of a sudden for no reason at all and I can't figure out why. Anyone else having similar problems? If so what did you do?

    Does the iPod connect OK to other networks?
    Does the iPod see the network?
    Any error messages?
    Do other devices now connect OK?
    Did the iPod connect before?
    If only your network then it could be a problem with your network
    Try the following to rule out a software problem:                 
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on the router
    - Reset network settings: Settings>General>Reset>Reset Network Settings
    - iOS: Troubleshooting Wi-Fi networks and connections
    - Wi-Fi: Unable to connect to an 802.11n Wi-Fi network
    - iOS: Recommended settings for Wi-Fi routers and access points
    - Restore from backup. See:
    iOS: How to back up
    - Restore to factory settings/new iOS device.
    If still problem make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar

  • I can not log on to my itunes account on my second generation ipod but I have no problem with the log on with my ipad.  The password doesn't work on the ipod touch.  Thoughts???

    Trouble connecting to itunes store with my password on my ipod touch (2nd generation) but using the same apple id and password on my ipad2 I don't have a problem connecting to the store.
    Need troubleshooting

    I have the same thing, same issues.  Just came from Colorado using my iPad extensively with no problems.
    Get back home, there is an update on my home computer for Airport Extreme to 7.5.2 which I updated.  Also updates for iPad for 4.3.4 and now last night 4.3.5.
    Still does not work.  I have not taken the iPad to another network locally, but my understanding is that it is not a problem with the iPad but with Airport Extreme's update. I have done all the resets, restarts, and turning on and off Wifi on the iPad and that does not work. 
    I would have to assume Apple is working on it.  Very frustrating since I am on my Mac Pro, iPhone 4, and other things and no problem.

  • HT1998 I have what I believe, though I am not certain, an Airport Extreme 1st generation. My internet speeds on my hardwired pc are running in half and a bit higher on my Mac Pro. Cable claims it is a problem with the router since I can bring the PC speed

    Bear with me please as I have never used the community before. I have an Airport Extreme 1st generation at least I think it is a 1st generation. My PC is hardwired and my Mac Pro, obviously wireless. I have 50/8 mbps service but the speeds on my PC run around 20/8 and 30/8 on the Mac. Cable says it is a problem with the airport since my PC speeds rise to 50 when the airport is disconnected. Does anyone know what to do?

    The simplest way would be to perform a "soft" reset on the AEBS. This type of reset will temporarily disable all of the AEBS's passwords up to five minutes. This should give you ample time to access the AEBS with the AirPort Utility to change it.
    If you don't want to actually change the password, then you can possibly retrieve the password from the OS X Keychain, as follows:
    Run the Keychain Access utility found in \Applications\Utilities
    In the category column (on the left side of the utilities' window), select "All Items."
    In the right column look for your Network Name. It will have a "Kind" of "AirPort network password."
    Double-click on your network name listing.
    Click on "Show password."
    Enter your Mac's administrator's password
    Your wireless network's password should now be displayed.

  • I am having problems with the wifi connection on my ipad 4th generation only 3 weeks old. Have left it back to the shop i bought it in and they said they have to send it away now i am left with no ipad. What after sales support do you give really?

    Does anyone else have problems with the wifi connection on their 4th generation  Mine keeps going off line and its only 3 weeks old.I had the ipad mini and this problem never existed. I brought it back to the shop where i bought it Expert Laois last week and they said they couldnt find a problem but had to take it back today as it keeps disconneting from wifi still, anyway they are sending it back for repair and it am left with no ipad.  After spending in excess of 700e i feel that this is really bad after sales service.  I bought something that i want to use now and cant so what  a waste of money it is .

    Thankyou, but the shop said that they spoken to apple and that they have now changed their policy and that they do not give a replacement.  So are you telling me that their information is false.  Also what should they have done.  This problem has existed since i bought it.?????  What should i do?????

  • What's the best cover for the new iPad (3rd generation).  I've been told by a store employee (university bookstore) that there are problems with the magnetic covers on the newest iPad. Suggestions?

    What's the best cover for the new iPad (3rd generation).  I've been told by a store employee (university bookstore) that there are problems with the magnetic covers on the newest iPad. Suggestions?

    The best cover is the one that suites your needs. Try Google. There are dozens on the market.
    As for the Apple Smart Cover, it does work with the new iPad. There are a few reported issues with it, but that doesn't come close to representing the totality of folks with it.

  • I have a problem updating the new ipod touch 5th generation

    I have a problem updating the new ipod touch 5th generation and I need help:
    With each attempt I receive the message:
    iTunes has detected an iPod in recovery mode.  You must restore this iPod before it can be used with iTunes.
    The iPod only displays a USB cable with an arrow pointing to an iTunes logo.
    I receive a "Are you sure..." message with the 2 options, one to Restore and Update and the other to Cancel.
    Each time I have selected the Restore and Update button and then moved through the acceptance screens.  Then iTunes begins to download the iOS 6.0.1 Software Update, which usually takes about 50 minutes.  During the download I will receive messages that an iPod has been found in restore mode.
    After the download is complete no update occurs to the iPod and iTunes displays the Device Summary screen showing derive Name as iPod and all other items as n/a.
    The iPod was working great without any known issues prior to attempting to update the OS.

    Maybe:
    iTunes for Windows: iTunes cannot contact the iPhone, iPad, or iPod software update server
    Unable to contact the iOS software update server gs.apple.com
    Error 1004, 1013, 1638, 3194: These errors may be the result of the connection to gs.apple.com being redirected or blocked. Follow these steps to resolve these errors:
    Install the latest version of iTunes.
    Check security software. Ensure that communication to gs.apple.com is allowed. Follow this article for assistance with security software. iTunes for Windows: Troubleshooting security software issues.
    Check the hosts file. The restore will fail if there is an active entry to redirect gs.apple.com. Follow iTunes: Advanced iTunes Store troubleshooting to edit the hosts file or revert to a default hosts file. See section "Blocked by configuration: (Mac OS X/Windows) > Rebuild network information".
    Try to restore from another known-good computer and network.
    If the errors persist on another computer, the device may need service.

  • I have a second generation shuffle and even though (after charging ) the green battery light is on - soon after it turns orange and then red. Is there a problem with the battery and is it fixable?

    I have a second generation shuffle and even though (after charging) the green battery light is on it soon turns orange and red. Is there a problem with the battery and if so is it fixable?

    If it's a 2nd gen shuffle, it is probably about six years old at this point.  The cause is likely to be a worn out battery that is no longer able to hold its charge for very long.
    It is technically fixable.  This web site has repair guides
    http://www.ifixit.com/Device/iPod_Shuffle
    But it is very small, so you need to be good at doing such things.  The cost to have a repair shop do the work is likely to be uneconomical, compared to the cost of a brand new 4th gen shuffle ($50), which has more features (and possibly double the storage) plus a one-year warranty.

  • I have a 7th generation ipod, i have a problem with the pause/play button, it no longer works.

    I have a 7th generation ipod, i have a problem with the pause/play button, it no longer works.
    What does it take to make sure it works ????
    Thanks

    If you successfullt restore to factory defaults/new iPod and still have the problem then it is likely a hardware problem and an appointment at the Genius Bar of an Apple store is in order.

  • Does the third generation iPod Nano have allot of problems with it?

    I was wondering if you think that there is an unusual ammount of defective iPod nanos, or iPod nanos with problems.
    I know that forums are mainly a support page, so I'm only going to see posts about PROBLEMS with the iPod, but i wanted some opinions.
    Should i wait to buy the new iPod nano, or should i go ahead and purchase?
    EDIT: Also, remember when steve annouced that the iPod Video could play songs with no song skip. I think it's called "continuous playback". Can the nano do that?
    And last of all, does the nano back scratch as easily as the 1st gen nanos?
    Thanks in advance,
    ZLH
    Message was edited by: ZLH

    I am on my third Nano3 - the store replaced it without hesitation. This one is (knock on wood) working very well. If you are close to an Apple Store, the risk is low. And they ARE cool!
    They indicated that they had not had many returns, so it might have been just a bit of bad luck (after all, it is the 13th iPod in my family, and my 7th...)
    I have not tested the gapless play.
    I do wish, they had stayed with the Aluminum finish on the back. I never used a cover on my Nano 2, and it looks great. This one has the marring typical of polished SS backs. You can polish it out, of course.

Maybe you are looking for

  • Issue re transfering my iTunes library to an external hard disc.

    I have moved my iTunes library to an external hard drive to save space on the iMac's own disc, using the instructions from the Apple support site - that is, I went to Preferences - Advanced - Change location and then consolidated my music. I haven't

  • Fat 32 no longer working on OS X ???

    on my old iBook and on my iMac G5, Fat32 formated drives work not problem. Now when i hook a drive or flashdrive up with fat32 formatting, my Macbook has no idea what to do with it. It recognizes it, but gives incorrect size, and does not show the fi

  • How to copy a Worksheet into different Report

    HI, How to basically copy paste a worsheet in A Report as a worksheet in B Report. Thanks, Himanshu Tiwari

  • Re: Decode issue

    Hi, My following statement does not return anything. Can someone help me to find my mistake pl? l_level is a varchar2(2) variable. It holds value '3'. SELECT value FROM tab_value WHERE TRIM(pcode) = DECODE(TRIM(l_level), '1', '031', TRIM(l_level), '2

  • About ALV in Web dynpro for Java

    hi everybody: Web dynpro for Java didn't support ALV, i don't know whether it have some UI or other  like  ALV if it have ,please tell me, thank you verymuch! Best Regards _