cancel
Showing results for 
Search instead for 
Did you mean: 

XML structure of the request message

Former Member
0 Kudos

Hi Experts,

I am working on synchronous scenario

.Net Appl ->SAP-XI -> SAP ECC

The request from .Net Application will consists of 6 fields.

A field : Mandatory

B field : Mandatory

C field : Mandatory and should be able to read multiple line item

D field : Not Required and will be defaulted to 1

E field : Mandatory if field F is not entered

F field : Mandatory if field E is not enetred.

I have to create the WSDL file of the above request and provide it to .Net team. The field condition

will be done in the application level of the sender side.That means it is 1 to 1 mapping of the senders

request and receivers request.

Note : A, B, D are header items, rest are line items.

I have doubt on the following:

1. Would I have to create 1 parent node under which Header will be there and all the line items will be under this header node.

2. What would be the cardinality of the header node , line item node and all other fields especially field C (1: unbounded).

Best Regards

Alice Rebecca

Edited by: Alice@xi on Dec 18, 2011 3:44 PM

Accepted Solutions (0)

Answers (1)

Answers (1)

markangelo_dihiansan
Active Contributor
0 Kudos

Hello,

1. Would I have to create 1 parent node under which Header will be there and all the line items will be under this header node.

Yes, you would need to create a parent node, but with regards to which line items will belong a which header, you need to consult with the sender.

2. What would be the cardinality of the header node , line item node and all other fields especially field C (1: unbounded).


Root
 A (1..1) (mandatory)
 B (1..1) (mandatory)
 C (1..unbounded) (C belongs to which header?)
 D (1..1) (defaults to 1)
 E (0..1) (E belongs to which header?)
 F (0..1) (F belongs to which header?)

Hope this helps,

Mark

Former Member
0 Kudos

Thanks Mark. It is helpful.