on 01-29-2014 4:03 PM
Hello,
I have exposed an oData service of NW Gateway via SMP 2.3
http://<NWGATEWAYHOST>:<PORT>/<PATH>?$filter=KEY%%20eq%20KEYVALUE works fine
http://<SMPHOST>:<PORT>/<PATH>?$filter=KEY%%20eq%20KEYVALUE works fine
http://<NWGATEWAYHOST>:<PORT>/<PATH>(KEYVALUE) works fine
http://<SMPHOST>:<PORT>/<PATH>(KEYVALUE) ... fails
The error message is: 500 Proxy connection [<PATH>(KEYVALUE)] on Domain [default] not found.
What am I doing wrong ? Seems that it cannot find the Application ID followed by brackets () while it should find just the Application ID ??
Best regards,
John
Hello,
I got it now.
I configured the end-point in the oData-proxy in SMP in a wrong.
WRONG:
I configured as endpoint the URL: ServiceRootUri including the ServiceOperation. This worked fine with and without parameters, but not when using the brackets selectors (Key) that are needed for PUT and DELETE operations and can also be used while querying.
GOOD:
I changed the endpoint only containing the ServiceRoorUri. This means that the ServiceOperation has to be concatenated (including the bracket selectors or parameters) to the applicationID by the client.
EndPoint in oData proxy in SMP:
http://<backend-host>:<port>/<serviceRootURI>/
Rest-Client invokes:
http://<SMPhost>:<port>/<SMPapplicationID>/<ServiceOperation>
Hope I made myself clear.
John
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you give more information on what you are trying to do and the steps performed.
- Midhun VP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.