Can anyone help? jaxws:wsimport doesn't seem to be honoring the proxy settings 
in ${user.home}/.m2/settings.xml) or conf/settings.xml. I'm trying to run 
wsimport to generate stubs from wsdl. It works fine outside the corporate 
firewall and fails with the exception below inside the firewall and attempting 
to set the proxy in either of the aforementioned files.

Also, I tried setting the httpproxy param on the plugin itself and it tells me 
httpproxy is an unrecognized param and then shows usage where the param is 
listed. I'm using version 1.10 of the plugin.

Thanks ...

[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Unnamed - 
DepositAccount-JaxWs:DepositAccount-JaxWs:jar:1.0.0-SNAPSHOT
[INFO]    task-segment: [generate-sources]
[INFO] ------------------------------------------------------------------------
[INFO] [jaxws:wsimport {execution: default}]
[INFO] Processing: C:\Documents and 
Settings\hzp0nr\Documents\workspace-sts-2.3.2.RELEASE\DepositAccount-JaxWs\wsdl\FundsTransfer.wsdl
[INFO] jaxws:wsimport args: [-s, C:\Documents and 
Settings\hzp0nr\Documents\workspace-sts-2.3.2.RELEASE\DepositAccount-JaxWs\src, 
-d, C:\Documents and 
Settings\hzp0nr\Documents\workspace-sts-2.3.2.RELEASE\DepositAccount-JaxWs\target\classes,
 -verbose, C:\Documents and 
Settings\hzp0nr\Documents\workspace-sts-2.3.2.RELEASE\DepositAccount-JaxWs\wsdl\FundsTransfer.wsdl]
parsing WSDL...


[ERROR]     Unable to parse "./xmldsig-core-schema.xsd" : www.w3.org
  line 55 of 
file:/C:/Documents%20and%20Settings/hzp0nr/Documents/workspace-sts-2.3.2.RELEASE/DepositAccount-JaxWs/wsdl/Common/oasis-200401-wss-wssecurity-secext-1.0.xsd

[ERROR]     Unable to parse "./xmldsig-core-schema.xsd" : www.w3.org

Failed to read the WSDL document: 
file:/C:/Documents%20and%20Settings/hzp0nr/Documents/workspace-sts-2.3.2.RELEASE/DepositAccount-JaxWs/wsdl/FundsTransfer.wsdl,
 because 1) could not find the document; /2) the document could not be read; 3) 
the root element of the document is not <wsdl:definitions>.


[ERROR] failed.noservice=Could not find wsdl:service in the provided WSDL(s):

file:/C:/Documents%20and%20Settings/hzp0nr/Documents/workspace-sts-2.3.2.RELEASE/DepositAccount-JaxWs/wsdl/FundsTransfer.wsdl
 At least one WSDL with at least one service definition needs to be provided.


      Failed to parse the WSDL.
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error executing: wsimport [-s, C:\Documents and 
Settings\hzp0nr\Documents\workspace-sts-2.3.2.RELEASE\DepositAccount-JaxWs\src, 
-d, C:\Documents and 
Settings\hzp0nr\Documents\workspace-sts-2.3.2.RELEASE\DepositAccount-JaxWs\target\classes,
 -verbose, C:\Documents and 
Settings\hzp0nr\Documents\workspace-sts-2.3.2.RELEASE\DepositAccount-JaxWs\wsdl\FundsTransfer.wsdl]
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3 seconds
[INFO] Finished at: Thu Apr 15 16:41:43 EDT 2010
[INFO] Final Memory: 3M/7M
[INFO] ------------------------------------------------------------------------

Reply via email to