There's not an defined way to do this within UDDI but there may be a trick
way.  Have you tried doing a search on name where you simply use the
wildcard character (%)?  You can also play around with that and using the
"approximate match" find qualifier.

-JF

-----Original Message-----
From: chainerlt [mailto:[email protected]] 
Sent: Friday, February 18, 2011 8:45 AM
To: [email protected]
Subject: Re: jUDDIv3. Find all services.


Hey, I've also got a random problem (or lack of knowledge) about finding ALL
business/services.
I already can create/delete/find business/services but only if I know their
exact names. For instance that's how I search for business by name:


FindBusiness fb = new FindBusiness();
fb.setAuthInfo(authToken.getAuthInfo()); //authToken = for instance 'root's
auth token
Name findName = new Name();
findName.setValue(searchPattern); //String searchPattern = should be exact
business name
fb.getName().add(findName);
BusinessList bl = inquiry.findBusiness(fb); // inquiry = UDDIInquiryPortType
object got from transport


and I have no idea how to get the list of ALL available business. Tried to
put empty string "" in findName.setValue(searchPattern); but then it throws
me an error that the name cannot be empty. Tried various combinations of
FindQualifiers and etc, but nothing. Maybe I'm going from the wrong way?
Maybe there is a simple method but somewhere else? Same with Services - need
to have exact name. Please reply me, I'm googling and trying this for 3 days
already :/ Thank you.


Kurt T Stam-4 wrote:
> 
> Hi Evgin,
> 
> I'm not sure what you already did get managed to run, but if you have  
> managed to publish a service then finding is simple. To find all  
> services I would find get all businesses and get all services for each  
> business.
> 
> --Kurt
> 
> Sent from my iPhone
> 
> On Apr 22, 2010, at 4:25 AM, Evgin Goncharov  
> <[email protected]> wrote:
> 
>> Good afternoon, Sir Kurt T Stam.
>> Sorry for this private letter, but you are my last hope. I can't  
>> find an answer on my question, so I have to apply to you. I hope,  
>> you as a developer of jUDDIv3 will be able to help me with it. So my  
>> question is about finding (getting) the list of all services 
>> (BusinessServices) registered in
>>
jUDDIv3(http://mail-archives.apache.org/mod_mbox/ws-juddi-user/201004.mbox/ 
>> <[email protected]>).
>> I will be looking for your answer.
>>
>> -- 
>> Faithfully yours Evgin Goncharov
> 
> 

-- 
View this message in context:
http://old.nabble.com/Re%3A-jUDDIv3.-Find-all-services.-tp28329206p30959234.
html
Sent from the jUDDI - User mailing list archive at Nabble.com.

Reply via email to