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 18:36:51 UTC

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

Message:

   The following issue has been closed.

   Resolver: Davanum Srinivas
       Date: Fri, 15 Oct 2004 9:36 AM

Applied slightly modified version of Ashu's patch.

-- dims
---------------------------------------------------------------------
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: Closed
   Priority: Major
 Resolution: FIXED

    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 9:36 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