web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

How to test NetTcp aif web service wsdl

(0) ShareShare
ReportReport
Posted on by 3,006

Hi guys,

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.

Scenario

Input: data in xml

Action/output/response: This will creates data in AX. Gives no response.

Find below screenshot for reference.

netTcpInbound_5F00_wsdl.PNG

I have the same question (0)
  • Verified answer
    Martin Dráb Profile Picture
    237,965 Most Valuable Professional on at

    I replied in your duplicate thread in another forum.

  • krishna.rao@dax Profile Picture
    3,006 on at

    Thanks Martin for your inputs. I am not familiar with this type of work.

    Highly appreciable, if some one guide or share any blogs, which demonstrates testing

    of this scenario, taking data in xml and creates records in AX

  • krishna.rao@dax Profile Picture
    3,006 on at

    Thanks Team 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 

    InboundWebservice_5F00_003_5F00_VSProject.png

  • krishna.rao@dax Profile Picture
    3,006 on at

    I am calling client service operation (client.create) as you suggested, it was asking two parameters, callContext and AxdIDSInventTransferTable.

    Struggling bit here in passing values, thinking and  searching here and there.

    Attaching below three screenshots for reference, (just for information, query used in service has three data sources)

    VSObjects_5F00_1.pngVSObjects_5F00_2.pngXML_5F00_input_5F00_when-we-are-using-file-system-adapter.PNG

    Highly appreciate your inputs.

    Thanks

  • krishna.rao@dax Profile Picture
    3,006 on at

    Now I am able to test and data created in AX, but real and Date type values are not taking what we passed from visual studio, getting default values. working for other types such as string..etc

    Can you help here, not sure why values are not taking and getting default values 0.

    Find the screenshot for reference.

    Real_5F00_DateTimeconversion.png

    Thank you..

  • krishna.rao@dax Profile Picture
    3,006 on at

    Thanks so much  Martin for inputs.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 503 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 434 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 278 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans