The Metadata Service

BI Bus API messages are XML documents encapsulated as SOAP requests that use the HTTP transport protocol.

The client wraps each transaction in a SOAP envelope so that it can be understood by the BI Bus API. The SOAP envelope contains a SOAP header, and SOAP body. The Metadata Service request, represented by an mdprovider element, is contained in the body of a SOAP request.

For each SOAP request, a response or fault is returned.

Generic requests create, open, save or close the model. Action requests modify the metadata or publish a package. Metadata Provider (Wrapper) reference provides descriptions for each type of request.

Here is an example of a Metadata Service request. In this example, you create a parameter map named New_Parameter_Map:

<mdprovider type=action action=execute model=../temp/myproject/myproject.cpf>
<transaction seq=5 timestamp=20030221155630569>
  <action
    seq=1 type=Create>
     <inputparams>
      <param seq=1 type=integer> 
         <value>1</value></param>
      <param seq=2 type=handle>
         <value>[].[parameterMaps]</value></param>
      <param seq=3 type=i18nstring>
         <value>New_Parameter_Map</value></param>
      <param seq=4 type=integer>
         <value>1</value></param>
     </inputparams>    
    <domchanges/>
    <result success=t><outputparams/></result>  
  </action>
</transaction>
</mdprovider>