Using Microsoft Vision API throws error "exception of type microsoft.projectoxford.vision.clientexception was thrown" - vision-api

I am simply using the code sample provided in this link
https://github.com/microsoft/cognitive-vision-windows
and running it provides me this error . did anyone face the same issue ?

Related

Error when running wsdl tool on Sabre GetReservation file

I am running wsdl.exe tool on http://files.developer.sabre.com/wsdl/sabreXML1.0.00/pnrservices/GetReservation_1.19.0.wsdl, following the Sabre .NET sample, and the Get Itinerary Resources which warn that: "TravelItineraryReadRQ API will be decommissioned; please use GetReservationRQ"
But failed with error:
WSDL: error WSDL1: There was an error processing 'http://files.developer.sabre.com/wsdl/sabreXML1.0.00/pnrservices/GetReservation_1.19.0.wsdl'.
The document was understood, but it could not be processed.
- The WSDL document contains links that could not be resolved.
- There was an error downloading 'http://files.developer.sabre.com/wsdl/sabreXML1.0.00/pnrservices/PNRBuilderTypes_v1.19.0.xsd'.
- The request failed with HTTP status 404: Not Found.
.Net has some issues with choice elements and the way Sabre created some WSDLs. You can find more information at https://developer.sabre.com/resources/api_versioning.
Sabre team fixed the broken address and now there is no error when running the wsdl tool. Thanks

Power BI embedded Issue

I am trying to integrate the power bi report with our asp.net mvc application. So I found this https://azure.microsoft.com/en-us/documentation/articles/power-bi-embedded-get-started-sample/ article and followed the steps. I have successfully created the workspace collection and generated the access keys. And I downloaded this https://github.com/Azure-Samples/power-bi-embedded-integrate-report-into-web-app/ sample application as specified in the article and ran the ProvisionSample contsole application. I selected the 5th step and provided the appropriate values for workspace collection name and access key and it throws the following error "Operation returned an invalid status code 'Forbidden'". I looked at the audit logs and there is no error. Anyone have idea what causes for this issue?
There is an issue going on right now that is effecting some parts of the world. We are actively working on a fix.

Unknown Edge error code #c004e005

I’m trying to build oRTC application with latest Edge version. Followin code:
iceGatherer.getLocalCandidates().forEach(iceGatherer.onlocalcandidate);
throws error “c004e005” that don’t have any description. Anyone familiar with oRTC in Edge?
The “c004e005” error code is for an invalid state. You can find a list of the Microsoft Edge ORTC error codes in the MSDN documentation.
The invalid state is likely thrown on the RTCIceServer regarding the IceGatherer, IceTransport, or DtlsTransport in the TURN server configuration.

WSDL error: (Salesforce integration)

I am currently trying to integrate ExpressionEngine and Salesforce using a SOAP API. I have a working WSDL but when I try and parse the WSDL and create APEX classes in Salesforce it ends up throwing some weird errors. I have posted extensively on this at the following salesforce forum link: http://boards.developerforce.com/t5/Apex-Code-Development/URGENT-WSDL-Issues-Error-Failed-to-parse-wsdl-type-not-specified/td-p/548983
It was originally throwing an error saying that the name attribute could not be null so I then added name="salesforce" to the node. After that it began throwing a type error:
Error: Failed to parse wsdl: type not specified for attribute: salesforce
I have tried to debug this, but can't really find much wrong with the following declaration:
<xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="tns:Associative[]" name="salesforce"/>
The full WSDL document can be found at the above link. Any help would be greatly appreciated as this is not my particular area of expertise and I have a fast approaching deadline.
The WSDL is using the rpc/encoded interaction style, this is not supported by the Salesforce WSDL2Apex tool. You'll have to manually create/parse requests to this API.

blackberry linkedin and twitter implementation error

I used Scribe1.2.jar file for implementing twitter.I use the following code
OAuthService service = new ServiceBuilder().provider(TwitterApi.class).apiKey("key").apiSecret("secret").build();
Token requestToken = service.getRequestToken();
When i compile the code, its showing the following error - org/scribe/builder/api/Api.class: Error!: Invalid class file: Incorrect classfile version. The same problem happends in Linkedin also. How to resolve the problem ?. I referred this link scribe doc
The jars you mentioned, scribe-1.2.0.jar and Linkedin-j.jar (You didn't mention the LinkedIn's one explicitly, but I guess you meant this one) are Java SE versions and can't be used on BlackBerry. You need to look for Java ME versions and if you find ones, you need to preverify them first.
Refer to this question on additional information on preverification.
Update: I downloaded scribe-1.2.0.jar and tried to preverify it. I got the following error:
Error preverifying class org.scribe.extractors.BaseStringExtractorImpl
VERIFIER ERROR org/scribe/extractors/BaseStringExtractorImpl.getSortedAndEncodedParams(Lorg/scribe/model/OAuthRequest;)Ljava/lang/String;:
Cannot find class java/util/Map
The reason is that java.util.Map doesn't exist in Java ME.

Resources