Ignore certification authentication on Axis client for WCF service

前端 未结 1 1417
情书的邮戳
情书的邮戳 2021-01-01 02:49

I created an axis client to WCF service (the client was generated by Eclipse, using the WSDL as an input).

The client works fine when using HTTP.

When using

相关标签:
1条回答
  • 2021-01-01 03:09

    I had the same problem and fixed it using:

    AxisProperties.setProperty("axis.socketSecureFactory","org.apache.axis.components.net.SunFakeTrustSocketFactory");
    

    In case this doesn't work, have a look here.

    0 讨论(0)
提交回复
热议问题