When my servlet container starts and the following code is executed in the class org.springframework.ws.wsdl.wsdl11.builder.Abstrac tWsdl4jDefinitionBuilder,
I get the following error:Code:/** * Creates a WSDL4J extensibility element. * * @param parentType a class object indicating where in the WSDL definition this extension will exist * @param elementType the qname of the extensibility element * @return the extensibility element * @throws WSDLException in case of errors * @see javax.wsdl.extensions.ExtensionRegistry#createExtension(Class,javax.xml.namespace.QName) */ protected ExtensibilityElement createExtension(Class parentType, QName elementType) throws WSDLException { if (extensionRegistry == null) { WSDLFactory wsdlFactory = WSDLFactory.newInstance(); extensionRegistry = wsdlFactory.newPopulatedExtensionRegistry(); } return extensionRegistry.createExtension(parentType, elementType); }
I suspect this is caused by the version of SAAJ (1.2) that is included in WebSphere 6.1. Has anyone else seen this problem?Code:Caused by: org.springframework.ws.wsdl.wsdl11.Wsdl4jDefinitionException: WSDLException: faultCode=CONFIGURATION_ERROR: No Java extensionType found to represent a '{http://www.w3.org/2001/XMLSchema}schema' element in the context of a 'javax.wsdl.Types'.; nested exception is WSDLException: faultCode=CONFIGURATION_ERROR: No Java extensionType found to represent a '{http://www.w3.org/2001/XMLSchema}schema' element in the context of a 'javax.wsdl.Types'.: Caused by: WSDLException: faultCode=CONFIGURATION_ERROR: No Java extensionType found to represent a '{http://www.w3.org/2001/XMLSchema}schema' element in the context of a 'javax.wsdl.Types'.: at javax.wsdl.extensions.ExtensionRegistry.createExtension(Unknown Source) at org.springframework.ws.wsdl.wsdl11.builder.AbstractWsdl4jDefinitionBuilder.createExtension(AbstractWsdl4jDefinitionBuilder.java:199) at org.springframework.ws.wsdl.wsdl11.builder.XsdBasedSoap11Wsdl4jDefinitionBuilder.buildTypes(XsdBasedSoap11Wsdl4jDefinitionBuilder.java:203) at org.springframework.ws.wsdl.wsdl11.builder.AbstractWsdl4jDefinitionBuilder.buildTypes(AbstractWsdl4jDefinitionBuilder.java:98) at org.springframework.ws.wsdl.wsdl11.DynamicWsdl11Definition.afterPropertiesSet(DynamicWsdl11Definition.java:69)
Shannon Kendrick


Reply With Quote