cancel
Showing results for 
Search instead for 
Did you mean: 

Zero to Many mapping in developing oData Service in CPI

ananda_paul
Explorer
0 Kudos

Hi,

I am developing an oData service in CPI that internally consumes the SOAP web service exposed by ByDesign. After configuring the WSDL file, I get to see the input elements for the oData services. One element MaterialOutput can appear 0 to n times, meaning it is defined as 0 to many mapping in the WSDL file. But after configuring the WSDL file, it shows 1 to 1 mapping instead of 0 to many. I have attached the screenshot of how it looks. Also, attached the WSDL file managesitelogisticstaskin.txt and EDMX file odata-1-1-mapping.txt created by CPI after configuration for reference. Please let me know where I am wrong.

former_member497128
Active Participant
0 Kudos

Hi ananda.paul,

How are you configuring edmx file via odata service ? i believe we might have something missing there.

Also check if we can have wsdl file instead of edmx.

Regards,

Saurav Kumar

ananda_paul
Explorer
0 Kudos

Hi Saurav,

I configured the EDMX through the "Import Data Source". In this case, I generated using WSDL file. I have already attached the WSDL file (managesitelogisticstaskin.txt) in the original post. Please see below the screenshots of the steps to create the Edmx file.

ananda_paul
Explorer
0 Kudos

Attached the photos

Accepted Solutions (0)

Answers (0)