In cases like these it's useful to examine the SOAP that gets sent over the wire. Either a tool like tcpmon (comes with Axis) can show it, or you could save the server response to a file before sending it, and examine its contents.
Joined: Sep 09, 2007
I think I have examined the SOAP that gets sent over the wire
by using System.out.println(msg.countAttachments())
am I wrong ?? thank you.
Joined: Mar 22, 2005
That just tells you that the SOAP stack thinks that there is an attachment. What you need to find out is whether there is an attachment in the SOAP that is sent.