The same object in multiple web services leads to class duplication

We have several .Net web services for which we use the java client. Each web service has its own namespace, but they all often use common classes. When they are displayed as WSDL and then generated in Java code, we get many duplicates in Java of the same .Net classes.

Is there a way in .Net to define a set of WebService objects for export in a common namespace (in XML)? Or can we use wsimport in Java to generate just one instance of each repeating class?

+5
source share
2 answers

WSDL, . . , ( asmx).

.NET wsdl sharetypes, , . , /, , java-.

0

-p wsimport , WSDL, . WSDL, .

0

All Articles