posted 19 years ago
I have the following simple class which I was trying to deploy as a webservice using WSAD 5.1.2 (IBM Websphere 5 web service runtime)
package com.ws.evaluate.simple
public class SimpleService {
public int primitiveArrays( int[] id ){
return id[0];
}
I get the following exception:
java.lang.Exception: WSWS3034E: Error: The OperationDesc for primitiveArrays was not matched to a method of com.ws.evaluate.simple.SimpleService. Debug:name:
services/SimpleService
style: rpc
use: literal
implClass: class com.ws.evaluate.simple.SimpleService
defaultNS: null
endpointURL: null
OperationDesc[0]:
name: primitiveArrays
returnQName: primitiveArraysReturn
returnType: {http://www.w3.org/2001/XMLSchema}int
returnClass: null
elementQName:{http://simple.evaluate.ws.com}primitiveArrays
soapAction: null
style: rpc
use: literal
numInParams: 1
method:null
ParameterDesc[0]:
name: id
typeEntry: null
mode: IN
isReturn: false
typeQName: {http://simple.evaluate.ws.com}ArrayOf_xsd_int
javaType: class com.ws.evaluate.simple.ArrayOf_Xsd_Int
inHeader: false
outHeader: false
minOccursIs0:false
maxOccursIs1:true
at com.ibm.ws.webservices.engine.InternalException.(InternalException.java:124)
... 29 more
Its generating the ArrayOf_Xsd_Int.java ,its serializer/deserializer and helper classes properly.
Can anybody help me solve this problem?
Thanks,
Vidya.