Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-2531

Problems with generated wsdl when using non service package.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Java-SCA-1.3.1
    • Java-SCA-1.3.2
    • None
    • None
    • Windows Weblogic 9.2 and Websphere 6.1

    Description

      I'm using wsdl2java to generate a proxy to a Tuscany webservice - this
      is working well in most cases, however I've found a situation where it
      does not....

      When I have defined a parameter to an operation which does not reside
      in the same package as the service itself, then the wsdl generated
      does not respect the appropriate namespace required for such clients
      to be able to process the wsdl appropriately.

      I've attached an example scenario which demonstrates this:

      o ws-common and ws-webapp being the service which generates the wsdl
      through ?wsdl
      o ws-client uses the axistools-maven-plugin:wsdl2java goal to process the wsdl

      So the client fails with the following error:

      Embedded error: WSDL2Java execution failed
      Type

      {http://vo.ws.example.com/}

      WSServicePOJO is referenced but not defined.

      Attachments

        1. webapp-ws-service-simple-pojo-with-xmltype.zip
          9 kB
          Dave Sowerby
        2. ws.zip
          8 kB
          Dave Sowerby

        Activity

          People

            scnash Simon Nash
            dave.sowerby Dave Sowerby
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: