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
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
You can contact with one Magento solution Partner like Way2 ecommerce,
They' re experts with Magento Navision integrations
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 ".
Yes, thanx for your valuable support. I m very close to my task.
Please explain how to pass xml as string value. ?
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, ...).
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.
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.
Thanx for your valuable suggestion Emanuele Mario.
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
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 .
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
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,280 Super User 2024 Season 2
Martin Dráb 230,235 Most Valuable Professional
nmaenpaa 101,156