Error: Unable to import binding 'CustomBinding_IWSTrustFeb2005Async' from namespace - web-services

Using ASP.NET / Visual Studio 2005 / 2012:
I have a .wsdl file from service provider, which I need to test.
I ran wsdl.exe myfile.wsdl from Vs command promopt but I get this error:
Error: Unable to import binding 'CustomBinding_IWSTrustFeb2005Async' from namespace 'http://schemas.microsoft.com/ws/2008/06/identity/securitytokenservice'.
- Unable to import operation 'TrustFeb2005IssueAsync'.
- The element 'http://schemas.xmlsoap.org/ws/2005/02/trust:RequestSecurityToken' is missing.
I also tried to Add Web Reference from VS 2005 and VS 2012 but that is also throwing weird error.
- The WSDL document contains links that could not be resolved.
- There was an error downloading 'file:///C:/Users/abcd12/Documents/Visual Studio 2005/MyWebserviceTest/mex.xsd'.
Any idea what's wrong or where should I start looking into?
Update: The Visual Studio error adding reference is gone once I removed the entry to type import referencing mex.xsd.
But now VS is also giving the same error as command prompt.
Update: Looks like the wsdl is corrupted. Waiting from the provider to give me updated wsdl.
I will update here if I need any further help.

Some .xsd files imported in the wsdl weren't provided to me. Once I got those files, all went fine.

Related

Visual Studio WSDL.exe unable to convert ONVIF WSDL files

I am trying to convert the ONVIF WSDL files from https://www.onvif.org/profiles/specifications/ to C++.
But I keep getting similar errors about certain data types missing. For example, doing the following command:
wsdl /language:CPP /protocol:SOAP12 media.wsdl
I get the following error:
Error: Unable to import binding 'MediaBinding' from namespace 'http://www.onvif.org/ver10/media/wsdl'.
- Unable to import operation 'GetVideoSources'.
- The datatype 'http://www.onvif.org/ver10/schema:VideoSource' is missing.
And if I try doing with a URL like so:
wsdl /language:CPP /protocol:SOAP12 https://www.onvif.org/ver10/media/wsdl/media.wsdl
I get the following error:
Error: There was an error processing 'https://www.onvif.org/ver10/media/wsdl/media.wsdl'.
- There was an error downloading 'https://www.onvif.org/ver10/media/wsdl/media.wsdl'.
- The request was aborted: Could not create SSL/TLS secure channel.
This is using Visual Studio 2015.
I am not using gSOAP because this may be used commercially.
Answered here: https://github.com/onvif/specs/discussions/249
When using a URL, "http" must be used.
The schema validation errors are known and has to do with the Microsoft XML parser being being 1.0 where ONVIF is using 1.1.

PowerBI Visuals Tools - error after pbiviz start command

I trying to start my custom visual (like usually) but after I updated powerbi-custom-visual to version beta 3.0.11 from version 3.0.10 I got the following error:
error ENOENT: no such file or directory, open '/Users/mar/CustomVisuals/rangechart/.tmp/precompile/visualPlugin.ts'
(node:1454) UnhandledPromiseRejectionWarning: Error: Failed to generate visualPlugin.ts
at generateVisualPlugin.then.catch.ex (/usr/local/lib/node_modules/powerbi-visuals-tools/node_modules/powerbi-visuals-webpack-plugin/index.js:168:12)
at <anonymous>
Does anyone knows why is that? I returned back to the previous beta version of powerbi-custom-visual but it did not help. With version 2.3.0 everything works fine.
I ran into something similar after I deleted the .tmp folder in my project to clean up from an old build. I found that I had to manually (re)create the .tmp/precompile directories inside my project folder. Not sure why the tool couldn't handle creating them itself.

Angular build error in core/src/render3/interfaces

While building an Angular 6 app i get a compile error in #angular/core/src/render3/interfaces on line 35. The line is:
[ACTIVE_INDEX]: number | null;
and the error is:
error TS1169: A computed property name in an interface must directly refer to a built-in symbol.
I an using #angular/core#6.1.6. Am I doing something wrong or is this an Angular bug?
Verify that Visual Studio is targeting the correct version of Typescript (as seen in your package.json), then try deleting your node_modules folder, and rerunning npm install.
I believe that this is caused by running Angular 6 with an earlier, incompatible version of typescript (<2.7), because it looks like the ability used by the container.d.ts file (referenced in your error) to use Constant-Named Properties was added in Typescript 2.7. Of course, if it were that simple then ng serve would tell you about the Typescript incompatibility, so I assume that I'm either wrong, or that your environment is playing tricks on you.
See here for a related question.

Xamarin linker error with AWSSDK

I have a Xamarin forms mobile project (Android and iOS).
When I try to install the AWSSDK.S3 to access Amazon services, I get the following linker error when trying to build iOS:
Failed to resolve "System.Void Amazon.Runtime.Internal.Util.AESEncryptionPutObjectStream::.ctor(System.IO.Stream,System.Byte[],System.Byte[])" reference from "AWSSDK.Core, Version=3.3.0.0, Culture=neutral, PublicKeyToken=885c28607f98e604"
..Android build has a similar error.
I have the following libraries installed:
AWSSDK.S3 v3.1.1.1
AWSSDK.Core v3.3.4
AWSSDK.SecurityToken v3.3.0.2
AWSSDK.CognitolIdenity v3.3.0.2
AWSSDK.CognitoIdentityProvider v3.3.1.2
PCLCrypto v2.0.147
PCLStorage v1.0.2
the only code in my project is:
var amazonClient = new AmazonS3Client();
Any ideas?
possible (bad) workaround that seems to work:
change in Linker Options/Linker behavior:
to: Don't link
instead of: Link SDK Assemblies only
The answer turns out to be found here:
Xamarin Forms IOS Failed to load assembly System.Net.Http.Primitive
even though its a different assembly error, the fix is the same:
update all the AWS.Core to the latest version: v3.3.6 in my case
install Microsoft.Bcl.Build v1.0.21
install Microsoft.Net.Http v2.2.29
Rolling back to AWSSDK.S3 V3.1.10 worked for me, done using the NuGet manager in Visual Studio. =)

ClojureBox initialization Warning

When I run Clojure Box it gives me the following error
"Warning (initialization): An error occurred while loading `~/.emacs':
File error: Searching for program, no such file or directory, java
To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file. Start Emacs with
the `--debug-init' option to view a complete error backtrace."
How to resolve this issue?
Okay Clojure Box is a Windows Clojure setup. It looks like you don't have Java installed yet. You'll need to install the Windows JDK from Oracle first:
http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u25-download-346242.html