Hi Folks,
I have a DataObject, like this
public class DataObject implements java.io.Serializable
{
pivate Integer commandKey;
private File outputFile;
public DataObject(){}
public void setCommandKey(Integer aKey)
{
commandKey = aKey;
}
public Integer getCommandKey()
{
return commandKey;
}
public void setOutputFile(File aFile)
{
outputFile = aFile;
}
public File getOutputFile()
{
return outputFile;
}
}
I use wscompile to generate WSDL file, but it can not show File element in WSDL? HOw can I do that.
For commandKey element. I don't want to show this element in WSDL. How to do it? Thank you very much.
Chwang
If you are trying to use attachments you need to use DataHandler instead of File.
-Jason