on 03-13-2017 8:04 AM
It works very well with an Odata service. However I have struggled to do the same thing with an existing SOAP Enterprise Service. However when I am adding a resource(operation) I can’t save the API without getting an error:
“Unable to register API” and [Request ID: 0ef2d71f-cf76-4818-a1bb-c543d1235f0e]
String index out of range: 0
It seems it’s related to the adding of the resource since I have no problem saving it without a resource but then I get the service unavailable respone when testing of course.
What could possibly be wrong?
Janne
Hi Jan,
I am going to create this reply as an "Answer" so we can hopefully let others know as well. Please mark as accepted answer.
Currently the way the OnPremise connector is configured, if the target endpoint is expecting a different transport protocol than is given, it will return this error, as it is not finding the endpoint as configured. My guess is that for your OData service you were able to connect to it as a simple HTTP request, but the SOAP service either expected HTTPS, or had a configuration issue. I ran into a similar problem with my own Gateway system, which is how I reasoned out this issue (my system was fine for HTTP, but required HTTPS to connect via CC).
So in short, this is not necessarily a SOAP vs ODATA issue, but rather a backend configuration issue. Please note this is only for the Trial landscape, and has already been patched for Productive systems. There are discussions about rolling this out to trial as well (which is a larger undertaking to do).
Thank you for bringing this issue to our attention.
Regards,
Elijah
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi again Elijah,
Just a followup question: Is there a simple way to document my created "REST-service" which infact is an onprem SOAP service making the documentation available in the Developer portal? I guess I would have to somehow create a Resource but haven't been able to figure out how without creating a new API.
Best Regards
Janne
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.