File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Websphere and the fly likes Java collection types and web services Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "Java collection types and web services" Watch "Java collection types and web services" New topic

Java collection types and web services

saikiran surya

Joined: Jun 04, 2004
Posts: 16
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,
I agree. Here's the link:
subject: Java collection types and web services
It's not a secret anymore!