Quantcast
Channel: NAV/Navision Classic Client — mibuso.com
Viewing all articles
Browse latest Browse all 2239

XMLPort in NAV web service imports only first record

$
0
0
Hi,

I've exposed a NAV 2009 web service like that:
WriteItem(Item : XMLport "Artikel Import Webservice2") result : Text[30]
Item.IMPORT;

The XMLPort has a few lines of code to handle empty date fields, nothing else. Its properties:
8851xlig2e1x.jpg

Properties of the root element:
0m609c44nsy2.jpg

I can't upload the XML here, but it looks fine and can be validated.

It works fine for a single item, but when the incoming XML contains more than one item, only the first one is imported. It doesn't even raise an error, the additional items are just skipped. Only if there are more than exactly 194 items, a 400 Bad Request is raised.
I know this could be handled with pages as well, but I'd like to use XMLPorts, if possible. Any hints?

Viewing all articles
Browse latest Browse all 2239

Trending Articles