Disclaimer: This is NOT a duplicate of this thread. First, in my case, there's no middle-tier service. Secondly, I'm working with SL 5 and CRM 2011.
I'm developing Silverlight applications to work with MS CRM 2011. These applications are part of a CRM Solution and are meant to be used in CRM Online.
This is important: I CANNOT write extra web services or modify web.config files which are part of CRM, as I cannot do these things with CRM Online.
Usually my applications just need the OData service, and there are no issues in these cases. But one application needs to use the SOAP organization service, and here the trouble starts.
Apart from some problems getting it to work (as I need to create OrganizationRequests from scratch), there's a big problem getting meaningful exception messages from that service. SL will happily always return 404, which isn't helpful at all to the user.
I've tried using
WebRequest.RegisterPrefix("http://", System.Net.Browser.WebRequestCreator.ClientHttp);
WebRequest.RegisterPrefix("https://", System.Net.Browser.WebRequestCreator.ClientHttp);
as described in this article but that turned out to cause problems in one situation with IFD and ADFS (even though this solution was otherwise perfect).
In case of an error I really need to be able to give the user some meaningful information ("Not found" is hardly ideal).
What should I do to get some useful error messages out of CRM?
EDIT:
Please note I'm talking about the Organization service, NOT the OData service! I've no problems getting some useful information to display for the user from the latter.
I want to point this out, because of this thread which, at first glance, seems to be perfect, but then it turns out (given the accepted answer) that it was for OData all along.
Try see this article from Microsoft, i never used and i don't know if it can be applied in CRM. It's a very interesting article, so take a look.
I ran into a similar problem / error when uploading a Silverlight 5 XAP to CRM 2011 Online.
In order to get useful message, open CRM in IE navigate to your Silverlight resource, hit F12 for the IE Debugger, and go to the Network tab ( see screenshot ).
Hope this helps!
Related
I'm trying to get data from online sources, specifically to do with economics. The world bank API was simple to understand, however, I need to be able to retrieve data from the united nations, through the UNdata API: http://data.un.org/Host.aspx?Content=API
I am relatively inexperienced with VB.net, and don't really know where to start, and having googled around a bit and found no answers, I could really do with some help to get me off the ground. Thanks
One simple way to consume the service is from the project in solution.
The link you provided has an ASMX service
SOAP Web Service at http://data.un.org/ws/NSIStdV20Service.asmx
In your "Project" on your Visual studio solution, you will notice "references".
Right click on it, you see a context menu.
There, you select "Add Service Reference". In the window opened, enter the above service URL, after that you can start consuming it
You should enter the URL as http://data.un.org/ws/NSIStdV20Service.asmx?wsdl
Then a proxy class gets created, which you can consume.
I'm developing an app that interacts with Mendeley API. Retrieving and updating documents work fine, but I fail to retrieve the ID list of deleted documents, as described in API Reference. Instead, I get 404-error, with the message:
{
"message": "No service found for your request"
}
Looks like this API is not implemented, even though listed in the Reference. Emailing Mendeley API team is of no help (I wrote to them about a different issue 3 months ago, they just don't answer). Anyone worked with that?
Ok, it seems they just don't update properly the info for developers. From the "Explore APIs" section on their site I have found that I should use "deleted_since" URL-parameter, rather than "deleted_documents", as stated in the "API Reference" section on the same site. The "deleted_since" works as expected.
As this thread has opened four years ago, and I was looking for a possible answer to this exact error when using the Mendeley desktop's latest release yesterday, I think it's appropriate to mention such error's occurring to the users. I finally had to reinstall after the total removal of the program from my SSD after importing a lot of references from another reference manager's RIS file. I suppose it has something to do with the server and the desktop app not being completely synced.
It is worth reinstalling if you've had the same problem and have not lost all your library's online material.
Mendeley 1.19.8 on win 10 C64 19044.1706.
I'm a student working on a project related to SEO; I need to write an optimization tool, so I'm writing an application using C# and Windows Forms. The main part of the application is for keyword selection, and I want to use the Google AdWords API to obtain a list of keywords.
I downloaded the C# client library, but can't understand how to set up the project: I am getting the error:
"An API exception has occurred. See ApiExecption and InnerException fields for more details".
Maybe I have made a mistake when I edited the App.config file as I haven't changed anything else. Can anyone advise me where I should begin? I would be grateful to hear your ideas.
Unfortunatley, the AdWords API isn't as open as you might think: It's meant for ad agencies managing large accounts, or software vendors who want to build ad management platforms. You need to apply to Google for an API key to gain access; they used to give them out to nearly anyone with an account, and it took about 14 days to process the application. However, Google has got very strict about their terms and conditions over the past 12 months, and to put it simply, you probably won't meet them if you're building an SEO tool; even if you apply to build a full platform, you'll need to wait six to ten weeks for approval as they've got a huge backlog of applications to process at the moment.
As this is just a student project, you should actually be able to get away with just using the AdWords API sandbox, which is open to anyone with a Google account. This won't give you real keywords or stats, but would demonstrate your understanding of the platform.
Another option would be to check out the Ad Intelligence Service of the adCenter API; you'd still need to open an adCenter account (with a $5 activation fee), but you should be able to get an adCenter API key without waiting too long. The stats available from Microsoft won't be as extensive as what Google has to offer, but will still be relevant to the at least the US market. Also, being Microsoft, they've got a good range of C# examples.
You could use the sandbox, but it is good only for testing purposes. You won't get real values for traffic estimation and keyword ideas.
To use the sandbox, what you need is a Google account (your gmail account for instance). To initialize the sandbox,
In your App.config, put email/password/developerToken as your email / your password / youremail++USD (e.g. john.doe#gmail.com++USD)
Run the GetCampaigns.cs code example. It is under v201109/BasicOperations folder in the C# examples project. This will initialize the sandbox.
Run the GetAccountHierarchy.cs code example. It is under v201109/AccountManagement folder. This will give you 5 client emails and their customer ids.
Use one of these customerIds in the ClientCustomerId field of App.config.
Run any other code example.
The video is a bit outdated, due to recent changes in AdWords API, I need to update it.
you can find a very good article series about adwords api there: Google Adwords API
it is not that hard to learn how to use it! I think the API itself is very good documented and there is a good suppo from google.
This is more of a general "how do I get started" question. I would like to display my company's SSRS Integrated Sharepoint Reports in an iPad App, but I'm not sure where to start. Googling this concept didn't return any results.
We would like a native feel without displaying the reports in a Web View container.
Any ideas?
Thanks in advance!!
Maybe you can use the webservice to get the parameters and build a little query interface. You'd have to figure out what to put in your dropdown boxes I believe.
Get params with that and then submit call the render method which would return the report to you in the desired format. Be sure to read the remarks there.
I have no clue if this would actually work. My organization built an interface like this for reporting services 2000, but it used the URL-based submitting method.
Good luck, I'd love to know if this works for you.
Using the web service is definitely your best bet. You should be able to query all the parameter information you need from the service and then render it in various formats (html is probably your best bet).
I know it's definitely doable, as I've used the web service to build custom scripts that render and and send out PDF versions of reports. It would essentially be the same task. You can find plenty of information on the web for working with it.
look at http://reports4you.software4you.com
The Website shows a server based solution to display reporting services reports on the ipad (including autentification, etc.)
Yours
Dirk
With SQL Server 2012 SPI, you can now access a SSRS report from an iPad by browsing the SharePoint library or viewing the report in a Web part.
For more information about viewing and interacting with SSRS reports on the iPad, see View Reporting Services Reports on Apple iOS devices (SSRS iPad).
I'm working on a tool in C# that interfaces the JIRA SOAP API. I have read the documentation but I can't find what I'm looking for. Does anyone know if it is possible to link an issue to another one via this api?
PS : Actually, my real need is to convert an issue as a subtask of an issue...
Last time I looked, JIRA's web service wasn't really actively supported or encouraged by Atlassian. It's very much a second-class citizen compared to the web front end, with very basic operations.
Also, it's not a WSI-compliant web service (it's an old Axis-based RPC_encoded service), and so modern web service stacks won't even bind to it. You might want check that your client can perform basic query operations before diving into the depths of the API.
You can actually go pretty far with Jelly scripts, but converting an issue to a subtask then linking it as a subtask... I'm not positive that you can go that far.