This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Svelte and Sapper in Action and have Mark Volkmann on-line!
See this thread for details.
Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Problem passing a primitive array to a webservice operation using WSAD

 
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.<init>(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.

[ December 02, 2004: Message edited by: Vidya Ram ]
[ December 02, 2004: Message edited by: Vidya Ram ]
 
He got surgery to replace his foot with a pig. He said it was because of this tiny ad:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
    Bookmark Topic Watch Topic
  • New Topic