Basically I am trying to pass a ProductCategory into the service createProductCategory below
<simple-method method-name="createUserLoginAndCategory" login-required="false"> <make-value value-field="productCat" entity-name="ProductCategory"/> <set field="productCat.productCategoryId" value="778"/> <set field="productCat.categoryName" value="TEST"/> <call-service service-name="createProductCategory" in-map-name="productCat" /> I would like to create this entity "ProductCategory" and pass it into the service "createProductCategory" The error I get is this, java.lang.IllegalArgumentException: [GenericEntity.set] "userLogin" is not a field of ProductCategory, must be one of: productCategoryId, productCategoryTypeId, This doesn't make sense to me, because I know that userLogin is not a field of ProductCategory, my code doesn't indicate that at all. Thanks in advance for any assistance. Patrick
