Package com.sun.xml.ws.wsdl

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


        // 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

          call.setException(e);
        } catch (Exception e) {
          call.setException(e);
        }
      } else if (call.getException() instanceof DispatchException) {
          DispatchException e = (DispatchException)call.getException();
          return doReturnWith(req.createServerResponse(e.fault, model.getPort(), null, binding));
      }
                        Packet res = (Packet) model.getDatabinding().serializeResponse(call);         
      res = req.relateServerResponse(res, req.endpoint.getPort(), model, req.endpoint.getBinding());
            assert res != null;
View Full Code Here

TOP

Related Classes of com.sun.xml.ws.wsdl.DispatchException

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.