04-14-2008 10:47 AM
WSDLToJava Error: Element {http://www.alfresco.org/ws/service/content/1.0}content has Having the same name with different types[{http://www.w3.org/2001/XMLSchema}base64Binary – {http://www.alfresco.org/ws/service/content/1.0}Content], In wrapper style, there is a collision as per the spec.
[java] org.apache.cxf.tools.common.ToolException: Element {http://www.alfresco.org/ws/service/content/1.0}content has Having the same name with different types[{http://www.w3.org/2001/XMLSchema}base64Binary – {http://www.alfresco.org/ws/service/content/1.0}Content], In wrapper style, there is a collision as per the spec.
[java] at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.validate(WSDLToJavaContainer.java:543)
[java] at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:191)
[java] at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:231)
[java] at org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.java:83)
[java] at org.apache.cxf.tools.wsdlto.WSDLToJava.run(WSDLToJava.java:102)
[java] at org.apache.cxf.tools.wsdlto.WSDLToJava.main(WSDLToJava.java:171)
<project name="cxf wsdl2java" basedir="." default="cxfWSDLToJava">
<property name="cxf.home" location="D:/apache-cxf-2.0.5-incubator" />
<path id="cxf.classpath">
<fileset dir="${cxf.home}/lib">
<include name="*.jar" />
</fileset>
</path>
<target name="cxfWSDLToJava">
<delete dir="${basedir}/../java/org/alfresco/ws" failonerror="no" />
<java classname="org.apache.cxf.tools.wsdlto.WSDLToJava" fork="true">
<arg value="-verbose" />
<arg value="-validate" />
<arg value="-client" />
<arg value="-p" />
<arg value="http://www.alfresco.org/ws/service/content/1.0=org.alfresco.ws.service.content" />
<arg value="-p" />
<arg value="http://www.alfresco.org/ws/headers/1.0=org.alfresco.ws.headers" />
<arg value="-p" />
<arg value="http://www.alfresco.org/ws/model/content/1.0=org.alfresco.ws.model.content" />
<arg value="-p" />
<arg value="http://www.alfresco.org/ws/cml/1.0=org.alfresco.ws.cml" />
<arg value="-d" />
<arg value="${basedir}/../java" />
<arg value="${basedir}/wsdl/content-service.wsdl" />
<classpath>
<path refid="cxf.classpath" />
</classpath>
</java>
</target>
</project>
04-25-2008 05:14 PM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.