cancel
Showing results for 
Search instead for 
Did you mean: 

issue while calling Commerce cloud(hybris )B2BUNITS api

pooja_tiwari3
Participant
0 Kudos

HI Experts,

I am working on ECC to Hybris integration using Standard iflow with few changes.

While calling the "/odata2webservices/InboundB2BUnit/$metadata" API , I am getting this error at Odata Adaptor:



"Error Details

com.thoughtworks.xstream.mapper.CannotResolveClassException: B2BUnits"
is there any way to resolve this error??
Thanks and Regards,Pooja

Accepted Solutions (0)

Answers (3)

Answers (3)

pooja_tiwari3
Participant
0 Kudos

Hi All,


Thanks for the reply.
the issue is resolved now, API URL was incorrect.
Correct URL was -"odata2webservices/InboundB2BUnit/B2BUnits" .
and Hybris is expecting JSON format .

Thanks and Regards,

Pooja

0 Kudos

Hi Pooja

Do you have a sample payload you can share? Normally this standard integration should work. You can test the Commerce oData Integration API, by just sending the ERP payload using postman

VijayKonam
Active Contributor
0 Kudos

It looks like Commerce is throwing that error. Assuming, it is a response to CPI Odata call. You have to ask the Commerce team to look into it.