File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes WebServices Problems with WL 7 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "WebServices Problems with WL 7" Watch "WebServices Problems with WL 7" New topic
Author

WebServices Problems with WL 7

Marcos Maia
Ranch Hand

Joined: Jan 06, 2001
Posts: 977
Hi, I�m trying WL7 webservices-WL_WS and I�m having some problems listed above:
1) Reading wl docs it says that WL_WS uses servicegen and autotype Ant tasks that can generate
the serializer class to convert the data between its Java and XML representations for ArrayLists, so I problably have to write a serializer class to convert back from XML to java. I�m newbie to WebServices and need suggestions on how to do it.
I�ve tryied the webservices like it leaves from the servicegen and autotype Ant tasks and everything works well but I get an Object array back from the client side. Yes I know that I can use some method such Arrays.asList to get the Collection back, but I need to know if there�s a better way.
2) A friend wich works in the same company as I do has developed a security component tha is implemented as Filter for the web layer and relies on an abstract implementation to be reusable, we choose to implement the interface as an component that relies on EJB and I was trying to make it accessible using web services and realize that servicegen and autotype can�t do it with types like Interfaces and abstract classes or even, in this case, with a class that implements an interface. Is there a way do build a SOAP service with this kind of implementation, or is this a SOAP limitation???
any help here will be really appreciated.
Best regards,
Marcos Maia.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: WebServices Problems with WL 7