646566676869707172
Headers ch = new Headers(); while(iter.hasNext()) { MimeHeader mh = (MimeHeader) iter.next(); ch.add(mh.getName(), mh.getValue()); } Packet packet = new Packet(new SAAJMessage(arg)); packet.invocationProperties.put(MessageContext.HTTP_REQUEST_HEADERS, ch); return packet; }
125126127128129130131
* Must not be null. Once this method is invoked, the created * {@link Message} will own the {@link SOAPMessage}, so it shall * never be touched directly. */ public static Message create(SOAPMessage saaj) { return new SAAJMessage(saaj); }
909192939495969798
protected void updateMessage() { //Check if SOAPMessage has changed, if so construct new one, // Packet are handled through MessageContext if(soapMsg != null) { packet.setMessage(new SAAJMessage(soapMsg)); soapMsg = null; } }
128129130131132133134
717273747576777879
919293949596979899