Skip to Content
0
Jan 30, 2020 at 02:35 PM

SAP CPI sender Odata adapter edmx

657 Views

sample edmx file I am using 

#########################################################################


<?xml version='1.0' encoding='UTF-8'?>
<edmx:Edmx xmlns:edmx="http://schemas.microsoft.com/ado/2007/06/edmx" Version="1.0">
    <edmx:DataServices m:DataServiceVersion="1.0" 
        xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
        <Schema Namespace="HCOData" 
            xmlns="http://schemas.microsoft.com/ado/2008/09/edm" s:schema-version="1" 
            xmlns:s="http://schemas.sap.com/commerce">
            <EntityType Name="PartnerData">
                <Key>
                    <PropertyRef Name="integrationKey"/>
                </Key>
                <Property Name="partnerID" Type="Edm.String" s:IsUnique="true" Nullable="false"/>
                <Property Name="integrationKey" Type="Edm.String" Nullable="false" s:Alias="PartnerData_partnerID"/>
            </EntityType>
            <EntityType Name="CustomerUserData">
                <Key>
                    <PropertyRef Name="integrationKey"/>
                </Key>
                <Property Name="firstName" Type="Edm.String" Nullable="false"/>
                <Property Name="lastName" Type="Edm.String" Nullable="false"/>
                <Property Name="email" Type="Edm.String" s:IsUnique="true" Nullable="false"/>
                <Property Name="uniqueUID" Type="Edm.String" s:IsUnique="true" Nullable="false"/>
                <Property Name="mobilePhone" Type="Edm.String" Nullable="true"/>
                <Property Name="phone" Type="Edm.String" Nullable="true"/>
                <Property Name="integrationKey" Type="Edm.String" Nullable="false" s:Alias="CustomerUserData_email|CustomerUserData_uniqueUID"/>
                <NavigationProperty Name="partners" Relationship="HybrisCommerceOData.FK_CustomerUserData_partners" FromRole="CustomerUserData" ToRole="PartnerData" Nullable="false"/>
            </EntityType>
            <Association Name="FK_CustomerUserData_partners">
                <End Type="HybrisCommerceOData.CustomerUserData" Multiplicity="0..1" Role="CustomerUserData"/>
                <End Type="HybrisCommerceOData.PartnerData" Multiplicity="*" Role="PartnerData"/>
            </Association>
            <EntityContainer Name="Container" m:IsDefaultEntityContainer="true">
                <EntitySet Name="PartnerDatas" EntityType="HybrisCommerceOData.PartnerData"/>
                <EntitySet Name="CustomerUserDatas" EntityType="HybrisCommerceOData.CustomerUserData"/>
                <AssociationSet Name="CustomerUserData_PartnerDatas" Association="HybrisCommerceOData.FK_CustomerUserData_partners">
                    <End EntitySet="CustomerUserDatas" Role="CustomerUserData"/>
                    <End EntitySet="PartnerDatas" Role="PartnerData"/>
                </AssociationSet>
            </EntityContainer>
        </Schema>
    </edmx:DataServices>
</edmx:Edmx>


#########################################################################

I am facing an issue with SAP CPI sender OData Adapter wherein which when an edmx file obtained from source system is uploaded into the channel and the correct resource entity is defined, I am always getting a 404 error while trying to invoke this Iflow with the CPI generated endpoint.

I also see when the edmx endpoint ic clicked it responds with a 404 as well.

In the deployment log, I see this

#ERROR#com.sap.it.nm.core.deploy.action.DeployTask##anonymous#pool-26-thread-1####na#na#na#na#[INFO] (deployOsgiArtifacts)(taskId: d8314cdc-a9f5-49e4-8d71-95b121d729c9)[DeployTask]For Artifact: testOdataSender phase [START] ended at 1580387877485 took: [430] ms| 2020 01 30 12:37:57#+00#ERROR#com.sap.it.nm.core.deploy.action.DeployTask##anonymous#pool-26-thread-1####na#na#na#na#[INFO] (call)(taskId: d8314cdc-a9f5-49e4-8d71-95b121d729c9)Finished Synchronizing artifacts [testOdataSender] on node NodePresence {nodeId=d59aae93d1a926ae5965422f89230c71479ffbd5, baseUri=https://vsa7151974:8041/, nodeType=IFLMAP, productVariant=CPI, nodeCoordinate=NodeCoordinate { account=avrhcie, application=e0355iflmap, tenantId=a056d8ddf, clusterName=avrhcie.gbt186.e0355 } , version=3.20.8, nodeStackProfileId=iflmap, timeStamp=1580118706376}.TaskState : [SUCCESS] DeployTaskEndTime: [1580387877499]. Total Time: [539] ms|

But I don't see any error in the managed content section for the respective iflow and could see that the deployment is successful with the endpoint urls generated.

Strangely the same interface worked 15 days ago without any issues.

Can someone shed some light on this?

Best Regards,

VKU