Hi,

I'm trying to use the cxf-codegen-plugin (v 2.3.2) to generate classes for a
WSDL that uses MTOM.

The host I'm developing on sits behind a firewall and doesn't have a
connection to the internet. The plugin, however, apparently tries to
reference the xmlmime schema online, and fails:

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] org.apache.cxf.wsdl11.WSDLRuntimeException: Fail to create wsdl
definition from :
file:/vobs/sop/projects/bundesanzeiger/contract/src/main/resources/META-INF/wsdl/URegService.wsdl
Caused by : WSDLException (at /wsdl:definitions/wsdl:types/xs:schema):
faultCode=PARSER_ERROR: Problem parsing
'http://www.w3.org/2005/05/xmlmime'.: java.net.ConnectException: Connection
timed out

Is there a way around this so I can build those classes offline?

Thanks,
Jens

--
View this message in context: 
http://cxf.547215.n5.nabble.com/wsdl2java-with-MTOM-and-firewall-tp4290446p4290446.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to