Does anyone know of any issues using WCF to open the SOAP interface for clients that are not .NET clients?

Does anyone know of any problems using WCF to open the SOAP interface for clients that are not .NET clients? For example, incompatibilities with other SOAP libraries?

This means that the SOAP interface can be open to third parties for integration with our software.

+4
source share
3 answers

Some of the problem areas I encountered with WCF are:

  • It generates a WSDL that is split across multiple URLs. That is, one part of the scheme is located at one URL, the other with a different URL, etc. The "main" WSDL URL (the one with just "WSDL" after the service name) refers to the other via xsd:import elements. Many SOAP clients (such as pre-.NET Delphi) have enormous difficulties with this idiom. Therefore, you really need to β€œsmooth out” your WSDL in order to achieve practical compatibility. One solution is given here .
  • WCF does not create XML namespaces in the same way as, say, the ASMX Services network. WCF tends to place any service contract or data in its own choice namespace. Again, some SOAP clients have difficulty with this. You can increase compatibility by adding an explicit namespace to the ServiceContract and DataContract attributes.
  • Many SOAP clients will not handle as well as WCF clients. For example, proxy generation code will not create client-side objects for errors declared in WSDL. Errors will still be transmitted by the client, of course, but the client needs to do more work to find out what the error was.
+8
source

WS- * standards stack versions can also be an interoperability problem - for example, the WS-Addressing (2003) version supported by some Java implementations, for example, Oracle BPEL is not supported by WCF, which supports later versions and versions 1.0 but not earlier than 2003.

+1
source

As a rule, everything works fine. This will obviously depend on the client you are using - not everyone will implement SOAP properly.

PS Could you rephrase your question if you want a more specific answer?

0
source

Source: https://habr.com/ru/post/1276978/


All Articles