javax.xml.ws.Dispatch.getBinding()方法的使用及代码示例

x33g5p2x  于2022-01-18 转载在 其他  
字(1.7k)|赞(0)|评价(0)|浏览(110)

本文整理了Java中javax.xml.ws.Dispatch.getBinding()方法的一些代码示例,展示了Dispatch.getBinding()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Dispatch.getBinding()方法的具体详情如下:
包路径:javax.xml.ws.Dispatch
类名称:Dispatch
方法名:getBinding

Dispatch.getBinding介绍

暂无

代码示例

代码示例来源:origin: org.picketlink/picketlink-trust-jbossws

public Binding getBinding()
{ 
 return parent.getBinding();
}

代码示例来源:origin: org.picketlink.distribution/picketlink-jbas7

public Binding getBinding() {
  return parent.getBinding();
}

代码示例来源:origin: org.picketlink.distribution/picketlink-jbas5

public Binding getBinding() {
  return parent.getBinding();
}

代码示例来源:origin: be.e_contract.mycarenet/mycarenet-ehealth-saml-sts

/**
 * Main constructor.
 * 
 * @param location
 *            the URL of the eHealth STS web service.
 */
public EHealthSTSClient(String location) {
  EHealthSamlStsService service = EHealthSamlStsServiceFactory.newInstance();
  QName portQName = new QName("urn:be:ehealth:saml:sts:1.0", "EHealthSamlStsPort");
  this.dispatch = service.createDispatch(portQName, Source.class, Service.Mode.PAYLOAD);
  this.dispatch.getRequestContext().put(Dispatch.ENDPOINT_ADDRESS_PROPERTY, location);
  Binding binding = dispatch.getBinding();
  @SuppressWarnings("rawtypes")
  List<Handler> handlerChain = binding.getHandlerChain();
  this.wsSecuritySOAPHandler = new WSSecuritySOAPHandler();
  handlerChain.add(this.wsSecuritySOAPHandler);
  handlerChain.add(new LoggingHandler());
  binding.setHandlerChain(handlerChain);
}

代码示例来源:origin: org.picketlink/picketlink-trust-jbossws

Binding binding = dispatch.getBinding();

代码示例来源:origin: org.picketlink.distribution/picketlink-jbas5

Binding binding = dispatch.getBinding();

代码示例来源:origin: org.picketlink.distribution/picketlink-jbas7

Binding binding = dispatch.getBinding();

相关文章