Deploy Axis SOAP under Ofbiz Tomcat

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

Deploy Axis SOAP under Ofbiz Tomcat

Florin Popa
Hello,

Has anyone tried already to deploy a pure Axis web service under Ofbiz
Tomcat?

Considering that Ofbiz SOAP has some limitations regarding complex types
and advanced SOAP features, I would be content to be able to deploy a
full Axis based SOAP under Ofbiz.
Unfortunately, I could not realize yet the way I can do it - mostly
because Ofbiz comes with an integrated Tomcat...

I would really appreciate such a sample as long as Ofbiz communication
to the outside world is really important.

Thanks,
 Florin
Reply | Threaded
Open this post in threaded view
|

Re: Deploy Axis SOAP under Ofbiz Tomcat

Jacques Le Roux
Administrator
Quck answer

Have you checked these links  ?
http://www.opensourcestrategies.com/ofbiz/OFBIZ_SOAP_RMI_Tutorial.pdf 
http://www.opensourcestrategies.com/downloads/OfbizTutorial_WS_RMI.zip

I will adapt them soon to be in our FAQ

You might be interested by these links too

http://www.nabble.com/Using-SOAP-complex-types-with-OfBiz-td9180865.html 
https://issues.apache.org/jira/browse/OFBIZ-1008
http://lists.ofbiz.org/pipermail/dev/2006-March/010219.html 

Jacques

From: "Florin Popa" <[hidden email]>

> Hello,
>
> Has anyone tried already to deploy a pure Axis web service under Ofbiz
> Tomcat?
>
> Considering that Ofbiz SOAP has some limitations regarding complex types
> and advanced SOAP features, I would be content to be able to deploy a
> full Axis based SOAP under Ofbiz.
> Unfortunately, I could not realize yet the way I can do it - mostly
> because Ofbiz comes with an integrated Tomcat...
>
> I would really appreciate such a sample as long as Ofbiz communication
> to the outside world is really important.
>
> Thanks,
> Florin
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Deploy Axis SOAP under Ofbiz Tomcat

Alfredo Rueda
In reply to this post by Florin Popa
Hello Flopa!

I'm also interested in the same topic. I need to install Axis in Ofbiz for the same reasons.

I'm trying to follow the instructions at:
http://ws.apache.org/axis/java/install.html#Step1PreparingTheWebapp

But I don't know how to proceed with the Tomcat embedded in Ofbiz.

Please, can you share your results, conclusions on this subject?

Thank you very much!

Alfredo


flopa wrote
Hello,

Has anyone tried already to deploy a pure Axis web service under Ofbiz
Tomcat?

Considering that Ofbiz SOAP has some limitations regarding complex types
and advanced SOAP features, I would be content to be able to deploy a
full Axis based SOAP under Ofbiz.
Unfortunately, I could not realize yet the way I can do it - mostly
because Ofbiz comes with an integrated Tomcat...

I would really appreciate such a sample as long as Ofbiz communication
to the outside world is really important.

Thanks,
 Florin
Reply | Threaded
Open this post in threaded view
|

Re: Deploy Axis SOAP under Ofbiz Tomcat

Florin Popa
Hello,

Because I was not able to handle complex types via SOAP deployed under
Ofbiz I had to go further and choose a worse solution: hosting Web
services (used for several data exchange with other systems) on a
separate tomcat (Axis based web service)

I would be really interested if someone managed to deploy a full SOAP
solution directly under Ofbiz

regards,
 Flopa

> Hello Flopa!
>
> I'm also interested in the same topic. I need to install Axis in Ofbiz for
> the same reasons.
>
> I'm trying to follow the instructions at:
> http://ws.apache.org/axis/java/install.html#Step1PreparingTheWebapp
>
> But I don't know how to proceed with the Tomcat embedded in Ofbiz.
>
> Please, can you share your results, conclusions on this subject?
>
> Thank you very much!
>
> Alfredo
>
>
>
> flopa wrote:
>  
>> Hello,
>>
>> Has anyone tried already to deploy a pure Axis web service under Ofbiz
>> Tomcat?
>>
>> Considering that Ofbiz SOAP has some limitations regarding complex types
>> and advanced SOAP features, I would be content to be able to deploy a
>> full Axis based SOAP under Ofbiz.
>> Unfortunately, I could not realize yet the way I can do it - mostly
>> because Ofbiz comes with an integrated Tomcat...
>>
>> I would really appreciate such a sample as long as Ofbiz communication
>> to the outside world is really important.
>>
>> Thanks,
>>  Florin
>>
>>
>>    
>
>  

Reply | Threaded
Open this post in threaded view
|

Re: Deploy Axis SOAP under Ofbiz Tomcat

Alfredo Rueda
Hello Flopa!

How do you connect the Web Service hosted in Tomcat 1 with the Ofbiz Service hosted in Tomcat 2. Maybe RMI?

Thanks,

Alfredo

flopa wrote
Hello,

Because I was not able to handle complex types via SOAP deployed under
Ofbiz I had to go further and choose a worse solution: hosting Web
services (used for several data exchange with other systems) on a
separate tomcat (Axis based web service)

I would be really interested if someone managed to deploy a full SOAP
solution directly under Ofbiz

regards,
 Flopa
> Hello Flopa!
>
> I'm also interested in the same topic. I need to install Axis in Ofbiz for
> the same reasons.
>
> I'm trying to follow the instructions at:
> http://ws.apache.org/axis/java/install.html#Step1PreparingTheWebapp
>
> But I don't know how to proceed with the Tomcat embedded in Ofbiz.
>
> Please, can you share your results, conclusions on this subject?
>
> Thank you very much!
>
> Alfredo
>
>
>
> flopa wrote:
>  
>> Hello,
>>
>> Has anyone tried already to deploy a pure Axis web service under Ofbiz
>> Tomcat?
>>
>> Considering that Ofbiz SOAP has some limitations regarding complex types
>> and advanced SOAP features, I would be content to be able to deploy a
>> full Axis based SOAP under Ofbiz.
>> Unfortunately, I could not realize yet the way I can do it - mostly
>> because Ofbiz comes with an integrated Tomcat...
>>
>> I would really appreciate such a sample as long as Ofbiz communication
>> to the outside world is really important.
>>
>> Thanks,
>>  Florin
>>
>>
>>    
>
>  
Reply | Threaded
Open this post in threaded view
|

Re: Deploy Axis SOAP under Ofbiz Tomcat

Florin Popa
Hello Alfredo,

In my case, it was simply enough that Axis based web service (hosted in
tomcat) had access to the same database as Ofbiz JVM itself. So there
was no need for communication in between the processes.
I would not suggest RMI anyway....

best regards,
 Flopa

> Hello Flopa!
>
> How do you connect the Web Service hosted in Tomcat 1 with the Ofbiz Service
> hosted in Tomcat 2. Maybe RMI?
>
> Thanks,
>
> Alfredo
>
>
> flopa wrote:
>  
>> Hello,
>>
>> Because I was not able to handle complex types via SOAP deployed under
>> Ofbiz I had to go further and choose a worse solution: hosting Web
>> services (used for several data exchange with other systems) on a
>> separate tomcat (Axis based web service)
>>
>> I would be really interested if someone managed to deploy a full SOAP
>> solution directly under Ofbiz
>>
>> regards,
>>  Flopa
>>    
>>> Hello Flopa!
>>>
>>> I'm also interested in the same topic. I need to install Axis in Ofbiz
>>> for
>>> the same reasons.
>>>
>>> I'm trying to follow the instructions at:
>>> http://ws.apache.org/axis/java/install.html#Step1PreparingTheWebapp
>>>
>>> But I don't know how to proceed with the Tomcat embedded in Ofbiz.
>>>
>>> Please, can you share your results, conclusions on this subject?
>>>
>>> Thank you very much!
>>>
>>> Alfredo
>>>
>>>
>>>
>>> flopa wrote:
>>>  
>>>      
>>>> Hello,
>>>>
>>>> Has anyone tried already to deploy a pure Axis web service under Ofbiz
>>>> Tomcat?
>>>>
>>>> Considering that Ofbiz SOAP has some limitations regarding complex types
>>>> and advanced SOAP features, I would be content to be able to deploy a
>>>> full Axis based SOAP under Ofbiz.
>>>> Unfortunately, I could not realize yet the way I can do it - mostly
>>>> because Ofbiz comes with an integrated Tomcat...
>>>>
>>>> I would really appreciate such a sample as long as Ofbiz communication
>>>> to the outside world is really important.
>>>>
>>>> Thanks,
>>>>  Florin
>>>>
>>>>
>>>>    
>>>>        
>>>  
>>>      
>>
>>    
>
>  

Reply | Threaded
Open this post in threaded view
|

Re: Deploy Axis SOAP under Ofbiz Tomcat

Alfredo Rueda
Hello Flopa!

I have a complex service implemented as an ofbiz service. Duplicate the functionality in Tomcat 1 (Tomcat that hosts the Axis Server) only to expose it via SOAP is not a well design in my case.
What problems have you noticed using RMI?. I have used RMI succesfully in the past.

Thanks!

Alfredo


flopa wrote
Hello Alfredo,

In my case, it was simply enough that Axis based web service (hosted in
tomcat) had access to the same database as Ofbiz JVM itself. So there
was no need for communication in between the processes.
I would not suggest RMI anyway....

best regards,
 Flopa
> Hello Flopa!
>
> How do you connect the Web Service hosted in Tomcat 1 with the Ofbiz Service
> hosted in Tomcat 2. Maybe RMI?
>
> Thanks,
>
> Alfredo
>
>
> flopa wrote:
>  
>> Hello,
>>
>> Because I was not able to handle complex types via SOAP deployed under
>> Ofbiz I had to go further and choose a worse solution: hosting Web
>> services (used for several data exchange with other systems) on a
>> separate tomcat (Axis based web service)
>>
>> I would be really interested if someone managed to deploy a full SOAP
>> solution directly under Ofbiz
>>
>> regards,
>>  Flopa
>>    
>>> Hello Flopa!
>>>
>>> I'm also interested in the same topic. I need to install Axis in Ofbiz
>>> for
>>> the same reasons.
>>>
>>> I'm trying to follow the instructions at:
>>> http://ws.apache.org/axis/java/install.html#Step1PreparingTheWebapp
>>>
>>> But I don't know how to proceed with the Tomcat embedded in Ofbiz.
>>>
>>> Please, can you share your results, conclusions on this subject?
>>>
>>> Thank you very much!
>>>
>>> Alfredo
>>>
>>>
>>>
>>> flopa wrote:
>>>  
>>>      
>>>> Hello,
>>>>
>>>> Has anyone tried already to deploy a pure Axis web service under Ofbiz
>>>> Tomcat?
>>>>
>>>> Considering that Ofbiz SOAP has some limitations regarding complex types
>>>> and advanced SOAP features, I would be content to be able to deploy a
>>>> full Axis based SOAP under Ofbiz.
>>>> Unfortunately, I could not realize yet the way I can do it - mostly
>>>> because Ofbiz comes with an integrated Tomcat...
>>>>
>>>> I would really appreciate such a sample as long as Ofbiz communication
>>>> to the outside world is really important.
>>>>
>>>> Thanks,
>>>>  Florin
>>>>
>>>>
>>>>    
>>>>        
>>>  
>>>      
>>
>>    
>
>  
Reply | Threaded
Open this post in threaded view
|

Re: Deploy Axis SOAP under Ofbiz Tomcat

Florin Popa
Hello Alfredo,

I haven't tried to use RMI for any Ofbiz related project. My meaning was
that RMI sounds ok for demos or learning cases but not very robust for
production.
I would feel more comfortable with a sockets based solution in this case.

regards,
 Flopa

> Hello Flopa!
>
> I have a complex service implemented as an ofbiz service. Duplicate the
> functionality in Tomcat 1 (Tomcat that hosts the Axis Server) only to expose
> it via SOAP is not a well design in my case.
> What problems have you noticed using RMI?. I have used RMI succesfully in
> the past.
>
> Thanks!
>
> Alfredo
>
>
>
> flopa wrote:
>  
>> Hello Alfredo,
>>
>> In my case, it was simply enough that Axis based web service (hosted in
>> tomcat) had access to the same database as Ofbiz JVM itself. So there
>> was no need for communication in between the processes.
>> I would not suggest RMI anyway....
>>
>> best regards,
>>  Flopa
>>    
>>> Hello Flopa!
>>>
>>> How do you connect the Web Service hosted in Tomcat 1 with the Ofbiz
>>> Service
>>> hosted in Tomcat 2. Maybe RMI?
>>>
>>> Thanks,
>>>
>>> Alfredo
>>>
>>>
>>> flopa wrote:
>>>  
>>>      
>>>> Hello,
>>>>
>>>> Because I was not able to handle complex types via SOAP deployed under
>>>> Ofbiz I had to go further and choose a worse solution: hosting Web
>>>> services (used for several data exchange with other systems) on a
>>>> separate tomcat (Axis based web service)
>>>>
>>>> I would be really interested if someone managed to deploy a full SOAP
>>>> solution directly under Ofbiz
>>>>
>>>> regards,
>>>>  Flopa
>>>>    
>>>>        
>>>>> Hello Flopa!
>>>>>
>>>>> I'm also interested in the same topic. I need to install Axis in Ofbiz
>>>>> for
>>>>> the same reasons.
>>>>>
>>>>> I'm trying to follow the instructions at:
>>>>> http://ws.apache.org/axis/java/install.html#Step1PreparingTheWebapp
>>>>>
>>>>> But I don't know how to proceed with the Tomcat embedded in Ofbiz.
>>>>>
>>>>> Please, can you share your results, conclusions on this subject?
>>>>>
>>>>> Thank you very much!
>>>>>
>>>>> Alfredo
>>>>>
>>>>>
>>>>>
>>>>> flopa wrote:
>>>>>  
>>>>>      
>>>>>          
>>>>>> Hello,
>>>>>>
>>>>>> Has anyone tried already to deploy a pure Axis web service under Ofbiz
>>>>>> Tomcat?
>>>>>>
>>>>>> Considering that Ofbiz SOAP has some limitations regarding complex
>>>>>> types
>>>>>> and advanced SOAP features, I would be content to be able to deploy a
>>>>>> full Axis based SOAP under Ofbiz.
>>>>>> Unfortunately, I could not realize yet the way I can do it - mostly
>>>>>> because Ofbiz comes with an integrated Tomcat...
>>>>>>
>>>>>> I would really appreciate such a sample as long as Ofbiz communication
>>>>>> to the outside world is really important.
>>>>>>
>>>>>> Thanks,
>>>>>>  Florin
>>>>>>
>>>>>>
>>>>>>    
>>>>>>        
>>>>>>            
>>>>>  
>>>>>      
>>>>>          
>>>>    
>>>>        
>>>  
>>>      
>>
>>    
>
>  

Reply | Threaded
Open this post in threaded view
|

Re: Deploy Axis SOAP under Ofbiz Tomcat

Alfredo Rueda
In reply to this post by Florin Popa

Hello!

If you check these links you would learn how to add Axis to your own Webapp.

http://www.stanleygeorge.com/blogs/2005/06/apache-axis-part-5-adding-axis-to-your.html
http://www.developer.com/java/web/article.php/3443951

Please, may somebody with deep experience in Ofbiz and Tomcat explain how to customize the steps explained in the above links to deploy a pure Axis Java Web Service inside an Ofbiz WebApp?

Thank you very much!

Alfredo

flopa wrote
Hello,

Has anyone tried already to deploy a pure Axis web service under Ofbiz
Tomcat?

Considering that Ofbiz SOAP has some limitations regarding complex types
and advanced SOAP features, I would be content to be able to deploy a
full Axis based SOAP under Ofbiz.
Unfortunately, I could not realize yet the way I can do it - mostly
because Ofbiz comes with an integrated Tomcat...

I would really appreciate such a sample as long as Ofbiz communication
to the outside world is really important.

Thanks,
 Florin
Reply | Threaded
Open this post in threaded view
|

Re: Deploy Axis SOAP under Ofbiz Tomcat

Daminda Liyanage
Hi,

Do you know how to get OFBiz current system design documents.

Thanks,
Daminda

----- Original Message -----
From: "Alfredo Rueda" <[hidden email]>
To: <[hidden email]>
Sent: Tuesday, November 25, 2008 2:47 PM
Subject: Re: Deploy Axis SOAP under Ofbiz Tomcat


>
>
> Hello!
>
> If you check these links you would learn how to add Axis to your own
> Webapp.
>
> http://www.stanleygeorge.com/blogs/2005/06/apache-axis-part-5-adding-axis-to-your.html
> http://www.developer.com/java/web/article.php/3443951
>
> Please, may somebody with deep experience in Ofbiz and Tomcat explain how
> to
> customize the steps explained in the above links to deploy a pure Axis
> Java
> Web Service inside an Ofbiz WebApp?
>
> Thank you very much!
>
> Alfredo
>
>
> flopa wrote:
>>
>> Hello,
>>
>> Has anyone tried already to deploy a pure Axis web service under Ofbiz
>> Tomcat?
>>
>> Considering that Ofbiz SOAP has some limitations regarding complex types
>> and advanced SOAP features, I would be content to be able to deploy a
>> full Axis based SOAP under Ofbiz.
>> Unfortunately, I could not realize yet the way I can do it - mostly
>> because Ofbiz comes with an integrated Tomcat...
>>
>> I would really appreciate such a sample as long as Ofbiz communication
>> to the outside world is really important.
>>
>> Thanks,
>>  Florin
>>
>>
>
> --
> View this message in context:
> http://www.nabble.com/Deploy-Axis-SOAP-under-Ofbiz-Tomcat-tp15330315p20677590.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>

Reply | Threaded
Open this post in threaded view
|

Re: Deploy Axis SOAP under Ofbiz Tomcat

Alfredo Rueda
Hello Daminda!
Maybe here is good starting point:

http://docs.ofbiz.org/display/OFBADMIN/OFBiz+Documentation+Index

Regards,

Alfredo
Daminda Liyanage wrote
Hi,

Do you know how to get OFBiz current system design documents.

Thanks,
Daminda

----- Original Message -----
From: "Alfredo Rueda" <alfredo.rueda@opentrends.net>
To: <user@ofbiz.apache.org>
Sent: Tuesday, November 25, 2008 2:47 PM
Subject: Re: Deploy Axis SOAP under Ofbiz Tomcat


>
>
> Hello!
>
> If you check these links you would learn how to add Axis to your own
> Webapp.
>
> http://www.stanleygeorge.com/blogs/2005/06/apache-axis-part-5-adding-axis-to-your.html
> http://www.developer.com/java/web/article.php/3443951
>
> Please, may somebody with deep experience in Ofbiz and Tomcat explain how
> to
> customize the steps explained in the above links to deploy a pure Axis
> Java
> Web Service inside an Ofbiz WebApp?
>
> Thank you very much!
>
> Alfredo
>
>
> flopa wrote:
>>
>> Hello,
>>
>> Has anyone tried already to deploy a pure Axis web service under Ofbiz
>> Tomcat?
>>
>> Considering that Ofbiz SOAP has some limitations regarding complex types
>> and advanced SOAP features, I would be content to be able to deploy a
>> full Axis based SOAP under Ofbiz.
>> Unfortunately, I could not realize yet the way I can do it - mostly
>> because Ofbiz comes with an integrated Tomcat...
>>
>> I would really appreciate such a sample as long as Ofbiz communication
>> to the outside world is really important.
>>
>> Thanks,
>>  Florin
>>
>>
>
> --
> View this message in context:
> http://www.nabble.com/Deploy-Axis-SOAP-under-Ofbiz-Tomcat-tp15330315p20677590.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
Reply | Threaded
Open this post in threaded view
|

Re: Deploy Axis SOAP under Ofbiz Tomcat

BJ Freeman
since ajax is basically an xml communications, it would seem that using
ftl with a transform page would allow for ajax to communicate with
ofbiz, bidirectionally.
These transforms are used to convert ofbiz info to Carrier info now, so
there are examples.

just a thought


Alfredo Rueda sent the following on 11/25/2008 3:03 AM:

> Hello Daminda!
> Maybe here is good starting point:
>
> http://docs.ofbiz.org/display/OFBADMIN/OFBiz+Documentation+Index
>
> Regards,
>
> Alfredo
>
> Daminda Liyanage wrote:
>> Hi,
>>
>> Do you know how to get OFBiz current system design documents.
>>
>> Thanks,
>> Daminda
>>
>> ----- Original Message -----
>> From: "Alfredo Rueda" <[hidden email]>
>> To: <[hidden email]>
>> Sent: Tuesday, November 25, 2008 2:47 PM
>> Subject: Re: Deploy Axis SOAP under Ofbiz Tomcat
>>
>>
>>>
>>> Hello!
>>>
>>> If you check these links you would learn how to add Axis to your own
>>> Webapp.
>>>
>>> http://www.stanleygeorge.com/blogs/2005/06/apache-axis-part-5-adding-axis-to-your.html
>>> http://www.developer.com/java/web/article.php/3443951
>>>
>>> Please, may somebody with deep experience in Ofbiz and Tomcat explain how
>>> to
>>> customize the steps explained in the above links to deploy a pure Axis
>>> Java
>>> Web Service inside an Ofbiz WebApp?
>>>
>>> Thank you very much!
>>>
>>> Alfredo
>>>
>>>
>>> flopa wrote:
>>>> Hello,
>>>>
>>>> Has anyone tried already to deploy a pure Axis web service under Ofbiz
>>>> Tomcat?
>>>>
>>>> Considering that Ofbiz SOAP has some limitations regarding complex types
>>>> and advanced SOAP features, I would be content to be able to deploy a
>>>> full Axis based SOAP under Ofbiz.
>>>> Unfortunately, I could not realize yet the way I can do it - mostly
>>>> because Ofbiz comes with an integrated Tomcat...
>>>>
>>>> I would really appreciate such a sample as long as Ofbiz communication
>>>> to the outside world is really important.
>>>>
>>>> Thanks,
>>>>  Florin
>>>>
>>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Deploy-Axis-SOAP-under-Ofbiz-Tomcat-tp15330315p20677590.html
>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>>
>>
>>
>