Hi,
I want to get all the tModels name for a Web Service.

After finding a Web Service, I get the ServiceInfosVector, and then, the 
Service 
Info:
-
                ServiceInfo serviceInfo = (ServiceInfo) 
serviceInfoVector.elementAt(0);
-
Then the BindingTemplate for this WebService:
-
                BindingDetail bindingDetailReturned = proxy.find_binding(null, 
serviceInfo.getServiceKey(), null, 5);
                Vector bindingTemplatesFound = 
bindingDetailReturned.getBindingTemplateVector();
                    BindingTemplate bindingTemplateFound = (BindingTemplate) 
(bindingTemplatesFound.elementAt(0));
-

After that, I get the tModelInstanceInfo :
-
                    TModelInstanceDetails tModelInstanceDetails = 
(TModelInstanceDetails) bindingTemplateFound.getTModelInstanceDetails();
                    //loop
                    TModelInstanceInfo tModelInstanceInfo = 
(TModelInstanceInfo) 
tModelInstanceDetails.get(0);    

-

With this approach, I can only get the tModelKey, not the tModelName :
tModelInstanceInfo.getTModelKey()

I haven't found a way to search tModelName for a Web Service specified.
Can't search tModel by tModelKey ?


Thanks

Reply via email to