So this would create multiple records in the form that you mapped to the
FormMappingElement??

 

Was this always the case or is it a new feature with one of the recent
versions since WSDL capabilities were introduced?

 

Joe

 

  _____  

From: Action Request System discussion list(ARSList)
[mailto:[email protected]] On Behalf Of Grooms, Frederick W
Sent: Wednesday, July 10, 2013 10:49 AM
To: [email protected]
Subject: Re: Webservice-Please share your knowledge

 

If you want to receive multiple records back in a web service call you do
not map the form to the root, you instead map it to an element in the XML.

 

i.e.   You send 

<ROOT>

   <SomeValue>MyValue</SomeValue>

</ROOT>

 

If you expect to get back 1 record the structure could be

<ROOT>                                               <<--  Form is mapped
here

   <Field1>value1</Field1>

   <Field2>value1</Field2>

<ROOT>

 

For Multiple records back the structure could be

<ROOT>

   <FormMappingElement>                    <<--  Form is mapped here 

      <Field1>value1</Field1>

      <Field2>value1</Field2>

   </FormMappingElement>

<ROOT>

 

 

Also . You do not need FORM_Primary.    You can do a service action  from
Form A to Form A and a filter (that fires on Service) will do the web
service call.

 

Fred

 

 

From: Action Request System discussion list(ARSList)
[mailto:[email protected]] On Behalf Of Campbell, Paul (Paul)
Sent: Wednesday, July 10, 2013 9:26 AM
To: [email protected]
Subject: Re: Webservice-Please share your knowledge

 

** 

Karthik, I don't understand the statement "As there are multiple results the
data cannot be directly mapped in the output mapping in the set fields. so,
there is a need to have another form to store data. Here you need to use
your secondary form fields mapped."

 

I am not aware of a way to have multiple records mapped to another form, can
you elaborate?

 

 

From: Action Request System discussion list(ARSList)
[mailto:[email protected]] On Behalf Of Karthik
Sent: Tuesday, July 09, 2013 6:09 AM
To: [email protected]
Subject: Re: Webservice-Please share your knowledge

 

** 

Robin,

 

please see below:

 

Create 2 forms,

- primary form(Say FORM_Primary)

- second form(FORM_Secondary)

 

1.User performs a search on a field in Form A.

 -> On Click on a button, 

- Generate a GUID

- Create a record in FORM_Primary, push GUID as well

 

2.Remedy application pull records from an external application and display
the results to the user.The search result can be many records(more than
200).Hence,Remedy should show results in smaller chunks(50 records each) to
the user.

-> on submit, create a filter that consumes the external web service in set
fields.

-> As there are multiple results the data cannot be directly mapped in the
output mapping in the set fields. so, there is a need to have another form
to store data. Here you need to use your secondary form fields mapped.
Primary and Secondary forms will be related via a foreign key(GUID generated
and pushed to Primary form)

-> once mapping is done the filter on primary form fires, it will populate
results on the secondary form


3.User selects one of the search results in Form A and save the record.

Have a table filed on Form A and point it to FORM_Secondary and refresh it

 

 

- Karthik

 

On 9 July 2013 15:07, Sandeep Pandey <[email protected]> wrote:

** 

Hi Robin,

Please ask about the external wsdl or url which remedy will consume first.
Then go through all the operations external system is providing and mainly
which you are looking for. Later on need to do mapping analysis, between
remedy and external system for input and output parameters.

Once your mappings are ready, you can use remedy developer studio and create
filter to consume external system web services. Many more things related to
create web services, you can refer BMC Remedy Integration guide for the
same.

Hope this will help you. Let me know if you need any further details.
-- 
Sandeep Pandey 
Remedy Developer

 

 

On Tue, Jul 9, 2013 at 11:46 AM, Robin Mathew <[email protected]>
wrote:

Hi all,

Please help me with webservice based solution for this requirement.

Requirement

1.User performs a search on a field in Form A.

2.Remedy application pull records from an external application and display
the results to the user.The search result can be many records(more than
200).Hence,Remedy should show results in smaller chunks(50 records each) to
the user.

3.User selects one of the search results in Form A and save the record.

Please suggest a design/solution for this.

Note:

External team has given the approval for webservice based solution only for
this requirement.

Regards
Robin

 

_ARSlist: "Where the Answers Are" and have been for 20 years_

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
"Where the Answers Are, and have been for 20 years"

Reply via email to