Ofbiz - SOAP services with Pentaho

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

Ofbiz - SOAP services with Pentaho

twosolution
Hi guys

i m using apache-ofbiz-11.04.01
i using Pentaho kettle community edition, to calls SOAP service of "createProduct"
However, the IN parameters valued are not passed to the Request Message.
Hence, the product are not created

Does anyone had any success in using ofbiz SOAP services ?

Thanks


Reply | Threaded
Open this post in threaded view
|

Re: Ofbiz - SOAP services with Pentaho

Jacques Le Roux
Administrator
Sure, in my current project there are RMI, REST (only called services) and SOAP services (used from both side, thanks to the export option)

Jacques

From: "twosolution" <[hidden email]>

> Hi guys
>
> i m using apache-ofbiz-11.04.01
> i using Pentaho kettle community edition, to calls SOAP service of
> "createProduct"
> However, the IN parameters valued are not passed to the Request Message.
> Hence, the product are not created
>
> Does anyone had any success in using ofbiz SOAP services ?
>
> Thanks
>
>
>
>
>
>
> --
> View this message in context: http://ofbiz.135035.n4.nabble.com/Ofbiz-SOAP-services-with-Pentaho-tp4639735.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
Reply | Threaded
Open this post in threaded view
|

Re: Ofbiz - SOAP services with Pentaho

twosolution
i tried had use the SOAP 'createProduct' services.
the product are created under the default DB

my ofbiz are setup with multitenant, how is it to tells the SOAP services operation to applied to which tenant ?

The WDSL generated doesnt have any IN parameters to tells the tenant ID
How to cater SOAP with multi tenancy ?

Thanks
Reply | Threaded
Open this post in threaded view
|

Re: Ofbiz - SOAP services with Pentaho

hans_bakker
HI,

assign a domainname to the specifc tenant and use that domainname in the
request.

Regards,
Hans

On 03/08/2013 01:05 PM, twosolution wrote:

> i tried had use the SOAP 'createProduct' services.
> the product are created under the default DB
>
> my ofbiz are setup with multitenant, how is it to tells the SOAP services
> operation to applied to which tenant ?
>
> The WDSL generated doesnt have any IN parameters to tells the tenant ID
> How to cater SOAP with multi tenancy ?
>
> Thanks
>
>
>
> --
> View this message in context: http://ofbiz.135035.n4.nabble.com/Ofbiz-SOAP-services-with-Pentaho-tp4639735p4639741.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.

Reply | Threaded
Open this post in threaded view
|

Re: Ofbiz - SOAP services with Pentaho

twosolution
Hi,

i had change the
1. WDSL to add a new IN parameters with the name "delegator"
2. add this new param in services.xml
3. add this new param in ProductServices.xml

<field field="delegator" type="org.ofbiz.entity.Delegator"/>

and i passed these value to the IN param.

Ofbiz still throws out "Unknown parameter found: [createProduct.delegator]

Am i been configuring wrong

Regards
Reply | Threaded
Open this post in threaded view
|

Re: Ofbiz - SOAP services with Pentaho

twosolution
Hi,

I found this in the forum
http://ofbiz.135035.n4.nabble.com/How-to-set-delegator-based-on-tenantId-passed-via-web-service-td3673046.html

Does anyone had any success implementing this ?


Thanks.
Reply | Threaded
Open this post in threaded view
|

Re: Ofbiz - SOAP services with Pentaho

Mike Z
Hans said: "assign a domainname to the specifc tenant and use that
domainname in the request."

On Thu, Mar 7, 2013 at 10:56 PM, twosolution <[hidden email]>wrote:

> Hi,
>
> I found this in the forum
>
> http://ofbiz.135035.n4.nabble.com/How-to-set-delegator-based-on-tenantId-passed-via-web-service-td3673046.html
>
> Does anyone had any success implementing this ?
>
>
> Thanks.
>
>
>
> --
> View this message in context:
> http://ofbiz.135035.n4.nabble.com/Ofbiz-SOAP-services-with-Pentaho-tp4639735p4639746.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
Reply | Threaded
Open this post in threaded view
|

Re: Ofbiz - SOAP services with Pentaho

Jacques Le Roux
Administrator
In reply to this post by twosolution
From the thread arini.rusda succeeded following Raj's advice
Maybe, if it's possible to be committed, someone could contribute it, to avoid repeating it every month ;)

Jacques

From: "twosolution" <[hidden email]>

> Hi,
>
> I found this in the forum
> http://ofbiz.135035.n4.nabble.com/How-to-set-delegator-based-on-tenantId-passed-via-web-service-td3673046.html
>
> Does anyone had any success implementing this ?
>
>
> Thanks.
>
>
>
> --
> View this message in context: http://ofbiz.135035.n4.nabble.com/Ofbiz-SOAP-services-with-Pentaho-tp4639735p4639746.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.