Hello CXF folks and happy new year from Italy!

I posted a similar email some time ago, but though some kind replies, I'm still in trouble.

I need to develop a Web service from a third-party WSDL file that in turns imports other files. I'm usingwsdl2java and everything seems fine, classes are generated and I can compile my server application. However, at runtime I get an exception because CXF framework tries to connect to the Internet through the BuildServiceFromWSDL function, but it fails because my server needs to run on a private network without Internet access. Is there a way to avoid this?

Please note that:

1) There are many nested imports, so it is not feasible to download everything locally and create
Java classes from there.

2) The same works perfectly with C++ classes generated by gSOAP library, once the dependencies
are resolved at code-generation time the code is completely consistent.

May you please help me? Frankly speaking I cannot really understand why there's this kind of
need in CXF framework.

Many thanks in advance,

Matteo

--
Write once, compile everywhere
Compile once, run somewhere...

Reply via email to