cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William Tam (JIRA)" <>
Subject [jira] Created: (CXF-2910) Unable to use XmlSchema element as message part in WSDL
Date Mon, 26 Jul 2010 21:38:18 GMT
Unable to use XmlSchema element as message part in WSDL

                 Key: CXF-2910
             Project: CXF
          Issue Type: Bug
          Components: Service Model
            Reporter: William Tam
             Fix For: 2.3, 2.2.10

Please refer to the test case in the attachment.   In the WSDL, I am using "xsd:any" which
should be element defined in XML Schema.

However, I am having trouble to build a service model from that WSDL.  I am getting the following

org.apache.cxf.wsdl11.WSDLRuntimeException: Part DefaultInput defined as element {}any
which is not in the schema.
	at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildMessage(
	at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildInterfaceOperation(
	at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildInterface(
	at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildMockService(
	at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildMockServices(
	at org.apache.cxf.wsdl11.WSDLDefinitionBuilderTest.testXmlSchemaElementAsMessagePart(
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(
	at java.lang.reflect.Method.invoke(
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(
	at org.junit.runners.ParentRunner$
	at org.junit.runners.ParentRunner$1.schedule(
	at org.junit.runners.ParentRunner.runChildren(
	at org.junit.runners.ParentRunner.access$000(
	at org.junit.runners.ParentRunner$2.evaluate(
	at org.junit.internal.runners.statements.RunBefores.evaluate(
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message