Trying (and failing) to read XML multi-dimensional data array

i.e.
<mpp:Vehicle>
  <mpp:Vehicle_Rgtrn_Ref>?</mpp:Vehicle_Rgtrn_Ref>
  <mpp:Vehicle_Model_Code>?</mpp:Vehicle_Model_Code>
  <mpp:DrivingRestrictionCode>?</mpp:DrivingRestrictionCode>
  <mpp:Object_Mnfct_Year>?</mpp:Object_Mnfct_Year>
  <mpp:Building_Number_const>1</mpp:Building_Number_const>
  <mpp:Building_Name>The Slums</mpp:Building_Name>
  <mpp:Sub_Building_Name>Flat 1</mpp:Sub_Building_Name>
  <mpp:Postcode_Area_Ref>???? ???</mpp:Postcode_Area_Ref>
  <mpp:Covers>
    <mpp:Cover>?</mpp:Cover>
    <mpp:Cover>?</mpp:Cover>
    <mpp:Cover>?</mpp:Cover>
  </mpp:Covers>
</mpp:Vehicle>
<mpp:Vehicle>........
I'm currently trying to create a web service to read a SOAP message containing such XML. When reading the message, EDQ converts the singleton nodes in each Vehicle node group to a stringarray but only provides the last Cover node in each Vehicle in a stringarray. I'm not in control of the XML structure so trying to get the supplier to concatenate each vehicles covers into a delimited list within a single node may be a battle.
Anybody else ever encountered this? Is it possible or am I flogging a dead horse trying to achieve this.
Thanks in advance.
Jon

Hi Richard,
Thank you for your suggestion to my colleague Jon regarding -multi in option. As he said, w
hat we currently get when we have a SOAP message containing <Covers><Cover>A</Cover><Cover>B</Cover><Cover>C</Cover></Covers> is an EDQ stringarray containing the value {C}.
I've tried your suggestion
and ran the wsdlizer with the -multi in option but the wsdlizer fails with the following error:
H:\Workspaces\svn\edqTrunk\EDQ\WebServices\WSDL>java -jar wsdlizer.jar -o lv-mpp-query-request-ws.jar -multi in MPP_Query_Request_Service.wsdl
INFO: 10-Sep-2013 13:24:07: wsimport succeeded
Problem encountered during annotation processing;
see stacktrace below for more information.
com.datanomic.director.webservices.apt.ScannerException: multi-record request element must contain single nested list
com.datanomic.director.webservices.apt.Scanner$Processor$Servicer.makeDef(Scanner.java:747)
etc.
SEVERE: 10-Sep-2013 13:24:07: APT scan failed
Unfortunately, the error message is not very helpful to me.  Do you know what it is whingeing about?  I've also tried running the wsdlizer on our old wsdl files, i.e. before we introduced the parent tag <Covers> around <Cover>, but this failed with the same result when running with the -multi in option
The wsdl file, with most of the XML tags removed for clarity and brevity, looks like this:
<wsdl:definitions xmlns:schema="http://xxxx/MppService" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://xxxx/MppService" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" name="LV" targetNamespace="http://xxxx/MppService">
   <wsdl:types>
      <xsd:schema xmlns="http://xxxx/MppService" xmlns:xsd="http://www.w3.org/2001/XMLSchema" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://xxxx/MppService">
         <xsd:element name="request">
            <xsd:complexType>
               <xsd:sequence>
                  <xsd:element minOccurs="1" name="CorrelationUID" type="xsd:string"/>
                  <xsd:element minOccurs="1" name="RequestorName" type="xsd:string"/>
                  <xsd:element minOccurs="1" name="Brands" type="brandType"/>
                  <xsd:element minOccurs="1" name="Parties" type="partiesType"/>
                  <xsd:element minOccurs="1" name="InsuredObjects" type="insuredObjectsType"/>
               </xsd:sequence>
            </xsd:complexType>
         </xsd:element>
         <xsd:element name="response">
            <xsd:complexType>
               <xsd:sequence>
                  <xsd:element name="CorrelationUID" type="xsd:string"/>
                  <xsd:element name="MPPResponseUID" type="xsd:string"/>
                  <xsd:element maxOccurs="unbounded" minOccurs="1" name="Brand" type="schema:brandsType"/>
               </xsd:sequence>
            </xsd:complexType>
         </xsd:element>
         <xsd:complexType name="brandsType">
            <xsd:sequence>
               <xsd:element name="BrandCode" type="xsd:string"/>
               <xsd:element name="ResponseMPD">
                  <xsd:complexType>
                     <xsd:sequence>
                        <xsd:element minOccurs="0" name="FunctionAvailable" type="xsd:string"/>
                        <xsd:element minOccurs="0" name="MessageCode" type="xsd:string"/>
                     </xsd:sequence>
                  </xsd:complexType>
               </xsd:element>
               <xsd:element name="ResponseCI">
                  <xsd:complexType>
                     <xsd:sequence>
                        <xsd:element minOccurs="0" name="FunctionAvailable" type="xsd:string"/>
                        <xsd:element minOccurs="0" name="MessageCode" type="xsd:string"/>
                     </xsd:sequence>
                  </xsd:complexType>
               </xsd:element>
            </xsd:sequence>
         </xsd:complexType>
         <xsd:complexType name="brandType">
            <xsd:sequence>
               <xsd:element maxOccurs="2" minOccurs="1" name="BrandCode" type="xsd:string"/>
            </xsd:sequence>
         </xsd:complexType>
         <xsd:complexType name="partiesType">
            <xsd:sequence>
               <xsd:element maxOccurs="unbounded" minOccurs="1" name="Party" type="schema:partyType"/>
            </xsd:sequence>
         </xsd:complexType>
         <xsd:complexType name="partyType">
            <xsd:sequence>
               <xsd:element minOccurs="0" name="PartyUID" type="xsd:string"/>
               <xsd:element minOccurs="1" name="RoleCode" type="xsd:string"/>
            </xsd:sequence>
         </xsd:complexType>
         <xsd:complexType name="insuredObjectsType">
            <xsd:sequence>
               <xsd:element maxOccurs="1" minOccurs="0" name="Properties" type="schema:propertiesType"/>
               <xsd:element maxOccurs="1" minOccurs="0" name="Vehicles" type="schema:vehiclesType"/>
            </xsd:sequence>
         </xsd:complexType>
         <xsd:complexType name="propertiesType">
            <xsd:sequence>
               <xsd:element maxOccurs="unbounded" minOccurs="0" name="Property" type="schema:propertyType"/>
            </xsd:sequence>
         </xsd:complexType>
         <xsd:complexType name="vehiclesType">
            <xsd:sequence>
               <xsd:element maxOccurs="unbounded" minOccurs="0" name="Vehicle" type="schema:vehicleType"/>
            </xsd:sequence>
         </xsd:complexType>
         <xsd:complexType name="propertyType">
            <xsd:sequence>
               <xsd:element minOccurs="0" name="BuildingNumber" type="xsd:string"/>
               <xsd:element minOccurs="0" name="BuildingName" type="xsd:string"/>
               <xsd:element maxOccurs="1" minOccurs="0" name="Covers" type="schema:coversType"/>
            </xsd:sequence>
         </xsd:complexType>
         <xsd:complexType name="coversType">
            <xsd:sequence>
               <xsd:element minOccurs="1" name="Cover" type="xsd:string"/>
            </xsd:sequence>
         </xsd:complexType>
         <xsd:complexType name="vehicleType">
            <xsd:sequence>
               <xsd:element minOccurs="0" name="VehicleRegistrationMark" type="xsd:string"/>
               <xsd:element minOccurs="1" name="ABIBrokernetCode" type="xsd:string"/>
            </xsd:sequence>
         </xsd:complexType>
      </xsd:schema>
   </wsdl:types>
   <wsdl:message name="request">
      <wsdl:part name="parameters" element="schema:request"/>
   </wsdl:message>
   <wsdl:message name="response">
      <wsdl:part name="parameters" element="schema:response"/>
   </wsdl:message>
   <wsdl:portType name="LVEI">
      <wsdl:documentation>Operations</wsdl:documentation>
      <wsdl:operation name="process">
         <wsdl:documentation>Process a query request</wsdl:documentation>
         <wsdl:input message="schema:request"/>
         <wsdl:output message="schema:response"/>
      </wsdl:operation>
   </wsdl:portType>
   <wsdl:binding name="LVBinding" type="tns:LVEI">
      <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
      <wsdl:operation name="process">
         <soap:operation soapAction="http://xxxx/MppService"/>
         <wsdl:input>
            <soap:body use="encoded"/>
         </wsdl:input>
         <wsdl:output>
            <soap:body use="literal"/>
         </wsdl:output>
      </wsdl:operation>
   </wsdl:binding>
   <wsdl:service name="LV-MPPQRS-v01">
      <wsdl:port name="LVEndpoint" binding="tns:LVBinding">
         <soap:address location="https://xxxx/LV-MPPQRS-v01"/>
      </wsdl:port>
   </wsdl:service>
</wsdl:definitions>
A colleague created the wsdl, it's been checked a number of times but no one can find anything dodgy that might account for the wsdlizer error we're getting.  So we're a bit lost now, the data coming in to our EDQ process is incomplete, which makes further development of out EDQ processes somewhat challenging.
Any help would be greatly received.  Also happy to send any more information you may require.
Jules

Similar Messages

  • I have tried and failed to copy my iTunes library and playlists from my Windows 8 desktop to my Windows 7 laptop using an external hard drive. Can it be done? Help would be appreciated.

    I have tried and failed to copy my iTunes library and playlists from my Windows 8 desktop to my Windows 7 laptop using an external hard drive. Can it be done? Help would be appreciated. I have followed instructions found online but the library of music doesn't pull in.  Thanks!
    Nate

    Migrate an iTunes library from one computer to another
    These are two possible approaches that will normally work to move an existing library to a new computer.
    Method 1
    Backup the library with this User Tip.
    Deauthorize the old computer if you no longer want to access protected content on it.
    Restore the backup to your new computer using the same tool used to back it up.
    Keep your backup up-to-date in future.
    Method 2
    Connect the two computers to the same network. Share your <User's Music> folder from the old computer and copy the entireiTunes library folder into the <User's Music> folder on the new one. Again, deauthorize the old computer if no longer required.
    Both methods should give the new computer a working clone of the library that was on the old one, with ratings, play counts, playlists etc. preserved. As far as iTunes is concerned this is still the "home" library for your devices so you shouldn't have any issues with iTunes wanting to erase and reload.
    I'd normally recommend method 1 since it establishes an ongoing backup for your library and unlike copying with Windows Explorer the process can be resumed if it is interrupted and it will continue to the next item if there are any read/access errors.
    Note if you have iOS devices and haven't moved your contacts and calendar items across then you should create one dummy entry of each in your new profile and iTunes should  merge the existing data from the device.
    If your media folder has been split out from the main iTunes folder you may need to do some preparatory work to make it easier to move. See Make a split library portable.
    Should you be in the unfortunate position where you are no longer able to access your original library or a backup then then seeRecover your iTunes library from your iPod or iOS device for advice on how to set up your devices with a new library with the maximum preservation of data.
    tt2

  • HT1800 How can I add a Epson Stylus SX445w to my mac Book Pro this is the second one I've tried and failing miserably...it should be so simple...spoken to the help line at Epson and they say it's down to Apple !! Somebody please help me

    How can I add a Epson Stylus SX445w to my Mac Book Pro
    This is the second one I've tried and failing miserably...it should be so simple...I've installed poken to the help line at Epson and they say it's down to Apple !! Somebody please help me

    Yes I did everything that I was instructed to do!
    Cheers
    Joyce

  • C150 The case application tried and failed 3 times...

    Hi All,
    Requesting some help with the IronPort C150 Alert below. Thanks for any suggestions, pointers, or experience you can provide regarding this issue.
    The Warning message is:
    The case application tried and failed 3 times to successfully complete an update. This may be due to a network configuration issue or temporary outage.
    Version: 7.5.1-102
    Thank you,
    --Liko

    Hi again,
    Luckily I found this post which was not located using the search utility.
    'CASE updates incorrectly timeout on 1U appliances'
    --Liko

  • BW Star Scheme & Multi dimensional Data Modelling

    Hi BW Experts,
    Can any one please let me know when i have to check in help.sap or serivices.sap
    for detailed info on BW Star Scheema and Multi dimensional Data Modelling and how it is used in BW.
    Please update me where i have to check for this info
    Thanks

    hi...
    star schema..
    Please check the threads below..
    Differences between Star Schema and extended Star Schem
    What is the difference between Fact tables F & E?
    Invalid characters erros
    mdm..
    http://help.sap.com/bp_biv133/documentation/Multi-dimensional_modeling_EN.doc
    hope this helps,...

  • Upon "export media", CS4 tries and fails to load import/export apps

    Now that I've reinstalled CS4 PPro over the trial version-turned-purchased-version of Premiere Pro (that dumb, known Adobe defect where CODECs other than DV are missing on the web purchased version), everything is working well except - when I go to export a sequence to Media Encoder, it says that it must reinstall first the exporter app, it fails on that, then it tries to reinstall the importer app and fails at that too, at which time it opens Media Encoder and seems to perform fine.
    Why those obnoxious and very time consuming attempts to reinstall the importer/exporter apps?  Any solution?
    Thanks!
            Jim

    Yes, but you will not like it.
    Uninstall everuthing Adobe, run the Cleanscript 2 or 3 times, then reinstall. Your problem is caused by not uninstalling the trial completely before installing the full version.

  • After iCloud backup restore, how can I prevent Podcasts from constantly trying (and failing) to download podcast episodes no longer in iTunes store?

    I recently turned my iPhone in to a Genius bar and had it repaired under the iPhone 5 Sleep/Wake Button Replacement Program. Congruent to that repair, I had to do a factory reset (contetn and settings). Once I got it back, I restored from iCloud backup. When I re-opened the podcats app, it began to redownload all old episodes I had on the iPhone before.
    Of these many podcasts, 5 episodes were from 2 defunct podcasts no longer on the iTunes store. It gets download errors on these episodes. I can get it to stop retrying (and failing). I have tried canceling the downloads. I have tried deleting the episodes (and the podcasts). I have tried deleting them then canceling the downloads. I have tried marking them as played and canceling the downloads. I cannot get them to be purged from the catalog and not try to redownload.
    Outside of someone with access to the iCloud backend who can remove the associations, I don't know if anyone here can help me. But I am open to suggestions.
    Thanks.
    (also perhaps of relevance, the period between the wipe and restore included the release of the 2.0 app )

    Hello DonaldGuy,
    It sounds like you have some podcast subscriptions that are constantly trying to download but they are not in the iTunes Store anymore prompting an error message. You can use the edit button in the susbcriptions list to delete the subscribed podcasts in question, to prevent the error messages from happening:
    Podcasts at a glance
    http://help.apple.com/iphone/7/#/iphbaeb5b5cb
    Then I would backup to iCloud to update the most current iCloud backup to reflect this:
    Back up to iCloud
    If you're using iCloud, it can automatically back up your data if you've chosen this option. You can verify your iCloud backup and make sure that it's up to date by following these steps:
    Tap Settings > iCloud > Storage & Backup.
    Turn on iCloud Backup if it's off.
    Tap Back Up Now.
    iOS: Back up and restore your iOS device with iCloud or iTunes
    http://support.apple.com/kb/ht1766
    Thank you for using Apple Support Communities.
    Cheers,
    Sterling

  • Reading a multi-dimensional array from a binary file?

    Hi, experts!
    Once again I'm stuck with a basic problem in labview. I've ben trying to make a VI that reads a binary measurement file that consists of a 2D array, i.e. n channels of sampled data. This seems to be easier said than done in LV and I the only example I find treats 1D-arrays exclusively. Take a look at the test file attached to this message. I saved it as a labview 7.1 file.
    Eternally grateful for all help
    Einar
    Attachments:
    W&R binary array.vi ‏115 KB

    Your write operation results into 1000 consecutive values written on disk without any array length indication. You can't read that data directly into a 2D array because the sizes are unknown to the Read function. You should read the whole file into a 1D array and the reshape the array into a 500 by 2 array. See the pict to figure how the Read/Write operations perform on arrays.
    Message Edité par JeanPierre le 03-14-2006 09:00 AM
    LabVIEW, C'est LabVIEW
    Attachments:
    Example_BD.png ‏18 KB

  • Trying (and failing) to install Adobe AIR

    checking for pow in -lm... yes
    checking for zlibVersion in -lz... no
    configure: error: zlib not installed
    Aborting...
    error: Build failed
    I'm using Arch64, so my zlib is x86_64, but I do have the lib32-zlib from [multilib]. Do I need a bin32-zlib?
    I'm trying to install bin32-adobe-air from AUR, by the way. It requires lib32-libpng12.
    EDIT: A recent update has solved this problem. But now the extraction of AdobeAIRSDK.tbz2 keeps failing.
    http://pastebin.ca/1985755
    Last edited by YAOMTC (2010-11-09 03:53:59)

    If you are in the USA and other places with iCloud you can redownload then by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    You can always redownload apps at no additional cost as long as you are signed into the same iTunes account that originally purchased them.

  • I have firefox for several years on my Ubuntu operating system, and i tried and failed to update it, dont know how my ex friend put originally put on firefox, ?

    Please help a desparate man, smile. A computer tech, , put ubuntu on my computer and installed firefox several years ago. Now when I try to update it to the new version, it wont update. I do see a note on the firefox instructions that if linus was placed on my computer with a distribution package, I think it said, whatever a distribution package is, I have to wait for an updated version, I think it said. I dont know if the tech who installed it used a distrution package and he is gone elsewhere and I cant ask him. I am a computer imbecile so thats all I know, and I cant get to many sites now because they only take updated firefox, PS I dont see any word help to click, where is this word located if I ever need to use it? Also lately after I tried to update firefox, not before, when I try to download anything to view that thing that starts with a p, three letters, like a medical article, it wont take me there, I merely get a box saying I am trying to dowload it, maybe that is linked to me not having an updated version of firefox. Please remember in your answer, I know almost nothing about computers. Thanks a lot. .
    Steve Lord

    Ubuntu/9.04 (jaunty) is an old version of Linux from 2009. You're gonna need to upgrade to a newer operating system to use a more recent version of Firefox.
    My advice is to consult with the Ubuntu support forums to find out if your PC can support the latest version of Ubuntu, or if you should switch to a different "flavor" of Linux.
    http://ubuntuforums.org/

  • File Adapter : read XML file with data validation and file rejection ?

    Hello,
    In order to read a XML file with the file adapter, I have defined a XSD that I have imported to my project.
    Now the File Adapter reads the file correctly but it does not give an error when:
    - the data types are not valid. Ex: dateTime is expected in a node and a string is provided
    - the XML file has invalid attributes.
    How can I manage error handling for XML files ?
    Should I write my own Java XPath function to validate the file after is processed ? (here is an example for doing this : http://www.experts-exchange.com/Web/Web_Languages/XML/Q_21058568.html)
    Thanks.

    one option is to specify validateXML on the partnerlink (that describes the file adapter endpoint) such as shown here
    <partnerLinkBinding name="StarLoanService">
    <property name="wsdlLocation"> http://<hostname>:9700/orabpel/default/StarLoan/StarLoan?wsdl</property>
    <property name="validateXML">true</property>
    </partnerLinkBinding>
    hth clemens

  • Tries and fails to update at each browser start. How do I turn off auto update attempt?

    Slows Firefox loading and update attempt always fails.
    I just want to turn off the auto-update feature. How??

    davefromtemple wrote:
    Thomas... another bad answer.  When you say...
    Your Mac will never force you to update.  WRONG.
    When I updated to the latest software updates... I was asked if I would like automatic updates.
    Unfortunately, I pressed Yes.
    Now, I'm in the middle of working on something and my display goes bright white... then I get a message that says "Installing Software Update"... then the display goes bright white... the computer turns off and I need to sign on again.
    AND I can't find a way to turn off automatic software updates!
    You are posting in the wrong forum, please try to keep up.

  • Help: trying (and failing) to watch NASA tv

    i'm actually asking this question for my husband who's got an imac g5. he's trying to watch nasa tv and keeps getting a message that says "file may not play because it was compressed with a codec that's not supported." anyone know what he can do about this?

    Not sure if it is possible to view streaming content
    from a web page through a video player such as
    VLC from http://www.videolan.org/ or if the file has
    to be in the computer then played by the software.
    There may be plug-ins for various web browsers
    and of them, these plug-ins could be set to use
    specific applications to play their imbedded content.
    Firefox has a list of applications (via plugin?) it uses.
    So, maybe that is a path to check into...
    Oh, you've duplicate posted in here.
    And, I've asked the duplicate be re-
    moved, as I have replied to this one.
    Good luck & happy computing!

  • Trying (and failing) to require authentication for Wikis

    Hi folks. Got our Wiki Server up and running finally. However right now it's wide open to anyone on our LAN to post or edit Wikis. Whenever we specify that only authenticated users or only members or our Wiki group can post, we DO get the login window - only no logins (with the exception of the OD admin) are allowed through. We've checked and re-checked permissions 1000 times, tried every trick in the book - must be doing something knuckleheaded, any advice or thoughts would be great.
    Thanks!
    Jesse

    Server Admin -> web
    select the website in question, make sure it is checked as enabled
    Server Admin -> web -> Web Services
    make sure the users/groups that require access are displayed, otherwise click plus sign and add them
    Check Wiki and Blog
    etc...
    save
    Workgroup Manager -> Groups Icon
    Select the correct group
    Select the website that you want (www.your_domain.com) from the popup menu where it says : Enable the following service...
    Check Wiki and Blog
    etc...
    save
    Server Admin -> web
    Stop
    Start
    That should do it...
    If you try to access the wiki on localhost it won't work, you need to go to the actual domain
    http://www.your_domain.com
    on an intranet if you are using private dns you can create a test website for example
    DNS -> your-server-name.mac.private. -> 192.168.1.150
    and you select the correct private site, you can
    http://your-server-name.mac.private and you should see it fine
    Best of luck...

  • Trying (and failing) to delete photos in iPhoto '09

    I am trying to delete some photos in iPhoto. I have used the option to move the photos to trash (the trash in iPhoto) - then used the option to empty the iPhoto trash. The pictures are successfully removed from the library and the trash box. However, when I have done this iPhoto will not let me quit and if I force quit, the next time iPhoto is launched the deleted photos are still there.
    Any suggestions please?

    backup and rebuild your library - depress the option and command keys and rebuild from the last automatic database backup- if that does not do it use the remaining options - if that does not do it use iPhoto Library Manager - http://www.fatcatsoftware.com/iplm/ -
    LN

Maybe you are looking for

  • Upload XML to internal table and vice versa in SAP 4.6C

    Hi,    Happy New Year to you all!    We are using 46C and I am beginning to learn about XML. We have a requirement to (1) upload an XML file into an internal table as well as (2) create an XML file from an internal table.    I read some of the posted

  • Unable to install Itunes,getting Apple mobile device error

    Itunes wouldn't launch so I tried to reinstall it and I am consistently geting the error message that "Apple Mobile Device failed to start, verify you have sufficient privilages to start sytem services.  I have deleted Itunes, emptied the temp folder

  • " Waiting for approval " until when !????

    Hi  i have a nokia N8 with the following product code 059D1M2 im always checking for the update realase , now its been a month evryday i check the updates availability i find " Waiting for approval"  is nokia joking on us or  what !!?

  • CRM On Demand Desktop customization of new button

    Hi all, Can we create a new button for custom object in CRM On Demand Desktop. I have customized the package to synchronise the Custom Object 1 but couldn't able to find the code to add new button for the custom object. Please let me know if this is

  • Assigning value in the records

    Hi, I have a business scenario in which I am creating vendor and extending it for 320 company codes. Now suppose I have to make change in the phone number in the data manager in place of XYZ to ABC. Do I have to go and make change 320 place in the da