1 Reply Latest reply on May 22, 2006 7:24 AM by thomas.diesler

    Multiple return types in Document-style endpoints

    ekhosid

      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