axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernd Greiner (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AXIS2-5579) Creation of web service client from wsdl fails with xmlbeans for Exchange 2010 Autodiscover WebService
Date Tue, 04 Jun 2013 14:19:19 GMT
Bernd Greiner created AXIS2-5579:
------------------------------------

             Summary: 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


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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message