I have a simple web service that uses axis 1.4.1. This web service returns a SOAPMessage when invoqued by a little java client I developped. Everything works fine when the soapMessage returned by the webservice don't have any attachment.
When I add an attachment to the soapmessage returned by the webservice, the following error occurs:
Note that In my services.xml file I have the following line:
<parameter name="enableSwA" locked="false">true</parameter>
Here is the code I use to build the SOAPMessage that is returned by my webservice:
Resuming: If I have the 3 last lines of presented code, the error occurs. If not, everything works fine.
Hi!
Sorry, your code looks very much like code I have written myself. I did not use Axis, though.
Are you able to capture the packets going to and from your web service and examine the message that causes the error?
Best wishes!
What did you use instead Axis (if you used something else) ?
thanks
best regards
Ivan Krizsan wrote:Hi!
Sorry, your code looks very much like code I have written myself. I did not use Axis, though.
Are you able to capture the packets going to and from your web service and examine the message that causes the error?
Best wishes!