iksrazal wrote:
> 
> On Fri, Jan 2, 2009 at 4:13 PM, rabelenda <[email protected]> wrote:
>>
>> Hi, I have developed a webService using axis2 and spring. When I request
>> de
>> wsdl file of the webservice I get the right wsdl file, but when I want to
>> use a defined operation of the webservice (using a java client or a
>> browser)
>> I get the following exception:
>>
>> [CODE]org.apache.axis2.AxisFault: The SERVICE_OBJECT_SUPPLIER parameter
>> is
>> not specified.
> 
> You most likely have a bean name / service class mismatch. I'd look
> for typos. Here's the problem code from
> modules/kernel/src/org/apache/axis2/receivers/AbstractMessageReceiver.java
> :
> 
>             Parameter implInfoParam =
> service.getParameter(Constants.SERVICE_CLASS);
>             if (implInfoParam != null) {
>                 final Class implClass = Loader.loadClass(
>                         classLoader,
>                         ((String) implInfoParam.getValue()).trim());
>                 return
> org.apache.axis2.java.security.AccessController.doPrivileged(
>                         new PrivilegedExceptionAction() {
>                             public Object run() throws
> InstantiationException, IllegalAccessException {
>                                 return implClass.newInstance();
>                             }
>                         }
>                 );
>             } else {
>                 throw new AxisFault(
>                         Messages.getMessage("paramIsNotSpecified",
> "SERVICE_OBJECT_SUPPLIER"));
>             }
> 
> HTH,
> Robert
> 
> 

I have search for any mistake and I didn't find anything. I tested chenging
the SpringBeanName parameter in the services.xml file to an invalid one and
the application gives me the same error. But if a put it in the correct way,
it still gives me the error. I think that the problem isn't a mapping
between bean and service because if a put an invalid class name on the bean
the server (tomcat) gives me an error when deploying saying that the class
doesn't exists. I don't kow if is this what you were thinking that could be
wrong, thanks for the fast reply :-).

-- 
View this message in context: 
http://www.nabble.com/SERVICE_ONJECT_SUPPLIER-not-specified-tp21255767p21257431.html
Sent from the Axis - User mailing list archive at Nabble.com.

Reply via email to