1 16 17 package org.apache.axis.message; 18 19 import org.apache.axis.MessageContext; 20 import org.apache.axis.encoding.SerializationContext; 21 22 public class RPCHeaderParam extends SOAPHeaderElement 23 { 24 27 public RPCHeaderParam(RPCParam rpcParam) { 28 super(rpcParam.getQName().getNamespaceURI(), 29 rpcParam.getQName().getLocalPart(), 30 rpcParam); 31 } 32 33 36 protected void outputImpl(SerializationContext context) throws Exception 37 { 38 MessageContext msgContext = context.getMessageContext(); 39 40 RPCParam rpcParam = (RPCParam) getObjectValue(); 42 if (encodingStyle != null && encodingStyle.equals("")) { 43 context.registerPrefixForURI("", rpcParam.getQName().getNamespaceURI()); 44 } 45 rpcParam.serialize(context); 46 } 47 } 48 | Popular Tags |