cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William Tam (JIRA)" <j...@apache.org>
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
                 URL: https://issues.apache.org/jira/browse/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.  http://schemas.stylusstudio.com/xforms/n55d5735c/index.html

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

org.apache.cxf.wsdl11.WSDLRuntimeException: Part DefaultInput defined as element {http://www.w3.org/2001/XMLSchema}any
which is not in the schema.
	at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildMessage(WSDLServiceBuilder.java:812)
	at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildInterfaceOperation(WSDLServiceBuilder.java:582)
	at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildInterface(WSDLServiceBuilder.java:561)
	at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildMockService(WSDLServiceBuilder.java:257)
	at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildMockServices(WSDLServiceBuilder.java:201)
	at org.apache.cxf.wsdl11.WSDLDefinitionBuilderTest.testXmlSchemaElementAsMessagePart(WSDLDefinitionBuilderTest.java:141)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:592)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
	at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:46)
	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)



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


Mime
View raw message