Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.6.2
-
None
-
None
Description
I want to create WebService client classes for using Autodiscover WebService at Exchange 2010.
I'm very happy if someone can help me!!!!
I use the following command:
wsdl2java -d xmlbeans -uri Services.wsdl -o client -u -sn ExchangeAutodiscoverService -pn ExchangeAutodiscoverSoapPort
This is the output:
Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: org.apache.axis2.wsdl.codegen.CodeGenerationException: org.apache.ax
is2.wsdl.databinding.UnmatchedTypeException: No type was mapped to the name GetUserSettingsRequestMessage with namespace http://schemas.microsoft.com/
exchange/2010/Autodiscover
at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:293)
at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
Caused by: org.apache.axis2.wsdl.codegen.CodeGenerationException: org.apache.axis2.wsdl.databinding.UnmatchedTypeException: No type was mapped to the
name GetUserSettingsRequestMessage with namespace http://schemas.microsoft.com/exchange/2010/Autodiscover
at org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.emitStub(AxisServiceBasedMultiLanguageEmitter.java:537)
at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:282)
... 2 more