cancel
Showing results for 
Search instead for 
Did you mean: 

OData Services Consumption and Integration

iwan_santoso4
Participant
0 Kudos

All,

I'm trying to follow the steps mentioned in this help documentation to setup OData Services Consumption and Integration

http://help.sap.com/saphelp_gateway20sp07/helpdata/en/a6/d52d733971414a9fdf6cf188dc9059/content.htm?...

I found this document which highlight the steps for SP06 and for SP07, the steps are slightly different. I tried the same steps as in the document and has the same error.

I got the following error:

Any idea on how to resolve this issue or if there is example on how to perform this task?

Thanks in advance,

Iwan

Accepted Solutions (0)

Answers (3)

Answers (3)

iwan_santoso4
Participant
0 Kudos

Venu and Ashwin,

Thanks for the reply. Do you think the model class need to be generated manually? My understanding is that both /IWBEP/OCI_SRV_GEN and Redefine steps in SEGW will automatically generate the class. In debug mode I did find the method to get the service and namespace are both populated correctly in the model class generated by the transaction. The only difference is that in t-code /IWBEP/OCI_SRV_GEN the sercive and namespace are case sensitive and in redefine wizard, it's converted to uppercase.

Here's my finding so far: when the transaction is trying to call the $metadata to capture the OData structure, it works if I in debug mode make sure that:

1. The service is case sensitive, I replace the converted to uppercase, to the original value.

2. I append http:// in front of url constructed to get the $metadata

3. I could not make the service mentioned in   but if I used /Northwind/Northwind.svc from the same server, it works.

Regards,

Iwan

AshwinDutt
Active Contributor
0 Kudos

Hello Iwan,

Check if that model exists at the very first place.

Regards,

Ashwin

former_member206574
Active Participant
0 Kudos

Hi Iwan,

AS You are following this document http://scn.sap.com/docs/DOC-47366, I hope you have to use same

Model name as specified in the document.

Do you have that Model name which you are trying to redefine.

Plz Check..

Regards,

Venu