325N/A //Collect the attrbutes on the enclosing elements so that the same message can be reproduced without loss of any
325N/A if (!parsedMessage) {
325N/A parsedMessage = true;
325N/A } catch (SOAPException e) {
325N/A throw new WebServiceException(e);
325N/A if (!accessedMessage) {
325N/A accessedMessage = true;
325N/A } catch (SOAPException e) {
325N/A throw new WebServiceException(e);
325N/A return attachmentSet;
325N/A return payloadLocalName;
325N/A return payloadNamespace;
325N/A } else if(elPrefix != null && "xmlns".equals(a.getPrefix()) && elPrefix.equals(a.getLocalName())) {
325N/A if (!parsedMessage) {
325N/A } catch (SOAPException e) {
325N/A throw new WebServiceException(e);
325N/A if (!parsedMessage) {
325N/A if(hasAttachments())
325N/A return bridge.unmarshal(payload,hasAttachments()? new AttachmentUnmarshallerImpl(getAttachments()) : null);
325N/A } catch (XMLStreamException e) {
325N/A throw new WebServiceException(e);
325N/A if (!parsedMessage) {
325N/A if (hasHeaders()) {
325N/A public void writeTo(ContentHandler contentHandler, ErrorHandler errorHandler) throws SAXException {
325N/A if (!parsedMessage) {
325N/A contentHandler.startElement(soapNsUri, "Envelope", "S:Envelope", getAttributes(envelopeAttrs));
325N/A if (hasHeaders()) {
325N/A return EMPTY_ATTS;
325N/A atts.addAttribute(fixNull(a.getNamespaceURI()),a.getLocalName(),a.getName(),a.getSchemaTypeInfo().getTypeName(),a.getValue());
325N/A * Collects the ns declarations and starts the prefix mapping, consequently the associated endPrefixMapping needs to be called.
325N/A private void startPrefixMapping(ContentHandler contentHandler, NamedNodeMap attrs, String excludePrefix) throws SAXException {
325N/A private void endPrefixMapping(ContentHandler contentHandler, NamedNodeMap attrs, String excludePrefix) throws SAXException {
325N/A private void writePayloadTo(ContentHandler contentHandler, ErrorHandler errorHandler, boolean fragment) throws SAXException {
325N/A * Creates a copy of a {@link com.sun.xml.internal.ws.api.message.Message}.
325N/A * This method creates a new {@link com.sun.xml.internal.ws.api.message.Message} whose header/payload/attachments/properties
325N/A * are identical to this {@link com.sun.xml.internal.ws.api.message.Message}. Once created, the created {@link com.sun.xml.internal.ws.api.message.Message}
325N/A * and the original {@link com.sun.xml.internal.ws.api.message.Message} behaves independently --- adding header/
325N/A * attachment to one {@link com.sun.xml.internal.ws.api.message.Message} doesn't affect another {@link com.sun.xml.internal.ws.api.message.Message}
325N/A * Since a {@link com.sun.xml.internal.ws.api.message.Message} body is read-once, sometimes
325N/A * create an idential copy of a {@link com.sun.xml.internal.ws.api.message.Message}.
325N/A * the {@link com.sun.xml.internal.ws.api.message.Message} implementation itself.
325N/A if (!parsedMessage) {
325N/A } catch (SOAPException e) {
325N/A throw new WebServiceException(e);
325N/A } catch (SOAPException e) {
325N/A throw new WebServiceException(e);
325N/A } catch (SOAPException e) {
325N/A throw new WebServiceException(e);
325N/A } catch (SOAPException e) {
325N/A throw new WebServiceException(e);
325N/A } catch (SOAPException e) {
325N/A throw new WebServiceException(e);