Examples of programatically populating fields

The following is an example of how you can use the <servicedetails> tag to set up a server-side java class application implementing the com.unicacorp.common.template.IdGenerate interface and pass a product ID.


<servicedetails>
<classname>com.unicacorp.uap.webservice.FormIdGenImpl
</classname>
<param name="param1" type="string"
valuecolumn="dyn_projectatts.product_id" />
</servicedetails>

Similar to the above example, the following shows how to configure the same behavior, but with a generic Java class that does not implement com.unicacorp.common.template.IdGenerate interface.


<servicedetails>
<classname>com.unicacorp.uap.webservice.FormIdGenImpl
</classname>
<param name="param1" type="string"
valuecolumn="dyn_projectatts.product_id" />
<methodname>getFormId</methodname>
</servicedetails>

The following is an example of how you can use the <servicedetails> tag to set up a web service application and pass a business unit ID.


<servicedetails>
<wsdl>
http://rd600:7004/axis/services/Service?wsdl
</wsdl><!--wsdl>
C:\\Product\\Plan\\webapp\\conf\\Service.wsdl
</wsdl -->
<methodname>getFormId</methodname>
<param name="param1" type="string" valuecolumn="dyn_projectatts.business_unit_id" />
<param name="param2" type="string" valuecolumn="dyn_projectatts.prog_type_id" />
</servicedetails>


IBM Unica Marketing Operations
 
8.5.0
For more information, see our support and community site: Customer Central