cancel
Showing results for 
Search instead for 
Did you mean: 

SMP 2.3 Exposing oData services

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Answers (1)

Answers (1)

midhun_vp
Active Contributor
0 Kudos

Can you give more information on what you are trying to do and the steps performed.

- Midhun VP