axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deepal Jayasinghe (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AXIS2-1346) Provide a way to expose interface to client instead of concrete class
Date Fri, 20 Oct 2006 09:18:36 GMT
     [ http://issues.apache.org/jira/browse/AXIS2-1346?page=all ]

Deepal Jayasinghe resolved AXIS2-1346.
--------------------------------------

    Resolution: Fixed

Fixed in current SVN.
To have the feature need to add a parameter called "objectSuppler" and the value should be
an implementation class of org.apache.axis2.engine.ObjectSuppler.

With this change your service impl will look like ;

service scope="application">
    <messageReceivers>
        <messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-only"
                         class="org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver"/>
        <messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-out"
                         class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/>
    </messageReceivers>
    <parameter name="ServiceClass">Sservice impl class</parameter>
    <parameter name="objectSuppler"> Object suppler impl class</parameter>
</service>

> Provide a way to expose interface to client instead of concrete class
> ---------------------------------------------------------------------
>
>                 Key: AXIS2-1346
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1346
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: deployment
>            Reporter: Deepal Jayasinghe
>         Assigned To: Deepal Jayasinghe
>            Priority: Blocker
>
> There may be instance where service author has interface that he need to generate wsdl
, while he has separate service impl class. With current Axis2 impl there is no way to achieve
this goal. 
> I think we can solve this problem by adding one more optional parameter to services.xml
> <parameter name="ServiceInterface">qualified name of the service interface </parameter>

> in addition to 
> <parameter name="ServiceClass">qualified name of the service class </parameter>


-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message