users@jax-ws.java.net

How to use javax.xml.soap.SOAPElement

From: yuyin Song <yuyinsong_at_yahoo.com>
Date: Thu, 28 Sep 2006 13:28:41 -0700 (PDT)

All,

I have one data type ArgumentArrayType defined in the
follwoing:

public class ArgumentArrayType {
    protected java.lang.Short size;
    protected javax.xml.soap.SOAPElement[] argument;
    
    public ArgumentArrayType() {
    }
    public ArgumentArrayType(java.lang.Short size,
javax.xml.soap.SOAPElement[] argument) {
        this.size = size;
        this.argument = argument;
    }
    public java.lang.Short getSize() {
        return size;
    }
    public void setSize(java.lang.Short size) {
        this.size = size;
    }
    public javax.xml.soap.SOAPElement[] getArgument()
{
        return argument;
    }
    public void
setArgument(javax.xml.soap.SOAPElement[] argument) {
        this.argument = argument;
    }
}

I would like to use a Sring[7] to fill SOAPElement[]
in.

String[]={"manuf_id", "serial_no", "verson_no",
"model_no","date_code","Group_no",
"product_description"}

Actually AugumentArrayType is not a SOAP message. How
to do it? Thanks.

Regards,

Yin


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com