You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by John McCosker <jm...@gmail.com> on 2007/03/13 14:49:31 UTC

org.apache.axis2.wsdl.databinding.UnmatchedTypeException

I am building my interfaces, skeletons and xml beans using the
wsdl2java ant task.
However I am getting this exception,

[genericCompiler] BUILD FAILED
[genericCompiler]
P:\ARRC_SW\GENI\code\GENI_FileSystemModifyService\build.xml:86:
org.apache.axis2.wsdl.codegen.CodeGenerationException:
org.apache.axis2.wsdl.codegen.CodeGenerationException:
org.apache.axis2.wsdl.databinding.UnmatchedTypeException: No type was
mapped to the name DeleteItemRequest with namespace
http://uk.dumby.com/arrc/geni/geni_filesystemmodifyservice/types1

my build script looks as follows,

<taskdef 	name="wsdl2java"
				    classname="org.apache.axis2.tool.ant.AntCodegenTask"
				    classpathref="axis2.class.path"/>
		
		<wsdl2java 	wsdlFilename="${project.absolute.dir}/${name}.wsdl"
	                output="${project.absolute.dir}/interface"
	             	language="java"
	                databindingName="xmlbeans"
	                synconly="true"
	                serverside="true"
	                serverSideInterface="true"
	                generateservicexml="true"
					packageName="com.dumby.uk.arrc.geni.geni_filesystemmodifyservice"/>

I think this my be related to the wsdl auto gen and a bug in axis2 but not sure,
anyone come accross this, and possibly a work around. I am not using
maven plugins just ant to build the services.

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: org.apache.axis2.wsdl.databinding.UnmatchedTypeException

Posted by Amila Suriarachchi <am...@gmail.com>.
can you send your wsdl?

On 3/13/07, John McCosker <jm...@gmail.com> wrote:
>
> I am building my interfaces, skeletons and xml beans using the
> wsdl2java ant task.
> However I am getting this exception,
>
> [genericCompiler] BUILD FAILED
> [genericCompiler]
> P:\ARRC_SW\GENI\code\GENI_FileSystemModifyService\build.xml:86:
> org.apache.axis2.wsdl.codegen.CodeGenerationException:
> org.apache.axis2.wsdl.codegen.CodeGenerationException:
> org.apache.axis2.wsdl.databinding.UnmatchedTypeException: No type was
> mapped to the name DeleteItemRequest with namespace
> http://uk.dumby.com/arrc/geni/geni_filesystemmodifyservice/types1
>
> my build script looks as follows,
>
> <taskdef        name="wsdl2java"
>                                     classname="
> org.apache.axis2.tool.ant.AntCodegenTask"
>                                     classpathref="axis2.class.path"/>
>
>                 <wsdl2java      wsdlFilename="${project.absolute.dir
> }/${name}.wsdl"
>                         output="${project.absolute.dir}/interface"
>                         language="java"
>                         databindingName="xmlbeans"
>                         synconly="true"
>                         serverside="true"
>                         serverSideInterface="true"
>                         generateservicexml="true"
>                                         packageName="
> com.dumby.uk.arrc.geni.geni_filesystemmodifyservice"/>
>
> I think this my be related to the wsdl auto gen and a bug in axis2 but not
> sure,
> anyone come accross this, and possibly a work around. I am not using
> maven plugins just ant to build the services.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
Amila Suriarachchi,
WSO2 Inc.