Search in sources :

Example 1 with Header

use of com.sun.xml.ws.wsdl.writer.document.soap.Header in project metro-jax-ws by eclipse-ee4j.

the class WSDLGenerator method generateSOAPHeaders.

protected void generateSOAPHeaders(TypedXmlWriter writer, List<ParameterImpl> parameters, QName message) {
    for (ParameterImpl headerParam : parameters) {
        Header header = writer._element(Header.class);
        header.message(message);
        header.part(headerParam.getPartName());
        header.use(LITERAL);
    }
}
Also used : Header(com.sun.xml.ws.wsdl.writer.document.soap.Header) ParameterImpl(com.sun.xml.ws.model.ParameterImpl)

Aggregations

ParameterImpl (com.sun.xml.ws.model.ParameterImpl)1 Header (com.sun.xml.ws.wsdl.writer.document.soap.Header)1