Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Integrate Magento + Dynamics NAV (Navision)!

(0) ShareShare
ReportReport
Posted on by 2,205

Hi Experts!

Please Guide me. i have to integerate Magento web sites with Dynamics NAV 2015 for Item inventory sharing online.

*This post is locked for comments

  • joripello Profile Picture
    25 on at
    RE: Integrate Magento + Dynamics NAV (Navision)!

    You can contact with one Magento solution Partner like Way2 ecommerce,

    They' re experts with Magento Navision integrations

  • keoma Profile Picture
    32,727 on at
    RE: Integrate Magento + Dynamics NAV (Navision)!

    on nav side you have your own codeunit called e.g. TestCU with one function GetXmlAsString(xmlPar : Text [1024]). maybe with some return value.

    when calling from php you have your string variable xmlString containing a xml string.

    sample: xmlString = "<?xml version="1.0"?><catalog><book id="bk101"><author>Gambardella, Matthew</author></book></catalog>"

    then call from php: navServiceProxy.GetXmlAsString(xmlString)

    be aware of the quotes. maybe you have to write \" instead of ".

  • sanjeet Profile Picture
    2,205 on at
    RE: Integrate Magento + Dynamics NAV (Navision)!

    Yes, thanx for your valuable support. I m very close to my task.

    Please explain how to pass xml as string value. ?

  • Verified answer
    keoma Profile Picture
    32,727 on at
    RE: Integrate Magento + Dynamics NAV (Navision)!

    great! then you have at least a part success.

    did you try to pass the xml as string value? maybe that would work. not sure, if using the microsoft xml lib between php and nav web service would work.

    also you could try to change your businesslogic (more simple parameters; not pass the xml with one call, but with a couple of calls with simple parameters, ...).

  • sanjeet Profile Picture
    2,205 on at
    RE: Integrate Magento + Dynamics NAV (Navision)!

    yes you are rite when i m passing a integer through codeunit in soap url. then it is working fine.

    but when passing xml as parameter it is generating the error.

  • keoma Profile Picture
    32,727 on at
    RE: Integrate Magento + Dynamics NAV (Navision)!

    the error "Parameter salesOrderInput in method SaveSalesOrder in service SalesOrderService is null!" means that the Parameter salesOrderInput has no (correct) value, when calling the nav web service. maybe the type of the parameter is not correct or not useable for both nav and php.

    to go forward don't develope complex functions. try first with simple functions and only use simple parameters of type string or integer. no xml types, no arrays, etc.

    first try to get it work.

  • sanjeet Profile Picture
    2,205 on at
    RE: Integrate Magento + Dynamics NAV (Navision)!

    Thanx for your valuable suggestion Emanuele Mario.

  • Emanuele Rotondi Profile Picture
    5 on at
    RE: Integrate Magento + Dynamics NAV (Navision)!

    Hi,

    you could easly buy the connector that simply the job. 

    We distribuite in Italy Tinx-IT connector but you can contact them directly.

    Emanuele

  • sanjeet Profile Picture
    2,205 on at
    RE: Integrate Magento + Dynamics NAV (Navision)!

    how to read  my xml file in php, which is just pass as argument in navision funtion in my codeunit. and then published as soap url .

  • sanjeet Profile Picture
    2,205 on at
    RE: Integrate Magento + Dynamics NAV (Navision)!

    hello expert this is my new error ... please help me out.

    [NTLMStream::url_stat] [NTLMStream::createBuffer] create buffer from : 192.168.1.23/.../SalesOrderService

    [NTLMStream::createBuffer] buffer size : 4434bytes [NTLMStream::stream_open] 192.168.1.23/.../SalesOrderService , mode=rb [NTLMStream::createBuffer] create buffer from : 192.168.1.23/.../SalesOrderService

    [NTLMStream::createBuffer] buffer size : 4434bytes [NTLMStream::stream_read] 8192 [NTLMStream::stream_eof] true [NTLMStream::stream_read] 8192 [NTLMStream::stream_eof] true [NTLMStream::stream_read] 8192 [NTLMStream::stream_eof] true [NTLMStream::stream_flush] [NTLMStream::stream_close]

    Fatal error: Uncaught SoapFault exception: [a:Microsoft.Dynamics.Nav.Service.WebMetadata.ServiceBrokerException] Parameter salesOrderInput in method SaveSalesOrder in service SalesOrderService is null! in C:\xampp\htdocs\nav\index.php:224 Stack trace: #0 C:\xampp\htdocs\nav\index.php(224): SoapClient->__call('SaveSalesOrder', Array) #1 C:\xampp\htdocs\nav\index.php(224): NTLMSoapClient->SaveSalesOrder() #2 {main} thrown in C:\xampp\htdocs\nav\index.php on line 224

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Microsoft Dynamics NAV (Archived)

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2

#1
mmv Profile Picture

mmv 2

#1
Amol Salvi Profile Picture

Amol Salvi 2

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans