Edit: I wrote a poster add on to my tool, which I was having some issues with. Then I came here in a state of extreme exhaustion and posted way too long a post going into detail that probably didn't make sense.. Hence the edit.Thanks
I like it.Would it be good to add GuildID to the Publish method for extra verification? I was first thinking that a single person might admin multiple guilds, but it seems like a good idea even if not.Off the top of my head, the java for this would be something like:public class ContentData{ public int ContentInstanceID; public String Title; public ContentData(int ContentInstanceID, String Title) { this.contentInstanceID = ContentInstanceID; this.Title = title;}public class FreeForm extends ContentData{ public string Html; public FreeForm(int ContentInstanceID, String Title, String Html) { super(ContentInstanceID, Title); this.Html = Html; }}Then, to call something like:String method = "Publish";String endpoint = " http://www.guildportal.com/Services/Publisher.asmx";
Service service = new Service();Call call = (Call) service.createCall();
call.setTargetEndpointAddress( new java.net.URL(endpoint) );call.setOperationName(new QName("http://soapinterop.org/", method));
String ret = "Error";String content = “Some HTML content“;FreeForm freeForm = new FreeForm(123456, “Some Title“, content);try{ ret = (String)call.invoke( new Object[] { “myname”, “mypass”, freeForm } );}catch(Exception e){ System.out.println("Publishing: Remote exception: "+e); throw e;}