Skip to main content

How to return an class object in jax-ws

1 reply [Last post]
Anonymous

I have a class Person {private String id;
private int[] id;
}
How can I return it as a web service?

[att1.html]

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Felipe Gaúcho

you declare your classes in the metadata section of the WSDL document:
http://www.w3.org/TR/wsdl

2008/7/10 zquzqu :
>
> I have a class Person {private String id;
> private int[] id;
> }
> How can I return it as a web service?
>
>
>
> ________________________________
> 网易首款免费3D网游"天下2",6月6日激情公测