Examples of DispatchException


Examples of com.eviware.soapui.impl.wsdl.mock.DispatchException

          }
        }
      }
    }

    throw new DispatchException( "Missing operation for soapAction [" + soapAction + "] and body element ["
        + contentQName + "] with SOAP Version [" + soapVersion + "]" );
  }
View Full Code Here

Examples of com.eviware.soapui.impl.wsdl.mock.DispatchException

          }
        }
      }
    }

    throw new DispatchException( "Missing response operation for soapAction [" + soapAction + "] and body element ["
        + contentQName + "] with SOAP Version [" + soapVersion + "]" );
  }
View Full Code Here

Examples of com.sun.xml.internal.ws.wsdl.DispatchException

        // Check if payload itself is correct. Usually it is, so let us check last
        if (op == null && !unique.containsKey(nsUri,localPart)) {
            String dispatchKey = "{" + nsUri + "}" + localPart;
            String faultString = ServerMessages.DISPATCH_CANNOT_FIND_METHOD(dispatchKey);
            throw new DispatchException(SOAPFaultBuilder.createSOAPFaultMessage(
                 binding.getSOAPVersion(), faultString, binding.getSOAPVersion().faultCodeClient));
        }
        return op;
    }
View Full Code Here

Examples of com.sun.xml.ws.wsdl.DispatchException

        // Check if payload itself is correct. Usually it is, so let us check last
        if (op == null && !unique.containsKey(nsUri,localPart)) {
            String dispatchKey = "{" + nsUri + "}" + localPart;
            String faultString = ServerMessages.DISPATCH_CANNOT_FIND_METHOD(dispatchKey);
            throw new DispatchException(SOAPFaultBuilder.createSOAPFaultMessage(
                 binding.getSOAPVersion(), faultString, binding.getSOAPVersion().faultCodeClient));
        }
        return op;
    }
View Full Code Here

Examples of org.apache.isis.viewer.scimpi.dispatcher.DispatchException

         * object.getSpecification().getServiceActionsFor(ObjectActionType.USER,
         * ObjectActionType.EXPLORATION, ObjectActionType.DEBUG); action =
         * findAction(actions, methodName); }
         */
        if (action == null) {
            throw new DispatchException("Failed to find action " + methodName + " on " + object);
        }
        return action;
    }
View Full Code Here

Examples of org.apache.isis.viewer.scimpi.dispatcher.DispatchException

                if (ServiceUtil.id(service).equals(serviceId.trim())) {
                    final ObjectAdapter adapter = getAdapterManager().getAdapterFor(service);
                    return adapter;
                }
            }
            throw new DispatchException("Failed to find service " + serviceId);
        } else {
            return context.getMappedObject(objectId);
        }
    }
View Full Code Here

Examples of org.apache.isis.viewer.scimpi.dispatcher.DispatchException

    @Override
    public void reset() {
        try {
            response.getWriter().print("<h1>RESET</h1>");
        } catch (final IOException e) {
            throw new DispatchException(e);
        }
        response.reset();
    }
View Full Code Here

Examples of org.apache.isis.viewer.scimpi.dispatcher.DispatchException

    public void forward(final String view) {
        try {
            isAborted = true;
            getRequest().getRequestDispatcher(view).forward(getRequest(), getResponse());
        } catch (final IOException e) {
            throw new DispatchException(e);
        } catch (final ServletException e) {
            throw new DispatchException(e);
        }
    }
View Full Code Here

Examples of org.apache.isis.viewer.scimpi.dispatcher.DispatchException

    public void redirectTo(final String view) {
        try {
            isAborted = true;
            getResponse().sendRedirect(view);
        } catch (final IOException e) {
            throw new DispatchException(e);
        }
    }
View Full Code Here

Examples of org.apache.isis.viewer.scimpi.dispatcher.DispatchException

    @Override
    public void reset() {
        try {
            response.getWriter().print("<h1>RESET</h1>");
        } catch (final IOException e) {
            throw new DispatchException(e);
        }
        response.reset();
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.