Add ServiceReference

Hello Friends,

i have generate the vendGroupService and now add this service to the reference node of AOT=>Add ServiceReference=>add URL of vendGroupService .

But i get an errors : 1. ClrObject static method invocation error.

  1. c:\Users\Administrator\AppData\Local\Temp\DynamicsAxSvcReferences\VendGroupService\WcfSoapClient.cs(1109,101) : error CS0426: The type name ‘WcfClient’ does not exist in the type ‘VendGroupService.WcfClient.VendGroupService’

Please help me

Are you trying to consume an AX service within AX?

Hi Vinay,

Thank for replying.

i want to consume ax webservice in external application.

but i dont know how to consume?

plz help me…

Hi,

You can publish the service as web service or alternativately, configure as AIF interface which is file based (XML). If you search online, you will find plenty of instructions.

Other option is expose the interface as AX classes; which then an external application could connect using .NET BC.