Spring integration for Axis2

2013-04-15 Thread Gihan Madushanka
Hi All,


I'm Gihan Madushanka  an undergraduate and planning to participate GSoC
2013 program. I'm planning to develop a new Spring integration project for
Axis2 based on two 3rd party projects called  WSO2 WSF-Spring and Axis2M.
In present both the above projects seem not active also I noticed that
there were few discussions happened on Axis2 developer mailing list time to
time but didn't make continuous progress.  I have studied  Axis2M code base
up to some extend and managed to run samples mentioned here
http://axis2m.sourceforge.net/spring.html further I'm planning to start my
initial tasks around this code base. I found following
http://wso2.org/projects/wsf/spring page and
http://wso2.org/library/3208tutorial  about WSO2 WSF-Spring but
couldn't find neither code base or
downloads.


For the moment I found following points as objectives of this projects.


1.) Use Spring application context file to configure Axis2 framework
without using axis2.xml file.

2.) Use Spring application context file to add Axis2 web services and Axis2
modules.

3.) Use Spring application context file to access Axis2 web service from
client side.


I  appreciate if you can help me to find more objectives and to identify
scope and priority of  above objectives. Further please let me know the
procedure which  I should follow before  submitting my proposal to GSoC
program.



Regards,


Gihan


Re: MQTT transport for Axis2

2013-04-15 Thread Sagara Gunathunga
On Mon, Apr 15, 2013 at 9:58 AM, Pradeep Fernando wrote:

> Hi Devs,
>
> MQTT is an application layer broker based pub/sub protocol built on top of
> TCP/IP. It is very lightweight and hence ideal for usage in
> network/memory/computing power constrained environments. If I quote the
> MQTT spec, the protocol features,
>
>1. Pub/Sub message pattern
>2. Small transport overhead, fixed length header being only 2 bytes
>3. Supports three QOS for message delivery, at-least once, exactly
>once and at-most once.
>
> The ability to operate under constrained environment make this protocol an
> ideal candidate for embedded device communication/pervasive computing.
>
> I managed to implement a working axis2 transport using MQTT java client
> library provided by Eclipse Paho project.  The code can be found at [1]. I
> have also written a blog post to get the code up and running [2]
>
> I would like to contribute/Improve the new transport to Axis2/Synapse. How
> should I proceed.
> appreciate your feedback.
>

This can be a good addition to Axis2 transport module. I'm not quite sure
about EPL ( which used by the Eclipse Paho) is compatible with Apache if
there is no issue then you can contribute your codes to Axis2 project.
Please create a JIRA and attach your SVN patch against current trunk. One
thing I noticed is you have to provide more test cases for this transport
implementation.

Thanks !


>
> [1] https://github.com/pradeepfdo/mqtt-transport
> [2]
> http://pradeepfernando.blogspot.com/2013/04/mqtt-transport-for-axis2synapse.html
>
>
> thanks,
> --Pradeep
>



-- 
Sagara Gunathunga

Blog  - http://ssagara.blogspot.com
Web  - http://people.apache.org/~sagara/
LinkedIn - http://www.linkedin.com/in/ssagara


Re: Spring integration for Axis2

2013-04-15 Thread Sagara Gunathunga
On Mon, Apr 15, 2013 at 8:53 PM, Gihan Madushanka wrote:

> Hi All,
>
>
> I'm Gihan Madushanka  an undergraduate and planning to participate GSoC
> 2013 program. I'm planning to develop a new Spring integration project for
> Axis2 based on two 3rd party projects called  WSO2 WSF-Spring and Axis2M.
> In present both the above projects seem not active also I noticed that
> there were few discussions happened on Axis2 developer mailing list time to
> time but didn't make continuous progress.
>

  This idea still on my TO-Do list for a long time. I'm definitely happy to
see this project as a Axis2 module and probably I can be a mentor too.


>  I have studied  Axis2M code base up to some extend and managed to run
> samples mentioned here http://axis2m.sourceforge.net/spring.html further
> I'm planning to start my initial tasks around this code base. I found
> following http://wso2.org/projects/wsf/spring page and
> http://wso2.org/library/3208 tutorial  about WSO2 WSF-Spring but couldn't
> find neither code base or downloads.
>

 WSF Spring code base moved to  Github, you can find link for new code base
from here[1].

>
> For the moment I found following points as objectives of this projects.
>
>
> 1.) Use Spring application context file to configure Axis2 framework
> without using axis2.xml file.
>
> 2.) Use Spring application context file to add Axis2 web services and
> Axis2 modules.
>
> 3.) Use Spring application context file to access Axis2 web service from
> client side.
>

It's completely Ok to study both Axis2M, WSF Spring projects and get start
your effort around those code bases but I would encourage you to take a
look on this code base on Axis2 scratch area. This new code base was
developed by merging best ideas of both of above projects plus some new
ideas such as component scanning for JSR 181 beans, personally I believe
scratch project is much cleaner and more close to Spring practices so
better to use this code as you initial code base.

Please refer following thread[3] if you haven't find it yet, also following
wiki  page [4] may helpful. BTW can you create a JIRA issue here[5]  so
that I can add more content there ?


[1] - https://github.com/wso2/wsf/tree/master/spring
[2] -
https://svn.apache.org/repos/asf/axis/axis2/java/core/scratch/java/veithen/spring/axis2-spring-core/
[3] - http://markmail.org/message/bghry2tpxuinpu25
[4] - http://wiki.apache.org/axis/Axis2Spring
[5] - https://issues.apache.org/jira/browse/AXIS2

Thanks !

>
> I  appreciate if you can help me to find more objectives and to identify
> scope and priority of  above objectives. Further please let me know the
> procedure which  I should follow before  submitting my proposal to GSoC
> program.
>
>
>
> Regards,
>
>
> Gihan
>
>


-- 
Sagara Gunathunga

Blog  - http://ssagara.blogspot.com
Web  - http://people.apache.org/~sagara/
LinkedIn - http://www.linkedin.com/in/ssagara


[jira] [Created] (AXIS2-5510) Spring integration for Axis2

2013-04-15 Thread Gihan Madushanka (JIRA)
Gihan Madushanka created AXIS2-5510:
---

 Summary: Spring integration for Axis2
 Key: AXIS2-5510
 URL: https://issues.apache.org/jira/browse/AXIS2-5510
 Project: Axis2
  Issue Type: New Feature
Reporter: Gihan Madushanka


In present two 3rd party projects targeted to provide Axis2 spring integration 
are not active anymore. Also I noticed that there were few discussions happened 
on Axis2 developer mailing list time to time but didn't make continuous 
progress. For the moment I found following points as objectives of this 
projects.

1.) Use Spring application context file to configure Axis2 framework without 
using axis2.xml file.
2.) Use Spring application context file to add Axis2 web services and Axis2 
modules.
3.) Use Spring application context file to access Axis2 web service from client 
side.

--
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-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org



Re: Spring integration for Axis2

2013-04-15 Thread Gihan Madushanka
*

HI Sagara,

First of all thanks a lot for your quick response, details you provided are
really valuable to me. I will study and try to test the new code base you
provided in your mail.  As you informed I have created a jira here
https://issues.apache.org/jira/browse/AXIS2-5510 please kind enough to
check it and correct any mistake. *

Regards,


Gihan

On Mon, Apr 15, 2013 at 9:57 PM, Sagara Gunathunga <
sagara.gunathu...@gmail.com> wrote:

>
>
> On Mon, Apr 15, 2013 at 8:53 PM, Gihan Madushanka wrote:
>
>> Hi All,
>>
>>
>> I'm Gihan Madushanka  an undergraduate and planning to participate GSoC
>> 2013 program. I'm planning to develop a new Spring integration project for
>> Axis2 based on two 3rd party projects called  WSO2 WSF-Spring and Axis2M.
>> In present both the above projects seem not active also I noticed that
>> there were few discussions happened on Axis2 developer mailing list time to
>> time but didn't make continuous progress.
>>
>
>   This idea still on my TO-Do list for a long time. I'm definitely happy
> to see this project as a Axis2 module and probably I can be a mentor too.
>
>
>
>>  I have studied  Axis2M code base up to some extend and managed to run
>> samples mentioned here http://axis2m.sourceforge.net/spring.html further
>> I'm planning to start my initial tasks around this code base. I found
>> following http://wso2.org/projects/wsf/spring page and
>> http://wso2.org/library/3208 tutorial  about WSO2 WSF-Spring but
>> couldn't find neither code base or downloads.
>>
>
>  WSF Spring code base moved to  Github, you can find link for new code
> base from here[1].
>
>>
>> For the moment I found following points as objectives of this projects.
>>
>>
>> 1.) Use Spring application context file to configure Axis2 framework
>> without using axis2.xml file.
>>
>> 2.) Use Spring application context file to add Axis2 web services and
>> Axis2 modules.
>>
>> 3.) Use Spring application context file to access Axis2 web service from
>> client side.
>>
>
> It's completely Ok to study both Axis2M, WSF Spring projects and get start
> your effort around those code bases but I would encourage you to take a
> look on this code base on Axis2 scratch area. This new code base was
> developed by merging best ideas of both of above projects plus some new
> ideas such as component scanning for JSR 181 beans, personally I believe
> scratch project is much cleaner and more close to Spring practices so
> better to use this code as you initial code base.
>
> Please refer following thread[3] if you haven't find it yet, also
> following wiki  page [4] may helpful. BTW can you create a JIRA issue
> here[5]  so that I can add more content there ?
>
>
> [1] - https://github.com/wso2/wsf/tree/master/spring
> [2] -
> https://svn.apache.org/repos/asf/axis/axis2/java/core/scratch/java/veithen/spring/axis2-spring-core/
> [3] - http://markmail.org/message/bghry2tpxuinpu25
> [4] - http://wiki.apache.org/axis/Axis2Spring
> [5] - https://issues.apache.org/jira/browse/AXIS2
>
> Thanks !
>
>>
>> I  appreciate if you can help me to find more objectives and to identify
>> scope and priority of  above objectives. Further please let me know the
>> procedure which  I should follow before  submitting my proposal to GSoC
>> program.
>>
>>
>>
>> Regards,
>>
>>
>> Gihan
>>
>>
>
>
> --
> Sagara Gunathunga
>
> Blog  - http://ssagara.blogspot.com
> Web  - http://people.apache.org/~sagara/
> LinkedIn - http://www.linkedin.com/in/ssagara


Re: MQTT transport for Axis2

2013-04-15 Thread Pradeep Fernando
Hi Sagara,

Thanks for the feedback.
Will create a proper patch against the axis2 trunk and attach. Yes I have
to work on test cases. Will start working on that aspect as well.

thanks,
--Pradeep


On Mon, Apr 15, 2013 at 9:35 PM, Sagara Gunathunga <
sagara.gunathu...@gmail.com> wrote:

>
>
> On Mon, Apr 15, 2013 at 9:58 AM, Pradeep Fernando wrote:
>
>> Hi Devs,
>>
>> MQTT is an application layer broker based pub/sub protocol built on top
>> of TCP/IP. It is very lightweight and hence ideal for usage in
>> network/memory/computing power constrained environments. If I quote the
>> MQTT spec, the protocol features,
>>
>>1. Pub/Sub message pattern
>>2. Small transport overhead, fixed length header being only 2 bytes
>>3. Supports three QOS for message delivery, at-least once, exactly
>>once and at-most once.
>>
>> The ability to operate under constrained environment make this protocol
>> an ideal candidate for embedded device communication/pervasive computing.
>>
>> I managed to implement a working axis2 transport using MQTT java client
>> library provided by Eclipse Paho project.  The code can be found at [1]. I
>> have also written a blog post to get the code up and running [2]
>>
>> I would like to contribute/Improve the new transport to Axis2/Synapse.
>> How should I proceed.
>> appreciate your feedback.
>>
>
> This can be a good addition to Axis2 transport module. I'm not quite sure
> about EPL ( which used by the Eclipse Paho) is compatible with Apache if
> there is no issue then you can contribute your codes to Axis2 project.
> Please create a JIRA and attach your SVN patch against current trunk. One
> thing I noticed is you have to provide more test cases for this transport
> implementation.
>
> Thanks !
>
>
>>
>> [1] https://github.com/pradeepfdo/mqtt-transport
>> [2]
>> http://pradeepfernando.blogspot.com/2013/04/mqtt-transport-for-axis2synapse.html
>>
>>
>> thanks,
>> --Pradeep
>>
>
>
>
> --
> Sagara Gunathunga
>
> Blog  - http://ssagara.blogspot.com
> Web  - http://people.apache.org/~sagara/
> LinkedIn - http://www.linkedin.com/in/ssagara




-- 
Pradeep Fernando.
http://pradeepfernando.blogspot.com/


[jira] [Commented] (AXIS2-5489) Encoding GET parameters with '+' character in generated REST clients with WSDL2Java

2013-04-15 Thread Andreas Veithen (JIRA)

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

Andreas Veithen commented on AXIS2-5489:


@Kishanthan: Miguel is right. If you observation of what the code does is 
correct, then the problem is not on the server side, but the client side.

> Encoding GET parameters with '+' character in generated REST clients with 
> WSDL2Java
> ---
>
> Key: AXIS2-5489
> URL: https://issues.apache.org/jira/browse/AXIS2-5489
> Project: Axis2
>  Issue Type: Bug
>  Components: kernel, transports
>Affects Versions: 1.6.2
> Environment: Ubuntu
>Reporter: Miguel Ángel Francisco Fernández
>Priority: Blocker
>  Labels: +, GET, REST, encode,
> Fix For: 1.6.2
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> Using the wsdl2java tool to generate a Java client to access a REST web 
> service described with a WSDL 2.0, the generated client does not encode the 
> symbol '+' in GET parameters.
> For example, if I have an URL "/get_url", and I set the parameter "param" to 
> "x+x", the symbol "+" is not encoded, and therefore it is interpreted as a 
> space on the server ("x x"). If I try to send the parameter encoded, i.e., 
> "%2B", then "%252B" is received in the server.
> Therefore, it is not possible to send the '+' symbol in a GET parameter.
> I guess that it is caused by the definition of the field 
> LEGAL_CHARACTERS_IN_QUERY in the interface 
> org.apache.axis2.description.WSDL2Constants, which is set to 
> "-._~!$'()*+,;=:@/?"

--
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-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org



Re: Jenkins build is unstable: Rampart #1446

2013-04-15 Thread Andreas Veithen
I remember that at some point the test suite required unlimited
strength encryption and that somebody went over all the test cases to
change that. Maybe you could search in the archives to check what were
the reasons for that and if they are still applicable today. If they
still are, then you need to change the test cases.

Andreas

On Sun, Mar 31, 2013 at 5:53 PM, Ruchith Fernando
 wrote:
> Hi Andreas,
>
> Thanks for the fix. Apologies for not noticing this earlier.
> I suppose it we can add a note about this in the documentation.
>
> Thanks,
> Ruchith
>
> On Sat, Mar 30, 2013 at 5:14 PM, Andreas Veithen
>  wrote:
>> Since nobody else seems to care:
>>
>> These build failures were caused by recent tests added by Ruchith and
>> that require a JRE configured with unlimited strength encryption. To
>> avoid the problem, I changed the configuration of the Jenkins job to
>> use a JRE that satisfies this requirement. Not sure if that is what is
>> expected and if something in the documentation needs to be changed.
>>
>> Andreas
>>
>> On Wed, Mar 27, 2013 at 4:51 PM, Apache Jenkins Server
>>  wrote:
>>> See 
>>>
>>>
>>> -
>>> To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
>>> For additional commands, e-mail: java-dev-h...@axis.apache.org
>>>
>
>
>
> --
> http://ruchith.org

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



[jira] [Commented] (AXIS2-5497) Occasional End of Stream but boundary not found using MTOM

2013-04-15 Thread Andreas Veithen (JIRA)

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

Andreas Veithen commented on AXIS2-5497:


Can you please test that with 1.6.3-SNAPSHOT and (if the problem also occurs 
with that version) attach the debug logs?

1.6.3-SNAPSHOT can be downloaded from here:

https://builds.apache.org/job/axis2-1.6/lastBuild/org.apache.axis2$distribution/

> Occasional End of Stream but boundary not found using MTOM
> --
>
> Key: AXIS2-5497
> URL: https://issues.apache.org/jira/browse/AXIS2-5497
> Project: Axis2
>  Issue Type: Bug
>Affects Versions: 1.6.1, 1.6.2
> Environment: Client running on Windows XP JRE 1.6.0_32-b05
>Reporter: Stefan Traud
>Priority: Minor
>  Labels: mtom
> Attachments: axis2_failed.log, client_exception.log, 
> MTOMSampleClient.jar, MTOMStressClient.java
>
>
> Using MTOMSample service (sample/mtom/service) to upload big amount (>1000) 
> of files sequentially, it happens occasionally that client aborts with 
> exception caused by "java.net.SocketTimeoutException: Read timed out." The 
> axis2 debug log show "End of Stream but boundary not found".
> In the testing environment, the client timeout was set to 10s, the size of 
> the uploaded file is 75KB. It is also noteable that the End of Stream log on 
> the service is shown only after > 1 minute after end of header initialisation.
> The issue was reproducable on Windows XP/JRE 1.6
> The issue could not be reproduced 
> - when the client was executed on CentOS5 JRE 1.6/1.7 or Windows Vista JRE 1.6
> - when TCPMon was used to monitor soap packages (probably because this 
> reduces throughput drastically)

--
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-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org



Re: org.apache.axis2.AxisFault: com.ctc.wstx.exc.WstxUnexpectedCharException

2013-04-15 Thread Raghu Veer
Hello,



I get the below exception when I try to process the response received from an 
axis2 web service. Web service client and server stubs were generated using 
Axis 2 version 1.6.2 wsdl2java. The server side code works fine if run on 
Tomcat 6 but has this issue on WebLogic 11.  


org.apache.axis2.AxisFault: com.ctc.wstx.exc.WstxUnexpectedCharException: 
Unexpected character ':' (code 58) excepted space, or '>' or "/>"
at javax.xml.stream.SerializableLocation@89d089d

Please advice.