DZone Forums
Go Back   DZone Forums > Community > Enterprise Development > Web Services, SOA & ESB
Reload this Page jax-ws, wsimport how to handle dtos in several services?
Notices
Reply
 
LinkBack Thread Tools Display Modes
  (#1 (permalink)) Old
Member
 
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Nov 2008
Default jax-ws, wsimport how to handle dtos in several services? - 11-06-2008, 04:18 AM

hi all

i'm using wsimport to import a webservice (wsdl file) in my client project. on server side i have following package structure:

webservice.servicea
webservice.serviceb
webservice.servicec
webservice.dto

in dto are my dto objects, which i want to us in both services, servicea and serviceb. servicec only uses one object out of all my dtos. and now, if i import servicec wsdl with wsimport, he overwrites the ObjectFactory.java and kickes all other dtos out.

how do i solve this problem? do i have to write the ObjectFactory.java by myself? I can't find any flags or options to define this.

Can someone explain me, how this "really" works?

Thx!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Programming Web Services with SOAP Rivot Ajax & Javascript 0 08-11-2008 09:43 AM
Web Services Explorer Authentication wmsigep Web Services, SOA & ESB 0 07-09-2008 03:19 PM
Problem using Declarative Services u722 Java 0 07-02-2008 04:02 PM
problem with OSGi Declarative Services factory component AlexandreSH Java 2 06-05-2008 12:32 PM


Copyright 1997-2009, DZone, Inc.
vBulletin Skin developed by: vBStyles.com