Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Integrate Magento + Dynamics NAV (Navision)!

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
    joripello 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
    keoma 32,675 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
    sanjeet 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
    keoma 32,675 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
    sanjeet 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
    keoma 32,675 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
    sanjeet 2,205 on at
    RE: Integrate Magento + Dynamics NAV (Navision)!

    Thanx for your valuable suggestion Emanuele Mario.

  • 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
    sanjeet 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
    sanjeet 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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans