Make your own free website on Tripod.com

Service Definition (Contract)

Services are defined in Service Definition Files:

<service name="createContactMech" engine="java"
  location="org.ofbiz.commonapp.party.contact.ContactMechServices" 
      invoke="createContactMech" auth="true">
  <description>Create a ContactMech</description>
  <attribute name="partyId" type="String" 
      mode="IN" optional="true"/>
  <attribute name="roleTypeId" type="String" 
      mode="IN" optional="true"/>
  <attribute name="contactMechTypeId" type="String" 
      mode="IN" optional="false"/>
  <attribute name="infoString" type="String" 
      mode="IN" optional="false"/>
  <attribute name="allowSolicitation" type="String" 
      mode="IN" optional="true"/>
  <attribute name="contactMechId" type="String" 
      mode="OUT" optional="true"/>
</service>