Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Answered

How to test NetTcp aif web service wsdl

Posted on by 2,953

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

  • krishna.rao@dax Profile Picture
    krishna.rao@dax 2,953 on at
    RE: How to test NetTcp aif web service wsdl

    Thanks so much  Martin for inputs.

  • krishna.rao@dax Profile Picture
    krishna.rao@dax 2,953 on at
    RE: How to test NetTcp aif web service wsdl

    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
    krishna.rao@dax 2,953 on at
    RE: How to test NetTcp aif web service wsdl

    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
    krishna.rao@dax 2,953 on at
    RE: How to test NetTcp aif web service wsdl

    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
    krishna.rao@dax 2,953 on at
    RE: How to test NetTcp aif web service wsdl

    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

  • Verified answer
    Martin Dráb Profile Picture
    Martin Dráb 230,214 Most Valuable Professional on at
    RE: How to test NetTcp aif web service wsdl

    I replied in your duplicate thread in another forum.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans