cancel
Showing results for 
Search instead for 
Did you mean: 

Scenario help. Pls advice

Former Member
0 Kudos

Hi All,

My scenario

System A -- XI --- System B

System A will send xml data to XI through HTTP.

Now I need to give xml structure to System A so that it can send xml data to XI.

My question is:

For xml structure should I give to System A

XSD of Request Data Type

OR

Take Source xml structure of message mapping from test tab

Regards

Accepted Solutions (0)

Answers (4)

Answers (4)

former_member185881
Active Participant
0 Kudos

Hi

You have to

Take Source xml structure of message mapping from test tab.

Please dont forget to rewad some points.

prateek
Active Contributor
0 Kudos

Take source xml from message mapping and send it using HTTP sender

Regards,

Prateek

Former Member
0 Kudos

Hi Rac,

You should give the actual data structure with values, not XSD.

Regards,

Piyush

former_member181985
Active Contributor
0 Kudos

Hi RAC,

Check my recent reply to your previous thread.

Thanks,

Gujjeti

Former Member
0 Kudos

Hi Praveen/ All

Thanks all persons for your replies.!!!

So according to you I need to send my client

Source xml structure of message mapping AND NOT

XSD of Request Data Type .---- Right

Regards

Former Member
0 Kudos

yes, confirmed

Piyush

former_member181985
Active Contributor
0 Kudos

you have to send both Request and Response Message Type schema's to your client, if client is not providing you schemas for this request and Response in case of HTTP.

Based on this schemas he will generate application data and send it to XI.

Thanks,

Gujjeti

Former Member
0 Kudos

Hi RAc,

There are two questions

1) What should be sent to client?

Ans--> XSD of request and response messages

2) Technical--> What shouold be actually sent from HTTP protocol.

Ans--->Source xml structure of message mapping

Client will generate the source XML structure from XSD's.

Hope this clears your doubt.

regards,

Piyush

Former Member
0 Kudos

Hi Piyush,

Thanks for your resposne:

So it means:

I need to provide to Client Source Message Type XSD -- Right

But how it will convert to Message Mapping Source XML Message Type --- (this we give in RWB for testing).

Do I need to provide both the above?

Regards

former_member181985
Active Contributor
0 Kudos

Hi RAC,

When you define a message mapping obviously you will give(assign) source message type and Target message type only.

Hence no need to bother abt it.

Using Message Types XSDs client will generate and post application data to XI server.

Thanks

Gujjeti

Edited by: Praveen Gujjeti on Apr 18, 2008 10:31 AM

Former Member
0 Kudos

Hi Rac,

There are so many tools available to generate it . RWB is one of them.

If your client understand XML , he will easily figure out the exact message/data needs to be sent.

XSD is definition of data type. While transporting , actual data is passed, not definition.

You can ask your client, what he requires . Normally XSDs are sent.

Regards,

Piyush

prateek
Active Contributor
0 Kudos

XSD is only used in XI. Sender is no way concerned with it.

Sender system is only responsible for sending data - which is the source xml of message mapping in ur case.

Regards,

Prateek

Former Member
0 Kudos

Hi All,

Preteek is saying Source xml structure of message mapping

needs to be sent

Piyush is saying XSD of Message Type need to be sent

Pls advice

Regards

Former Member
0 Kudos

Hi Rac,

Ambiguity !!!!!!!! What to do now??

Send the actual data and not XSD if you are directly interacting with the client's technical team.

Regards,

Piyush

former_member181985
Active Contributor
0 Kudos

>>XSD is only used in XI. Sender is no way concerned with it.

>>Sender system is only responsible for sending data - which is the source xml of message mapping in ur case.

Prateek,

If sender doesnt send the data based on the schema(XSD) defined in XI, we will get a mapping error in XI.

Hence client has to validate against the schema when he generates application data and before he can post it to XI.

Thanks,

Gujjeti

Former Member
0 Kudos

Hi Piyush,

I am sending them XSD of Message Type

and also

Message Mapping Source XML Message Type .

So client can refer xsd and also know that this xml has to be formed for sending data to XI.

Is it ok?

Regards

Former Member
0 Kudos

Yes Rac,

That will be fine.

regards,

Piyush

Former Member
0 Kudos

hi Rac,

Please close all the threads related to this question.

You have so many threads open.

regards,

Piyush

Former Member
0 Kudos

Hi Piyush,

I have awarded you points for that.

Thanks again!!

Regards

Former Member
0 Kudos

Hi Rac,

Can you please mark this and all other threads which are open as "answered".

Option is available on top of your thread.

Regards,

Piyush

prateek
Active Contributor
0 Kudos

If sender doesnt send the data based on the schema(XSD) defined in XI, we will get a mapping error in XI.

It is not the responsibility of sender to send data according to structure defined in XI.

Rather it is responsibilty of XI developer to create the correct structure.

Hence client has to validate against the schema when he generates application data and before he can post it to XI.

Tell me. In how many projects do we actually send the XSD to the sender side. In real world, first sender provides us the information about the structure. We generate the structures accordingly in XI and then sender sends data accrding to the structure that they Already have

Regards,

Prateek

former_member181985
Active Contributor
0 Kudos

In one way whatever you are saying is 100% true.

but some times when application sender changes its mode of sending data then you have to build the application according to the schema defined in XI.

Please check my last my reply here.

[]

Thanks

Gujjeti