Hello Jacques,
I'm new to web services so I've researched some information about how to deploy a web service that returns an array of pojos in Axis. There are many tutorials that explain how to accomplish this task, however the problem I'm facing now is that all the tutorials assume that you will deploy the web service in a fresh new Tomcat installation. So my question is how can I deploy a web service in the Tomcat shipped inside Ofbiz (as far as I now, Ofbiz deploys a complete and ready to use Axis server, am I right?). I'm assuming that the overall arquitecture is that the web service deployed in Axis will act as a proxy between the client and the Ofbiz server that returns a list of generic entities. The final arquitecture will be a unique Tomcat ( the one embedded in Ofbiz) that will host the Axis server in wich I will deploy my web service or it's necessary to instantiate two Tomcats? (The Ofbiz one and the Tomcat for my web service) On the other hand, in the following post: http://www.nabble.com/Using-SOAP-complex-types-with-OfBiz-to9180865.html#a20617645 Michael explains that it's possible to accomplish the task without deploying the web service directly in Axis. I'm really confused. Would you be so kind to clarify his approach, please? Thank you very much jacques.le.roux wrote: > > I think the most advanced work on this issue is in trunk : > https://issues.apache.org/jira/browse/OFBIZ-1008 > This handles the array case, but not complex types in it. For that you > still have to use Axis > > Jacques > > From: "Alfredo Rueda" <[EMAIL PROTECTED]> >> >> Hello, >> >> I have read a lot of posts concerning this topic, but I can't realize >> what >> is the current solution in ofbiz to this problem: >> >> This is the scenario: >> >> 1. I have an ofbiz service that has a list of generic entities as an >> output >> parameter. >> 2. I need to publish this service via soap. >> 3. I can do a simple postprocess that converts the list of generic >> entities >> in an array of pojos >> (hoping that this will simplify the problem) >> >> Is there any solutions/examples in ofbiz documentation to acomplish this >> task? >> >> In case it was not possible through a simple solution, what alternatives >> do >> you suggest? >> >> Thank you very much! >> >> Alfredo Rueda >> -- >> View this message in context: >> http://www.nabble.com/Array-of-pojos-as-an-output-parameter-of-an-ofbiz-service-exported-via-soap-tp20601376p20601376.html >> Sent from the OFBiz - User mailing list archive at Nabble.com. >> > > > -- View this message in context: http://www.nabble.com/Array-of-pojos-as-an-output-parameter-of-an-ofbiz-service-exported-via-soap-tp20601376p20628514.html Sent from the OFBiz - User mailing list archive at Nabble.com.
