Hi there,
I have an SAP solution that's been set up to receive and respond with XML documents compatible with Live Integration. I am now trying to link DW 10 to this set up for Live Integration scenarios. However, there are a couple of things that I can't get to work.
1. Authentication
In Postman, I can make REST calls to SAP using OAuth 2.0 like this:
That all works OK when I send it an order create request. However, I can't set it up like that in DW as it requires the client ID to be a Guid which it isn't in SAP. I may also be missing other settings. Is OAuth in DW not so Open that it connects to any OAuth end point?
2. When I work around it by setting auth to Bearer token and feed it a pre-generated and valid token, my test requests all fail with a generic SAP server error. I think that's because I can't override stuff like HTTP action and body type, maybe?
3. Even if I could get that to work, I don't think it'll work at all as I can't save the option to "Use in Live Integration" as it doesn't support the underlying protocols / connection.
Is all that correct? And if so, am I back to the setup we discussed here: https://doc.dynamicweb.com/forum/integration/integration/connect-to-completely-custom-erp-system
I.e. like this:
1. Create a custom class inheriting Connector
2. Use whatever (like HttpRequest) to proxy XML requests to SAP in that Connector
3. Set up the DynamicWeb connector service and use the custom Connector as the plugin
4. In DW10 connect an end point to the connector service
5. Connect LI to the LI end point.
Does that sound right? Or are there other things that I could / should use instead?
Any insight is much appreciated!
Imar