Skip to content

geeknat/php_nav

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CONSUMING NAVISION WEB SERVICES WITH PHP

This sample demonstrates how to use PHP to consume web services both Pages and CodeUnits

First, clone this repo to a preferred location

Then open Config.php at the root,and input your details

const PROJECT_NAME = "";

//e.g http://YOUR_URL/DynamicsNAV90/WS/SOME_VALUE/Page/
const NAVISION_PAGE_BASE_URL = "";

//e.g http://YOUR_URL/DynamicsNAV90/WS/SOME_VALUE/CodeUnit/
const NAVISION_CODEUNIT_BASE_URL = "";

const USERPWD = "user:password";

You can now check on the samples folder for some great samples classes

Check index.php file on how these sample classes are being called, depending on the request.

Sample request

http://your_url/project_location/?request=YOUR_REQUEST

REQUEST CAN BE ANY OF THE FOLLOWING

1.page_create -> Calls the SamplePageCreate class
2.codeunit -> Calls the SampleCodeUnit class

MADE WITH LOVE BY @GeekNat

About

Consuming Navision Web Services with PHP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages