[
https://issues.apache.org/jira/browse/AXIS2-5579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bernd Greiner updated AXIS2-5579:
---------------------------------
Attachment: messages.xsd
> Creation of web service client from wsdl fails with xmlbeans for Exchange
> 2010 Autodiscover WebService
> ------------------------------------------------------------------------------------------------------
>
> Key: AXIS2-5579
> URL: https://issues.apache.org/jira/browse/AXIS2-5579
> Project: Axis2
> Issue Type: Bug
> Components: codegen
> Affects Versions: 1.6.2
> Reporter: Bernd Greiner
> Attachments: messages.xsd, Services.wsdl
>
>
> 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
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]