UDDI V1 API is pretty restrictive in terms of search criteria. Per the UDDI V1 Programmer's API specification, the find_tModel operation:

<find_tModel generic="1.0" [ maxRows="nn" ] xmlns="urn:uddi-org:api" >
[<findQualifiers/>]
<name/> | <identifierBag/> | <categoryBag/>
</find_tModel>

Permits you to search based on only one of the following criteria:
<name/> | <identifierBag/> | <categoryBag/>

You attempted to search based on <name/> and <categoryBag/>.

Try using the V2 API instead. It gives you much more flexibility in terms of search criteria.

Regards,
Anne


At 11:25 AM 3/10/2004, you wrote:
Can someone tell me what wrong in the following
request? Systinet registry throws a 'Too many options'
error for this UDDI version 1.0 request.

Thanks in advance.

REQUEST
=======
<?xml version="1.0"
encoding="UTF-8"?><SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><find_tModel
xmlns="urn:uddi-org:api" generic="1.0"
maxRows="1"><name>%Calculator%</name><categoryBag><keyedReference
tModelKey="uuid:C1ACF26D-9672-4404-9D70-39B756E62AB4"
keyName="uuid-org:types"
keyValue="wsdlSpec"/></categoryBag></find_tModel></SOAP-ENV:Body></SOAP-ENV:Envelope>

RESPONSE
========
<?xml version="1.0" encoding="UTF-8"?>
<e:Envelope
xmlns:e="http://schemas.xmlsoap.org/soap/envelope/"><e:Body><f0:Fault
xmlns:f0="http://schemas.xmlsoap.org/soap/envelope/"><faultcode
xmlns="">f0:</faultcode><faultstring xmlns="">UDDI
Error</faultstring><detail xmlns=""><dispositionReport
generic="1.0" operator="SYSTINET"
xmlns="urn:uddi-org:api"><result
errno="10030"><errInfo errCode="E_tooManyOptions">Too
many
options</errInfo></result></dispositionReport></detail></f0:Fault></e:Body></e:Envelope>



__________________________________
Do you Yahoo!?
Yahoo! Search - Find what you�re looking for faster
http://search.yahoo.com

~~~~~~~~~~~~~~~~~~
Anne Thomas Manes
VP & Research Director
Burton Group

Reply via email to