I am trying to build an application that is similar to soapui and need a little help. I have been coding in Java for a while but this will be my first attempt at using the jee. The app needs to dynamically read in a wsdl from the provided url and then present the user with a soap message that has example data. The user can then edit the soap message to provide specific data. After that the user can press start which will then cause the app to send soap messages to the server and record the responses in a file until the user presses stop. Like I said this will be my first jee application. The main thing I am trying to figure out is what to use and how I should use it (JAX-WS, JAXB, SAAJ). Are these the right things to be using? I thought about just creating a class that parsed the wsdl and then displayed the example soap message, but I was wondering if there is an easier way to do it. I think that parsing the wsdl will be easy for simple wsdls but will be difficult for wsdls with complex schemas. After the soap message is created I think that sending it to the server will be easy using java.net. Any help/guidance would be greatly appreciated. Thanks.
posted 7 years ago
You might find wsdl4j helpful for parsing the wsdl file to determine what fields you need to present the user with.
Even if the voices <i>aren't</i> real, they still have some good ideas!