javaapacheweb-servicessoap-clientjava-client

How to do Post for https using Apache client


Hi i am trying to do post request in SOAP for HTTPS using Apache client.However I can do easily with HTTP with Apache client.But getting difficult with HTPPS.I have tried google a lots but not getting the proper documentation.Somewhere i found, but in that they have used deprecated class. Somebody tell me how to do post request in SOAP for HTTPS using apache client or simple java with explanation of SSL(Getting trust certificate). It is better if i will get the working example. Suggestions are always appreciable. Thanks in advance


Solution

  • oops my request was wrong actually. Code is working fine