thanks for your reply matt ;)
On Mon, May 11, 2009 at 7:56 PM, Matt Raible <m...@raibledesigns.com> wrote:

> I would suggest creating a class that defines the primary key as a Long or
> something similar. We had to do this with the User object (by creating a
> UserService interface) since SOAP doesn't support collections (only arrays).
>
>
> http://source.appfuse.org/browse/appfuse/trunk/service/src/main/java/org/appfuse/service/UserService.java?r=trunk
>
> Matt
>
>
> On Mon, May 11, 2009 at 12:40 AM, Reza Farshi <reza.far...@gmail.com>wrote:
>
>>
>> no any volunteer to answer? :)
>>
>>
>> On Sun, May 10, 2009 at 6:36 PM, Reza Farshi <reza.far...@gmail.com>wrote:
>>
>>> hi pals,
>>> I tried to create web service client for one of my manager classes (eg
>>> DeviceManager) ,
>>> I am usinge GenericManager for handling service layer.
>>> and also I am using web service by enabling @WebService  annotation,
>>>  wsdl file successfully genereated by XFire  but when I created ws
>>> clinent b/c of exsiting following lines in WSDL file
>>>
>>> <xsd:schema attributeFormDefault="qualified"
>>> elementFormDefault="qualified" targetNamespace="http://io.java";>
>>>     <xsd:complexType name="Serializable"/>
>>> </xsd:schema>
>>>
>>> generated stubs have codes something like this
>>>
>>>  public class Serializable  implements java.io.Serializable {
>>>     public Serializable() {
>>>     }
>>>
>>> so I got this compile error:
>>>   Cycle detected: the type Serializable cannot extend/implement itself or
>>> one of its own member types
>>>
>>>
>>> How can i solve this problem?
>>> what will happend if we remove extends Serializable from signature of the
>>> following methods in appfuse core module?
>>>
>>> public class GenericManagerImpl<T, PK extends Serializable>
>>> public interface GenericDao <T, PK extends Serializable>
>>>
>>> when I remove "extends Serializable"   problem solved, but I think there
>>> is better way to do.
>>>
>>> thanks
>>>
>>> --
>>> Reza Farshi
>>>
>>
>>
>>
>> --
>> Reza Farshi
>>
>
>


-- 
Reza Farshi

Reply via email to