Hi All,
My Requirement is : 1). We are getting two inbound Requests/transactions namely PO Request and Inbound Status from MyPartner i.e ABC ------> To partner (MyCompany).
2). For this requirement we used Custom Protocol(HTTP) and we created my own schema (xsd) for both the transactions.
**NOTE**:3). Root Element common for both the transactions and we created two inbound Agreements.Please find the below input xmls for **Inbound Status** and **PORequest**.
4). I have tested **Inbound Status** agreement successfully and working fine, but when am trying to test **PORequest** agreement it's giving error**: Agreement not found for trading partners: FromTP Mycompany, ToTP MyPartner with document type cXML-POResponse-INBOUND.** Please find the below screenshot for Documents definitions.
**5).** I am testing POReq inbound, but it's why looking/pointing POResponse document. it has point EMCPOReq document right.
**This is my problem. Could you please help/ suggest me for the same.
**

<?xml version="1.0" encoding="UTF-8" ?>
<cXML version="1.2.011" payloadID="20140416T041633-sample Communications-4500262952-0-PORQ" timestamp="2014-04-16T04:16:33-04:00"
xmlns:xsi="[http://www.w3.org/2001/XMLSchema-instance](http://www.w3.org/2001/XMLSchema-instance)"
xmlns="[http://www.sample.com/zero/cxml/inbound/inboundStatusUpdate](http://www.sample.com/zero/cxml/inbound/inboundStatusUpdate)">
<Header>
\<From>
\<Credential domain="DUNS" type="marketplace">
\<Identity>097488848\</Identity>
\</Credential>
\</From>
\<To>
\<Credential domain="DUNS">
\<Identity>927995478\</Identity>
\</Credential>
\</To>
\<Sender>
\<Credential domain="DUNS">
\<Identity>097488888\</Identity>
\</Credential>
\<UserAgent>sampleB2B\</UserAgent>
\</Sender>
</Header>
<Request>
\<StatusUpdateRequest>
\<DocumentReference payloadID="20140416T040711-sample Communications-4500262952-0-PORQ"/>
\<Status code="200" text="OK">Imported successfully\</Status>
\</StatusUpdateRequest>
</Request>
</cXML>
<?xml version="1.0" encoding="UTF-8" ?>
<cXML version="1.2.011" payloadID="20141220T091235-sample Communi-4500369392-0-PORQ" timestamp="2014-12-20T09:12:35-05:00"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="[http://www.sample.com/zero/cxml/inbound/PORequest](http://www.sample.com/zero/cxml/inbound/PORequest)">
<Header>
\<From>
\<Credential domain="DUNS">
\<Identity>097488848\</Identity>
\</Credential>
\</From>
\<To>
\<Credential domain="DUNS">
\<Identity>097488848\</Identity>
\</Credential>
\</To>
\<Sender>
\<Credential domain="DUNS">
\<Identity>097488848\</Identity>
\<SharedSecret>abracadabra\</SharedSecret>
\</Credential>
\<UserAgent>sample\_PROPEL\</UserAgent>
\</Sender>
</Header>
<Request deploymentMode="test">
\<OrderRequest>
\<OrderRequestHeader orderID="4500369392-0" orderDate="2014-12-20" orderType="release" type="new">
\<Total>
\<Money currency="USD">11495.0\</Money>
\</Total>
\<ShipTo>
\<Address>
\<Name lang="en">sample\</Name>
\<PostalAddress name="sample">
\<DeliverTo>sample\</DeliverTo>
\<Street>sample\</Street>
\<Street>\</Street>
\<Street>\</Street>
\<Street>\</Street>
\<City>sample\</City>
\<State>sample\</State>
\<PostalCode>74125\</PostalCode>
\<Country isoCountryCode="US"/>
\</PostalAddress>
\<Email>samplet\</Email>
\<Phone>
\<TelephoneNumber>
\<CountryCode isoCountryCode="US">\</CountryCode>
\<AreaOrCityCode>\</AreaOrCityCode>
\<Number>77777777777\</Number>
\<Extension>\</Extension>
\</TelephoneNumber>
\</Phone>
\<Fax>
\<TelephoneNumber>
\<CountryCode isoCountryCode="US">\</CountryCode>
\<AreaOrCityCode>\</AreaOrCityCode>
\<Number>\</Number>
\<Extension>\</Extension>
\</TelephoneNumber>
\</Fax>
\</Address>
\</ShipTo>
\<BillTo>
\<Address>
\<Name lang="en">sample\</Name>
\<PostalAddress name="0">
\<Street>\</Street>
\<City>sample\</City>
\<State>TX\</State>
\<PostalCode>sample\</PostalCode>
\<Country isoCountryCode="US"/>
\</PostalAddress>
\<Email>0\</Email>
\</Address>
\</BillTo>
\<Extrinsic name="OrderFulfillment"/>
\</OrderRequestHeader>
\<ItemOut quantity="1" lineNumber="1" requestedDeliveryDate="2014-12-20">
\<ItemID>
\<SupplierPartID>sample\</SupplierPartID>
\</ItemID>
\<ItemDetail>
\<UnitPrice>
\<Money currency="USD">114.0\</Money>
\</UnitPrice>
\<Description lang="en">sample\</Description>
\<UnitOfMeasure>EA\</UnitOfMeasure>
\<Classification domain="SPSC"> \</Classification>
\<Extrinsic name="BuyerPartID">100S-001849\</Extrinsic>
\<Extrinsic name="ConfigMajorLine">000460\</Extrinsic>
\<Extrinsic name="ConfigMinorLine">000600\</Extrinsic>
\<Extrinsic name="ModelNumber">CMCNE-SAN-ENT\</Extrinsic>
\<Extrinsic name="ModelQty">1\</Extrinsic>
\<Extrinsic name="VendorMatNum">sample\</Extrinsic>
\<Extrinsic name="sample"/>
\<Extrinsic name="sample">N\</Extrinsic>
\<Extrinsic name="sample">00090\</Extrinsic>
\</ItemDetail>
\</ItemOut>
\</OrderRequest>
</Request>
</cXML>
Thanks & Regards
Reddy