public void testInputOutput() throws XMLStreamException {
try {
// create the WOM from the given WSDL.
WOMBuilder builder = WOMBuilderFactory.getBuilder(org.apache.wsdl.WSDLConstants.WSDL_1_1);
wsdlVersionWrapper = builder.build(testWSDL);
// serialize wom and get the xml.
ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
WOMWriter womWriter = WOMWriterFactory.createWriter(org.apache.wsdl.WSDLConstants.WSDL_1_1);
womWriter.writeWOM(wsdlVersionWrapper.getDescription(), byteArrayOutputStream);