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 ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • 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)

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 Debug:name:
style: rpc
use: literal
implClass: class
defaultNS: null
endpointURL: null
name: primitiveArrays
returnQName: primitiveArraysReturn
returnType: {}int
returnClass: null
soapAction: null
style: rpc
use: literal
numInParams: 1
name: id
typeEntry: null
mode: IN
isReturn: false
typeQName: {}ArrayOf_xsd_int
javaType: class
inHeader: false
outHeader: false

... 29 more

Its generating the ,its serializer/deserializer and helper classes properly.

Can anybody help me solve this problem?

Ranch Hand
Posts: 548
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try using the axis web service runtime environment to deploy the web service instead of default websphere web service runtime environment
Vidya Ram
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah, I had tried it with Axis runtime and it was working fine. I wanted to make it work with IBM Websphere runtime itself.

Barry's not gonna like this. Barry's not gonna like this one bit. What is Barry's deal with tiny ads?
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic