Integration with web services

ganeshganesh Member Posts: 32
edited 2007-02-26 in Navision Attain
Hi all,

We need to integrate Navision with an web application developed on java. The following are the requirements of integration.

1) Navision should send a request to the web application.
2) Navision should be able to receive the data from the web application.
3) Navision should be able to receive the request for the data.
4) Navision on receiving the request should be able to send the data to web application.

Sending the data is possible by creating a SOAP body and SOAP header around it and then by calling the HTTP post.

Is it possible to receive the request or data from HTTP?.

Regards
Senthil Ganesh M.,
if (better is possible)
{
good is not enough
}

Comments

  • kinekine Member Posts: 12,562
    Automation 'Microsoft WinHTTP Services, version 5.1'.WinHttpRequest through this automation you can send and receive data, but you are limited with string length.
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • nunomaianunomaia Member Posts: 1,153
    You can use MSMQ.

    There are 2 documents in MSDN, about that
    Nuno Maia

    Freelance Dynamics AX
    Blog : http://axnmaia.wordpress.com/
  • ganeshganesh Member Posts: 32
    Thanks Kine,
    Will try out your option.


    Hi nunomaia,
    I want to use HTTP.
    if (better is possible)
    {
    good is not enough
    }
  • nunomaianunomaia Member Posts: 1,153
    I use MSMQ and I have IIS with .NET in front of MSMQ.

    Navision <--> MSMQ <--> IIS <--> Partner Web Services

    MS Navision Commerce Portal has a similar design.
    Nuno Maia

    Freelance Dynamics AX
    Blog : http://axnmaia.wordpress.com/
  • gulamdastagirgulamdastagir Member Posts: 411
    hi nunomia,
    I use MSMQ and I have IIS with .NET in front of MSMQ.

    Navision <--> MSMQ <--> IIS <--> Partner Web Services

    This looks like a great Idea!

    Can You please elaborate more on this or have a document related to this

    thanks,

    gd
    Regards,

    GD
  • Captain_DX4Captain_DX4 Member Posts: 230
    I've implemented a solution with MSMQ to communicate directly with the Java app, using a third-party library "J-Integra for COM", which enables a Java-to-COM bridge. But I would like to hear more about the IIS solution as well!
    Kristopher Webb
    Microsoft Dynamics NAV Developer
  • nunomaianunomaia Member Posts: 1,153
    See in http://msdn2.microsoft.com/en-us/dynamics/aa937763.aspx

    Articles written by portugueses also :-)
    Nuno Maia

    Freelance Dynamics AX
    Blog : http://axnmaia.wordpress.com/
  • ganeshganesh Member Posts: 32
    Hi Captain DX4,
    Can you please elaborate more on your solution or give us an document.

    Regards
    Senthil Ganesh M.,
    if (better is possible)
    {
    good is not enough
    }
  • sharransharran Member Posts: 14
    Hi all,
    Im doing a web interface with navision,

    I have a Pblm Can anyone Suggest me !

    The live site should be still able to take orders and be browsed (with all items still being listed, and shopping cart available) If the connection between Navision and the Website is lost.

    This should be transparent to the webusers, and an alert should be sent to superusers within Navsion, if the site link is down

    Once connection has been re-established, all stored data on the website that needs processing should be sent automatically into Navision.
    ](*,) ](*,) ](*,) ](*,)

    Can anyone suggest me !

    Looking for ur Reply

    Thanx in Advance!
    with warm regards

    sharran
    --Navision Developer --
  • PhennoPhenno Member Posts: 630
    sharran wrote:
    Hi all,
    Im doing a web interface with navision,

    I have a Pblm Can anyone Suggest me !

    The live site should be still able to take orders and be browsed (with all items still being listed, and shopping cart available) If the connection between Navision and the Website is lost.

    This should be transparent to the webusers, and an alert should be sent to superusers within Navsion, if the site link is down

    Once connection has been re-established, all stored data on the website that needs processing should be sent automatically into Navision.
    ](*,) ](*,) ](*,) ](*,)

    Can anyone suggest me !

    Looking for ur Reply

    Thanx in Advance!


    Phooooh, that's tricky one...
  • kinekine Member Posts: 12,562
    Most websites are not reading data from Nav on-line, but are using other DB for that (for example you can use transaction replication to get the data into this DB - in this case, if connection is lost, you are working with the latest known status and after is the connection reestablished, data will be updated automatically). The way from Web to NAV (when you need to transfer the data into NAV), you can use some pseudo on-line solution like that the web will write the data into tables in the web DB and will call webservice, which will transfer the data into NAV. If the transfer is not working, because the NAV is not on-line, you can call the webservice periodically to transfer the data right after the NAV is back on-line...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
Sign In or Register to comment.