File |
Line |
org\apache\axis\message\addressing\handler\AxisClientSideAddressingHandler.java |
46
|
org\apache\axis\message\addressing\handler\AxisServerSideAddressingHandler.java |
60
|
private GenericAxisHandler axisHelperHandler = new GenericAxisHandler(this);
/**
* {@inheritDoc}
*/
public void init() {
axisHelperHandler.init();
}
/**
* {@inheritDoc}
*/
public void cleanup() {
axisHelperHandler.cleanup();
}
/**
* {@inheritDoc}
*/
public boolean canHandleBlock(QName qname) {
return (axisHelperHandler.canHandleBlock(qname));
}
/**
* {@inheritDoc}
*/
public void setOption(String name, Object value) {
axisHelperHandler.setOption(name, value);
}
/**
* Set a default value for the given option:
* if the option is not already set, then set it.
* if the option is already set, then do not set it.
* <p>
* If this is called multiple times, the first with a non-null value
* if 'value' will set the default, remaining calls will be ignored.
*
* @param name Option name
* @param value Default value
* @return true if value set (by this call), otherwise false;
*/
public boolean setOptionDefault(String name, Object value) {
return axisHelperHandler.setOptionDefault(name, value);
}
/**
* {@inheritDoc}
*/
public Object getOption(String name) {
return axisHelperHandler.getOption(name);
}
/**
* {@inheritDoc}
*/
public Hashtable<?, ?> getOptions() {
return axisHelperHandler.getOptions();
}
/**
* {@inheritDoc}
*/
public void setOptions(Hashtable opts) {
axisHelperHandler.setOptions(opts);
}
/**
* {@inheritDoc}
*/
public void setName(String name) {
axisHelperHandler.setName(name);
}
/**
* {@inheritDoc}
*/
public String getName() {
return axisHelperHandler.getName();
}
/**
* {@inheritDoc}
*/
public Element getDeploymentData(Document doc) {
return axisHelperHandler.getDeploymentData(doc);
}
/**
* {@inheritDoc}
*/
public List<?> getUnderstoodHeaders() {
return axisHelperHandler.getUnderstoodHeaders();
}
/**
* {@inheritDoc}
*/
public void generateWSDL(MessageContext msgContext) throws AxisFault {
axisHelperHandler.generateWSDL(msgContext);
}
/**
* {@inheritDoc}
*/
public void invoke(MessageContext msgContext) throws AxisFault {
axisHelperHandler.invoke(msgContext);
}
/**
* {@inheritDoc}
*/
public void onFault(MessageContext msgContext) {
axisHelperHandler.onFault(msgContext);
}
|
File |
Line |
org\apache\axis\message\addressing\tools\wsdl\JavaAddressingServiceIfaceImplWriter.java |
84
|
org\apache\axis\message\addressing\tools\wsdl\JavaAddressingServiceImplWriter.java |
94
|
writeConstructors(pw);
// get ports
Map<?, ?> portMap = service.getPorts();
// write a get method for each of the ports with a SOAP binding
for (Object item : portMap.values()) {
Port p = (Port)item;
Binding binding = p.getBinding();
if (binding == null) {
throw new IOException(Messages.getMessage("emitFailNoBinding01", new String[] { p
.getName() }));
}
BindingEntry bEntry = symbolTable.getBindingEntry(binding.getQName());
if (bEntry == null) {
throw new IOException(Messages.getMessage("emitFailNoBindingEntry01",
new String[] { binding.getQName().toString() }));
}
PortTypeEntry ptEntry = symbolTable.getPortTypeEntry(binding.getPortType()
.getQName());
if (ptEntry == null) {
throw new IOException(Messages.getMessage("emitFailNoPortType01",
new String[] { binding.getPortType().getQName().toString() }));
}
// If this isn't an SOAP binding, skip it
if (bEntry.getBindingType() != BindingEntry.TYPE_SOAP) {
continue;
}
String portName = p.getName();
if (!JavaUtils.isJavaId(portName)) {
portName = Utils.xmlNameToJavaClass(portName);
}
String bindingType = (String) bEntry
.getDynamicVar(JavaBindingWriter.INTERFACE_NAME);
pw.println(" /**");
pw.println(" * {@inheritDoc}");
|