on 11-13-2007 8:05 AM
Hi,
I have defined XI scenario, where synchronous WebService is being called, and XI calls RFC function module, which returns data. It was working perfectly, until
I have changed the order of few fields in Data Type and added a few new (exactly as the changes in RFC function module).
And now the WebService returns exception, on the first field added to the interface:
<Trace level="1" type="T">com.sap.aii.utilxi.misc.api.BaseRuntimeException: RuntimeException in Message-Mapping transformation: Cannot produce target element /ns1:MT_BMS_Response/CUSTOMERS_PERSON/TITLE. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd at
TITLE is added field.
I have reactivated everything one by one again, clear cache from Integration Builder and Integration Directory, but it does not help and still old structures are being used in XI.
I have tested the Interface Mapping and all fields are transformed correctly.
Please help as it comes a little urgent and I have run out of ideas what to do to refresh the customizing of data types?
Thank you in advance!
perform these checks;
1. have you used the changed structure in your mapping and interface mapping?
2. Activated everything?
If so,
try the following;
SXI_CACHE -> Complete cache refresh
or
SE38
run the report
SAI_CACHE_REFRESH
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Wojciech - back to basisc
Do you still get the error?
Are you sure your mapping is correct? This error occurs, when the target node is mandatory (occurence 1..n), but there is no source value to be mapped.
Did u try "Display Queue" feature of mapping test?
Peter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Yes, the mapics is a 100% correct. It is 0..unbounded in tables and rows with 1 occurence. It is everything exactly the same as in older version of data type, I just added a few fields and changed the order.
In message monitoring the returned XML structures are still old ones! This is the problem I suppose.
Wojciech, so your target is RFC, right? I suppose, you map SOAP Request to RFC right?
And then you have changed the target RFC (added field) and it is still using old RFC, right?
And finally: do you get MAPPING error or just not correct target message? I mean - is there exception thrown or you get old XML target document? Or there is an error, because your new changes didn't take effect?
Peter
Hi Peter,
Yes, I am calling RFC function module from XI.
After I changed the interface of RFC in SAP, I have imported this RFC once more to XI in Integration Builder and new structures appeared.
And exception returned is that first new field added to the RFC and Data Type and so on, returns an exception.
And returned XML structures (in message monitoring) appears to be still old structures.
Wojciech,
if u have synchronous scenario, there are 2 messages - request and response (and fault message optionally).
Now the question is, if the mapping error is from REQUEST mapping, or RESPONSE mapping...
Check ur SXMB MONI and copy the request message to IR message mapping test and start mapping.. Is it successful? Do the same with the RESPONSE message.
Peter
Wojciech - this means, that you have no receiver determination for the sender system / interface.
Go to SXMB moni and check there, which system is sender and receiver for the message. Then check your receiver determination, if this is REALLY created for this system, interface (including namespace(!))
Peter
Hi,
Check the length of Source & Target (TITLE) fileds if they are fixed Coz if it is fixed and you try to pass the length more than the length of target field then it will throgh an exception.
regards,
Sarvesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.