congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
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

  • Reactive rest calls using spring rest template
  • setScale (BigDecimal)
  • startActivity (Activity)
  • onCreateOptionsMenu (Activity)
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • JFrame (javax.swing)
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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