1 Reply Latest reply on Dec 29, 2015 6:11 AM by bhaskar87

    Attaching MIME headers to SOAP request

    bhaskar87

      I am trying to attach MIME headers to a SOAP request. I have attached my code. The header is not getting attached, I tried checking using TCP/IP monitor is eclipse. Kindly let me know what am I missing here?

        • 1. Re: Attaching MIME headers to SOAP request
          bhaskar87

          Please use the attached java file. We are trying to attach the headers for authentication.

          I am trying to call the attached handler with the following code:

          wsService.setHandlerResolver(new HandlerResolver() {

                          @Override

                          public List<Handler> getHandlerChain(PortInfo portInfo) {

                        

                          System.out.println("dsfdsgfdsg");

                              List<Handler> handlerChain = new ArrayList<Handler>();

                              handlerChain.add((Handler) new L7handler());

                              return handlerChain;

                          }

                      });

           

          I have also attached the screenshot of the TCP/IP monitor that I used to track all outgoing requests.