1 55 56 package org.jboss.axis.message; 57 58 import org.jboss.axis.MessageContext; 59 import org.jboss.axis.encoding.SerializationContext; 60 61 public class RPCHeaderParam extends SOAPHeaderElementAxisImpl 62 { 63 66 public RPCHeaderParam(RPCParam rpcParam) 67 { 68 super(rpcParam.getQName().getNamespaceURI(), 69 rpcParam.getQName().getLocalPart(), 70 rpcParam); 71 } 72 73 76 protected void outputImpl(SerializationContext context) throws Exception 77 { 78 MessageContext msgContext = context.getMessageContext(); 79 80 RPCParam rpcParam = (RPCParam)getObjectValue(); 82 if (encodingStyle != null && encodingStyle.equals("")) 83 { 84 context.registerPrefixForURI("", rpcParam.getQName().getNamespaceURI()); 85 } 86 rpcParam.serialize(context); 87 } 88 } 89 | Popular Tags |