« Return to Thread: : Looking for xsd (schema) on local file system, instead on the web ?
Hi,Thanks for the help.I finally found some ugly way to do it... It works, but I'm hoping there's a better way...My current workaround is:1 - Create client (dynamic proxy), taking care to set the property XFire.STAX_INPUT_FACTORY, pointing to your own 'MyInputFactory' (note it's a string = the *name* of the class).2 - The above mentioned 'MyInputFactory' can rely on the standard implementation of WstxInputFactory, only it needs to call WstxInputFactory.setXMLResolver to set your customized XMLResolver (which may rely on the file system).I tried to inherit from WstxInputFactory, but since it's final, I ended up wrapping it .Thanks again.Not sure that this is possible at the moment. Could you please file a
JIRA issue for this? Thanks!
- Dan
sol myr wrote:
> Hi,
>
> We're trying to run XFire (client + server) on machines that don't
> have any internet access (due to security reasons).
> Client & server are, of course, connected internally (via intrAnet).
>
> Unfortunatelly, we're getting an XFireFault.
> According to the error message, it looks like stax EntityResolver is
> trying to connect to www.w3.org - I'm guessing
> it's trying to retrieve some of the standard WS schemas.
>
> Can you configure XFire to retrieve such schemas from the local file
> system, instead of the web ?
> (I know it can be done with stax / woodstox , by setting the
> EntityResolver... but is there an easy way to do it on the XFire
> level ? )
>
> Thanks.
>
>
>
>
>
> ------------------------------------------------------------------------
> Ring'em or ping'em. Make PC-to-phone calls as low as 1ยข/min
>> with Yahoo! Messenger with Voice.
--
Dan Diephouse
Envoi Solutions
http://envoisolutions.com
http://netzooid.com/blog
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email
How low will we go? Check out Yahoo! Messenger's low PC-to-Phone call rates.
« Return to Thread: : Looking for xsd (schema) on local file system, instead on the web ?
| Free embeddable forum powered by Nabble | Forum Help |