Package org.apache.axis.message.addressing

Examples of org.apache.axis.message.addressing.EndpointReferenceType


    // VALIDATION ETC
    // -------------------------------------------------------------------------

    private void validateEndpoint() throws ParameterProblem {

        final EndpointReferenceType epr = this.stubConf.getEPR();

        if (epr == null) {
            throw new ParameterProblem(name() + " requires EPR");
        }
View Full Code Here


    // VALIDATION ETC
    // -------------------------------------------------------------------------

    private void validateEndpoint() throws ParameterProblem {

        final EndpointReferenceType epr = this.stubConf.getEPR();

        if (epr == null) {
            throw new ParameterProblem(name() + " requires EPR");
        }
View Full Code Here

            throw new IllegalArgumentException("report may not be null");
        }

        final Workspace workspace = new Workspace();

        final EndpointReferenceType anepr = report.getEpr();

        final State state =
                State.fromCurrentState_Type(report.getCurrentState());

        if (anepr == null) {
View Full Code Here

        if (create != null && create.isExpectInjections()) {
            expectInjections = true;
        }
       
        try {
            final EndpointReferenceType ref =
                    this.home.createNewResource(caller, expectInjections);
            final String id = this.home.getResourceKey(ref).toString();

            final CreateContextResponse_Type resp =
                    new CreateContextResponse_Type();
View Full Code Here

    }

    public EndpointReferenceType getEPR(ResourceKey key)
            throws ContextBrokerException {

        final EndpointReferenceType epr;
        try {
            epr = AddressingUtils.createEndpointReference(
                                        this.serviceAddress, key);
        } catch (Exception exp) {
            throw new ContextBrokerException("Error creating " +
View Full Code Here

    public static String shortStringReprMultiLine(Workspace workspace) {
        if (workspace == null) {
            return null; // *** EARLY RETURN ***
        }

        final EndpointReferenceType epr = workspace.getEpr();
        final String id;
        if (epr == null) {
            id = "[no id]";
        } else {
            id = "#" + EPRUtils.getIdFromEPR(epr);
View Full Code Here

        }
        return state.getState().toUpperCase();
    }

    protected String getSuffix(Workspace w) {
        final EndpointReferenceType EPR = w.getEpr();
        final String tail;
        if (EPR != null) {
            tail = "_eprkey-" + EPRUtils.getIdFromEPR(EPR) + ".txt";
        } else {
            tail = ".txt";
View Full Code Here

            throws ExecutionProblem {

        // length and not-null checked already
        final CreatedWorkspace_Type[] allrefs = response.getCreatedWorkspace();

        final EndpointReferenceType groupEPR = response.getGroupEPR();
        final EndpointReferenceType ensembleEPR = response.getEnsembleEPR();
        final EndpointReferenceType contextEPR = response.getContextEPR();

        final ArrayList workspaceList = new ArrayList(allrefs.length);
        for (int i = 0; i < allrefs.length; i++) {

            final Workspace workspace = new Workspace();
View Full Code Here

        final boolean expectInjections = false;

        final String rawId;
        final BrokerContact contact;
        try {
            final EndpointReferenceType epr =
                    this.home.createNewResource(callerDn, expectInjections);

            final ResourceKey resourceKey = this.home.getResourceKey(epr);
            final String contextId = resourceKey.toString();
View Full Code Here

            throw new ExecutionProblem(
                    "(?) invalid data in factory response: " +
                            e.getMessage(), e);
        }

        final EndpointReferenceType ensembleEPR = response.getEnsembleEPR();
        if (ensembleEPR != null) {
            workspace.setEnsembleMemberEPR(ensembleEPR);
        }

        final EndpointReferenceType contextEPR = response.getContextEPR();
        if (contextEPR != null) {
            workspace.setContextMemberEPR(contextEPR);
        }

        return workspace;
View Full Code Here

TOP

Related Classes of org.apache.axis.message.addressing.EndpointReferenceType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.