Guest breako Posted August 18, 2008 Share Posted August 18, 2008 Hi,I was wondering is it possible to develope webservices where there are multiple packages (java packages) for one namespace?More specifically, say I have 20 XSD types each with representating a business type such as Car, Garage, Company, Person. I want to have these types in separate packages but in one namespace?Is this possible?Many thanks Link to comment Share on other sites More sharing options...
boen_robot Posted August 19, 2008 Share Posted August 19, 2008 I think that's API dependant.Your JAVA API needs to be able to bind a certain class (in whatever package) to a certain XML namespace... or it may instead bind a package to an XML namespace. If it can't bind multiple packages to a single XML namespace, then what you can do is find an alternative API or create a custom package that contains all of the other packages' classes, and bind that.I haven't worked with JAVA's web services APIs, so I can't reccomend any particular one. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.