Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-5579

Creation of web service client from wsdl fails with xmlbeans for Exchange 2010 Autodiscover WebService

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.6.2
    • None
    • codegen
    • 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

      Attachments

        1. messages.xsd
          21 kB
          Bernd Greiner
        2. Services.wsdl
          4 kB
          Bernd Greiner

        Activity

          People

            Unassigned Unassigned
            b_g Bernd Greiner
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: