Here's the code
ServiceLocator locator = new ServiceLocator(url, username, password);
UserService users = locator.getUserService();
User user = users.getUserByUsername(username);
ForumService forumService = locator.getForumService();
forumService.createReplyMessage(subject, messageText, messageid, user.getID() );
I can get information from the thread ok, just can't post to it. The account I'm using is just a standard user account.
A couple things to try:
1. Is there an additional error on the server side? May authentication error?
2. Can you try using a user with system administrator access, and see if the same test works.
The xop+xml is for use with MIME attachments. This should work fine using our java client.