Nav Service Layer

SoumyadipSoumyadip Member Posts: 209
edited 2011-04-08 in NAV Three Tier
I have three tire enviroment where database, application and client is running in seperate physical system in seperate firewall zones.
I consume a webservice from a button click in NAV Sales Order.
Do i need to open the WebService URL and PORT at every client systems or if i just open the same in NAV Application Layer it would do?
Basicaly the question is if i consume a webservice, does the code get's executed in client or in NAV App server?
to add... in case of LS Retail POS Client... does the same happens?

Comments

  • kinekine Member Posts: 12,562
    All depends on how the webservice is called. If the dotnet/automation is created server-side or client-side.
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • SoumyadipSoumyadip Member Posts: 209
    Oops...I am not aware how to do the same. Will you be able to point me to some URLs or documents that may carry detaills on how to create automation in client or server side.
  • kinekine Member Posts: 12,562
    Look into documentation for CREATE function. There is one additional parameter in NAV 2009 version.
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • SoumyadipSoumyadip Member Posts: 209
    [Ok :=] CREATE(Automation [,NewServer] [,OnClient])

    So the trick is "OnClient"..(should have searched before asking)

    Anyway...but just to reconfirm...assuming the automation instance has been created in SERVER I will not have to open the WebService URL and PORT at every client systems and if i just open the same in NAV Application Layer it will do.
  • Tommy_SchouTommy_Schou Member Posts: 117
    Sounds about right.

    Generally ports should be opened on the machine where the automation is created. (service tier or client according to the CREATE parameters).
    Best regards
    Tommy
  • SoumyadipSoumyadip Member Posts: 209
    Agree. The additional parameter in CREATE should be of help here.

    But does this rule apply for functions getting invoked from POS (LS Retail) client?
Sign In or Register to comment.