I'm with Jim. Good questions! 1- You can use java2wsdl as a shortcut to create your WSDL, but I recommend that you start with WSDL rather than with Java. You have a sample WSDL document to work with. You might also try using a Schema/WSDL wizard tool -- available with XmlSpy, Sonic Stylus, Kodiak OmniOpera, and Cape Clear SOA Editor. IBM has also just donated a set of XML tools, including Schema and WSDL wizards, to the Eclipse project (although I haven't seen the code yet.)
2- Use array types. 3- Follow the rules defined in the WS-I Basic Profile. Always use document/literal. Don't use RPC/encoded or RPC/literal. (.NET does not support RPC/Literal.) Avoid using all Java collection types. Caveat: if you need to interoperate with the scripting SOAP stacks, you'll probably need to use rpc/encoded. Anne -----Original Message----- From: Larry Meadors [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 21, 2004 10:45 PM To: [EMAIL PROTECTED] Subject: n00b seeking advice OK, I am trying to decide how to implement a webservice, and have a few questions. I have implemented one from a wsdl that was given to me, so I am OK with doing that...but now, I need to do another from scratch. I know I can use java2wsdl to create the wsdl once I create the interface that I want to publish. I am assuming that doing that is a reasonable way to go...am I right? (That is the first question.) Next, I am trying to decide if I should use List or array types for methods that return multiple objects. If it were just Java, that would be a no-brainer, I'd use a List, but this is new for me, so what is the more common approach? (Second question!) Finally, what is the best way to go if I want to make it as compatible with everything as possible? That's it...unless anyone wants to provide any other advice. Thanks! Larry