I have created to Java objects and add the necessary @WebService annotations, etc. and I can view the wsdls for each on their separate urls.
I was hoping to combine the two services into a single wsdl file. Does anyone know how this can be done?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Since you’re the creator of these services, the easiest way is to merge Web services and you’ll get one wsdl. Just put all methods in one service and you’re done.
However, if you’re just curious and ask generally, merging wsdls manually isn’t trivial task. You need to pay attention to the namespaces, custom complex types and elements and method/operation names. There are some tools that supposedly do this automatically, you can try this one.