Hi Chintan,

Yes, I understand completely that I am at the mercy of the consumer with
regard to what they put in the qualification. You did not confuse me. :-)

However, when I put the following into the Qualification: box in Developer
Studio:

   XPATH(/ROOT/qualification) AND 'distribution' != "Internal"

I receive the following error:

   ERROR (1583): Expected a relational operation at this point;  position 0,
 5147,  solutions

Dev Studio is trying to make sure that this is a syntactically-correct
qualification, and it is not.

So this is the original problem/question... how do I combine
XPATH(/ROOT/qualification) with my own additional qualification?

Thanks for your continued interest.
Larry

1583 Error
Relational operator expected at this position.
The only legal operator at this position in a search line is a relational
operator (=, !=, <, <=, >, >=, or LIKE). Fix the format of the line, and
perform the search again.


Larry Robinson
NC State University
Remedy Admin / Developer


On Thu, Jun 9, 2011 at 3:16 PM, Chintan Shah <[email protected]> wrote:

> **
> Hi Larry,
>
> As far as i know, you will be able to control the "AND 'distribution' !=
> "Internal" " from qualification bar, however you will be relying on client
> for "Qualification' string. Clients will be responsible for completing the
> brackets appropriately otherwise meaning of entire qualification might
> change.
>
> This goes back to what your requirements are and you will need to educate
> clients of the web-services accordingly
>
> e.g.
> 1. Client can pass this in XPATH qualification(notice incomplete bracket)
>
>     Workgroup="REMEDY" AND ( word="email" OR word="remedy"
> You append this
>    "AND 'distribution' != "Internal"
> making your entire qualification look like this
>
> Workgroup="REMEDY" AND ( word="email" OR word="remedy" AND 'distribution'
> != "Internal"
>
> 2. Client can pass this in XPATH qualification(notice brackets are
> completed)
>
>     Workgroup="REMEDY" AND ( word="email" OR word="remedy")
> You append this
>    "AND 'distribution' != "Internal"
> making your entire qualification look like this
>
> Workgroup="REMEDY" AND ( word="email" OR word="remedy") AND 'distribution'
> != "Internal"
> -->I believe this might be the qualification you would be looking for.
>
> In a nutshell, you would be dependent on client of web-service for
> XPATH-Qualification piece.
>
> Hoping I did not confuse you :).
>
> Thanks
> Chintan.
>

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug11 www.wwrug.com ARSList: "Where the Answers Are"

Reply via email to