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

Axis1.4 webservice consumed by Axis2 wsdl2java

Agile BoardAttach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.5.1
    • Fix Version/s: None
    • Component/s: client-api
    • Labels:
      None
    • Environment:
      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. axis2_issue.txt
          2 kB
          rahul yadav
        2. EmpServiceImpl.wsdl
          5 kB
          rahul yadav
        3. stub_classes.rar
          28 kB
          rahul yadav

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rahulyadav20 rahul yadav

              Dates

              • Created:
                Updated:

                Issue deployment