NAV Web Service Caller v3

AdministratorAdministrator Member, Moderator, Administrator Posts: 2,500
edited 2010-03-26 in Download section
NAV Web Service Caller
This is a component where allows NAV developers to invoke web service calls on demand from their code. It is developed in .NET 2.0.

Features:

(*) You can instantiate complex data argument structures
(*) You can browse web service information including: Enumerations, method names and property information

http://www.mibuso.com/dlinfo.asp?FileID=1033

Discuss this download here.

Comments

  • AdministratorAdministrator Member, Moderator, Administrator Posts: 2,500
    NAV Web Service Caller
    This is a component where allows NAV developers to invoke web service calls on demand from their code. It is developed in .NET 2.0.

    Features:

    (*) You can instantiate complex data argument structures
    (*) You can browse web service information including: Enumerations, method names and property information

    Update 17/12/2008:
    (*) Note the dll file has been replaced with the correct one.

    http://www.mibuso.com/dlinfo.asp?FileID=1033

    Discuss this download here.
  • theo.stheo.s Member Posts: 24
    Thanks Alexander - looks like a very useful DLL this..

    Please could you give an example of instantiating a complex Argument? e.g. where one of the Method arguments is an Object in itself, containing multiple Properties .
  • phaettophaetto Member Posts: 0
    Hi theo, and thank you for your nice words. I am sorry for my late answer but I had some serious matters keeping me away.

    You can create a new object of a web service type using the below code fragment:
    object := wsx.Create('Data'); // Data complex xsd type
    
    MESSAGE( wsx.GetPropertyInfoForObject(object) );
    

    providing that you know the complex data type name. You can get all available types as string using
    MESSAGE( wsx.GetAvailableTypes() );
    

    The problem here is that yes you can instantiate a complex object but seems that I have forgot to provide a way to set inner fields / properties.

    Also I know that this is not formulated as it should be, but I will send an update within this weeks.
  • theo.stheo.s Member Posts: 24
    phaetto wrote:
    Hi theo, and thank you for your nice words. I am sorry for my late answer but I had some serious matters keeping me away.
    I often have the same problem :)
    phaetto wrote:
    You can create a new object...
    I had managed to create and prowse the new Object from NAV - works really well.
    phaetto wrote:
    The problem here is that yes you can instantiate a complex object but seems that I have forgot to provide a way to set inner fields / properties.
    That was exactly what I was trying to do - I just couldn't see that elusive method ;)
    phaetto wrote:
    Also I know that this is not formulated as it should be, but I will send an update within this weeks.
    Thanks, I will look for this update and would like to try it out when you get the time.

    Kind regards,
    Theo
    PS: What is the connection between Phaetto an Alexander?
  • AdministratorAdministrator Member, Moderator, Administrator Posts: 2,500
    NAV Web Service Caller v3
    This is a component which allows NAV developers to invoke web service calls on demand from their code. It is developed in .NET 2.0.

    Features:

    (*) You can instantiate complex data argument structures
    (*) You can browse web service information including: Enumerations, method names and property information

    Update 5/03/2008:
    (*) Added a "Web Service Analysis Tool" that is creating most of the code snippets automatically to connect even to most complex web services and types.
    (*) Added functions for manipulating deep complex structures.
    (*) Removed structure retrieval functions (Get methods, properties). Those will be updated and restructured in a future release.

    Update 17/12/2008:
    (*) Note the dll file has been replaced with the correct one.

    http://www.mibuso.com/dlinfo.asp?FileID=1033

    Discuss this download here.
  • HanenHanen Member Posts: 281
    Hi,


    Thanks for this component \:D/ , I have one more question, is it possible to use it to create a new object for example to create a new business entity in MS Dynamics CRM?
    For Example:
    Passing the customer using the websrvice MS CRM to create the customer from MS NAV 2009 to MS CRM :?: :idea: ;

    Thanks for the answer.
    Regards

    Hanen TALBI
Sign In or Register to comment.