Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Java collection types and web services  RSS feed

saikiran surya
Posts: 16
  • Mark post as helpful
  • send pies
  • 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,
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!