Forum Discussion
boekhold
13 years agoNew Contributor
Hi all,
I'm getting the impression that the HTTP headers aren't being set correctly. I think SoapUI expects "Content-Type: multipart/related" as an HTTP header, and that my client program uses "text/xml" instead.
I have no idea how to control this? Isn't the API supposed to manage that for you once you do msg.addAttachmentPart()?
I'm running my client program inside Eclipse (3.6.1) on Windows Server 2008 64bit with Java SE 7.
Maarten
I'm getting the impression that the HTTP headers aren't being set correctly. I think SoapUI expects "Content-Type: multipart/related" as an HTTP header, and that my client program uses "text/xml" instead.
I have no idea how to control this? Isn't the API supposed to manage that for you once you do msg.addAttachmentPart()?
I'm running my client program inside Eclipse (3.6.1) on Windows Server 2008 64bit with Java SE 7.
Maarten