cancel
Showing results for 
Search instead for 
Did you mean: 

Error in consuming BusinessPartnerCRMElementsByElementsQueryResponse_In

Former Member
0 Kudos

Hi,

I am consuming the standard enterprise service "Find Business Partner Elements by Elements" with technical name "BusinessPartnerCRMElementsByElementsQueryResponse_In" in Webdynpro CE 7.1 .the service provider is CRM 7.0.

The response from the enterprise service contains a structure called categorycode as ,

<CategoryCode/>

This seems to throw an error in when we execute the application . The error we receive is

1. "Check nested exception for details. (Parameter set failure. The runtime was not able to set some result parameter value."

2. Caused by: com.sap.dictionary.runtime.DdCheckException: Value is not valid; enter a value that consists of exactly 1 characters at com.sap.dictionary.runtime.DdTypeString.checkValid(DdTypeString.java:287)

The details of the exceptions are as follows

com.sap.engine.services.webservices.espbase.client.bindings.exceptions.TransportBindingException: Connection IO Exception. Check nested exception for details. (Parameter set failure. The runtime was not able to set some result parameter value. See nested exception for details.) at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.deserializeResponse(SOAPTransportBinding.java:1621) at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.readSOAPResponseMessage(SOAPTransportBinding.java:278) at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call_SOAP(SOAPTransportBinding.java:1120) at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.callWOLogging(SOAPTransportBinding.java:779) at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call(SOAPTransportBinding.java:746) 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) ... 78 more Caused by: com.sap.engine.services.webservices.espbase.client.bindings.exceptions.TransportBindingException: Parameter set failure. The runtime was not able to set some result parameter value. See nested exception for details. at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.deserializeParameter(SOAPTransportBinding.java:1941) at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.deserializeResponse(SOAPTransportBinding.java:1544) ... 84 more Caused by: com.sap.tc.cm.base.exception.BaseModelRuntimeException: Attribute value is not valid for attribute 'CategoryCode' of model class 'com.sap.demo.bpsearchwd.model1.BPCRMElmntRspBP' at com.sap.tc.cm.base.model.BaseGenericModelClass.setAttributeValue(BaseGenericModelClass.java:327) at com.sap.tc.webdynpro.model.webservice.model.WSGenericModelClass.setAttributeForName(WSGenericModelClass.java:187) at com.sap.tc.webdynpro.model.webservice.model.WSGenericModelClass._setField(WSGenericModelClass.java:65) at com.sap.tc.webdynpro.model.webservice.gci.WSTypedModelClass._setField(WSTypedModelClass.java:141) at com.sap.engine.services.webservices.jaxrpc.encoding.InstanceBuilder.readElement(InstanceBuilder.java:642) at com.sap.engine.services.webservices.jaxrpc.encoding.InstanceBuilder.readSequence(InstanceBuilder.java:1060) at com.sap.engine.services.webservices.jaxrpc.encoding.InstanceBuilder.readContent(InstanceBuilder.java:1208) at com.sap.engine.services.webservices.jaxrpc.encoding.GeneratedComplexType.deserialize(GeneratedComplexType.java:1318) at com.sap.engine.services.webservices.jaxrpc.encoding.InstanceBuilder.readElement(InstanceBuilder.java:573) at com.sap.engine.services.webservices.jaxrpc.encoding.InstanceBuilder.readSequence(InstanceBuilder.java:1060) at com.sap.engine.services.webservices.jaxrpc.encoding.InstanceBuilder.readContent(InstanceBuilder.java:1208) at com.sap.engine.services.webservices.jaxrpc.encoding.GeneratedComplexType.deserialize(GeneratedComplexType.java:1318) at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.deserializeParameter(SOAPTransportBinding.java:1920) ... 85 more Caused by: com.sap.dictionary.runtime.DdCheckException: Value is not valid; enter a value that consists of exactly 1 characters at com.sap.dictionary.runtime.DdTypeString.checkValid(DdTypeString.java:287) at com.sap.tc.cm.base.model.BaseGenericModelClass.setAttributeValue(BaseGenericModelClass.java:324) ... 97 more

Has anyone encountered this problems .? Any ideas on how to fix this would be very helpful.

Thanks and REgards

Bharathwaj

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Product bug : SAP notes available

Former Member
0 Kudos

Hello Bharathwaj,

Can you please pass on the sap note number(s).

We are also facing same issue.

Regards,

Yogesh...

Former Member
0 Kudos

Please It would be useful the SAP Note Number!!!

Former Member
0 Kudos

To everyone, this is the note,

Note 1310216 - Adaptive WS Model exception on inconsistent service response

SU

Former Member
0 Kudos

Hello Bharathwaj,

What is the value you are passing to CategoryCode as input ?

Please make sure that this field is of only 1 character length.

By looking at the exception you are getting

2. Caused by: com.sap.dictionary.runtime.DdCheckException: Value is not valid; enter a value that consists of exactly 1 characters at com.sap.dictionary.runtime.DdTypeString.checkValid(DdTypeString.java:287)

this looks that more than 1 character is being filled to that field.

Thanks and Regards

Shankar