Hi,
Have you tried with -d xmlbeans ?

Ajith

On 7/31/06, Carsten Ziegeler <[EMAIL PROTECTED]> wrote:
Hi,

I'm trying to generate a java service using wsdl2java from latest axis2
svn, but I'm getting always the following exception.

As far as I understand all this, the element RequestSecurityToken has a
type. I tried to generate client code with axis 1.3 and that worked though.

Any help appreciated.

Thanks
Carsten

Exception in thread "main"
org.apache.axis2.wsdl.codegen.CodeGenerationException
: org.apache.axis2.wsdl.codegen.CodeGenerationException:
org.apache.axis2.wsdl.d
atabinding.UnmatchedTypeException: No type was mapped to the name
RequestSecurityToken with namespace
http://schemas.xmlsoap.org/ws/2005/02/trust
        at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
ationEngine.java:235)
        at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
        at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
Caused by: org.apache.axis2.wsdl.codegen.CodeGenerationException:
org.apache.axi
s2.wsdl.databinding.UnmatchedTypeException: No type was mapped to the
name Reque
stSecurityToken with namespace http://schemas.xmlsoap.org/ws/2005/02/trust
        at
org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
itter.emitSkeleton(AxisServiceBasedMultiLanguageEmitter.java:796)
        at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
ationEngine.java:217)
        ... 2 more
Caused by: org.apache.axis2.wsdl.databinding.UnmatchedTypeException: No
type was
 mapped to the name RequestSecurityToken with namespace
http://schemas.xmlsoap.o
rg/ws/2005/02/trust
        at
org.apache.axis2.wsdl.databinding.TypeMappingAdapter.getTypeMappingNa
me(TypeMappingAdapter.java:73)
        at
org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
itter.getInputParamElement(AxisServiceBasedMultiLanguageEmitter.java:1855)
        at
org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
itter.getInputElement(AxisServiceBasedMultiLanguageEmitter.java:1713)
        at
org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
itter.loadOperations(AxisServiceBasedMultiLanguageEmitter.java:1454)
        at
org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
itter.createDOMDocumentForSkeletonInterface(AxisServiceBasedMultiLanguageEmitter
.java:1384)


--
Carsten Ziegeler - Open Source Group, S&N AG
http://www.s-und-n.de
http://www.osoco.org/weblogs/rael/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Ajith Ranabahu

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to