Import mapping after webservice call

0
Good morning,   I encounter a problem with the XML mapping after a websrvice call. The webservice I use; https://www.e-abs.nl/VnabEabsWebServices/services/ClaimWebservice_6.2?wsdl The generated import mapping is listed below. Mapping goes fine until the part that is in the red square   I traced the XML import and no errors or funny things there. The message I receive looks fine to me (it contains the content I'm looking for) and is listed below; Response message received in Tube [ MesageDumpingTube ] Instance [ 1 ] Engine [ Metro/2.1 (branches/2.1-6728; 2011-02-03T14:14:58+0000) JAXWS-RI/2.2.3 JAXWS/2.2: Stub for https://www.e-abs.nl/VnabEabsWebServices/services/ClaimWebservice_6.2 ] Thread [ MxRuntimeSystem-action-dispatcher-12 ]: <?xml version='1.0' encoding='UTF-8'?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">   <soapenv:Body>     <ns1:retrieveClaimResponse xmlns:ns1="https://www.e-abs.nl/VnabEabsWebServices/services/" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">       <retrieveClaimReturn xmlns:ns2="http://www.logicacmg.com/EabsWebservices" xsi:type="ns2:ClaimVO">         <PHCharacteristics xsi:nil="true" xsi:type="xsd:string" />         <appealAmount xsi:nil="true" xsi:type="xsd:double" />         <claimComponentVOs xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" soapenc:arrayType="ns2:ClaimComponentVO[1]" xsi:type="soapenc:Array">           <claimComponentVOs xsi:type="ns2:ClaimComponentVO">             <claimAgreementLineVOs soapenc:arrayType="ns2:ClaimAgreementLineVO[1]" xsi:type="soapenc:Array">               <claimAgreementLineVOs xsi:type="ns2:ClaimAgreementLineVO">                 <claimAgreementLineId xsi:type="xsd:int">2909811</claimAgreementLineId>                 <claimRiskCarrierContactVOs soapenc:arrayType="ns2:ClaimRiskCarrierContactVO[1]" xsi:type="soapenc:Array">                   <claimRiskCarrierContactVOs xsi:type="ns2:ClaimRiskCarrierContactVO">                     <nonVnabContactId xsi:nil="true" xsi:type="xsd:int" />                     <userOrGroupId xsi:type="xsd:int">10685</userOrGroupId>                   </claimRiskCarrierContactVOs>                 </claimRiskCarrierContactVOs>                 <claimRiskCarrierType xsi:type="ns2:ClaimRiskCarrierType">VNAB_INSURER</claimRiskCarrierType>                 <claimSubAgreementLineVOs soapenc:arrayType="ns2:ClaimSubAgreementLineVO[0]" xsi:type="soapenc:Array" />                 <indicationVNABInsurer xsi:type="xsd:string">YES</indicationVNABInsurer>                 <insurerReferenceNumber xsi:type="xsd:string">01-136-02061-17-1</insurerReferenceNumber>                 <nonVnabInsurerContactEmail xsi:nil="true" xsi:type="xsd:string" />                 <nonVnabInsurerId xsi:nil="true" xsi:type="xsd:int" />                 <poolVersionId xsi:nil="true" xsi:type="xsd:int" />                 <rankingNumber xsi:type="xsd:int">1</rankingNumber>                 <roleInsurer xsi:type="ns2:RoleInsurerType">manageclaim.role.lead.insurer</roleInsurer>                 <share xsi:type="xsd:double">100.0</share>                 <shortName xsi:type="xsd:string">HDI Global</shortName>                 <vnabInsurerId xsi:type="xsd:int">920</vnabInsurerId>               </claimAgreementLineVOs>             </claimAgreementLineVOs>             <claimComponentId xsi:type="xsd:int">963284</claimComponentId>             <insuredValue xsi:type="xsd:string">2500000</insuredValue>             <riskComponentId xsi:type="xsd:int">2121183</riskComponentId>             <riskComponentNr xsi:type="xsd:int">1</riskComponentNr>             <riskTitle xsi:type="xsd:string">140 Aansprakelijkheid</riskTitle>           </claimComponentVOs>         </claimComponentVOs>         <claimDescription xsi:nil="true" xsi:type="xsd:string" />         <claimId xsi:type="xsd:int">896973</claimId>         <claimPlacementVO xsi:type="ns2:ClaimPlacementVO">           <bidsWithProvisionalCoverage xsi:nil="true" xsi:type="xsd:string" />           <contractPeriodInDays xsi:type="xsd:int">0</contractPeriodInDays>           <contractPeriodInMonths xsi:type="xsd:int">12</contractPeriodInMonths>           <contractPeriodInyears xsi:type="xsd:int">0</contractPeriodInyears>           <creationDateTime xsi:type="xsd:dateTime">2016-12-29T11:43:46.326Z</creationDateTime>           <creationUser xsi:type="xsd:string">Beemer,J.</creationUser>           <description xsi:type="xsd:string">Wijz. ass.verdeling</description>           <endDate xsi:nil="true" xsi:type="xsd:dateTime" />           <endDateStr xsi:nil="true" xsi:type="xsd:string" />           <expirationDate xsi:type="xsd:dateTime">2017-12-31T23:00:00.000Z</expirationDate>           <expirationDateStr xsi:nil="true" xsi:type="xsd:string" />           <indicationMigrated xsi:type="xsd:boolean">false</indicationMigrated>           <placementID xsi:type="xsd:int">1052412</placementID>           <placementType xsi:type="xsd:string">placement.type.Change</placementType>           <provisionalCoverageAsked xsi:nil="true" xsi:type="xsd:boolean" />           <startDate xsi:type="xsd:date">2017-01-01</startDate>           <startDateStr xsi:nil="true" xsi:type="xsd:string" />           <status xsi:type="xsd:string">placement.status.active</status>           <tacitRenewal xsi:type="xsd:boolean">true</tacitRenewal>           <title xsi:type="xsd:string">01-01-2017 Wijz. ass.verdeling</title>           <totalInsuredValue xsi:type="xsd:string">2500000</totalInsuredValue>           <versionNumber xsi:nil="true" xsi:type="xsd:int" />         </claimPlacementVO>         <claimRecordId xsi:type="xsd:int">656024</claimRecordId>         <claimStatusType xsi:type="ns2:ClaimStatusType">claim.status.approved</claimStatusType>         <currency xsi:type="xsd:string">EUR</currency>         <damageDate xsi:type="xsd:dateTime">2017-01-27T00:00:00.000Z</damageDate>         <damageLocation xsi:type="xsd:string">Hertogswetering 163-167, UTRECHT</damageLocation>         <damageRegulationCompetence xsi:type="xsd:boolean">false</damageRegulationCompetence>         <damageSubject xsi:type="xsd:string">Zaaksch. derden - water</damageSubject>         <damageTypeId xsi:type="xsd:int">59</damageTypeId>         <documentIds xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" soapenc:arrayType="xsd:int[5]" xsi:type="soapenc:Array">           <documentIds xsi:type="xsd:int">3141100</documentIds>           <documentIds xsi:type="xsd:int">3141102</documentIds>           <documentIds xsi:type="xsd:int">3141098</documentIds>           <documentIds xsi:type="xsd:int">3141099</documentIds>           <documentIds xsi:type="xsd:int">3141101</documentIds>         </documentIds>         <firstExpert xsi:nil="true" xsi:type="xsd:string" />         <indicationAppealDamage xsi:type="xsd:boolean">false</indicationAppealDamage>         <insurerShortName xsi:type="xsd:string">HDI Global</insurerShortName>         <note xsi:nil="true" xsi:type="xsd:string" />         <referenceNumber xsi:type="xsd:string">Sch299900</referenceNumber>         <secondExpert xsi:nil="true" xsi:type="xsd:string" />         <thirdExpert xsi:nil="true" xsi:type="xsd:string" />         <versionNumber xsi:type="xsd:int">1</versionNumber>       </retrieveClaimReturn>     </ns1:retrieveClaimResponse>   </soapenv:Body> </soapenv:Envelope>       https://www.e-abs.nl/vnabeabswebservices/services/:retrieveclaimresponse|retrieveclaimreturn|claimcomponentvos|item|claimagreementlinevos|item|claimagreementlineid maps to member 'ClaimAgreementLineId'                 https://www.e-abs.nl/vnabeabswebservices/services/:retrieveclaimresponse|retrieveclaimreturn|claimcomponentvos|item|claimagreementlinevos|item|claimriskcarriertype maps to member 'ClaimCarrierType'                 https://www.e-abs.nl/vnabeabswebservices/services/:retrieveclaimresponse|retrieveclaimreturn|currency maps to member 'Currency'                 https://www.e-abs.nl/vnabeabswebservices/services/:retrieveclaimresponse|retrieveclaimreturn|indicationappealdamage maps to member 'IndicationAppealDamage'                 https://www.e-abs.nl/vnabeabswebservices/services/:retrieveclaimresponse|retrieveclaimreturn|appealamount maps to member 'AppealAmount'                 https://www.e-abs.nl/vnabeabswebservices/services/:retrieveclaimresponse|retrieveclaimreturn|claimcomponentvos|item|claimagreementlinevos|item|nonvnabinsurerid maps to member 'NonVnabInsurerId'                 https://www.e-abs.nl/vnabeabswebservices/services/:retrieveclaimresponse|retrieveclaimreturn|claimdescription maps to member 'ClaimDescription'                 https://www.e-abs.nl/vnabeabswebservices/services/:retrieveclaimresponse|retrieveclaimreturn|claimstatustype maps to member 'ClaimStatusType'                 https://www.e-abs.nl/vnabeabswebservices/services/:retrieveclaimresponse|retrieveclaimreturn|claimrecordid maps to member 'ClaimRecordId'                 https://www.e-abs.nl/vnabeabswebservices/services/:retrieveclaimresponse|retrieveclaimreturn|damagesubject maps to member 'DamageSubject'                 https://www.e-abs.nl/vnabeabswebservices/services/:retrieveclaimresponse|retrieveclaimreturn|indicationclaimamountunknown maps to member 'IndicationClaimAmountUnknown'                 https://www.e-abs.nl/vnabeabswebservices/services/:retrieveclaimresponse|retrieveclaimreturn|claimcomponentvos|item|claimagreementlinevos maps to object 'eABSGateway.ArrayOf_tns1_ClaimAgreementLineVO'                 https://www.e-abs.nl/vnabeabswebservices/services/:retrieveclaimresponse|retrieveclaimreturn|claimcomponentvos|item maps to object 'eABSGateway.ClaimComponentVO'                 https://www.e-abs.nl/vnabeabswebservices/services/:retrieveclaimresponse|retrieveclaimreturn|claimcomponentvos|item|claimagreementlinevos|item|share maps to member 'Share'                 https://www.e-abs.nl/vnabeabswebservices/services/:retrieveclaimresponse|retrieveclaimreturn|insurershortname maps to member 'InsurerShortName'                 https://www.e-abs.nl/vnabeabswebservices/services/:retrieveclaimresponse|retrieveclaimreturn|estimatedclaimamount maps to member 'EstimatedClaimAmount'                 https://www.e-abs.nl/vnabeabswebservices/services/:retrieveclaimresponse|retrieveclaimreturn maps to object 'eABSGateway.ClaimVO'                 https://www.e-abs.nl/vnabeabswebservices/services/:retrieveclaimresponse|retrieveclaimreturn|claimcomponentvos|item|claimagreementlinevos|item|insurerreferencenumber maps to member 'InsurerReferenceNumber'                 https://www.e-abs.nl/vnabeabswebservices/services/:retrieveclaimresponse|retrieveclaimreturn|claimcomponentvos|item|claimagreementlinevos|item maps to object 'eABSGateway.Item'                 https://www.e-abs.nl/vnabeabswebservices/services/:retrieveclaimresponse|retrieveclaimreturn|claimcomponentvos maps to object 'eABSGateway.ArrayOf_tns1_ClaimComponentVO'                 https://www.e-abs.nl/vnabeabswebservices/services/:retrieveclaimresponse|retrieveclaimreturn|damagetypeid maps to member 'DamageTypeId'                 https://www.e-abs.nl/vnabeabswebservices/services/:retrieveclaimresponse|retrieveclaimreturn|firstexpert maps to member 'FirstExpert'                 https://www.e-abs.nl/vnabeabswebservices/services/:retrieveclaimresponse maps to object 'eABSGateway.RetrieveClaimResponse'                 https://www.e-abs.nl/vnabeabswebservices/services/:retrieveclaimresponse|retrieveclaimreturn|claimcomponentvos|item|claimagreementlinevos|item|shortname maps to member 'ShortName'                 https://www.e-abs.nl/vnabeabswebservices/services/:retrieveclaimresponse|retrieveclaimreturn|damagedate maps to member 'DamageDate'                 https://www.e-abs.nl/vnabeabswebservices/services/:retrieveclaimresponse|retrieveclaimreturn|phcharacteristics maps to member 'PHCharacteristics'                 https://www.e-abs.nl/vnabeabswebservices/services/:retrieveclaimresponse|retrieveclaimreturn|damageregulationcompetence maps to member 'DamageRegulationCompetence'                 https://www.e-abs.nl/vnabeabswebservices/services/:retrieveclaimresponse|retrieveclaimreturn|claimcomponentvos|item|claimagreementlinevos|item|vnabinsurerid maps to member 'VnabInsurerId'                 https://www.e-abs.nl/vnabeabswebservices/services/:retrieveclaimresponse|retrieveclaimreturn|claimid maps to member 'ClaimId'                 https://www.e-abs.nl/vnabeabswebservices/services/:retrieveclaimresponse|retrieveclaimreturn|claimcomponentvos|item|claimagreementlinevos|item|nonvnabinsurercontactemail maps to member 'NonVnabEmailContact'                 https://www.e-abs.nl/vnabeabswebservices/services/:retrieveclaimresponse|retrieveclaimreturn|claimcomponentvos|item|claimagreementlinevos|item|indicationvnabinsurer maps to member 'IndVnabIsurer'                 https://www.e-abs.nl/vnabeabswebservices/services/:retrieveclaimresponse|retrieveclaimreturn|damagelocation maps to member 'DamageLocation'     Ideas how to solve this are very welcome. Many thanks in advance, Max    
asked
1 answers
1

If you look closely to the XML you can see that the data doesn't match with the mapping that you've specified, because of that the platform won't import your data.

In the modeler you have claimComponentVOs followed by 'item', if the Modeler renders it like this it expects another element between claimComponentVOs  and it's content instead of what is currently in the XML.

 

Your example repeats claimComponentVOs but the definition seems to say that there is 1 claimComponentVOs element with 'item' nested multiple times. I just took a quick look at the wsdl and they are using the arrays in a weird way (according to WS-I also incorrect).
This (exotic) XML array structure doesn't seem supported by the import process. The only suggestion I can give you is to manually change/experiment with changing the wsdl untill it expresses the same hierarchy but without the Array definition.

answered