axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Airline Pedestal <airline_pedes...@yahoo.com>
Subject Re: setOperationContext does not get a chance to run
Date Fri, 08 Jun 2007 18:10:23 GMT

I was having that problem.  I switched to this....   I wish I could
make this work without putting the services.xml inside the .aar file.
That way, I could reconfigure the web service without rebuilding the .aar file.
Any ideas???


public void init(ServiceContext serviceContext){
        
        myAxisService = serviceContext.getAxisService();
        
        String dataSource = null;
        try {
            dataSource = (String) myAxisService.getParameter("DataSource").getValue();
        } catch (Exception e)
 {
            // do nothing
        }
        
    }

----- Original Message ----
From: "Wang, Hailong (NIH/CIT) [C]" <wangh3@mail.nih.gov>
To: axis-user@ws.apache.org
Sent: Friday, June 8, 2007 2:03:03 PM
Subject: setOperationContext does not get a chance to run




 
 

 

 

 

 


<!--

 _filtered {font-family:SimSun;panose-1:2 1 6 0 3 1 1 1 1 1;}
_filtered {panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;margin-bottom:.0001pt;font-size:12.0pt;font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:#606420;text-decoration:underline;}
p.StyleBefore5ptAfter5pt, li.StyleBefore5ptAfter5pt, div.StyleBefore5ptAfter5pt
	{margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt;margin-left:0in;font-size:10.0pt;font-family:"Times
New Roman";}
p.Style1, li.Style1, div.Style1
	{margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt;margin-left:0in;font-size:10.0pt;font-family:"Times
New Roman";color:blue;font-weight:bold;text-decoration:underline;}
span.EmailStyle19
	{font-family:Arial;color:windowtext;}
_filtered {margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{}
-->






Hi,
 

  
 

My setOperationContext function does not get a chance to run.
Is there anyone ever has same problem? Thanks.
 

  
 

Hailong Wang
 

National Database for Autism Research(NDAR)
 

NIH/CIT/DECA (MOM CONTRACTOR)
 

9000 Rockville Pike, Bld 12A/Room 2027
 

Bethesda, MD
 20892
 

Phone:  301-402-3045
 

Fax:       301-480-0028
 

Email:   wangh3@mail.nih.gov
 

URL:   http://ndar.nih.gov
 

  
 











       
____________________________________________________________________________________
Get the Yahoo! toolbar and be alerted to new email wherever you're surfing.
http://new.toolbar.yahoo.com/toolbar/features/mail/index.php
Mime
View raw message