[wise-users] [Wise] - Consuming complex results from webservice

Andrew RR do-not-reply at jboss.com
Mon Apr 23 19:04:29 EDT 2012


Andrew RR [https://community.jboss.org/people/andrewr2] created the discussion

"Consuming complex results from webservice"

To view the discussion, visit: https://community.jboss.org/message/731766#731766

--------------------------------------------------------------
Hi,

I'm using Wise 1.1 inside a JSF application in order to invoke several web services in a dynamic way and I've got a problem using one of these services. 

The problematic service returns a list of Strings (an array of Strings) as result. This result is mapped to an 'ArrayOfString' class -as defined in my WSDL file- built and compiled in a dynamic way by Wise. And my question is: How can I use this class in runtime after an invocation of the web service? I need this in order to consume correctly the results of the service.

Everytime I invoke this service, all I get as result (inside InvocationResult object) is a reference to an ArrayOfString object. Due to the fact that this class is compiled by Wise, I'm not able to acces to the corresponding methods of the class. I've tried Java reflection but I've got no success. Have you faced a similar problem before? Do you know a fix for this?

Thanks in advance.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/731766#731766]

Start a new discussion in Wise at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2048]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/wise-users/attachments/20120423/b1521ca9/attachment.html 


More information about the wise-users mailing list