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

Axis1.4 webservice consumed by Axis2 wsdl2java

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.5.1
    • None
    • client-api
    • None
    • Axis1.4 and Axis1.5.1, Java6

    Description

      Create a webservice as described under...
      1. Create 2 bean classes State and City in package com.axis.service.bean, create a webservice business logic class say ServiceImpl in package
      com.axis.service.impl, now create any method say returnState in impl and return a instance of State class. Now create a webservice from this using Axis1.4. .
      2. Once you have webservice generate stubs using Axis2 1.5.1 from webservice wsdl, now call the webservice using this stub.
      3. You should see exception in parsing the SOAP received from webservice call from stub.

      This happen only in case where beans and impl classes are in different packages and webservice is developed using Axis1.4 and Stub generated with Axis2. If we keep beans and impl classes in same package things run fine.

      Attachments

        1. stub_classes.rar
          28 kB
          rahul yadav
        2. axis2_issue.txt
          2 kB
          rahul yadav
        3. EmpServiceImpl.wsdl
          5 kB
          rahul yadav

        Activity

          People

            Unassigned Unassigned
            rahulyadav20 rahul yadav
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: