Hey Albino,
I used the following to test the addRequestWithForm method via soapUI:
1) The requestData is essentially the data for the 'General Information' form. I used the following:
name:soapUI Test!req_by_user_id:spadmin!req_for_user_id:spadmin
2) The requestValuesData is essentially the data for the 'Request Information' form. I used the following:
comments:soapUI comment!gl_code:soapUI gl!project:soapUI project
3) The requestValuesDataType is only necessary if you are passing data in step 2) above that you need to be stored as a data type other than string. I left this blank using the above requestValuesData.
4) The addedOfferings parameter takes the offering_id for each offering you would like to add to the request. I just added one offering using the following:
offering_id:10176
5) The addedItems is only necessary if you don't have a default option selected for the offering or if you need to specify something like cost/quantity. I left this blank as my offering has a default option selected.
6) The formValuesData is a list of the offering form data which is separated by vertical bars (|). I used the following to define 2 text fields:
offering_id:10176|rate_plan_id:10184|item_id:21859|txtf_10:txtf_10|txtf_11:txtf_11
Note 1: You can get the rate_plan_id (service option group id) from Catalog > Option Groups > <select your option group> > Id (under the 'Details' tab)
Note 2: I used the following to get the item_id of the form element (21859):
select item_id from usm_rate_definition where rate_plan_id=10184 and item_type=14 and status=1
So the following is the full soap body I used to test in soapUI:
<soapenv:Body>
<ser:addRequestWithForm soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<sessionID xsi:type="xsd:string">c300b805-ecb0-4960-8f39-2f7a4c49f46e</sessionID>
<requestData xsi:type="xsd:string">name:soapUI Test!req_by_user_id:spadmin!req_for_user_id:spadmin</requestData>
<requestValuesData xsi:type="xsd:string">comments:soapUI comment!gl_code:soapUI gl!project:soapUI project</requestValuesData>
<requestValuesDataType xsi:type="xsd:string"></requestValuesDataType>
<addedOfferings xsi:type="xsd:string">offering_id:10176</addedOfferings>
<addedItems xsi:type="xsd:string"></addedItems>
<formValuesData xsi:type="xsd:string">offering_id:10176|rate_plan_id:10184|item_id:21859|txtf_10:txtf_10|txtf_11:txtf_11</formValuesData>
</ser:addRequestWithForm>
</soapenv:Body>
Hope this helps!
Thanks,
Jason