Jump to content
Sign in to follow this  
Guest breako

Mulitple packages per namespace

Recommended Posts

Guest breako

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...