6 Replies Latest reply on Jul 12, 2013 12:07 PM by asoldano

    wsconsume, how to access HTTP Basic secured WSDL

    j_ri

      Hi,

       

      I have to implement a webservice client for ou JEE application which accesses a webservice on a SAP system. The webservice's WSDL is secured with HTTP Basic authentication.

      Unfortunately I couldn't find out how to set username and password when using the wsconsume goal of the

       

      <groupId>org.jboss.ws.plugins</groupId>

      <artifactId>maven-jaxws-tools-plugin</artifactId>

          

      maven plugin for client code generation.

       

       

      Can any body give me a hint how to solve this ( I already know that I can download the WSDL and imported XSDs manually and use a local copy of them......but this is not a good option)?

       

      Thanks,

      Jochen