Ofbiz SOAP

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

Ofbiz SOAP

Florin Popa
Hello all,

How can I use SOAP within Ofbiz?

Is it possible to have complex OUT params like String[] or int[] or
MyOwnClass[] ?

[it only worked for a basic String as IN/OUT]

Additionally I would need to have more methods deployed within the same
web service. Is this possible?

Thanks in advanced,

Best regards,
Florin Popa
Reply | Threaded
Open this post in threaded view
|

Re: Ofbiz SOAP

Jacques Le Roux
Administrator
If you want to use complex types you will need to use Axis.

This may help
http://www.nabble.com/Using-SOAP-complex-types-with-OfBiz-tp9180865p9180865.html

at large
http://www.nabble.com/forum/Search.jtp?query=soap+axis&local=y&forum=2740&daterange=0&startdate=&enddate=

Jacques

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

> Hello all,
>
> How can I use SOAP within Ofbiz?
>
> Is it possible to have complex OUT params like String[] or int[] or
> MyOwnClass[] ?
>
> [it only worked for a basic String as IN/OUT]
>
> Additionally I would need to have more methods deployed within the same
> web service. Is this possible?
>
> Thanks in advanced,
>
> Best regards,
> Florin Popa
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Ofbiz SOAP

Florin Popa
Thanks a lot for the reply.

The first link could help on complex type but I haven't found any clue
regarding arrays. Could someone send me such details?

A second issue I already asked for, it is also important: would it be
possible to deploy a service having more than one single method inside?

Many thanks,
 Florin

> If you want to use complex types you will need to use Axis.
>
> This may help
> http://www.nabble.com/Using-SOAP-complex-types-with-OfBiz-tp9180865p9180865.html 
>
>
> at large
> http://www.nabble.com/forum/Search.jtp?query=soap+axis&local=y&forum=2740&daterange=0&startdate=&enddate= 
>
>
> Jacques
>
> From: "Florin Popa" <[hidden email]>
>> Hello all,
>>
>> How can I use SOAP within Ofbiz?
>>
>> Is it possible to have complex OUT params like String[] or int[] or
>> MyOwnClass[] ?
>>
>> [it only worked for a basic String as IN/OUT]
>>
>> Additionally I would need to have more methods deployed within the
>> same web service. Is this possible?
>>
>> Thanks in advanced,
>>
>> Best regards,
>> Florin Popa
>>
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: Ofbiz SOAP

Jacques Le Roux
Administrator
From: "Florin Popa" <[hidden email]>
> Thanks a lot for the reply.
>
> The first link could help on complex type but I haven't found any clue regarding arrays. Could someone send me such details?

Try "axis array" on google. You may be interested notably by
http://issues.apache.org/jira/browse/AXIS-2250?focusedCommentId=12363362#action_12363362

> A second issue I already asked for, it is also important: would it be possible to deploy a service having more than one single
> method inside?

I don't think it's possible, and I also wonder if this is a good idea. But I'm not sure of what you want to do. If you mean a method
in a service calling another method (serial call) I think it's ok, if you mean 2 entries actually it makes no sense to me.

Jacques

> Many thanks,
> Florin
>> If you want to use complex types you will need to use Axis.
>>
>> This may help http://www.nabble.com/Using-SOAP-complex-types-with-OfBiz-tp9180865p9180865.html
>>
>> at large
>> http://www.nabble.com/forum/Search.jtp?query=soap+axis&local=y&forum=2740&daterange=0&startdate=&enddate=
>>
>> Jacques
>>
>> From: "Florin Popa" <[hidden email]>
>>> Hello all,
>>>
>>> How can I use SOAP within Ofbiz?
>>>
>>> Is it possible to have complex OUT params like String[] or int[] or MyOwnClass[] ?
>>>
>>> [it only worked for a basic String as IN/OUT]
>>>
>>> Additionally I would need to have more methods deployed within the same web service. Is this possible?
>>>
>>> Thanks in advanced,
>>>
>>> Best regards,
>>> Florin Popa
>>>
>>>
>>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Ofbiz SOAP

Florin Popa
Hello,
> From: "Florin Popa" <[hidden email]>
>> Thanks a lot for the reply.
>>
>> The first link could help on complex type but I haven't found any
>> clue regarding arrays. Could someone send me such details?
>
> Try "axis array" on google. You may be interested notably by
> http://issues.apache.org/jira/browse/AXIS-2250?focusedCommentId=12363362#action_12363362 
>
Thanks, I wil try this way.
>
>> A second issue I already asked for, it is also important: would it be
>> possible to deploy a service having more than one single
>> method inside?
>
> I don't think it's possible, and I also wonder if this is a good idea.
> But I'm not sure of what you want to do. If you mean a method
> in a service calling another method (serial call) I think it's ok, if
> you mean 2 entries actually it makes no sense to me.
I am already used with standard SOAP based on Apache Axis. From business
logic point of view, as well as from deployment point of view, it would
be more comfortable to have more "entries" within the same published web
service. I am trying to use ofbiz (and it is not only trying - it should
work) for an e-commerce system which has lots of interactions with other
systems (including different programming languages c, C++ and dot net).

florin

>
> Jacques
>
>> Many thanks,
>> Florin
>>> If you want to use complex types you will need to use Axis.
>>>
>>> This may help
>>> http://www.nabble.com/Using-SOAP-complex-types-with-OfBiz-tp9180865p9180865.html 
>>>
>>>
>>> at large
>>> http://www.nabble.com/forum/Search.jtp?query=soap+axis&local=y&forum=2740&daterange=0&startdate=&enddate= 
>>>
>>>
>>> Jacques
>>>
>>> From: "Florin Popa" <[hidden email]>
>>>> Hello all,
>>>>
>>>> How can I use SOAP within Ofbiz?
>>>>
>>>> Is it possible to have complex OUT params like String[] or int[] or
>>>> MyOwnClass[] ?
>>>>
>>>> [it only worked for a basic String as IN/OUT]
>>>>
>>>> Additionally I would need to have more methods deployed within the
>>>> same web service. Is this possible?
>>>>
>>>> Thanks in advanced,
>>>>
>>>> Best regards,
>>>> Florin Popa
>>>>
>>>>
>>>
>>
>>
>
>