Tip: Passing files to a Web service
In this tip, learn about the different solutions available for passing binary data (typically files) to a Web service. The evolution of Web service protocols has gone from supporting very simple requests with simple parameters to fully supporting modern, object-oriented languages. XML-RPC, arguably one of the earliest forms of Web services, only supported simple types -- strings, integers, booleans, and the like. SOAP took this one step further with its encoding rules for objects. The last step -- improving on the binary -- came with SOAP with attachments. SOAP with attachments was originally introduced as an extension to SOAP 1.1, and it is supported by the major SOAP kits. Although SOAP 1.2, the official W3C release, does not support attachments yet, work is under way to include them in the (ideally) near future.
- Filed in:
-
XML / Tutorials & Tips / Web Services
- Date Added:
- Feb 13, 2004
- Last Updated:
- Feb 18, 2004
License and Pricing Information
| Publisher site visits: | 1,729 |
|---|---|
| Average rating: | 0.00 |
| Total ratings: | 0 |
Publisher Info
- Author:
Other listings by this publisher
- Mash that trash -- Incremental compaction in the IBM JDK Garbage Collector
- JSP best practices: The power of time stamps
- Scaling Web services and applications with JavaGroups
- Demystifying Extreme Programming: Just-in-time design
- Tip: Set up SAX Parsers
- Web Services for DB2 Cube Views
- Data Wizard for Java
- Web Services for DB2 Cube Views
- JSP best practices: Create custom attributes for your JSP tags
- Build interoperable Web services with JSR-109
- Solution Enabler
- JAR Class Finder
- Jikes Bytecode Toolkit
- XML Matters: The RXP parser
- Thinking XML: XML Topic Maps by the book
- Solution Enabler
- Application Tools for Extension Services
- Visual Application Builder
- Instant logging: Harness the power of log4j with Jabber
- Make the most of Xerces - C++, Part 1
- ETTK self-healing and optimizing demo
- Build Linux apps fast with Software Evaluation Kit CD-Set
- A survey of XML standards, Part 2
- Best practices for Web services: Part 10
- A survey of XML standards, Part 4
- Structural Analysis for Java
- Tip: Message Roundtripping: Java coding conventions
- Tip: Compress XML files for efficient transmission
- The hidden impact of WS-Addressing on SOAP
- Tip: Message Roundtripping: Java coding conventions
- Use XML namespaces with care
- Tip: Extend JAX-RPC Web services using SOAP headers
- Tip: Extend JAX-RPC Web services using SOAP headers
- Service-Oriented Architecture expands the vision of Web services, Part 1
- Python Web services developer: Python SOAP libraries, Part 5
- XML Matters: GUIs and XML configuration data
- Tip: Always use an XML declaration
- Emerging Technologies Toolkit
- Tip: Always use an XML declaration
- Practical data binding: Get your feet wet in the real world
- A quick tour of Autonomic Computing
- IBM developerWorks Live! Technical briefings in 2004
- IBM developerWorks Live! Technical briefings in 2004
- IBM developerWorks Live! Technical briefings in 2004
- Secure Web services: Encrytion
- Get started with XPath
- Web services programming tips and tricks
- Reference Monitor for Tivoli Privacy Manager
- Application Privacy Monitoring for JDBC
- Tip: Use data dictionary links for XML and Web services schemata
