开发者

Dealing with ArrayOfAnyType (Java) with Axis2

开发者 https://www.devze.com 2023-02-01 22:21 出处:网络
I have generated a stub (.java) using Axis2\'s WSDL2Java application, but I can\'t deal with the \"ArrayOfAnyType\" type.

I have generated a stub (.java) using Axis2's WSDL2Java application, but I can't deal with the "ArrayOfAnyType" type.

I want to invoke a method that has ArrayOfAnyTyp开发者_开发百科e as parameter type.

But... how to do that? I have difficultes understanding that class and how to use it.

What I'd rather like to use is a simple Object[]... any explainations on how ArrayOfAnyType works? Thanks!


Unless you are required to use axis, i would urge you to check out jaxws (built into the jdk these days). it is a lot more straightforward to use in many ways compared to axis.

0

精彩评论

暂无评论...
验证码 换一张
取 消