You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ax...@ws.apache.org on 2004/10/15 10:40:51 UTC

[jira] Updated: (AXIS-1578) Cannot customize configuration as wsdl2java generates serviceLocator classes without constructor

The following issue has been updated:

    Updater: Ashutosh Shahi (mailto:ashutosh.shahi@gmail.com)
       Date: Fri, 15 Oct 2004 1:40 AM
    Comment:
Added the code for generation of asked constructors in service locator file. Attaching the diff file.
Ashutosh
    Changes:
             Attachment changed to diff_1578.txt
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://issues.apache.org/jira/browse/AXIS-1578?page=history

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXIS-1578

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXIS-1578
    Summary: Cannot customize configuration as wsdl2java generates serviceLocator classes without constructor
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: Axis
 Components: 
             WSDL processing
   Versions:
             1.2 Beta

   Assignee: 
   Reporter: Clive Brettingham-Moore

    Created: Wed, 29 Sep 2004 7:16 PM
    Updated: Fri, 15 Oct 2004 1:40 AM
Environment: All

Description:
WSDL2Java generates service locator files that extend org.apache.axis.client.Service. The generated code contains no constructor definitions so java generates a void constructor. In consequence it is not possible to configure the AxisEngine via an EngineConfiguration instance - this confuguration happens during object construction so this is the only feasable time to do this.
(in mutlithreaded/multiapplication environments instance configuration is superior to static/property based configuration - the engine is designed for this, it simply needs connecting to the locator)

Desired Resolution:
Add constructor definitions to generated code - a void constructor for backwards compatibility, and a constructor that accepts an engine configuration object and passes it to the super class.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira