1

I have a requirement where I have to send one SOAP attachment(PDF) to a Java WebService using C#. Is this possible? if so, can anyone please share the code snippet?

I have another java application , that could send SWA attachement to this same Java service successfully. but Datahandler is used there. Do we have an equivalent of javax.activation.DataHandler in c# ?

benz
  • 21
  • 4
  • MIME or binary? – Fildor Mar 16 '20 at 09:21
  • I did not flag as dupe, since it hasn't got an accepted answer, but may help: [Adding an attachment to SOAP request](https://stackoverflow.com/questions/8574938/adding-an-attachment-to-soap-request) – Fildor Mar 16 '20 at 09:24
  • And I found this in a Forum post, but not sure if that's outdated: https://learn.microsoft.com/en-us/previous-versions/dotnet/articles/ms996944(v=msdn.10)?redirectedfrom=MSDN – Fildor Mar 16 '20 at 09:27
  • MIME Type-application\PDF – benz Mar 16 '20 at 11:06

0 Answers0