[jira] [Updated] (OFBIZ-5790) Json string parameters as a service input are not recognized by OFBiz ServiceEventHandler.

2014-10-24 Thread Adrian Crum (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-5790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Adrian Crum updated OFBIZ-5790:
---
Attachment: JSON.java.patch

I was thinking a JSON class was needed, and started working on it. See the 
attached patch.

I agree we need to provide a facade to make it easier to change JSON libraries.

 Json string parameters as a service input are not recognized by OFBiz 
 ServiceEventHandler.
 --

 Key: OFBIZ-5790
 URL: https://issues.apache.org/jira/browse/OFBIZ-5790
 Project: OFBiz
  Issue Type: Improvement
Affects Versions: Trunk
Reporter: Amardeep Singh Jhajj
Priority: Minor
 Attachments: CommonEvents.java.patch, JSON.java.patch, 
 OFBIZ-5790.patch, jackson-annotations-2.4.0.jar, jackson-core-2.4.2.jar, 
 jackson-databind-2.4.2.jar


 I was trying to pass the Json string as a input to a service, but is not 
 recognized by ServiceEventHandler.
 Example Json String- {faciltyId: WebStoreWarehouse}
 I worked on this issue and attached a patch here. Here I have used Jackson 
 Json library for parsing.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-5790) Json string parameters as a service input are not recognized by OFBiz ServiceEventHandler.

2014-10-22 Thread Adrian Crum (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-5790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Adrian Crum updated OFBIZ-5790:
---
Attachment: CommonEvents.java.patch

Jacopo,

The attached patch shows how to use the conversion framework. The patch is for 
illustration only - it has not been tested.

 Json string parameters as a service input are not recognized by OFBiz 
 ServiceEventHandler.
 --

 Key: OFBIZ-5790
 URL: https://issues.apache.org/jira/browse/OFBIZ-5790
 Project: OFBiz
  Issue Type: Improvement
Affects Versions: Trunk
Reporter: Amardeep Singh Jhajj
Priority: Minor
 Attachments: CommonEvents.java.patch, OFBIZ-5790.patch, 
 jackson-annotations-2.4.0.jar, jackson-core-2.4.2.jar, 
 jackson-databind-2.4.2.jar


 I was trying to pass the Json string as a input to a service, but is not 
 recognized by ServiceEventHandler.
 Example Json String- {faciltyId: WebStoreWarehouse}
 I worked on this issue and attached a patch here. Here I have used Jackson 
 Json library for parsing.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-5790) Json string parameters as a service input are not recognized by OFBiz ServiceEventHandler.

2014-10-22 Thread Adrian Crum (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-5790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Adrian Crum updated OFBIZ-5790:
---
Attachment: (was: CommonEvents.java.patch)

 Json string parameters as a service input are not recognized by OFBiz 
 ServiceEventHandler.
 --

 Key: OFBIZ-5790
 URL: https://issues.apache.org/jira/browse/OFBIZ-5790
 Project: OFBiz
  Issue Type: Improvement
Affects Versions: Trunk
Reporter: Amardeep Singh Jhajj
Priority: Minor
 Attachments: CommonEvents.java.patch, OFBIZ-5790.patch, 
 jackson-annotations-2.4.0.jar, jackson-core-2.4.2.jar, 
 jackson-databind-2.4.2.jar


 I was trying to pass the Json string as a input to a service, but is not 
 recognized by ServiceEventHandler.
 Example Json String- {faciltyId: WebStoreWarehouse}
 I worked on this issue and attached a patch here. Here I have used Jackson 
 Json library for parsing.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-5790) Json string parameters as a service input are not recognized by OFBiz ServiceEventHandler.

2014-10-22 Thread Adrian Crum (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-5790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Adrian Crum updated OFBIZ-5790:
---
Attachment: CommonEvents.java.patch

 Json string parameters as a service input are not recognized by OFBiz 
 ServiceEventHandler.
 --

 Key: OFBIZ-5790
 URL: https://issues.apache.org/jira/browse/OFBIZ-5790
 Project: OFBiz
  Issue Type: Improvement
Affects Versions: Trunk
Reporter: Amardeep Singh Jhajj
Priority: Minor
 Attachments: CommonEvents.java.patch, OFBIZ-5790.patch, 
 jackson-annotations-2.4.0.jar, jackson-core-2.4.2.jar, 
 jackson-databind-2.4.2.jar


 I was trying to pass the Json string as a input to a service, but is not 
 recognized by ServiceEventHandler.
 Example Json String- {faciltyId: WebStoreWarehouse}
 I worked on this issue and attached a patch here. Here I have used Jackson 
 Json library for parsing.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-5790) Json string parameters as a service input are not recognized by OFBiz ServiceEventHandler.

2014-09-30 Thread Amardeep Singh Jhajj (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-5790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Amardeep Singh Jhajj updated OFBIZ-5790:

Attachment: jackson-databind-2.4.2.jar
jackson-core-2.4.2.jar
jackson-annotations-2.4.0.jar
OFBIZ-5790.patch

 Json string parameters as a service input are not recognized by OFBiz 
 ServiceEventHandler.
 --

 Key: OFBIZ-5790
 URL: https://issues.apache.org/jira/browse/OFBIZ-5790
 Project: OFBiz
  Issue Type: Bug
Affects Versions: Release Branch 13.07, Trunk
Reporter: Amardeep Singh Jhajj
 Attachments: OFBIZ-5790.patch, jackson-annotations-2.4.0.jar, 
 jackson-core-2.4.2.jar, jackson-databind-2.4.2.jar


 I was trying to pass the Json string as a input to a service, but is not 
 recognized by ServiceEventHandler.
 Example Json String- {faciltyId: WebStoreWarehouse}
 I worked on this issue and attached a patch here. Here I have used Jackson 
 Json library for parsing.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-5790) Json string parameters as a service input are not recognized by OFBiz ServiceEventHandler.

2014-09-30 Thread Adrian Crum (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-5790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Adrian Crum updated OFBIZ-5790:
---
 Priority: Minor  (was: Major)
Affects Version/s: (was: Release Branch 13.07)
   Issue Type: Improvement  (was: Bug)

 Json string parameters as a service input are not recognized by OFBiz 
 ServiceEventHandler.
 --

 Key: OFBIZ-5790
 URL: https://issues.apache.org/jira/browse/OFBIZ-5790
 Project: OFBiz
  Issue Type: Improvement
Affects Versions: Trunk
Reporter: Amardeep Singh Jhajj
Priority: Minor
 Attachments: OFBIZ-5790.patch, jackson-annotations-2.4.0.jar, 
 jackson-core-2.4.2.jar, jackson-databind-2.4.2.jar


 I was trying to pass the Json string as a input to a service, but is not 
 recognized by ServiceEventHandler.
 Example Json String- {faciltyId: WebStoreWarehouse}
 I worked on this issue and attached a patch here. Here I have used Jackson 
 Json library for parsing.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)