Win a copy of Rust Web Development this week in the Other Languages 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Java collection types and web services

Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I've a small question in web services and websphere studio 5.1

I've a java class that contains a couple of methods. I want to expose this as a web service.

So I read the specifictions in redbooks on how to create web services using WSAD 5.1 and start creating web services using the wizard.

My java class contains some methods, where the signatures and return types contain Java collection classes (Specifically a HashMap)

Now when i generate wsdl using the Wizard, I'm getting many error in the generated WSDL file.

One error that is coming up is
failed to read imported schema

I know this is happening beacuse of my complex types, but dont know how to fix it.

Could anyone please suggest the fix.

Thanks very much,
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic