We use the “Bottom Up” approach to create web services. We have 10 java classes that we want to represent as a web service. How can we create only one WSDL file for these classes? (The utility java2wsdland its Ant task only accepts one class as a parameter for generating the WSDL file.)
java2wsdl
I'm not sure if you find any tool that can take multiple Java classes and generate one WSDL for them. You can create WSDLs for each service and then combine them manually by copying the corresponding vomplex types and service operations into 1 WSDL, and then your SOAP servlet can identify these operations and call the corresponding service classes.
I hope someone can say a cleaner approach for this, as the one I propose is definitely not the best way.
Definitely not the right way to do this, by default, all tools assume that they expose one service.
, , Jax-WS (Metro Axis2 CXF), (), - @WebService "endpointInterface".
, , , @shivaspk, - " . WSDL . ."
Source: https://habr.com/ru/post/1737258/More articles:Does Java Spring 3.0 MVC support client-side support based on annotation / attribute like Asp.net MVC 2.0? - javaiPhone Frameworks - iphoneHow to get a car number after INSERT in Ms Access? - vbaWhy is fishing the most useful shuffling algorithm? - algorithmDo I need to automatically log in after activating an account? - user-interfaceGetting EXC_BAD_ACCESS without any useful messages from NSZombieEnabled - stack-traceUser Interface Code Level Templates? - user-interfaceКак получить 5 записей до И после записи с конкретным идентификатором? - sqlCan a tornado communicate with Cassandra in a non-blocking asynchronous style? - asynchronousOSX: how to get volume name (or bsd name) from IOUSBDeviceInterface identifier or location - usbAll Articles