Quantcast
Channel: Adobe Community : Popular Discussions - LiveCycle Workbench
Viewing all articles
Browse latest Browse all 69588

Returning com.adobe.idp.Document as complex return type

$
0
0

Hi,

 

I'm developing a custom component and need to return a Document type along with other parameters. Therefore, I bundled all return parameters as a complex return type and defined the binding-type="Bean" for each of the output parameters. Now the service fails to activate with the following error in jboss logs (it works with simple types like int, String, etc). Any idea what might be wrong?

 

Thanks,

yyz


2009-08-18 17:23:08,877 ERROR [com.adobe.idp.dsc.registry.service.impl.ServiceStoreImpl] COULD NOT PROCESS SERVICE: DatabaseService VERSION: 1.0 MARKING AS INACTIVE
ALC-DSC-700-000: com.adobe.idp.dsc.component.impl.InvalidBeanPropertyException: Invalid bean property: Document for parameter: outDoc of type com.adobe.database.ComplexResultType on service descriptor: DatabaseService and operation: retrieveRecord
    at com.adobe.idp.dsc.component.impl.DefaultPOJODescriptorImpl.createServiceConfigurationFrom Element(DefaultPOJODescriptorImpl.java:513)
    at com.adobe.idp.dsc.component.impl.DefaultPOJODescriptorImpl.createServiceConfigurationFrom String(DefaultPOJODescriptorImpl.java:96)
    at com.adobe.idp.dsc.registry.service.impl.ServiceStoreImpl.createServiceConfigurationFromBO I(ServiceStoreImpl.java:1021)
    at com.adobe.idp.dsc.registry.service.impl.ServiceStoreImpl.getServiceConfigurations(Service StoreImpl.java:853)
    at com.adobe.idp.dsc.registry.service.impl.ServiceRegistryImpl._getServiceConfigurations(Ser viceRegistryImpl.java:1302)
    at com.adobe.idp.dsc.registry.service.impl.ServiceRegistryImpl.access$200(ServiceRegistryImp l.java:136)
    at com.adobe.idp.dsc.registry.service.impl.ServiceRegistryImpl$26.doInTransaction(ServiceReg istryImpl.java:1266)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:342)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doRequiresNew (EjbTransactionCMTAdapterBean.java:284)
    at sun.reflect.GeneratedMethodAccessor243.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)


Viewing all articles
Browse latest Browse all 69588

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>