dongavipul dongavipul

Niner since 2010


  • WCF and AIF in Dynamics 2009: Chatting with Michael Merz


    i done sending parameter from php to dyanmic ax for read operation in customer service using entitykey and give the records based on entitykey but the problem is i want all custmer record ( which i think 100 customer )  so i pass null ( in the .net teram but blank in the phph ) in the QueryCriteria so after some time it is hang my server and shutdoen then what is the problem in that how i can get al the customer record without hang my pc.


    i have do this way in the php


    $params = array('QueryCriteria' => '');


    $baseURL = 'http://server_name:prot_number/MicrosoftDynamicsAXAif50/itemservice.svc?wsdl';

    $client = new NTLMSoapClient($baseURL);

    $result = $client->find($params); // it is hang my server.

  • WCF and AIF in Dynamics 2009: Chatting with Michael Merz


    i slove this issue by sending credentials info using "setCredentials" in the php and it is done. Now problem is come for how to send parameter when calling any operation.

    for example calling read operation for the "customerservice.svc" we need "EntityKeyList" as parameter. but i am not find any thing about this how to send data from php to Dynamic AX. I see the error in the Basic->Periodic->AIF->Exceptions->"Value cannot be null. Parameter name: entityKeyList". 

    I have done sedning parameter from .net to Dynamica Ax it is ok not in the PHP.

    So please guide me how to send parameter from PHP to Dyanmaic Ax and get response?

  • WCF and AIF in Dynamics 2009: Chatting with Michael Merz


    i see your vedio it very useful to me. i done all the step whic you say in the vedio. I integreate AIF Service with .net successfully but whrn i integrate with AIF Service with PHP it is gvie error. you say that "That web service is then available to be consumed by any standards-based client (including apps written in php, java and naturally any of the languages in Visual Studio)."

    Error is come

    Fatal error: Uncaught SoapFault exception: [HTTP] Unauthorized in /var/www/web/mdynamicax/Client/getcarriers.php:84 Stack trace: #0 [internal function]: SoapClient->__doRequest('<?xml version="...', 'http://vm2008.t...', 'http://tempuri....', 1, 0) #1 [internal function]: SoapClient->__call('resultnumber', Array) #2 /var/www/web/mdynamicax/Client/getcarriers.php(84): SoapClient->resultnumber(Array) #3 {main} thrown in /var/www/web/mdynamicax/Client/getcarriers.php on line 84


    Please give me the guidence what i do in php for calling AIF web serivces , I used nusop_client and soapclient both but no success.

    if you contact me my id is As soon as possible.

  • Microsoft Dynamics AX 2009 AIF Web Services Screencast


    i see your vedio for how to creating service in the dynamic ax 2009 and integrate with .net. i have done all the things and working great. But my requirment is how to integrate this servuce in the PHP? Please guide me for that.