cancel
Showing results for 
Search instead for 
Did you mean: 

Error while consuming "Find Business Partner Elements by Elements" service

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 (3)

Answers (3)

Former Member
0 Kudos

Product bug , sap note available

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

Hi

i hope you do have a WSDL file , check this URL in the WSNAVIGATOR by

passing different values . i hope it should with the values you are providing .

murali

Former Member
0 Kudos

Hi,

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)

1 Person The business partner is a natural person.

2 Organization The business partner is an organization.

3 Group The business partner is a group of natural persons or organizations.

Are you setting any values to this?

Regards

Ayyapparaj

Former Member
0 Kudos

Dear Ayyaparaj,

The error does not happen in the input . It happens in the result frm the web service.

As i mentioned earlier , web service does not return any value for this structure. So its empty and appears as

<CategoryCode/>

This seems to be throwing an error internally when being mapped to the model node.

Bharathwaj