&& bop.getOperationInfo().getInput().getMessagePartsNumber() > 0) { QName qn = bop.getOperationInfo().getInput().getMessagePartByIndex(0) .getElementQName();
if (o.getInput().getMessagePartsNumber() == 0) { MessagePartInfo inf = o.getInput().addMessagePart(o.getName()); inf.setConcreteName(o.getName()); if (o.getOutput().getMessagePartsNumber() == 0) { MessagePartInfo inf = o.getOutput().addMessagePart(o.getName()); inf.setConcreteName(new QName(o.getName().getNamespaceURI(),
private boolean messagePartsNotUnique(final MessageInfo message) { int count = countOutOfBandHeader(message); return message.getMessagePartsNumber() - count > 1; }
private String getDefaultLocalName(OperationInfo op, Method method, int paramNumber, String prefix) { Class<?> impl = getServiceFactory().getServiceClass(); // try to grab the implementation class so we can read the debug symbols from it if (impl != null) { try { method = impl.getMethod(method.getName(), method.getParameterTypes()); } catch (Exception e) { throw new ServiceConstructionException(e); } } return DefaultServiceConfiguration.createName(method, paramNumber, op.getInput() .getMessagePartsNumber(), false, prefix); }
if (wrappedMsgInfo.getMessagePartsNumber() > 0) { wrapped = wrappedMsgInfo.getFirstMessagePart().getTypeClass();
&& bop.getOperationInfo().getInput().getMessagePartsNumber() > 0) { QName qn = bop.getOperationInfo().getInput().getMessagePartByIndex(0) .getElementQName();
private void getBindingOperationForEmptyBody(Collection<OperationInfo> operations, Endpoint ep, Exchange exchange) { // TO DO : check duplicate operation with no input and also check if the action matches for (OperationInfo op : operations) { MessageInfo bmsg = op.getInput(); int bPartsNum = bmsg.getMessagePartsNumber(); if (bPartsNum == 0 || (bPartsNum == 1 && Constants.XSD_ANYTYPE.equals(bmsg.getFirstMessagePart().getTypeQName()))) { BindingOperationInfo boi = ep.getEndpointInfo().getBinding().getOperation(op); exchange.put(BindingOperationInfo.class, boi); exchange.setOneWay(op.isOneWay()); } } }
OperationInfo op = binding.getInterface().getOperation(bo.getName()); needRootNode = false; final int inputPartsNum = op.getInput().getMessagePartsNumber(); if (inputPartsNum == 0 || inputPartsNum > 1) { needRootNode = true; final int outputPartsNum = op.getOutput().getMessagePartsNumber(); if (outputPartsNum == 0 || outputPartsNum > 1) { needRootNode = true;
&& headerMessage.getLocalPart().equalsIgnoreCase(bodyMessage.getName().getLocalPart())) { isSameMessage = true; if (bodyMessage.getMessagePartsNumber() == 1) { allPartsHeader = true;
OperationInfo op = binding.getInterface().getOperation(bo.getName()); if (op.getInput() != null && op.getInput().getMessagePartsNumber() == 1) { MessagePartInfo part = op.getInput().getFirstMessagePart(); if (part.getElementQName() == null) {
if (boi.getInput().getMessageInfo().getMessagePartsNumber() > 0) { MessagePartInfo mpi = boi.getInput().getMessageInfo().getFirstMessagePart(); if ("RequestSecurityToken".equals(mpi.getConcreteName().getLocalPart())) {
if (boi.getInput().getMessageInfo().getMessagePartsNumber() > 0) { MessagePartInfo mpi = boi.getInput().getMessageInfo().getFirstMessagePart(); if ("RequestSecurityToken".equals(mpi.getConcreteName().getLocalPart())) {
MessageInfo messageInfo = bindingOperationInfo.getOutput().getMessageInfo(); operationName = messageInfo.getName(); if (messageInfo.getMessagePartsNumber() > 0) { QName cn = messageInfo.getFirstMessagePart().getConcreteName(); if (cn != null) { MessageInfo messageInfo = bindingOperationInfo.getInput().getMessageInfo(); operationName = messageInfo.getName(); if (messageInfo.getMessagePartsNumber() > 0) { QName cn = messageInfo.getFirstMessagePart().getConcreteName(); if (cn != null) {
MessagePartInfo output = null; if (operation.getInput() != null && operation.getInput().getMessagePartsNumber() == 1) { input = operation.getInput().getFirstMessagePart(); && operation.getOutput().getMessagePartsNumber() == 1) { output = operation.getOutput().getFirstMessagePart();
processInput(method, inputMessage); return; } else if (inputMessage.getMessagePartsNumber() == 0) { return;
if (bmsg.getMessagePartsNumber() == 0) { BindingOperationInfo boi = ep.getEndpointInfo().getBinding().getOperation(op); exchange.put(BindingOperationInfo.class, boi);
rootInModel = xmf.getRootNode(); final int mpn = mi.getMessagePartsNumber(); if (boi.isUnwrapped() || mpn == 1) {
if (wrappedBmi.getMessageInfo().getMessagePartsNumber() > 0) { MessageContentsList objs = MessageContentsList.getContentsList(message); if (objs == null) {
if (wrappedBmi.getMessageInfo().getMessagePartsNumber() > 0) { MessageContentsList objs = MessageContentsList.getContentsList(message); if (objs == null) {
if (wrappedMsgInfo.getMessagePartsNumber() > 0) { wrapped = wrappedMsgInfo.getFirstMessagePart().getTypeClass();