Mathieu,
It should work. If everything is done right. So I am not sure where
your issue is. However here is where I would start my testing. (HTH)
Verify that:
the form field 'AssetTag' is a field that holds data(NOT-Display
Only) on your target form
the value your passing to the WebService is a value that exists in the data
the WebService InputMap uses the correct data type for AssetTag
the WebService client is passing the value you think it is (in the
proper namespace and all.)
--
Carey Matthew Black
Remedy Skilled Professional (RSP)
ARS = Action Request System(Remedy)
Love, then teach
Solution = People + Process + Tools
Fast, Accurate, Cheap.... Pick two.
On 12/7/06, Mathieu Pitre <[EMAIL PROTECTED]> wrote:
Hi all,
ARS6.3
I am trying to create a web service on a form and I am wondering if I can
have one operation set which can use multiple type of query. Let me explain
what I am trying to do here...
The web service is using an inventory form that contains most of the
information related to our servers.
In the web service, I have a GetOp operation which I can use to get some
information based on the ServerName(HostName). However, I would like to use
the same operation (GetOp) with a different criteria, the Asset Tag for
instance. I have tried the following the qualification:
('Server-Name' = XPATH(/ROOT/Server-Name)) OR ('AssetTag' = XPATH
(/ROOT/AssetTag))
The qualification above does not work. In fact, I am able to save the web
service and do a query with the server-name but not the AssetTag. Am I
oblige to create an operation for each type of query that can be performed?
Regards,
Mathieu Pitre
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the Answers
Are"