title: springboot client for secure soap
body: <p>I'm trying to access a secure SOAP service from a springboot client and I have this error</p>
  
  <blockquote>
    <p>StartTransaction Started...
    equifax    | Start transaction ...
    equifax    | Service initialise
    equifax    | 2018-09-20 07:50:38.512  INFO 1 --- [nio-7070-exec-1] o.a.c.w.s.f.ReflectionServiceFactoryBean : Creating Service {<a href="http://eid.equifax.com/soap/schema/canada/v3/wsdl" rel="nofollow noreferrer">http://eid.equifax.com/soap/schema/canada/v3/wsdl</a>}canadav3 from WSDL: <a href="https://eid.equifax.ca/uru/soap/ut/canadav3?wsdl" rel="nofollow noreferrer">https://eid.equifax.ca/uru/soap/ut/canadav3?wsdl</a>
    equifax    | ServicePort initiee
    equifax    | 2018-09-20 07:50:39.558  INFO 1 --- [nio-7070-exec-1] o.a.c.w.s.f.ReflectionServiceFactoryBean : Creating Service {<a href="http://eid.equifax.com/soap/schema/canada/v3/wsdl" rel="nofollow noreferrer">http://eid.equifax.com/soap/schema/canada/v3/wsdl</a>}canadav3 from WSDL: <a href="https://eid.equifax.ca/uru/soap/ut/canadav3?wsdl" rel="nofollow noreferrer">https://eid.equifax.ca/uru/soap/ut/canadav3?wsdl</a>
    equifax    | 2018-09-20 07:50:39.614  INFO 1 --- [nio-7070-exec-1] o.a.c.w.s.f.ReflectionServiceFactoryBean : Creating Service {<a href="http://eid.equifax.com/soap/schema/canada/v3/wsdl" rel="nofollow noreferrer">http://eid.equifax.com/soap/schema/canada/v3/wsdl</a>}canadav3 from WSDL: <a href="https://eid.equifax.ca/uru/soap/ut/canadav3?wsdl" rel="nofollow noreferrer">https://eid.equifax.ca/uru/soap/ut/canadav3?wsdl</a>
    equifax    | org.apache.cxf.binding.soap.SoapFault: An error was discovered processing the  header
    equifax    | An error was discovered processing the  header</p>
  </blockquote>
  
  <p>My code:</p>
  
  <pre><code>@ResponseBody
  public ResponseEntity&lt;Object&gt; startTransaction(@RequestBody Identity identity) {
      System.out.println("StartTransaction Started...");
      InitialRequest initialRequest = new InitialRequest();
      ProcessingOptions value = new ProcessingOptions();
      value.setLanguage("French");
  
      initialRequest.setIdentity(identity);
      initialRequest.setProcessingOptions(value);
      InitialResponse iR = new InitialResponse();
      try {
          System.out.println("Start transaction ...");
          Canadav3 canada = new Canadav3();
          System.out.println("Service initialise");
          CanadaPortTypeV3 c = canada.getCanadaHttpPortV3();
          System.out.println("ServicePort initiee");
  
          URL wsdlURL = new URL("https://eid.equifax.ca/uru/soap/ut/canadav3?wsdl");
          QName qname = new QName("http://eid.equifax.com/soap/schema/canada/v3/wsdl", "Canadav3");
          Service service =Service.create(wsdlURL, qname);
          c = (CanadaPortTypeV3)service.getPort(CanadaPortTypeV3.class);
  
          BindingProvider bp = (BindingProvider)c;
          bp.getRequestContext().put(BindingProvider.USERNAME_PROPERTY, "/user");
          bp.getRequestContext().put(BindingProvider.PASSWORD_PROPERTY, "mypassword");
  
          iR = c.startTransaction(initialRequest);
          System.out.println("Finish");
          return ResponseEntity.status(HttpStatus.OK).body(iR);
      }catch (CredentialsErrorFault c) {
          System.err.println("Finish");
          System.err.println("CredentialsErrorFault "+c.getLocalizedMessage());
          return ResponseEntity.status(HttpStatus.INTERNAL_SERVER_ERROR).body(new Alert(c.getMessage()));
      }
      catch(ValidationErrorFault e) {
          System.err.println("Finish");
          System.err.println("ValidationErrorFault "+e.getLocalizedMessage());
          return ResponseEntity.status(HttpStatus.INTERNAL_SERVER_ERROR).body(new Alert(e.getMessage()));
      }
      catch(Exception e) {
          System.out.println(e.getCause());
          System.err.println(e.getMessage());
          return ResponseEntity.status(HttpStatus.INTERNAL_SERVER_ERROR).body(new Alert("Error unknows"));
      }
  }
  </code></pre>
  
  <p>thank you in advance</p>