none
WCF Interoperability RRS feed

  • Question

  • Hello,

    I have one secured WCF service with self signed certificate which uses wsHttpBinding.
    I am trying to access this service in java application. So i am creating a java client for this service. But unfortunately i could not make an establishment between these two as i see some warnings when trying to connect like unknown transport binding etc.., I have validated the certificate on the client side but the problem is am unable to hit the service as it silently exits with above warnings.

    I made same service without any security certificates and used basicHttpBinding, there i can easily hit the wcf service from java client.

    Are there any limitations for the interoperability with secured wcf services across different platforms as it works with basicHttpBindings ?

    Thank you.

    Friday, November 7, 2014 1:22 PM

Answers

  • Hi Pradeep543,

    First please try to refer to the following article to make sure that your steps about calling the wsHttpBinding WCF Service from java client are correct:
    #WCF: Message Security with a Java Client:
    http://www.experts-exchange.com/Programming/Languages/.NET/Web_Services/Q_27277082.html .

    If it still can not work, it may be because that your java client does not support the same WS protocols that are used in the wsHttpBinding, for more information, please try to refer to the following similar thread:
    http://stackoverflow.com/questions/1139285/consuming-a-wcf-wshttpbinding-webservice-in-java .

    Best Regards,
    Amy Peng

    This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.



    Wednesday, November 12, 2014 8:41 AM
    Moderator

All replies

  • A few questions:

    What software are you using on the Java side?

    What are the specific warnings you are getting? Post the exceptions.

    What is your binding configuration? Post the section from the Web.config file.

    Saturday, November 8, 2014 1:21 AM
  • Hi Pradeep543,

    First please try to refer to the following article to make sure that your steps about calling the wsHttpBinding WCF Service from java client are correct:
    #WCF: Message Security with a Java Client:
    http://www.experts-exchange.com/Programming/Languages/.NET/Web_Services/Q_27277082.html .

    If it still can not work, it may be because that your java client does not support the same WS protocols that are used in the wsHttpBinding, for more information, please try to refer to the following similar thread:
    http://stackoverflow.com/questions/1139285/consuming-a-wcf-wshttpbinding-webservice-in-java .

    Best Regards,
    Amy Peng

    This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.



    Wednesday, November 12, 2014 8:41 AM
    Moderator