You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Shameera Rathnayaka (JIRA)" <ji...@apache.org> on 2012/09/09 08:09:07 UTC

[jira] [Created] (AXIS2-5417) Sample which demostarte how to use XML Stream API base approach with ADB generated skeleton

Shameera Rathnayaka created AXIS2-5417:
------------------------------------------

             Summary: Sample which demostarte how to use XML Stream API base approach with ADB generated skeleton
                 Key: AXIS2-5417
                 URL: https://issues.apache.org/jira/browse/AXIS2-5417
             Project: Axis2
          Issue Type: Task
          Components: json
    Affects Versions: 1.7.0
            Reporter: Shameera Rathnayaka
            Assignee: Shameera Rathnayaka
             Fix For: 1.7.0


With new JSON support improvement, Axis2 users can use pure JSON requests to call ADB generated services. Here it uses XML Stream API base approach which was introduced with this new improvement. So it would be good to add a sample which demonstrate this procedure. 

--
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

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Commented] (AXIS2-5417) Integration test for JSON XML Stream API base approach with ADB skeleton

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-5417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13498040#comment-13498040 ] 

Hudson commented on AXIS2-5417:
-------------------------------

Integrated in Axis2 #1938 (See [https://builds.apache.org/job/Axis2/1938/])
    AXIS2-5417: Moved the integration tests to the axis2-json module. That makes it easier to determine the test coverage and to analyze the code under test. Also fixed an issue with the original patch which was that it wrote generated code into the source directories (instead of the "target" directory), which is a very bad practice. (Revision 1409766)

     Result = SUCCESS
veithen : 
Files : 
* /axis/axis2/java/core/trunk/modules/integration/pom.xml
* /axis/axis2/java/core/trunk/modules/integration/test-resources/json
* /axis/axis2/java/core/trunk/modules/integration/test/org/apache/axis2/json
* /axis/axis2/java/core/trunk/modules/json/pom.xml
* /axis/axis2/java/core/trunk/modules/json/test-conf
* /axis/axis2/java/core/trunk/modules/json/test-wsdl
* /axis/axis2/java/core/trunk/modules/json/test-wsdl/LibraryService.wsdl
* /axis/axis2/java/core/trunk/modules/json/test/org/apache/axis2/json/adb
* /axis/axis2/java/core/trunk/modules/json/test/org/apache/axis2/json/gson/JSONXMLStreamAPITest.java

                
> Integration test for JSON XML Stream API base approach with ADB skeleton
> ------------------------------------------------------------------------
>
>                 Key: AXIS2-5417
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5417
>             Project: Axis2
>          Issue Type: Task
>          Components: json
>    Affects Versions: 1.7.0
>            Reporter: Shameera Rathnayaka
>            Assignee: Shameera Rathnayaka
>              Labels: json, sample
>             Fix For: 1.7.0
>
>         Attachments: Jsontest.patch, missingSchema.patch, XML_Stream_API_base_sample.patch
>
>
> With new JSON support improvement, Axis2 users can use pure JSON requests to call ADB generated services. Here it uses XML Stream API base approach which was introduced with this new improvement. So it would be good to add a sample which demonstrate this procedure. 

--
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

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Commented] (AXIS2-5417) Sample which demostarte how to use XML Stream API base approach with ADB generated skeleton

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-5417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13451621#comment-13451621 ] 

Andreas Veithen commented on AXIS2-5417:
----------------------------------------

As far as I can see, the patch would add lots of generated (ADB) code to SVN. Please don't do this. It's a pain in the ass if you need to maintain ADB and have generated ADB code in SVN.
                
> Sample which demostarte how to use XML Stream API base approach with ADB generated skeleton
> -------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-5417
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5417
>             Project: Axis2
>          Issue Type: Task
>          Components: json
>    Affects Versions: 1.7.0
>            Reporter: Shameera Rathnayaka
>            Assignee: Shameera Rathnayaka
>              Labels: json, sample
>             Fix For: 1.7.0
>
>         Attachments: XML_Stream_API_base_sample.patch
>
>
> With new JSON support improvement, Axis2 users can use pure JSON requests to call ADB generated services. Here it uses XML Stream API base approach which was introduced with this new improvement. So it would be good to add a sample which demonstrate this procedure. 

--
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

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Updated] (AXIS2-5417) Integration test for JSON XML Stream API base approach with ADB skeleton

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-5417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Veithen updated AXIS2-5417:
-----------------------------------

    Attachment: cobertura.png

The code coverage statistics already look a lot better now, except for the org.apache.axis2.json.gson.rpc package. Of course that package is not related to the XML stream API based approach, but I think it is critical to have test coverage for these classes as well.
                
> Integration test for JSON XML Stream API base approach with ADB skeleton
> ------------------------------------------------------------------------
>
>                 Key: AXIS2-5417
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5417
>             Project: Axis2
>          Issue Type: Task
>          Components: json
>    Affects Versions: 1.7.0
>            Reporter: Shameera Rathnayaka
>            Assignee: Shameera Rathnayaka
>              Labels: json, sample
>             Fix For: 1.7.0
>
>         Attachments: cobertura.png, Jsontest.patch, missingSchema.patch, XML_Stream_API_base_sample.patch
>
>
> With new JSON support improvement, Axis2 users can use pure JSON requests to call ADB generated services. Here it uses XML Stream API base approach which was introduced with this new improvement. So it would be good to add a sample which demonstrate this procedure. 

--
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

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Updated] (AXIS2-5417) Integration test for JSON XML Stream API base approach with ADB skeleton

Posted by "Shameera Rathnayaka (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-5417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shameera Rathnayaka updated AXIS2-5417:
---------------------------------------

    Summary: Integration test for JSON XML Stream API base approach with ADB skeleton  (was: Sample which demostarte how to use XML Stream API base approach with ADB generated skeleton)
    
> Integration test for JSON XML Stream API base approach with ADB skeleton
> ------------------------------------------------------------------------
>
>                 Key: AXIS2-5417
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5417
>             Project: Axis2
>          Issue Type: Task
>          Components: json
>    Affects Versions: 1.7.0
>            Reporter: Shameera Rathnayaka
>            Assignee: Shameera Rathnayaka
>              Labels: json, sample
>             Fix For: 1.7.0
>
>         Attachments: XML_Stream_API_base_sample.patch
>
>
> With new JSON support improvement, Axis2 users can use pure JSON requests to call ADB generated services. Here it uses XML Stream API base approach which was introduced with this new improvement. So it would be good to add a sample which demonstrate this procedure. 

--
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

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Comment Edited] (AXIS2-5417) Integration test for JSON XML Stream API base approach with ADB skeleton

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-5417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13498066#comment-13498066 ] 

Andreas Veithen edited comment on AXIS2-5417 at 11/15/12 3:06 PM:
------------------------------------------------------------------

The code coverage statistics already look a lot better now, except for the org.apache.axis2.json.gson.rpc package (see the attached screenshot). Of course that package is not related to the XML stream API based approach, but I think it is critical to have test coverage for these classes as well.
                
      was (Author: veithen):
    The code coverage statistics already look a lot better now, except for the org.apache.axis2.json.gson.rpc package. Of course that package is not related to the XML stream API based approach, but I think it is critical to have test coverage for these classes as well.
                  
> Integration test for JSON XML Stream API base approach with ADB skeleton
> ------------------------------------------------------------------------
>
>                 Key: AXIS2-5417
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5417
>             Project: Axis2
>          Issue Type: Task
>          Components: json
>    Affects Versions: 1.7.0
>            Reporter: Shameera Rathnayaka
>            Assignee: Shameera Rathnayaka
>              Labels: json, sample
>             Fix For: 1.7.0
>
>         Attachments: cobertura.png, Jsontest.patch, missingSchema.patch, XML_Stream_API_base_sample.patch
>
>
> With new JSON support improvement, Axis2 users can use pure JSON requests to call ADB generated services. Here it uses XML Stream API base approach which was introduced with this new improvement. So it would be good to add a sample which demonstrate this procedure. 

--
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

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Commented] (AXIS2-5417) Integration test for JSON XML Stream API base approach with ADB skeleton

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-5417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13497937#comment-13497937 ] 

Hudson commented on AXIS2-5417:
-------------------------------

Integrated in Axis2 #1937 (See [https://builds.apache.org/job/Axis2/1937/])
    AXIS2-5417: Committed integration test for JSON XML Stream API base approach with ADB skeleton. (Revision 1409729)

     Result = ABORTED
veithen : 
Files : 
* /axis/axis2/java/core/trunk/modules/integration/pom.xml
* /axis/axis2/java/core/trunk/modules/integration/test-resources/json
* /axis/axis2/java/core/trunk/modules/integration/test-resources/json/conf
* /axis/axis2/java/core/trunk/modules/integration/test-resources/json/conf/axis2_json.xml
* /axis/axis2/java/core/trunk/modules/integration/test-resources/json/wsdl
* /axis/axis2/java/core/trunk/modules/integration/test-resources/json/wsdl/LibraryService.wsdl
* /axis/axis2/java/core/trunk/modules/integration/test/org/apache/axis2/json
* /axis/axis2/java/core/trunk/modules/integration/test/org/apache/axis2/json/JSONXMLStreamAPITest.java
* /axis/axis2/java/core/trunk/modules/integration/test/org/apache/axis2/json/adb
* /axis/axis2/java/core/trunk/modules/integration/test/org/apache/axis2/json/adb/LibraryServiceSkeleton.java
* /axis/axis2/java/core/trunk/modules/json/src/org/apache/axis2/json/gson/GsonXMLStreamReader.java
* /axis/axis2/java/core/trunk/modules/json/src/org/apache/axis2/json/gson/rpc/JsonRpcMessageReceiver.java
* /axis/axis2/java/core/trunk/modules/json/test-resources/custom_schema/testSchema_2.xsd
* /axis/axis2/java/core/trunk/modules/json/test/org/apache/axis2/json/gson/JSONMessageHandlerTest.java
* /axis/axis2/java/core/trunk/modules/json/test/org/apache/axis2/json/gson/factory
* /axis/axis2/java/core/trunk/modules/json/test/org/apache/axis2/json/gson/factory/XmlNodeGeneratorTest.java

                
> Integration test for JSON XML Stream API base approach with ADB skeleton
> ------------------------------------------------------------------------
>
>                 Key: AXIS2-5417
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5417
>             Project: Axis2
>          Issue Type: Task
>          Components: json
>    Affects Versions: 1.7.0
>            Reporter: Shameera Rathnayaka
>            Assignee: Shameera Rathnayaka
>              Labels: json, sample
>             Fix For: 1.7.0
>
>         Attachments: Jsontest.patch, missingSchema.patch, XML_Stream_API_base_sample.patch
>
>
> With new JSON support improvement, Axis2 users can use pure JSON requests to call ADB generated services. Here it uses XML Stream API base approach which was introduced with this new improvement. So it would be good to add a sample which demonstrate this procedure. 

--
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

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Updated] (AXIS2-5417) Integration test for JSON XML Stream API base approach with ADB skeleton

Posted by "Shameera Rathnayaka (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-5417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shameera Rathnayaka updated AXIS2-5417:
---------------------------------------

    Attachment: Jsontest.patch

Hi devs/ Andreas , 

Here i have attach patch with, an integration test for JSON XMLStreamAPI , and two isolation tests for XMLNodeGenerator and JSONMessageHandler . 

Please review and apply

Thanks, 
Shameera
                
> Integration test for JSON XML Stream API base approach with ADB skeleton
> ------------------------------------------------------------------------
>
>                 Key: AXIS2-5417
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5417
>             Project: Axis2
>          Issue Type: Task
>          Components: json
>    Affects Versions: 1.7.0
>            Reporter: Shameera Rathnayaka
>            Assignee: Shameera Rathnayaka
>              Labels: json, sample
>             Fix For: 1.7.0
>
>         Attachments: Jsontest.patch, XML_Stream_API_base_sample.patch
>
>
> With new JSON support improvement, Axis2 users can use pure JSON requests to call ADB generated services. Here it uses XML Stream API base approach which was introduced with this new improvement. So it would be good to add a sample which demonstrate this procedure. 

--
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

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Updated] (AXIS2-5417) Integration test for JSON XML Stream API base approach with ADB skeleton

Posted by "Shameera Rathnayaka (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-5417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shameera Rathnayaka updated AXIS2-5417:
---------------------------------------

    Attachment: missingSchema.patch

Hi devs, 

With above jsontest.patch you will get file not found exception in JSONMessageHandler test as mistakenly i haven't add a schema file to the patch. Here i am attaching that. Sorry for any inconvenience. 

Shameera.
                
> Integration test for JSON XML Stream API base approach with ADB skeleton
> ------------------------------------------------------------------------
>
>                 Key: AXIS2-5417
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5417
>             Project: Axis2
>          Issue Type: Task
>          Components: json
>    Affects Versions: 1.7.0
>            Reporter: Shameera Rathnayaka
>            Assignee: Shameera Rathnayaka
>              Labels: json, sample
>             Fix For: 1.7.0
>
>         Attachments: Jsontest.patch, missingSchema.patch, XML_Stream_API_base_sample.patch
>
>
> With new JSON support improvement, Axis2 users can use pure JSON requests to call ADB generated services. Here it uses XML Stream API base approach which was introduced with this new improvement. So it would be good to add a sample which demonstrate this procedure. 

--
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

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Updated] (AXIS2-5417) Sample which demostarte how to use XML Stream API base approach with ADB generated skeleton

Posted by "Shameera Rathnayaka (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-5417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shameera Rathnayaka updated AXIS2-5417:
---------------------------------------

    Attachment: XML_Stream_API_base_sample.patch

Hi devs,

I have attached a patch for this, Please review and apply.

Thanks,
Shameera.
                
> Sample which demostarte how to use XML Stream API base approach with ADB generated skeleton
> -------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-5417
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5417
>             Project: Axis2
>          Issue Type: Task
>          Components: json
>    Affects Versions: 1.7.0
>            Reporter: Shameera Rathnayaka
>            Assignee: Shameera Rathnayaka
>              Labels: json, sample
>             Fix For: 1.7.0
>
>         Attachments: XML_Stream_API_base_sample.patch
>
>
> With new JSON support improvement, Axis2 users can use pure JSON requests to call ADB generated services. Here it uses XML Stream API base approach which was introduced with this new improvement. So it would be good to add a sample which demonstrate this procedure. 

--
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

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org