Metro has been contributed to Eclipse Foundation. This repository is for legacy review only. Please refer to the Eclipse EE4J Metro project for the very latest
wasppit@java.net said:
It works if you specify the imported XSD as ws:metadata:
AddInt.xsd
Unfortunately you can only specify one XSD (see Issue 12).
I vote for not having to specify metadata at all.
By the way, is Kohsuke still working on this? I got the impression he changed
focus to other projects, leaving JAX* stuff rather abandoned.
Definition of wsdl below does not allow access to imported xsd.
For details see similar bug in Spring WS: http://jira.springframework.org/browse/SWS-281
WEB-INF/applicationContext.xml
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:ws= "http://jax-ws.dev.java.net/spring/core" xmlns:wss="http://jax-ws.dev.java.net/spring/servlet" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd http://jax-ws.dev.java.net/spring/core http://jax-ws.dev.java.net/spring/core.xsd http://jax-ws.dev.java.net/spring/servlet http://jax-ws.dev.java.net/spring/servlet.xsd">