3 Understanding Media Object Business Services

This chapter contains the following topics:

3.1 JD Edwards EnterpriseOne Media Object Business Services

JD Edwards EnterpriseOne Media Object business services provide a way to send and receive Media Object attachments to and from EnterpriseOne business services and third-party web services. Media Object business services leverage the Message Transmission Optimization Mechanism (MTOM) specification to transmit media objects as binary data in SOAP Messages. These Media Object business services are exposed in the JAX-WS web service that can be consumed by internal EnterpriseOne business services or external third-party systems. You can develop Media Object business services to perform an insert, select, or delete of media object files (PDF, documents, images, and so forth), text, and URLs in EnterpriseOne.

3.2 Development Methodology

The JD Edwards EnterpriseOne business services framework provides a set of foundation packages that can perform operations to insert, select, and delete media objects in EnterpriseOne. Media Object business service classes call Media Object operations. Media Object business services (published or internal) use the Media Object Value Object Class Wizard to create the value objects for calling the Media Object operations.

The following list contains the high level steps for developing business services that perform media object operations:

  1. Create the internal media object value object using the Media Object Value Object Class Wizard in the internal business service project.

    See Creating Internal Media Object Value Objects for more information.

  2. Create a business service class using the Business Service Class Wizard in the internal business service project.

    See Creating a Business Service Class for more information.

  3. Within the business service class, use the Create Media Object Call Wizard to generate the code that performs the Media Object operations.

    See Calling Media Object Operations for more information.

  4. Create the published Media Object value object using the Media Object Value Object Class Wizard in the published business service project.

    See Creating a Media Object Published Value Object for more information.

  5. Create the published business service class using the Published Business Service Class Wizard in the published business service project.

    See Chapter 4, "Creating a Published Business Service" for more information.

  6. Map the published value object fields to the corresponding fields in the internal value object.

    See Mappings for more information.

  7. Within the published business service class, write the code to call the internal business service class created in step 2 above.

    See Calling a Media Object Business Service for more information.