I've written a basic WS that uses transfer objects and found that I could only package these objects in the base directory, com.ws. If I put the objects in their own dir, com.ws.model, the client which discovered the WS would put the classes in com.ws and the compilation would fail.
Is it possible to package the transfer objects in their own directory or are they required to be in the base dir?
Is it possible to use classes that are packaged in another jar as the transfer objects for a web service?
Trying so gives ill generated client files. Such as:
or, on the server:
becomes this on the client:
I'm a newbie to this paradigm and could use some pointers.
Thanks, Graham [ March 22, 2007: Message edited by: graham king ]
Brian, I would like 2 call you a perfect endpoint asking and answering urself the questions.
SCJP 1.4 SCWCD 1.4 SCDJWS 1.4
Joined: Aug 13, 2004
yes man you are rit did you refer deployment chapter IN RMH book j2ee webservices <java-wsdl-mapping ...> <package-mapping> <package-type>com.jwsbook.jaxrpc</package-type> <namespaceURI>http://www.Monson-Haefel.com/jwsbook/BookQuote </namespaceURI> </package-mapping> </java-wsdl-mapping>
if you have two differen namespace one for wsdl and one for complext type inside wsdl types tag,you can present two different package structure