Developer forum

Forum » Integration » Live integration to navision - Pagination info missing in response

Live integration to navision - Pagination info missing in response

Mateusz Struzik
Reply

Hi 

I am getting error as in title, we were using some cusomized old dll before, but because of some error we are now testing Live integration with standard DW dll : DynamicwebLiveIntegrationAddIn 7.4.12.0

This is connection to navision erp i see in logs that the request is sending :

09.30.2025 08:57:20.617 a.m.: DebugInfo: Request GetProductsInfo sent: '<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<GetEcomData ExternalUserId="27687" AccessUserCustomerNumber="27687" VatCountryCode="NO" VatPostingGroup="">
  <tables>
    <Products type="filter" unitPrices="true">
      <Product>
        <ProductId>11001087</ProductId>
        <ProductVariantId></ProductVariantId>
        <ProductNumber>11001087</ProductNumber>
        <ProductUnitId>Unit_KG</ProductUnitId>
        <ProductIdentifier>11001087..LANG17.Unit_KG</ProductIdentifier>
        <CurrencyCode>NOK</CurrencyCode>
        <Quantity>1</Quantity>
      </Product>
    </Products>
  </tables>
</GetEcomData>

i am getting error: 09.30.2025 08:57:20.788 a.m.: ConnectionError: An error occurred while calling GetProductsInfo from Web Service: 'Pagination info missing'.

 

Do you know why this is happening ? 

We have some separate env where we are switching erp to BC and this problem not existing, standard dll is working but before we switch to new erp it might take some time. 

 

Regards

Mateusz

 


Replies

 
Dmitriy Benyuk Dynamicweb Employee
Dmitriy Benyuk
Reply

Hi Mateusz,
it looks like that NAV part is the problem. Do you use our standard codeunit for NAV without any custom changes or a custom one?
Can you try to run just the empty request from the Endpoint Management Send request page using the same endpoint that is used in the Live integration or from the Live integration test connection page:
<GetEcomData></GetEcomData>
and check its response?
There is no pagingation used at the Live integration requests, so not sure where is the problem.
BR, Dmitrij

 
Mateusz Struzik
Reply

Hi there is a chance that in navision there is some custom code, when i am testing from test connection this is what i am getting :

This was leaving on our app with this customized dll for long time, but we did some refactor and on frontend we are now using dw api endpoint to gather products but users start rising issue that sometimes they are missing proper prices from erp, thats why i am testing this standard dll 

Regards 

Mateusz

 
Dmitriy Benyuk Dynamicweb Employee
Dmitriy Benyuk
Reply
This post has been marked as an answer

It looks like a totally custom NAV codeunit. Our standaard returns the "version" attribute in the response for the empty GetEcomData request. You can download the latest NAV codeunit here and compare the sources.
You can also investigate the xml requests that were used in your older integration with the current one, maybe the xml request syntax/format that is used in the current Live integration differs from your previous.
BR, Dmitrij

Votes for this answer: 1
 
Mateusz Struzik
Reply

Okey 

Thansk for this, and it seems that yes the custom approach  is different, the case is that we basicaly not able to change the code unit in erp, so i will need to find some work arround here 

Thanks  for help 

Mateusz 

 

You must be logged in to post in the forum