axis2-wsdl2code-maven-plugin does not take into consideration the proxy 
settings specified in the Maven configuration file
--------------------------------------------------------------------------------------------------------------------------

                 Key: AXIS2-5017
                 URL: https://issues.apache.org/jira/browse/AXIS2-5017
             Project: Axis2
          Issue Type: Bug
          Components: wsdl
    Affects Versions: 1.5.4
         Environment: Windows
            Reporter: Cristian


I have a project configured for Maven2 to use the 
"axis2-wsdl2code-maven-plugin" in order to generate Java code from a WSDL file.
The company environment is using a proxy server for access to Internet and the 
access requires credentials.

Nevertheless, the WSDL file contains references schemas with locations outside 
company's network (schemaLocation attributes) and the plugin is trying to 
download them without success because it can't pass the proxy settings without 
valid credentials and it returns a 407 code (Credentials required).

I've been looking on all the parameters of the plugin 
(http://axis.apache.org/axis2/java/core/tools/maven-plugins/maven-wsdl2code-plugin.html)
 but none permit to specify proxy credentials. The plugin does not seem to take 
into consideration the proxy settings specified in the Maven configuration file

This is my code in pom.xml:

<plugin>
        <groupId>org.apache.axis2</groupId>
        <artifactId>axis2-wsdl2code-maven-plugin</artifactId>
        <version>1.5.4</version>
  <executions>
      <execution>
          <goals>
              <goal>wsdl2code</goal>
          </goals>
          <configuration>
              <wsdlFile>wsdl/reqdata.wsdl</wsdlFile>
              <databindingName>xmlbeans</databindingName>
              <outputDirectory>src</outputDirectory>
          </configuration>
      </execution>
  </executions>
</plugin>



--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org

Reply via email to