< prev index next >

src/java.xml.ws/share/classes/javax/xml/soap/SOAPPart.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2004, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2004, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 52,64 **** * A client can access the {@code SOAPPart} object of a * {@code SOAPMessage} object by * calling the method {@code SOAPMessage.getSOAPPart}. The * following line of code, in which {@code message} is a * {@code SOAPMessage} object, retrieves the SOAP part of a message. ! * <PRE> * SOAPPart soapPart = message.getSOAPPart(); ! * </PRE> * <P> * A {@code SOAPPart} object contains a {@code SOAPEnvelope} object, * which in turn contains a {@code SOAPBody} object and a * {@code SOAPHeader} object. * The {@code SOAPPart} method {@code getEnvelope} can be used --- 52,64 ---- * A client can access the {@code SOAPPart} object of a * {@code SOAPMessage} object by * calling the method {@code SOAPMessage.getSOAPPart}. The * following line of code, in which {@code message} is a * {@code SOAPMessage} object, retrieves the SOAP part of a message. ! * {@code * SOAPPart soapPart = message.getSOAPPart(); ! * } * <P> * A {@code SOAPPart} object contains a {@code SOAPEnvelope} object, * which in turn contains a {@code SOAPBody} object and a * {@code SOAPHeader} object. * The {@code SOAPPart} method {@code getEnvelope} can be used
< prev index next >