wsimport: multiple wsdl overwrite ObjectFactory
问题 I have multiple (let's say 2, A and B) webservices and I need to generate a client to use them togheter. In Netbeans I use the wizard "new Web Service Client" passing the two wsdl, looking at the output Netbeans simply call wsimport for each of them. wsimport http:/mydomain/wsA.svc?wsdl wsimport http:/mydomain/wsB.svc?wsdl Both A and B, generate a the same package com.mydomain.myapp (I guess they are defined in the same namespace), so I get the stub class set of A and B merged in the same