You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Shaoguang Cong <sc...@yahoo.com> on 2006/12/04 21:23:12 UTC

[AXIS2.1.1] Generate an Interface for the skeleton

Ajith,
   
  I've read your article on Contract-First Web Services with Apache Axis2.  
   
  My question is how to connect to my service implementation class that implements the generated interface (generated using WSDL2Java -ssi option).   Do I have to modify the generated services.xml to change the "serviceClass" to my own implementation class?
   
  Is there a way to avoid changing services.xml for this?  If not, can WSDL2Java be enhanced so -ssi can take a user-specified impl class name as a parameter?  
   
  Thanks.
  Shoaguang

 
---------------------------------
Access over 1 million songs - Yahoo! Music Unlimited.

Re: [AXIS2.1.1] Generate an Interface for the skeleton

Posted by Mehar SVLN <me...@gmail.com>.
I think if you dont want to change the sevices.xml you can directly go and
change ur ServiceSkeleton.java class
I dont think there is any other option.. Hope it helps

On 12/5/06, Shaoguang Cong <sc...@yahoo.com> wrote:
>
> Ajith,
>
> I've read your article on Contract-First Web Services with Apache Axis2<http://today.java.net/pub/a/today/2006/08/08/contract-first-web-services-with-axis2.html>.
>
>
> My question is how to connect to my service implementation class that
> implements the generated interface (generated using WSDL2Java -ssi
> option).   Do I have to modify the generated services.xml to change the
> "serviceClass" to my own implementation class?
>
> Is there a way to avoid changing services.xml for this?  If not,
> can WSDL2Java be enhanced so -ssi can take a user-specified impl class name
> as a parameter?
>
> Thanks.
> Shoaguang
>
> ------------------------------
> Access over 1 million songs - Yahoo! Music Unlimited.<http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=36035/*http://music.yahoo.com/unlimited/>
>
>


-- 
Rgds
Mehar