on 12-14-2010 6:02 AM
Hi Experts,
Iam using adaptive webservice model, for this when i run the application it shows the below exception,
Connection IO Exception. Check nested exception for details. (Connection Exception; nested exception is:
com.sap.tc.cm.base.exception.BaseModelRuntimeException: No object for mandatory target role 'RequisitionItems' of model class 'com.sap.demo.sampleapplication.wd.models.samplemodel.RequisitionGetitems' with cardinality 'ONE' maintained).
[EXCEPTION]
com.sap.engine.services.webservices.espbase.client.bindings.exceptions.TransportBindingException: Connection IO Exception. Check nested exception for details. (Connection Exception; nested exception is:
com.sap.tc.cm.base.exception.BaseModelRuntimeException: No object for mandatory target role 'RequisitionItems' of model class 'com.sap.demo.sampleapplication.wd.models.samplemodel.RequisitionGetitems' with cardinality 'ONE' maintained).
at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.serializeRequest(SOAPTransportBinding.java:1705)
at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.writeSOAPRequestMessage(SOAPTransportBinding.java:257)
at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call_SOAP(SOAPTransportBinding.java:1280)
at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.callWOLogging(SOAPTransportBinding.java:960)
at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call(SOAPTransportBinding.java:915)
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DInterfaceInvokerImpl.invokeOperation(DInterfaceInvokerImpl.java:76)
at com.sap.tc.webdynpro.model.webservice.model.WSGenericModelClassExecutable.execute(WSGenericModelClassExecutable.java:73)
Thanks in advance
Regards,
Pradeep Kumar G
Thanks abhinav,
but i can't understand what is myModel indicates in the below code?
Request_EmployeeManagementLocal_updateEmployee reqMod =
new Request_EmployeeManagementLocal_updateEmployee(myModel);
//Check empl model class will be there , create an object for that
Employee objEmpl=new Employee(myModel);
regards,
Pradeep Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hai abhinav,
Thanks for reply,
Detailed description of my scenario:
Iam using Adaptive webservice model for accessing some data based on some input values.
In web service navigator it is working fine. when i give any input values based on that input the output records are available.
But when i used it in webdynpro java, it gives an exception and asks for manadatory input values but actually in that webservice there are no mandatory input values, ok i provided that input values based on that exception, then it gives the below exception
Connection IO Exception. Check nested exception for details. (Connection Exception; nested exception is:
com.sap.tc.cm.base.exception.BaseModelRuntimeException: No object for mandatory target role 'RequisitionItems' of model class 'com.sap.demo.sampleapplication.wd.models.samplemodel.RequisitionGetitems' with cardinality 'ONE' maintained).
[EXCEPTION]
com.sap.engine.services.webservices.espbase.client.bindings.exceptions.TransportBindingException: Connection IO Exception. Check nested exception for details. (Connection Exception; nested exception is:
com.sap.tc.cm.base.exception.BaseModelRuntimeException: No object for mandatory target role 'RequisitionItems' of model class 'com.sap.demo.sampleapplication.wd.models.samplemodel.RequisitionGetitems' with cardinality 'ONE' maintained).
I used the code in the link you have mentioned, but it cannot solved my problem. Same exception is occurring.
Share whether you have any idea on this..
Regards,
Pradeep Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
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.