Quantcast
Channel: AX Developer Forum
Viewing all articles
Browse latest Browse all 9880

use web service for data migration purposes

$
0
0

Hi everyone,

I'm new to nav and this forum and I want to introduce me a my current project a bit first. We have bought Nav 2009 for our company a while ago and now we want to automate some data uploads into Nav. I'm the guy who is in charge to consider a solution and as a SSIS (SQL Server Integration Service) advance user I would like to use this tool also for uploads into Nav. Due to a other project we have bought third party tools (http://www.cozyroc.com/) which contains the possibility to connect a sql server database with nav over a web service.

I was able to create and configure web service in nav and I can display it in IE.

+<discovery xmlns="http://schemas.xmlsoap.org/disco/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
 <contractRefref=http://localhost/DynamicsNAV2/WS/CRONUS/SystemService xmlns="http://schemas.xmlsoap.org/disco/scl/" />
 <contractRefref="http://ocalhost//DynamicsNAV2/WS/CRONUS//Page/Customer" xmlns="http://schemas.xmlsoap.org/disco/scl/" />
 </discovery>

I have understood that I have to create single pages or code units in nav on the web services page which will be then accessible over the web service.

Now here comes the problem:

My current project is to migrate accounting data from a sql database to nav. I have identified the target table in the nav sql db, let's say [dbo].[CRONUS ltd_$_G_L Entry], and the corresponding object in nav should be a page called General Ledger Entries. So I have created a web service which uses the ID of this page. I can see now the web services as above described in IE but unfortunately I can see there only the method read, so no create or update methods are possible. So when I now use SSIS with the cozy roc tool I can only read data with the General Ledger Entry web service, I cannot use this web service to insert data.

So my question is now, how can I change a web service or the corresponding page in nav to have create and update methods?

As further information, the page is configured as list, not sure if this is important. I could imagine this brings some restrictions.

Apologize for this long post but I think this makes my problem more clear.

Thanks in advance.

Kind regards,

Sven


Viewing all articles
Browse latest Browse all 9880

Trending Articles