on 01-07-2010 10:40 AM
Hi Experts,
I am dealing with WS to RFC scenario, where WS is generated by PI.
When I am testing the WS in Ms Infopath, its showing an error : "Infopath cant execute the query::Error in Soap response".
In Moni, Response message is coming with invalid xml::
<?xml version="1.0" encoding="UTF-8" ?>
<rfc:ZPTS_RESEQ_STATUS.Response xmlns:rfc="urn:sap-com:document:sap:rfc:functions" />
ERROR:: Runtime Exception During Mapping::Unable to produce the target element.
Also, while triggering the RFC, we are getiing response properl posted to R3.
Please suggest.
Thanks & regards,
Sushama
Hi Sushama,
Is this thread in continuation of . IF yes then I doubt the approach (ie sending the request to RFC1 and getting response from RFC2.response) which you are using will work..
>>ERROR:: Runtime Exception During Mapping::Unable to produce the target element.
This justifies my doubt..
So I would still suggest you to have a proxy class in the SAP side.
Regards
Suraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Suraj,
Response RFC::
<?xml version="1.0" encoding="UTF-8" ?>
<rfc:ZPTS_RESEQ_STATUS.Response xmlns:rfc="urn:sap-com:document:sap:rfc:functions" />
ERROR::
<SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code
Root Cause: com.sap.aii.mappingtool.tf3.IllegalInstanceException: Cannot produce target element /ns1:Z_ReseqStatus_resp/X_ReseqStatus. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:212) at
Regards,
Sushama
Hi Sushama,
Since the response from RFC is blank (as it doesn't contains any node) so you are getting this failure in message mapping.
Try to see why there is no response for the request which you sent to the RFC. Log in to ECC and execute the RFC with the same set of input and try to debug it
Regards
Suraj
Hi Sushma
This is a mapping issue.
Just check your mapping for this particular field. Its showing that what ever mapping you have done from this particular source field to target field is not executing properly.
This is the only solution for this problem check ur mapping for this field.
Regards
Dheeraj kumar
Hi Sushma,
This is general Mapping transformation error from your response message.
find the your Response message type and mapping .you correctly mapped or not.
"ERROR:: Runtime Exception During Mapping::Unable to produce the target element." this error tells to you , you are not properly configured your response mapping..
find your mapping and also enter the proper data fields also
Thanks,
Sateesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.