Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Content type for multi-part request in soap web services  RSS feed

 
Anand Jain
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am writing a Java client using apache http client to call a SOAP web service.It accepts a file as an attachment so in java, I need to declare the content type as multipart.

I specified it i Java as below


but I got the below error


Please let me know how to resolve this error. What should be the content type to be specified in Java.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!