Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The ExportPackage operation retrieves an XML representation of the following objects from the metadata store:
MetadataObjects contained by the specified MetadataModel if "Model" value is set for the packageContents element. The XML MUST conform to the Business Data Connectivity Model file format specified in [MS-BDCMFFS] section 2.1.3.34.
Localized names, Properties, and ACEs corresponding to MetadataObjects contained by the specified MetadataModel if "Model" value is not set for the packageContents element. The XML MUST conform to the Business Data Connectivity Model file format specified in [MS-BDCMFFS] section 2.2.3.28.
If the CameThroughRemoteAdminService header specified in section 3.1 is present in the SOAP request, and if the specified MetadataModel contains LobSystems that the security principal in whose context the protocol client is operating is not authorized to modify, the XML representation returned by this operation MUST NOT contain those LobSystems, and MUST NOT contain other MetadataObjects contained by MetadataObjects that are not contained in the result for this reason.
The following is the WSDL port type specification of the ExportPackage WSDL operation.
-
<wsdl:operation name="ExportPackage" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> <wsdl:input wsaw:Action="http://www.microsoft.com/Office/2009/BusinessDataCatalog/BusinessDataCatalogSharedService/ExportPackage" message="tns:BusinessDataCatalogSharedService_ExportPackage_InputMessage" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"/> <wsdl:output wsaw:Action="http://www.microsoft.com/Office/2009/BusinessDataCatalog/BusinessDataCatalogSharedService/ExportPackageResponse" message="tns:BusinessDataCatalogSharedService_ExportPackage_OutputMessage" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"/> <wsdl:fault wsaw:Action="http://www.microsoft.com/Office/2009/BusinessDataCatalog/BusinessDataCatalogSharedService/ExportPackageArgumentExceptionFault" name="ArgumentExceptionFault" message="tns:BusinessDataCatalogSharedService_ExportPackage_ArgumentExceptionFault_FaultMessage" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"/> <wsdl:fault wsaw:Action="http://www.microsoft.com/Office/2009/BusinessDataCatalog/BusinessDataCatalogSharedService/ExportPackageArgumentNullExceptionFault" name="ArgumentNullExceptionFault" message="tns:BusinessDataCatalogSharedService_ExportPackage_ArgumentNullExceptionFault_FaultMessage" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"/> <wsdl:fault wsaw:Action="http://www.microsoft.com/Office/2009/BusinessDataCatalog/BusinessDataCatalogSharedService/ExportPackageArgumentOutOfRangeExceptionFault" name="ArgumentOutOfRangeExceptionFault" message="tns:BusinessDataCatalogSharedService_ExportPackage_ArgumentOutOfRangeExceptionFault_FaultMessage" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"/> <wsdl:fault wsaw:Action="http://www.microsoft.com/Office/2009/BusinessDataCatalog/BusinessDataCatalogSharedService/ExportPackageBdcExceptionStateFault" name="BdcExceptionStateFault" message="tns:BusinessDataCatalogSharedService_ExportPackage_BdcExceptionStateFault_FaultMessage" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"/> <wsdl:fault wsaw:Action="http://www.microsoft.com/Office/2009/BusinessDataCatalog/BusinessDataCatalogSharedService/ExportPackageInvalidOperationExceptionFault" name="InvalidOperationExceptionFault" message="tns:BusinessDataCatalogSharedService_ExportPackage_InvalidOperationExceptionFault_FaultMessage" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"/> <wsdl:fault wsaw:Action="http://www.microsoft.com/Office/2009/BusinessDataCatalog/BusinessDataCatalogSharedService/ExportPackageMetadataExceptionStateFault" name="MetadataExceptionStateFault" message="tns:BusinessDataCatalogSharedService_ExportPackage_MetadataExceptionStateFault_FaultMessage" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"/> <wsdl:fault wsaw:Action="http://www.microsoft.com/Office/2009/BusinessDataCatalog/BusinessDataCatalogSharedService/ExportPackagePackageFormatExceptionStateFault" name="PackageFormatExceptionStateFault" message="tns:BusinessDataCatalogSharedService_ExportPackage_PackageFormatExceptionStateFault_FaultMessage" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"/> </wsdl:operation>
The protocol client sends a BusinessDataCatalogSharedService_ExportPackage_InputMessage request message, and the protocol server MUST respond with a BusinessDataCatalogSharedService_ExportPackage_OutputMessage response message, unless any faults occur.
If any one of the conditions in the following table is met, the protocol server MUST instead respond with a SOAP fault containing the corresponding error complex type, serialized as specified in section 2.2.4. If more than one error condition is encountered, the protocol server MUST respond with exactly one error complex type, determined in an implementation-specific manner.
|
Error complex type |
Condition |
|---|---|
|
The security principal in whose context the protocol client is operating is not authorized to export<48> the specified Model. |
|
|
ArgumentException (from namespace http://schemas.datacontract.org/2004/07/System) |
The packageContents element has the "InlineProxies" value set but does not have the "Model" value set. |
|
ArgumentNullException (from namespace http://schemas.datacontract.org/2004/07/System) |
The specified Model is NULL. |
|
ArgumentOutOfRangeException (from namespace http://schemas.datacontract.org/2004/07/System) |
The MetadataObjectId of the specified Model is set to zero. |
|
MetadataObjectNotFoundExceptionState (from namespace Microsoft.SharePoint.BusinessData) |
The specified Model or other MetadataObjects to be exported do not exist. |