WCF between Matlab and C # applications
I am trying to establish communication between two applications. 1 matlab app 1 written in C # app.
C # application publishes its functions with Microsoft WSDL application which is non-standard and Matlab cannot understand it.
Do you know of any solutions to this problem? Some application that publishes WCF functionality in a standard way, or some automatic tool that fixes this?
Thank,
source to share
A well known issue - actually Microsoft output compatible as standard, but most other systems don't support it :-)
Check out these WCF extensions that will allow you to "flatten" your WSDL to include XSDs as inline <wsdl:schema>
elements:
- Flatten your WSDL with this custom ServiceHost for WCF
- Improving WCF Interoperability: Smoothing Your WSDL
- Smooth WCF WSFL on demand
- Inline XSD in WSDL for WCF
Hope it helps!
Mark
source to share
The IPC: . You can do this using interprocess communication. For example, you can use a socket or a named pipe.
DLL: . If you just want to use C # methods in Matlab, you can create dll .NET framework and use it in matlab withNET.addAssembly('path to your dll');
MQTT: If communication between processes is complex, you can also use MQTT for simple messaging (like JSON) between processes.
source to share