Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 72043

AIF Inbound XML cause Error: The value cannot be null: Parameter Name: document

$
0
0

Hello together,

I want implement an AIF Inbound service for exchange data. For that I have created a table and query. With the wizard I have created the nessary private Project. Furthermore I have Setup the Inbound port and the Service object.

For testing I have created a sample XML which you can find below. If I try to Import this XML I receive the error message "The value cannot be null: Parameter Name: document".

Have someone an idea why this error occur?

<?xml version="1.0" encoding="UTF-8"?>
<Envelope xmlns="schemas.microsoft.com/.../Message">
 <Header>
  <Action>schemas.microsoft.com/.../create&lt;/Action>
 </Header>
 <Body>
  <MessageParts xmlns="schemas.microsoft.com/.../Message">
   <AxdObiZEKOM_DEB_HIST xmlns="schemas.microsoft.com/.../ObiZEKOM_DEB_HIST">
    <AxdEntity_ObiZECOM_DEB_HIST_1 class="entity" action="create">
     <DATEI>/PDIS/OBI/TNP/6069/100152-RSSBELEGDATEN-20130326-1431.xml</DATEI>
     <DATID>127</DATID>
     <ERDAT>26.03.2013</ERDAT>
     <LFDID>11</LFDID>
     <MAHNS>0</MAHNS>
     <MANDANTID>100152</MANDANTID>
     <MANDT>242</MANDT>
     <MSERDAT>27.03.2013</MSERDAT>
     <MSERZET>110017</MSERZET>
     <TNP_BETRAG>134,89</TNP_BETRAG>
     <TNP_JE_NO>10012356</TNP_JE_NO>
     <TNP_JEDAT>26.03.2013</TNP_JEDAT>
     <TNP_JETYP>10</TNP_JETYP>
     <TNP_KUNNR>1000200456</TNP_KUNNR>
     <VBELN_VA>2000596685</VBELN_VA>
     <WAERS>EUR</WAERS>
    </AxdEntity_ObiZECOM_DEB_HIST_1>
   </AxdObiZEKOM_DEB_HIST>
  </MessageParts>
 </Body>
</Envelope>


Viewing all articles
Browse latest Browse all 72043

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>