Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

How to use AX AIF services to a smart device project for window base hand held device......

(0) ShareShare
ReportReport
Posted on by 225

i am able to add web reference for the particular AX AIF web service but when i want to use that reference in my code there is no reference available....... what is the problem with that ,,, can any one suggest me , 

i  am using VS 2008  for smart device window project ...

*This post is locked for comments

  • Martin Dráb Profile Picture
    Martin Dráb 230,445 Most Valuable Professional on at
    RE: How to use AX AIF services to a smart device project for window base hand held device......

    Yes, I know. I didn't say you have to use exactly the same project template. You'll have to upgrade anyway sooner or later.

    For now, you'll have to wait for somebody with Visual Studio 2008 willing to help you. You likely run into one of many limitations of smart devices projects, but I'm unable to say what happened based on information available.

  • shankit sunny Profile Picture
    shankit sunny 25 on at
    RE: How to use AX AIF services to a smart device project for window base hand held device......

    @martin

    VS2010  does not support smart device project

  • Martin Dráb Profile Picture
    Martin Dráb 230,445 Most Valuable Professional on at
    RE: How to use AX AIF services to a smart device project for window base hand held device......

    Sorry, I didn't realize that the mobile device project doesn't support normal service references. Unfortunately I don't have VS 2008 installed so I'm unable to reproduce the problem. Can't you try it in VS2010+?

  • shankit sunny Profile Picture
    shankit sunny 25 on at
    RE: How to use AX AIF services to a smart device project for window base hand held device......

    @Martin

    how to add service reference ?

    when i right click on project there are only two options:

    1:add reference

    2:add web reference

    How to add service reference ......

  • shankit sunny Profile Picture
    shankit sunny 25 on at
    RE: How to use AX AIF services to a smart device project for window base hand held device......

    @ MARTIN

    yes there is no proxy available for that reference, i have the web service url which is working ok when i take its reference to any other window application ,but in smart device project there is no proxy available......???

  • shankit sunny Profile Picture
    shankit sunny 25 on at
    RE: How to use AX AIF services to a smart device project for window base hand held device......

    @nitesh

    i m using the same as you are suggesting to me, after i add that reference to my project  there is no error but when i m checking my Reference.cs Class. that is  blank  as

    namespace SSIPL_WMS.WebReference {

    }

  • shankit sunny Profile Picture
    shankit sunny 25 on at
    RE: How to use AX AIF services to a smart device project for window base hand held device......

    I  need to do that with AX service only otherwise i can easily do it with SQl

  • Martin Dráb Profile Picture
    Martin Dráb 230,445 Most Valuable Professional on at
    RE: How to use AX AIF services to a smart device project for window base hand held device......

    First of all, add a service reference instead of a web reference.

    Then, could you please explain what "there is no reference available" exactly means? Does it mean that you don't see any any proxy classes? Are you using correct names (including namespace)?

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to use AX AIF services to a smart device project for window base hand held device......

    For me it seems the URL which you are using for reference may be not good enough.

    Validate the URL,

    You need to utilize WSDL URI, which you will find in System Administration > Setup > Application Integration Framework > Inbound port/ Outbound port

    also validate if ports are active.

    Please verify and update us with your findings

  • Suggested answer
    Muhammad Afsar Khan Profile Picture
    Muhammad Afsar Khan 2,674 on at
    RE: How to use AX AIF services to a smart device project for window base hand held device......

    you can create a wrapper class and expose it on your smart application.

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 Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans