简体   繁体   中英

C# WCF Web Service on localhost consumed by Java Client

currently my WCF Service is using net.pipes to talk on local machine. Now I want to consume the web service in java on the same machine . Here I have some questions:

  • Which binding I have to use to talk on local machine with Java client?

I don't want to go over network and the client must be able to consume the web service.

Do you may have any articles or tipps how to start here? May some hints what I have to take care about?

BasicHttpBinding exposes a SOAP 1.1 wsdl which is probably the most interoperable between JAVA and .NET. If your calls are local then you won't go out to the network.

EDIT

WsHttpBinding supports SOAP 1.2 which is a larger, more complex specification and therefore more open to interpretation by different vendors. So while it may work fine, it will generally be less interoperable.

Specifically there may be differences in the way security is handled on either side (see here for a good explanation).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM