Tabnine Logo
com.arjuna.webservices11
Code IndexAdd Tabnine to your IDE (free)

How to use com.arjuna.webservices11

Best Java code snippets using com.arjuna.webservices11 (Showing top 20 results out of 315)

origin: org.jboss.jbossts/jbossxts

/**
* Create a custom SOAP fault.
* @param soapFaultType the soap fault type.
* @param subcode The fault subcode.
* @param reason The fault reason.
* @param detailElement The fault detailElement.
*/
public SoapFault11(final SoapFaultType soapFaultType, final QName subcode, final String reason, final Element detailElement)
{
  super(soapFaultType, subcode, reason, getDetailString(detailElement)) ;
  this.detailElement = detailElement;
}
origin: jbosstm/narayana

@Override
public ServiceRegistry run() {
  return ServiceRegistry.getRegistry();
}
origin: org.jboss.jbossts/jbossxts

  /**
   * Get the service URI.
   * @param serviceName The service name.
   * @param isSecure true if the secure service URL is required false if the normal service URL is required
   * @return The service URI or null if not registered.
   */
  public String getServiceURI(final String serviceName, boolean isSecure)
  {
    if (isSecure) {
      return getSecureServiceURI(serviceName);
    } else {
      return getServiceURI(serviceName);
    }
  }
}
origin: org.jboss.jbossts.xts/jbossxts

final W3CEndpointReference getParticipant(final String id, final boolean isSecure)
{
  final QName serviceName = AtomicTransactionConstants.PARTICIPANT_SERVICE_QNAME;
  final QName endpointName = AtomicTransactionConstants.PARTICIPANT_PORT_QNAME;
  final String address = ServiceRegistry.getRegistry().getServiceURI(AtomicTransactionConstants.PARTICIPANT_SERVICE_NAME, isSecure);
  W3CEndpointReferenceBuilder builder = new W3CEndpointReferenceBuilder();
  builder.serviceName(serviceName);
  builder.endpointName(endpointName);
  builder.address(address);
  InstanceIdentifier.setEndpointInstanceIdentifier(builder, id);
  return builder.build();
}
origin: org.jboss.narayana.xts/ws-c11

public static SoapFault11 fromFault(Fault fault)
{
  try {
    QName subcode = fault.getFaultcode();
    String reason = fault.getFaultstring();
    return new SoapFault11(SoapFaultType.FAULT_SENDER, subcode, reason);
  } catch (Throwable th) {
    return new SoapFault11(th);
  }
}
origin: org.jboss.jbossts/jbossxts

public Fault toFault()
{
  Fault fault = factory.createFault();
  QName faultcode = subcode;
  String faultstring = getReason();
  fault.setFaultcode(faultcode);
  fault.setFaultstring(faultstring);
  return fault;
}
origin: org.jboss.jbossts.xts/jbossxts

private W3CEndpointReference getCompletionCoordinator(final InstanceIdentifier instanceIdentifier, final boolean isSecure)
{
  W3CEndpointReferenceBuilder builder = new W3CEndpointReferenceBuilder();
  String address = ServiceRegistry.getRegistry().getServiceURI(AtomicTransactionConstants.COMPLETION_COORDINATOR_SERVICE_NAME, isSecure);
  builder.serviceName(AtomicTransactionConstants.COMPLETION_COORDINATOR_SERVICE_QNAME);
  builder.endpointName(AtomicTransactionConstants.COMPLETION_COORDINATOR_PORT_QNAME);
  builder.address(address);
  InstanceIdentifier.setEndpointInstanceIdentifier(builder, instanceIdentifier);
  return builder.build();
}
origin: org.jboss.jbossts.xts/jbossxts

  /**
   * Get the service URI.
   * @param serviceName The service name.
   * @param isSecure true if the secure service URL is required false if the normal service URL is required
   * @return The service URI or null if not registered.
   */
  public String getServiceURI(final String serviceName, boolean isSecure)
  {
    if (isSecure) {
      return getSecureServiceURI(serviceName);
    } else {
      return getServiceURI(serviceName);
    }
  }
}
origin: org.jboss.jbossts.xts/jbossxts

public static SoapFault11 fromFault(Fault fault)
{
  try {
    QName subcode = fault.getFaultcode();
    String reason = fault.getFaultstring();
    return new SoapFault11(SoapFaultType.FAULT_SENDER, subcode, reason);
  } catch (Throwable th) {
    return new SoapFault11(th);
  }
}
origin: org.jboss.narayana.xts/ws-c11

/**
* Create a custom SOAP fault.
* @param soapFaultType the soap fault type.
* @param subcode The fault subcode.
* @param reason The fault reason.
* @param detailElement The fault detailElement.
*/
public SoapFault11(final SoapFaultType soapFaultType, final QName subcode, final String reason, final Element detailElement)
{
  super(soapFaultType, subcode, reason, getDetailString(detailElement)) ;
  this.detailElement = detailElement;
}
origin: org.jboss.jbossts.xts/jbossxts

private W3CEndpointReference getCoordinator(final String participantId, final boolean isSecure)
{
  W3CEndpointReferenceBuilder builder = new W3CEndpointReferenceBuilder();
  String address = ServiceRegistry.getRegistry().getServiceURI(AtomicTransactionConstants.COORDINATOR_SERVICE_NAME, isSecure);
  builder.serviceName(AtomicTransactionConstants.COORDINATOR_SERVICE_QNAME);
  builder.endpointName(AtomicTransactionConstants.COORDINATOR_PORT_QNAME);
  builder.address(address);
  InstanceIdentifier.setEndpointInstanceIdentifier(builder, participantId);
  return builder.build();
}
origin: org.jboss.narayana.xts/ws-c11

  /**
   * Get the service URI.
   * @param serviceName The service name.
   * @param isSecure true if the secure service URL is required false if the normal service URL is required
   * @return The service URI or null if not registered.
   */
  public String getServiceURI(final String serviceName, boolean isSecure)
  {
    if (isSecure) {
      return getSecureServiceURI(serviceName);
    } else {
      return getServiceURI(serviceName);
    }
  }
}
origin: org.jboss.jbossts/jbossxts

public static SoapFault11 fromFault(Fault fault)
{
  try {
    QName subcode = fault.getFaultcode();
    String reason = fault.getFaultstring();
    return new SoapFault11(SoapFaultType.FAULT_SENDER, subcode, reason);
  } catch (Throwable th) {
    return new SoapFault11(th);
  }
}
origin: org.jboss.jbossts.xts/jbossxts

/**
* Create a custom SOAP fault.
* @param soapFaultType the soap fault type.
* @param subcode The fault subcode.
* @param reason The fault reason.
* @param detailElement The fault detailElement.
*/
public SoapFault11(final SoapFaultType soapFaultType, final QName subcode, final String reason, final Element detailElement)
{
  super(soapFaultType, subcode, reason, getDetailString(detailElement)) ;
  this.detailElement = detailElement;
}
origin: org.jboss.jbossts/jbossxts

private W3CEndpointReference getCompletionCoordinator(final InstanceIdentifier instanceIdentifier, final boolean isSecure)
{
  W3CEndpointReferenceBuilder builder = new W3CEndpointReferenceBuilder();
  String address = ServiceRegistry.getRegistry().getServiceURI(AtomicTransactionConstants.COMPLETION_COORDINATOR_SERVICE_NAME, isSecure);
  builder.serviceName(AtomicTransactionConstants.COMPLETION_COORDINATOR_SERVICE_QNAME);
  builder.endpointName(AtomicTransactionConstants.COMPLETION_COORDINATOR_PORT_QNAME);
  builder.address(address);
  InstanceIdentifier.setEndpointInstanceIdentifier(builder, instanceIdentifier);
  return builder.build();
}
origin: jbosstm/narayana

  /**
   * Get the service URI.
   * @param serviceName The service name.
   * @param isSecure true if the secure service URL is required false if the normal service URL is required
   * @return The service URI or null if not registered.
   */
  public String getServiceURI(final String serviceName, boolean isSecure)
  {
    if (isSecure) {
      return getSecureServiceURI(serviceName);
    } else {
      return getServiceURI(serviceName);
    }
  }
}
origin: jbosstm/narayana

public static SoapFault11 fromFault(Fault fault)
{
  try {
    QName subcode = fault.getFaultcode();
    String reason = fault.getFaultstring();
    return new SoapFault11(SoapFaultType.FAULT_SENDER, subcode, reason);
  } catch (Throwable th) {
    return new SoapFault11(th);
  }
}
origin: jbosstm/narayana

/**
* Create a custom SOAP fault.
* @param soapFaultType the soap fault type.
* @param subcode The fault subcode.
* @param reason The fault reason.
* @param detailElement The fault detailElement.
*/
public SoapFault11(final SoapFaultType soapFaultType, final QName subcode, final String reason, final Element detailElement)
{
  super(soapFaultType, subcode, reason, getDetailString(detailElement)) ;
  this.detailElement = detailElement;
}
origin: org.jboss.jbossts/jbossxts

private W3CEndpointReference getCoordinator(final String participantId, final boolean isSecure)
{
  W3CEndpointReferenceBuilder builder = new W3CEndpointReferenceBuilder();
  String address = ServiceRegistry.getRegistry().getServiceURI(AtomicTransactionConstants.COORDINATOR_SERVICE_NAME, isSecure);
  builder.serviceName(AtomicTransactionConstants.COORDINATOR_SERVICE_QNAME);
  builder.endpointName(AtomicTransactionConstants.COORDINATOR_PORT_QNAME);
  builder.address(address);
  InstanceIdentifier.setEndpointInstanceIdentifier(builder, participantId);
  return builder.build();
}
origin: org.jboss.jbossts.xts/wstx11

private W3CEndpointReference getParticipant(final String id, final boolean isSecure)
{
  final QName serviceName = AtomicTransactionConstants.PARTICIPANT_SERVICE_QNAME;
  final QName endpointName = AtomicTransactionConstants.PARTICIPANT_PORT_QNAME;
  final String address = ServiceRegistry.getRegistry().getServiceURI(AtomicTransactionConstants.PARTICIPANT_SERVICE_NAME, isSecure);
  W3CEndpointReferenceBuilder builder = new W3CEndpointReferenceBuilder();
  builder.serviceName(serviceName);
  builder.endpointName(endpointName);
  builder.address(address);
  InstanceIdentifier.setEndpointInstanceIdentifier(builder, id);
  return builder.build();
}
com.arjuna.webservices11

Most used classes

  • ServiceRegistry
    The registry of WS service providers for the WS-C and WS-T services.
  • EndpointHelper
    helper class to allow transformation of W3CEndpointreference instances to internal types which are n
  • NativeEndpointReference
    internal representation of endpoint reference
  • InstanceIdentifier
    Representation of an InstanceIdentifier element.
  • SoapFault11
    Created by IntelliJ IDEA. User: adinn Date: Feb 1, 2008 Time: 4:57:16 PM To change this template use
  • AddressingHelper,
  • ArjunaContext,
  • TerminationCoordinatorProcessor,
  • CompletionCoordinatorProcessor,
  • CompletionCoordinatorRPCProcessor,
  • ParticipantProcessor,
  • CoordinatorCompletionParticipantProcessor,
  • ParticipantCompletionParticipantProcessor,
  • NativeEndpointReference$Address,
  • NativeEndpointReference$Elements,
  • InstanceIdentifierHandler,
  • TerminationClient,
  • TerminationCoordinatorClient,
  • TerminationCoordinatorRPCClient
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