Although I am an experienced programmer, I have to admit I am relatively new to Web
Services and XML in general, so please bear with me...
Let's say I have two web services, WS_A and WS_B. They both reference POJO_C
(let's say both WS_A and WS_B have a function called getC that returns POJO_C). I
annotate WS_A and WS_B with @WebService and deploy them and JBoss provides the web
services as intended.
However, when I generate client stubs (using wsimport), I put WS_A and WS_B in different
packages. Both of those client packages end up having an object 'C' with different
package names, so that WS_A.C != WS_B.C, even though I might want to use them
interchangeably.
Is the solution to this problem providing custom bindings to wsimport that moves
'C' into the same package when I run wsimport on both web services? I would think
that maybe there is some way to tell JBoss that C is a shared object and put it into a XSD
or something that both web services could share.
I know this is a simple thing, thanks for the help.
- Ryan
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4143302#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...