congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
EndpointReferenceUtils.mint
Code IndexAdd Tabnine to your IDE (free)

How to use
mint
method
in
org.apache.cxf.wsdl.EndpointReferenceUtils

Best Java code snippets using org.apache.cxf.wsdl.EndpointReferenceUtils.mint (Showing top 2 results out of 315)

origin: org.apache.cxf/cxf-api

/**
 * Builds an new endpoint reference using the current target reference as a template. 
 * The supplied id is endcoded using a reference parameter.
 * This requires the ws-a interceptors to propagate the reference parameters
 * on subsequent invokes using the returned reference.
 * @param id the id to encode in the new reference
 * @return the new reference with the id encoded as a reference parameter
 * @see org.apache.cxf.transport.MultiplexDestination#getAddressWithId(java.lang.String)
 
 */
public EndpointReferenceType getAddressWithId(String id) {
  EndpointReferenceType epr = EndpointReferenceUtils.duplicate(
    EndpointReferenceUtils.mint(reference, bus));
  ReferenceParametersType newParams = new org.apache.cxf.ws.addressing.ObjectFactory()
    .createReferenceParametersType();
  
  ReferenceParametersType existingParams = epr.getReferenceParameters();
  if (null != existingParams) {
    newParams.getAny().addAll(existingParams.getAny());
  }
  
  newParams.getAny().add(new JAXBElement<String>(MULTIPLEX_ID_QNAME, String.class, id));
  epr.setReferenceParameters(newParams);
  return epr;
}
origin: org.apache.cxf/cxf-bundle-jaxrs

/**
 * Builds an new endpoint reference using the current target reference as a template. 
 * The supplied id is endcoded using a reference parameter.
 * This requires the ws-a interceptors to propagate the reference parameters
 * on subsequent invokes using the returned reference.
 * @param id the id to encode in the new reference
 * @return the new reference with the id encoded as a reference parameter
 * @see org.apache.cxf.transport.MultiplexDestination#getAddressWithId(java.lang.String)
 
 */
public EndpointReferenceType getAddressWithId(String id) {
  EndpointReferenceType epr = EndpointReferenceUtils.duplicate(
    EndpointReferenceUtils.mint(reference, bus));
  ReferenceParametersType newParams = new org.apache.cxf.ws.addressing.ObjectFactory()
    .createReferenceParametersType();
  
  ReferenceParametersType existingParams = epr.getReferenceParameters();
  if (null != existingParams) {
    newParams.getAny().addAll(existingParams.getAny());
  }
  
  newParams.getAny().add(new JAXBElement<String>(MULTIPLEX_ID_QNAME, String.class, id));
  epr.setReferenceParameters(newParams);
  return epr;
}
org.apache.cxf.wsdlEndpointReferenceUtilsmint

Javadoc

Mint logical endpoint reference via the Bus EndpointResolverRegistry.

Popular methods of EndpointReferenceUtils

  • getAnonymousEndpointReference
    Create an anonymous endpoint reference.
  • getServiceName
    Gets the service name of the provided endpoint reference.
  • getPortName
    Gets the port name of the provided endpoint reference.
  • getSchema
  • setServiceAndPortName
    Sets the service and port name of the provided endpoint reference.
  • createContextForEPR
  • createSchema
  • duplicate
    Create a duplicate endpoint reference sharing all atributes
  • findNamespaceHack
  • getAddress
    Get the address from the provided endpoint reference.
  • getJAXBContextForEPR
  • getMatchingMultiplexDestination
  • getJAXBContextForEPR,
  • getMatchingMultiplexDestination,
  • getNameSpaceUri,
  • getService,
  • getServiceNameType,
  • getWSDLDefinition,
  • getWSDLLocation,
  • portNameMatches,
  • setWSDLLocation

Popular in Java

  • Making http requests using okhttp
  • getApplicationContext (Context)
  • setRequestProperty (URLConnection)
  • addToBackStack (FragmentTransaction)
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • Collectors (java.util.stream)
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Option (scala)
  • 14 Best Plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now