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
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.
@martin
VS2010 does not support smart device project
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+?
@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 ......
@ 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......???
@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 {
}
I need to do that with AX service only otherwise i can easily do it with SQl
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)?
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
you can create a wrapper class and expose it on your smart application.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,188 Super User 2024 Season 2
Martin Dráb 230,030 Most Valuable Professional
nmaenpaa 101,156