You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Paul Foxworthy (JIRA)" <ji...@apache.org> on 2013/03/11 13:01:17 UTC

[jira] [Commented] (OFBIZ-5143) Webservice

    [ https://issues.apache.org/jira/browse/OFBIZ-5143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13598754#comment-13598754 ] 

Paul Foxworthy commented on OFBIZ-5143:
---------------------------------------

Hi Priyanka,

OFBiz's architecture is not like that. It uses general loosely typed Maps, so a schema change in the database does not cause cascading changes through the code. Every service has rigorous input checking against its contract, so any errors in the code are quickly caught.

So OFBiz does not have a Product class, and therefore won't return one to you. You can built your own strongly typed object from the result if you want.

Cheers

Paul Foxworthy 
                
> Webservice
> ----------
>
>                 Key: OFBIZ-5143
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5143
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: ALL COMPONENTS
>    Affects Versions: Release Branch 11.04
>         Environment: Java,Axis2
>            Reporter: Priyanka Ravindran
>            Priority: Minor
>             Fix For: Release Branch 11.04
>
>
> Soap service response is generalised objects.like MapMap.If its corresponding objects like Product for service findProductById it will be good

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira