Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 35232 invoked from network); 2 Jun 2008 13:05:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Jun 2008 13:05:12 -0000 Received: (qmail 77194 invoked by uid 500); 2 Jun 2008 13:05:06 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 77174 invoked by uid 500); 2 Jun 2008 13:05:06 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 77163 invoked by uid 99); 2 Jun 2008 13:05:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jun 2008 06:05:06 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of robertlazarski@gmail.com designates 64.233.170.190 as permitted sender) Received: from [64.233.170.190] (HELO rn-out-0910.google.com) (64.233.170.190) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jun 2008 13:04:12 +0000 Received: by rn-out-0910.google.com with SMTP id m36so51249rnd.14 for ; Mon, 02 Jun 2008 06:04:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=mQI9/MGnzrUBOLqOxU/ixkWhiGkmWev5QgyfUTvr8E8=; b=cpnhQSRfqgTEeNaNe4p8C1UgU6YD2lw4sR/agglp3z0Yoakt5a4oA00/envuemiSUQ2DehwWo+oUwhP8uB9g9pqjfOPwSrkeeZQuas35ukwKLoTrrWgdlygD7D+b4HRL0Yez8clStRZXlY0tFFSs/fsmXOLWZPuqYo5L3O0zO5A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=aW9Tb/26AvWb6QWXdLJNs/e0Dk9D/raGgn4INjXMDl4lU2a7AGILAJQau4Z7kyyhwre/nSOmQ4EvPmuy/mxO5PiYIH7PEYfBjelNU4lGLYME3UNbb9iFZC371q1RIYptoYTMKVAbo2ZBNGNmlt4xgx1O2/tswhFH4I6YxhCfBsA= Received: by 10.142.126.17 with SMTP id y17mr3558181wfc.170.1212411874015; Mon, 02 Jun 2008 06:04:34 -0700 (PDT) Received: by 10.142.254.13 with HTTP; Mon, 2 Jun 2008 06:04:33 -0700 (PDT) Message-ID: Date: Mon, 2 Jun 2008 10:04:33 -0300 From: "robert lazarski" To: axis-user@ws.apache.org Subject: Re: Spring service bean not initialized in the skeleton class. In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org The way you describe your service, you would need some web.xml entries to load spring, ie, axis2 expects spring to be configured when using SpringServletContextObjectSupplier. By putting spring in debug, you should see it initializing correctly - in which case axis2 should be able to find it. If you can start spring, but axis2 can't find it - try looking at the servlet container logs. If you still have problems after all that, let us know. HTH, Robert On Mon, Jun 2, 2008 at 9:54 AM, Dwipin C wrote: > > Hi, > I am in the process of integrating Axis2 with Spring2.5. > Scenario - > I have created the aar with the xsds, services.xml, the wsdl file. > The rest of my classes are present under the WEB-INF/classes folder and the > dependant jars in the WEB-INF/lib of the axis2 app. > I've updated the services.xml to have the "serviceObjectSupplier" as > "org.apache.axis2.extensions.spring.receivers.SpringServletContextObjectSupplier" > and "SpringBeanName" set as the skeleton class. > > When I call this web-service, I get a NullpointerException from this > skeleton class because the service (which is supposed to be injected by > Spring) class was not initialised. > I am not sure if I've missed out something here; Any help or pointers would > be of great help. > > Thanks, > Dwipin Chandran > > ForwardSourceID:NT00014DF2 > ForwardSourceID:NT00014E02 > > =====-----=====-----===== > Notice: The information contained in this e-mail > message and/or attachments to it may contain > confidential or privileged information. If you are > not the intended recipient, any dissemination, use, > review, distribution, printing or copying of the > information contained in this e-mail message > and/or attachments to it are strictly prohibited. If > you have received this communication in error, > please notify us by reply e-mail or telephone and > immediately and permanently delete the message > and any attachments. Thank you > > > --------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org