Forum Discussion

corki's avatar
corki
Contributor
16 years ago

HOW TO LOAD project Properties like PROXY settings and ... with JAVA

  I use SAAJ technology to send extracted request from existing soapUI PROJECT and obtain response.
  It works perfect, but I realize, that should be problem when Proxy will be needed.
  Can you help me how to LOAD project settings (special proxy variables and port) by using SoapUI classes, which I know?



Here is small extract where I need to put this proxy changes:


      //Send the message and get a reply
        System.out.print("\nSENDING Soap Request ... ");
        String destination = "http://ncs-fcs-apt-b.map24.local:42101/ncs-fcs-web/ncs/services.....";
     
        System.out.print("\nWAITING for Response ... ");
        SOAPMessage reply = connection.call(message, destination);
        System.out.print("OK\n");
No RepliesBe the first to reply