Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

What is the most efficient way to send the file to .net web service?

I am just wondering what would be the most efficient way to send the file (.png, .gif, .exe ) to the .net web services. In particular I need to send picture from Java mobile app to .net web service.

I can set the Content-Type to multipart/mixed from my Java mobile app to be able to send picture, but what about .net web service? How can I forcer web service get it using multipart/mixed Content-Type? It seems for me that .net web service Content-Type set in default to application/x-www-form-urlencoded and it wants me to send data as String.

Thanks a lot in advance for help

Comments

  • Chris BrownChris Brown USAMember Posts: 4,624 ✭✭

    __ // http://forcoder.org // free ebooks and video tutorials about ( Visual Basic .NET Visual Basic C Ruby Go JavaScript R Objective-C C# Assembly PL/SQL Java Python MATLAB PHP Swift Scratch C++ Perl Delphi Fortran Crystal Erlang D Lua Ada Awk Scheme FoxPro Alice Clojure Lisp Kotlin Prolog Dart Scala LabVIEW Transact-SQL Julia ABAP F# Logo Bash ML VBScript COBOL Apex Rust SAS Hack ) __

Sign In or Register to comment.