场景:
webservice 服务使用pb做的(客户)
我们准备用java (axis2)调用其服务(我方)
webservice中有两个参数
<
s:complexType
>
<
s:sequence
>
<
s:element
minOccurs
="
0
"
maxOccurs
="
1
"
name
="
as_param
"
type
="
tns:ArrayOfString
"/>
<
s:element
minOccurs
="
0
"
maxOccurs
="
1
"
name
="
as_content
"
type
="
s:string
"/>
s:sequence
>
s:complexType
>
然后我在java中构造相应的参数
ArrayOfString param=new ArrayOfString();</