method is the java term for function or procedure. obj oriented langs use the term method instead of function or proc.
One difference i spot between this code an standard ofbiz service classes is that the methods are not static in ur class. try changing public to public static on method declarations. On 8/3/06, rohit2006 <[EMAIL PROTECTED]> wrote:
my services.xml has the following it: <services xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.ofbiz.org/dtds/services.xsd"> <description>Hello 3 Services</description> <!-- this will be implemented in Java --> <service name="CheckoutCartBuilderTest" engine="java" location="com.google.checkout.sample.protocol.CheckoutCartBuilder" invoke="createShoppingItem"> <description>Create a HelloPerson</description> </service> <!-- this will be implemented in OFBiz minilang --> <service name="createHelloPersonHobby" engine="simple" location="org/ofbiz/hello3/Hello3Services.xml" invoke="createHelloPersonHobby"> <description>Create a HelloPersonHobby which links a person and a hobby</description> <auto-attributes mode="IN" entity-name="HelloPersonHobby" include="pk" optional="false"/> </service> </services> . Please let me know what exactly u mean by method name, an e.g. will be very helpful. rohit -- View this message in context: http://www.nabble.com/Service-invocation-error-tf2043791.html#a5627135 Sent from the OFBiz - User forum at Nabble.com.
