Oracle B2B 11g Technical Note. Technical Note: 11g_005 Attachments. Table of Contents

Similar documents
Web Service Provider Example - Enabling Visible Business

QosPolicyHolder:1 Erratum

ՕՐԻՆԱԿ. <xs:schema targetnamespace=" xmlns:tax="

MWTM 6.1 NBAPI WSDL and XSD Definitions

MWTM NBAPI WSDL and XSD Definitions

/// Rapport. / Testdocumentatie nieuwe versie Register producten en dienstverlening (IPDC)

Restricting complextypes that have mixed content

Cisco Prime Central 1.0 API Guide

Custom Data Access with MapObjects Java Edition

X-Road: Protocol for Management Services

<xsd:element name="name" maxoccurs="1" minoccurs="0" <xsd:element name="parentaccountid" maxoccurs="1" minoccurs="0" <xsd:element name="parentaccounti

Project Members: Aniket Prabhune Reenal Mahajan Mudita Singhal

AlwaysUp Web Service API Version 11.0

X(ml)S(chema)D(definition) Complex Types Indicators

! "# # $ % & ' ( ' )* ) & %*+ *

Oracle Utilities Smart Grid Gateway Adapter Development Kit

No Trade Secrets. Microsoft does not claim any trade secret rights in this documentation.

No Trade Secrets. Microsoft does not claim any trade secret rights in this documentation.

White Paper. Fabasoft Integration for Novell GroupWise. Fabasoft Folio 2017 R1 Update Rollup 1

Messages are securely encrypted using HTTPS. HTTPS is the most commonly used secure method of exchanging data among web browsers.

[MS-KPS-Diff]: Key Protection Service Protocol. Intellectual Property Rights Notice for Open Specifications Documentation

Document erratum applies to QosDevice:1. List other Erratum s or Documents that this change may apply to or have associated changes with

AON Schemas. Archive Schema APPENDIXA

Syntax XML Schema XML Techniques for E-Commerce, Budapest 2004

[MS-OXWSXPROP]: Extended Properties Structure. Intellectual Property Rights Notice for Open Specifications Documentation

Data Bus Client Interface Manager Interface Control Document

No Trade Secrets. Microsoft does not claim any trade secret rights in this documentation.

Pattern/Object Markup Language (POML): A Simple XML Schema for Object Oriented Code Description

Web Services. The Pervasive Internet

Creating and Modifying EAP-FAST Profiles for Distribution to Users

The following is a sample XML code from the HCSProductCatalog.wsdl file.

Request for Comments: 5025 Category: Standards Track December 2007

file://c:\michael\prog\mast\docs\tmp0000.xsd

TED schemas. Governance and latest updates

<xs:element name="record" type="recordtype" maxoccurs="unbounded" /> </xs:sequence> </xs:complextype>

III General Acknowledgement message. Acknow. Workgroup Document version: A. Version 5.0 SECTION

PTS XML STANDARD GUIDELINE

Configuring a WMS Feature Source

Apache UIMA Regular Expression Annotator Documentation

Notes. Any feedback/suggestions? IS 651: Distributed Systems

Cisco Unity Connection Notification Interface (CUNI) API

Oracle Enterprise Data Quality

Expires: January 15, 2005 July 17, Extensible Markup Language (XML) Formats for Representing Resource Lists draft-ietf-simple-xcap-list-usage-03

G16-02SE-A02.1-NUE112_SchedaContatto-Rev5 <?xml version="1.0" encoding="utf-8"?> <xs:schema xmlns:xs="

X3D Unit Specification Updates Myeong Won Lee The University of Suwon

Validation Language. GeoConnections Victoria, BC, Canada

[MS-TMPLDISC]: Template Discovery Web Service Protocol. Intellectual Property Rights Notice for Open Specifications Documentation

[MS-OXWSBTRF]: Bulk Transfer Web Service Protocol. Intellectual Property Rights Notice for Open Specifications Documentation

How to Make Your Data Available through the EN Browser

Approaches to using NEMSIS V3 Custom Elements

Intellectual Property Rights Notice for Open Specifications Documentation

Keio Virtual Sensor System based on Sensor- Over- XMPP

No Trade Secrets. Microsoft does not claim any trade secret rights in this documentation.

Fall, 2005 CIS 550. Database and Information Systems Homework 5 Solutions

Oracle Hospitality OPERA Web Self- Service Brochure Web Service Specification Version 5.1. September 2017

Cisco Unified IP Phone Services XML Schema File

XML Schema for WSML. Table of Contents

:PRIA_DOCUMENT_v2_4_1.XSD

[MS-TSWP]: Terminal Services Workspace Provisioning Protocol. Intellectual Property Rights Notice for Open Specifications Documentation

Oracle Utilities Opower Energy Efficiency Web Portal - Classic Single Sign-On

Privacy and Personal Data Collection Disclosure. Legal Notice

Level of Assurance Authentication Context Profiles for SAML 2.0

Work/Studies History. Programming XML / XSD. Database

VDS Service Broker APIs

PTC Integrity 10.7 Web Services Reference

Released to: TSCP Architecture Committee

Chapter 3 Brief Overview of XML

[MS-SSISPARAMS-Diff]: Integration Services Project Parameter File Format. Intellectual Property Rights Notice for Open Specifications Documentation

Testing of Service Oriented Architectures A practical approach / APPENDIX V1.0

DFP Mobile Ad Network and Rich Media API

CMS SOAP CLIENT SOFTWARE REQUIREMENTS SPECIFICATION

SOA Suite for healthcare integration Series

[MS-OXWSSYNC]: Mailbox Contents Synchronization Web Service Protocol Specification

Columbia University R. Mahy, Ed. SIP Edge LLC November An INVITE-Initiated Dialog Event Package for the Session Initiation Protocol (SIP)

General Service Subscription Management Technical Specification

Cisco Unified IP Phone Services XML Schema File

No Trade Secrets. Microsoft does not claim any trade secret rights in this documentation.

Extensible Markup Language Processing

W3C XML Schemas For Publishing

WORKSHARE COMPARE SERVER 8 Developer Guide

3GPP TS V ( )

Category: Informational November Cryptographic Token Key Initialization Protocol (CT-KIP) Version 1.0 Revision 1

Physician Data Center API API Specification. 7/3/2014 Federation of State Medical Boards Kevin Hagen

Using Inventory Export Guide

ITEMS FIXED SINCE V APPENDIX A... 4 APPENDIX B...

XML Schema. Mario Alviano A.Y. 2017/2018. University of Calabria, Italy 1 / 28

ETSI TS V9.2.0 ( ) Technical Specification

Category: Standards Track T. Dietz NEC M. Swany UDel December Information Model and XML Data Model for Traceroute Measurements

TS SIGNATURE VALIDATION REPORT

extensible Name Language (xnl) Specifications and Description Document

Technical requirements

Chapter 11 XML Data Modeling. Recent Development for Data Models 2016 Stefan Deßloch

SMKI Repository Interface Design Specification TPMAG baseline submission draft version 8 September 2015

TC57 Use of XML Schema. Scott Neumann. October 3, 2005

Positioning Additional Constraints

[MS-QDEFF]: Query Definition File Format. Intellectual Property Rights Notice for Open Specifications Documentation

SOAP I: Intro and Message Formats

Introducing our First Schema

Document Metadata: document technical metadata for digital preservation

Improvements in WSOL Grammar and Premier WSOL Parser. Kruti Patel, Bernard Pagurek, Vladimir Tosic. Research Report SCE October 2003

Transcription:

Oracle B2B 11g Technical Note Technical Note: 11g_005 Attachments This technical note lists the attachment capabilities available in Oracle B2B Table of Contents Overview... 2 Setup for Fabric... 2 Setup for JMS... 3 Send Attachment(s)... 3 AttachmentDescriptor.xsd... 5 B2B Knowledge Base Page 1

Overview? Supported? Generic HTTP ebxml Messaging Service (ebms) Applicability Statement 1 (AS1) Applicability Statement 2 (AS2) RosettaNet Implementation Framework (RNIF) Setup for Fabric 1. In the B2B Wizard check the attachment option in wizard. Note: Only available for Fabric, Not AQ or JMS. This creates the following structure in the WSDL <?xml version="1.0" encoding="utf-8"?> <xsd:schema xmlns:xsd="http://www.w3.org/2001/xmlschema" xmlns="http://integration.oracle.com/b2b/attachments" targetnamespace="http://integration.oracle.com/b2b/attachments" elementformdefault="qualified"> <xsd:element name="attachments"> <xsd:complextype> <xsd:sequence> <xsd:element name="attachment" type="attachmenttype" minoccurs="0" maxoccurs="unbounded"/> </xsd:sequence> </xsd:complextype> </xsd:element> <xsd:complextype name="attachmenttype"> <xsd:attribute name="href" type="xsd:string" use="required"/> </xsd:complextype> </xsd:schema> 2. Use Expression in Assign statement Example: ora:readbinaryfromfile('/b2b/demo1.tif') B2B Knowledge Base Page 2

Setup for JMS Send Attachment(s) This properly enables the user to add attachments. Property: jca.jms.jmsproperty.attachment Example1: Single attachment File jca.jms.jmsproperty.attachment= <?xml version="1.0" encoding="utf-8"?> <Attachments xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xsi:nonamespaceschemalocation="c:\b2b\attachmentsdescriptor.xsd" boundary="boundary----"> <AttachmentPart> <Location>file://c:\b2b\attachments\RI_PurchaseOrder.xml </Location> <Content-Type> <Discrete-type>text</Discrete-type> <Sub-type>plain</Sub-type> <Parameter Name="charset" Value="us-ascii"/> </Content-Type> <Content-Transfer-Encoding>7-bit</Content-Transfer-Encoding> <Content-ID/> <Content-Description/ </AttachmentPart> </Attachments> B2B Knowledge Base Page 3

Example2: Two attachments File <?xml version="1.0" encoding="utf-8"?> <Attachments xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xsi:nonamespaceschemalocation="c:\b2b\attachmentsdescriptor.xsd" boundary="boundary----"> <AttachmentPart> <Location>file://c:\b2b\attachments\Product.jpeg</Location> <Content-Type> <Discrete-type>image</Discrete-type> <Sub-type>jpeg</Sub-type> </Content-Type> <Content-Transfer-Encoding>BASE64</Content-Transfer-Encoding> <Content-Description>A JPEG file</content-description> </AttachmentPart> <AttachmentPart> <Location>file://c:\b2b\attachments\OS_PurchaseOrder.xml</Location> <Content-Type> <Discrete-type>text</Discrete-type> <Sub-type>plain</Sub-type> <Parameter Name="charset" Value="us-ascii"/> </Content-Type> <Content-Transfer-Encoding>7-bit</Content-Transfer-Encoding> <Content-ID/> <Content-Description/> </AttachmentPart> </Attachments> Note: Legacy: jca.jms.jmsproperty.action_name is NOT SUPPORTED. B2B Knowledge Base Page 4

AttachmentDescriptor.xsd <?xml version="1.0" encoding="utf-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/xmlschema" elementformdefault="qualified" attributeformdefault="unqualified"> <xs:element name="attachments"> <xs:documentation>this element encapsulates the descriptions of the attachments that need to go out with a payload through Oracle B2B.</xs:documentation> <xs:sequence> <xs:element name="attachmentpart" maxoccurs="unbounded"> <xs:documentation>this element contains the description of a single attachment; there can be many attachments that go out with a payload.</xs:documentation> <xs:sequence> <xs:choice> <xs:element name="attachment" type="xs:base64binary" minoccurs="0"> <xs:documentation>it is also possible to specify the actual attachment in base64 here. Or, it could be placed in some location, and the URI of the location specified in the location element.</xs:documentation> <xs:element name="location" type="xs:anyuri" minoccurs="0"> <xs:documentation>this element contains a URI that points to the location of the attachment.</xs:documentation> </xs:choice> <xs:element name="content-type"> <xs:documentation>this element specifies the Content-Type of the attachment. </xs:documentation> <xs:sequence> <xs:element name="top-level-type" type="xs:string"/> <xs:element name="sub-type" type="xs:string"> <xs:documentation>specifies the sub-media type.</xs:documentation> <xs:element name="parameter" minoccurs="0" maxoccurs="unbounded"> <xs:documentation>allows the specification of parameter name and value.</xs:documentation> B2B Knowledge Base Page 5

<xs:attribute name="name"/> <xs:attribute name="value"/> </xs:sequence> <xs:element name="content-transfer-encoding"> <xs:documentation>this element specifies the transfer encoding format.</xs:documentation> <xs:simpletype> <xs:restriction base="xs:string"> <xs:enumeration value="base64"/> <xs:enumeration value="quoted-printable"/> <xs:enumeration value="8-bit"/> <xs:enumeration value="7-bit"/> <xs:enumeration value="binary"/> <xs:enumeration value="x-token"/> <xs:enumeration value="base64"/> </xs:restriction> </xs:simpletype> <xs:element name="content-id" minoccurs="0"> <xs:documentation>can be used to specify an optional content ID.</xs:documentation> <xs:element name="content-description" minoccurs="0"> <xs:documentation>can be used to specify an optional content description.</xs:documentation> </xs:sequence> </xs:sequence> <xs:attribute name="boundary"/> </xs:schema> B2B Knowledge Base Page 6