Axis client call from HTTP to HTTPS


XML & Web services: Axis client call from HTTP to HTTPS

  1. Axis client call from HTTP to HTTPS (2 messages)


    I'm a complete newbie to Web Services development. I have generated a Axis client with a provided WSDL with HTTP URLs, but now I need to send some messages using HTTPS. Should I manually update the WSDL with HTTPS URLs or is there an option/configuration/property that can be set programmatically in Axis to send HTTPS rather HTTP messages, without having to regenerate a client?

  2. Finally found the answer. Axis client generated class * has a method named setEndPoint(String). Just make a setEndPoint(getEndPoint.replaceFirst("http", "https")) and it's done. RTFC to me.


  3. Hi , create a web service to axis . I need to use SSL to make it a secure page , you know how to do it ?. greetings, Daniel