on 02-18-2009 8:23 AM
Hello all,
Am using CE 7.1 to develop a composite applicaiton
In the process, there is an automated activity which calls a BAPI service via the Activity service interface using a service interface.
The BAPI is BAPI_INQUIRY_CREATEFROMDATA2
Now the wsdl has input and output parameters.
The output parameter of the activity is default named like
BAPI_INQUIRY_CREATEFROMDATA2.Response
This "." in the above name is giving me an error during output mapping (context) of the automated activity.
And if i change the name of the output (return) paramter of the BAPI, the automated activity gives me an exception during run time.
The exception is:
""""Caused by: java.lang.IllegalArgumentException: Parameter with name 'BAPI_INQUIRY_CREATEFROMDATA2Response' does not exist.
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.ParametersConfigurationImpl.determineParameterObject(ParametersConfigurationImpl.java:107)
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.ParametersConfigurationImpl.getOutputParameterValue(ParametersConfigurationImpl.java:113)
at com.sap.engine.services.webservices.espbase.wsdas.impl.OperationConfigImpl.getOutputParamValue(OperationConfigImpl.java:31)
at com.sap.glx.adapter.app.ucon.UnifiedWebServiceCallObject.invokeWebServiceOperation(UnifiedWebServiceCallObject.java:226)
"""""""""""""""""""""""""""
Please help on how this bug can be solved.
Thnks
Thnks a ton Fazal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Yogesh,
The output parameter of the activity is default named like
BAPI_INQUIRY_CREATEFROMDATA2.Response
This "." in the above name is giving me an error during output mapping (context) of the automated activity.
why u need to change the Attribute name ? and what is the error u are getting?
Automated service is done using Logical destinations or service group ?
Thanks and Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Yogesh,
tried to change it because during mapping i was getting the error
"Parse error at Line 1, Column 29. Encountered "." after "BAPI_INUQUIRY_CREATEFROMDATA2"
i have not came accross such error messages . when u map the Service Data Object tp the Process COntext Data object , u are getting this error message , right ?
just try this , Map the Nodes first , then map each Attribute from Service Context to Process Context.
Thanks and Regards
Hi Yogesh,
But once i map the nodes it thows up an error in the mapping point and then parameter to parameter mapping itself is not being accepted.
What is error message it is showing ? and please explain ur query in details (if possible with Process Context Nodes and Service Context Nodes with types).
Thanks and Regards
Error is:
"""Parse error at Line 1, Column 29. Encountered "." after "BAPI_INUQUIRY_CREATEFROMDATA2""
MY Service Nodes:
BAPI_INQUIRY_CREATEFROMDATA2.Response
---> RETURN
---> item
(text) MESSAGE
(There are other attributes under item but i want only MESSAGE)
My Context Node:
CrdtChk
---> RETURN
---> item
(text) MESSAGE
Please note: I have matched the cardinalities
So this is the problem
Hi Yogesh,
Error is:
"""Parse error at Line 1, Column 29. Encountered "." after "BAPI_INUQUIRY_CREATEFROMDATA2""
i dont know where the actual problem comes (and I think may be in your RFC). its better u can post the same thread in BPM Forum to get valuable suggestions. (please check ur web service, whether it is executing properly or not ).
Thanks and Regards
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.