Hi!

I'm sorry to post this again, but I didn't get any reply on my previous 
messages.

So... I'm trying to write a service and a client that would exchange XML 
documents. On AXIS' web page there is a User's Guide talking about Axis 
three types of methods on the service side that can be used for messaging:

public Element [] method(Vector v);
public Document method(Document doc);
public void method(MessageContext mc);

I did manage to get it to work with the public Element [] method(Vector v); 
type, but not with the public Document method(Document doc);.
I get an exception about a Serializer class for Document is not present.
My XML document on the client side is of org.w3c.dom.Document type. I'm 
using JDOM to create an XML document and then I convert it to W3C Document 
using DOMOutputter class from JDOM. this is the document I want to send.

I also wanted to send my XML document as an attachment, but calling 
message.createAttachment() throws NullPointerException in line 588 on 
Message.java.

Any ideas what I'm doing wrong?

Best regards,
        Kovi

P.S.: I'm using Axis beta 3 that is bundled with IBM WebServices Toolkit 3.2.2.
P.S.S.: Has Axis support for JAXM or only JAX-RPC?

Reply via email to