Never mind, I have looked at the source code and figured it out
For xs:import its removing schemaLocation and leaving import as is..
Never mind, I have looked at the source code and figured it out
For xs:import its removing schemaLocation and leaving import as is..
I'm migrating existing code using Spring WS 1.5.9 to 2.0.0-M2 and have noticed some changes in classes and packages. Can someone confirm the following for me:
1. did
get replaced with:Code:org.springframework.ws.wsdl.wsdl11.DynamicWsdl11Definition
2. DynamicWsdl11Definition used to use a property called builder, using class XsdBasedSoap11Wsdl4jDefinitionBuilder. Has this now gone as well? Is the equivalent replacement to use org.springframework.xml.xsd.SimpleXsdSchema?Code:org.springframework.ws.wsdl.wsdl11.DefaultWsdl11Definition
Thanks!
Kevin
Hi,
The repository given earlier in this thread is not active:
Is there some other Maven repository where SWS 2.0.0M2 can be accessed? I tried manually adding it to our local repository, but there are some references to the spring-ws-parent which is not part of the download package. Each sub pom contains the following:Code:repository> <id>spring-maven-milestone</id> <name>Springframework Maven Repository</name> <url>http://maven.springframework.org/milestone</url> </repository>
Can someone tell me if the parent listed above is required, and if so where can it be found?Code:<parent> <artifactId>spring-ws-parent</artifactId> <groupId>org.springframework.ws</groupId> <version>2.0.0-M2</version> <relativePath>../parent/pom.xml</relativePath> </parent>
Thanks, Ben
Yes, the DynamicWsdl11Definition has been deprecated since 1.5, and we got rid of it in 2.0. The DefaultWsdl11Definition was introduced in 1.5 and should be a drop in replacement.
The replacement for that is to use the provider API, which is much more powerful and allows for more customization of the resulting WSDL. See the reference docs, javadocs and samples for more information.