This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Java collection types and web services" Watch "Java collection types and web services" New topic
Author

Java collection types and web services

saikiran surya
Greenhorn

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 http://xm.apache.org/xml-soap

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,
sai
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Java collection types and web services