cancel
Showing results for 
Search instead for 
Did you mean: 

Consuming WebService with 1-to-many relationship in one request, multi MBO?

Former Member
0 Kudos

Hi

I recently have started working on SUP. I was trying to create MBO from a webservice that provides me details of an Employee like name , age , ID and address. The employee can have many adress in this case. The webservice returns all the things in one request. I need to know how to create multiple MBO from this in one request. That is when I request to the webservice the name , age , ID to goto one table and addres should be populated in a separate table with ID as the realtionship parameter in both tables.

I have connected to the webservice and can see data in preview. I had on demand cache policy with default parameter as employee ID, so it populated CDB with as many number of rows as the addres exists for the same employee which was not the desired result.

Please let me know the most efficient way to do the same.

Thanks

Preksha

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I am able to consume the webservice and make multiple MBO with single call.

http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc01283.0200/doc/html/fre12...

Former Member
0 Kudos

is single operation means that MBO's operation? which are CREATE, UPDATE, DELETE, OTHER ?

If this is true, then in order to get data, should i use OTHER ?