문제

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).

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top