can you please guide me in testing of "netTcp" aif web service. I have created AIF inbound wsdl port.
we will pass data in xml to this aif web service, which will creates data in AX.
Input: data in xml
Action/output/response: This will creates data in AX. Gives no response.
Find below screenshot for reference.
Thanks Martin for continuous support.
(Just for information, earlier we are using file system adapter for this inbound operation where we will give xml as input. now created NetTcp inbound port by adding service class 'create' operation. this service class was created through aif wizard 'create document service' using query)
I have created console project and added service reference, now we need to test this service by passing data, Attaching below screenshots for reference
You'll find a client class inside CreateStagingDataService namespace. It has a method representing your service operation. You didn't give us details necessary to write the code, but it'll look roughly like this:
CreateStagingDataServiceClient client = new CreateStagingDataServiceClient();
MyServiceRequest request = new MyServiceRequest();
request.Property1 = "value 1";
Here you have an example using the standard document service for sales orders: Creating sales orders via AIF in AX2012.