if ((boolean) context.get(MessageContext.MESSAGE_INBOUND_PROPERTY){ //for requests only SOAPEnvelope msg = context.getMessage().getSOAPPart().getEnvelope(); //get the SOAP Message envelope SOAPBody body = msg.getBody(); String operationName = body.getChildNodes().item(1).getLocalName(); }
private void prepareForSpecificAccess(State state) throws SOAPException { List<SOAPContentElement> contentElements = new LinkedList<SOAPContentElement>(); SOAPBody soapBody = this.getSOAPBody(); NodeList nodes = soapBody.getChildNodes(); for (int i = 0; i < nodes.getLength(); i++) { Node current = nodes.item(i); if (current instanceof SOAPContentElement) { contentElements.add((SOAPContentElement)current); break; } } SOAPHeader soapHeader = this.getSOAPHeader(); nodes = soapHeader.getChildNodes(); for (int i = 0; i < nodes.getLength(); i++) { Node current = nodes.item(i); if (current instanceof SOAPContentElement) { contentElements.add((SOAPContentElement)current); break; } } for (SOAPContentElement sce : contentElements) { sce.transitionTo(state); } }
SOAPMessage message = context.getMessage(); SOAPBody body = message.getSOAPBody(); Node e =getNode(body.getChildNodes()); CDATASection cdataSection = message.getSOAPPart().createCDATASection(e.getFirstChild().getNodeValue()); e.replaceChild(cdataSection, e.getFirstChild());
NodeList nl = soapBody.getChildNodes(); Node node = null;
NodeList nl = msg.getSOAPBody().getChildNodes(); NodeList hl = null; if (msg.getSOAPHeader() != null) {
NodeList nl = soapBody.getChildNodes(); Node node = null;
NodeList nl = soapBody.getChildNodes(); Node node = null;
SOAPEnvelope soapEnvelope = soapMessage.getSOAPPart().getEnvelope(); SOAPBody soapBody = soapEnvelope.getBody(); NodeList nl = soapBody.getChildNodes(); Node node = null;
SOAPEnvelope soapEnvelope = soapMessage.getSOAPPart().getEnvelope(); SOAPBody soapBody = soapEnvelope.getBody(); NodeList nl = soapBody.getChildNodes(); Node node = null;
NodeList nl = response.getSOAPBody().getChildNodes(); Node node = null;
NodeList nl = response.getSOAPBody().getChildNodes(); Node node = null;
NodeList nl = response.getSOAPBody().getChildNodes(); Node node = null;
NodeList nl = response.getSOAPBody().getChildNodes(); Node node = null;