Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How can I attach tModelInstanceDetails to bindingTemplates by JWSDP?  RSS feed

 
Yonghang Cai
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sample code:
Collection serviceBindings = new ArrayList();
ServiceBinding binding = blcm.createServiceBinding();
is = blcm.createInternationalString(bundle.getStrin("service.binding"));
binding.setDescription(is);
binding.setAccessURI(endpoint);
serviceBindings.add(binding);
but these code generated xml like this:
<bindingTemplates>
<bindingTemplate bindingKey="">
<description>JAXRPCCoffee Service binding</description>
<accessPoint URLType="http">http://www.sina.com.cn</accessPoint>
<tModelInstanceDetails/>
</bindingTemplate>
</bindingTemplates>
How can I set <tModelInstanceDetails/>?I want to set <tModelInstanceDetails/> like this:
<tModelInstanceDetails>
<tModelInstanceInfo tModelKey="UUID:36E13526-4553-3265-B5F7-C4B522E75A05" />
</tModelInstanceDetails>
I found ServiceBinding's API do not contain addTModelInstanceDetails()or setTModelInstanceDetails().If i I must set tModelInstanceDetails element ,how can i do it ?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!