I tried to create a document-style web service that has two methods
Class1 f1(Class2 p);
String f2(String s);
when I build the web service it generated wsdl file that had both functions return strings because it appears there can only be one "result" element in the schema. If I only use one function then it generates return type correctly. What should I do? Should I create one web service for each return type? This sounds insane but I don't see any other options
Thanks,
Eugene
How did you generate the wsdl? Also have a look at
http://fisheye.jboss.com/viewrep/JBossWS/trunk/src/test/java/org/jboss/test/ws/marshall/MarshallDocLitTestCase.java?r=275
it conains many methods with many different return types