Re: Guththila and UTF-8?

2009-04-30 Thread Uthaiyashankar
Hi David,

On Thu, Apr 30, 2009 at 11:28 PM, David Taylor (Lowell) wrote:

>  Supun,
>
>
>
> Thanks for the offer to help.  I have a fix working, now.  It handles UTF-8
> code for element and attribute values, but depends on the system locale for
> element and attribute names (it still uses isspace and isalpha).  It would
> probably be better to use iswspace and iswalpha, though I am not sure
> whether they are as portable to all systems AXIS2/C supports.  What do you
> think about that?
>
>
>
> In any case, what should be the next step for my changes?  Would you like
> me to email a patch or attach it to the JIRA bug?  Do you prefer just
> regular diff -u patches?
>

You have to attach the patch to JIRA bug. Regular diff -u patch is enough.
When attaching the patch, you have to give apache licence permission to the
patch.

Regards,
Shankar



>
>
> My changes also include new unit tests for the UTF-8 transcoder.  I
> integrated them with the other Guththila unit tests that were a bit crufty,
> so I got them working, too.  I’ll include that in the patch as well.
>
> Thanks,
>
> -David
>
>
>  --
>
> *From:* Supun Kamburugamuva [mailto:supu...@gmail.com]
> *Sent:* Monday, April 27, 2009 11:51 PM
> *To:* Apache AXIS C User List
> *Subject:* Re: Guththila and UTF-8?
>
>
>
> Great! I'll be more than happy to help you with this.
>
>
>
> Supun..
>
> On Mon, Apr 27, 2009 at 8:59 PM, David Taylor (Lowell) 
> wrote:
>
> Thank you very much for the quick update.  Maybe I’ll offer to take that
> task….  Let me think about it.
>
> Thanks,
>
> -David
>
>
>  --
>
> *From:* Samisa Abeysinghe [mailto:sam...@wso2.com]
> *Sent:* Monday, April 27, 2009 11:57 AM
> *To:* Apache AXIS C User List
> *Subject:* Re: Guththila and UTF-8?
>
>
>
> We have not looked into this for some time, because both folks who were
> involved with this part of the code went on to pursue their studies.
>
> It is time that we look for new volunteers to cover this.
>
>
>
> Samisa...
>
> On Mon, Apr 27, 2009 at 9:21 PM, David Taylor (Lowell) 
> wrote:
>
> It doesn’t appear that Guththila supports UTF-8 even though
> guththila_get_encoding is hardcoded to return “UTF-8”.  After googling for a
> bit, I am not clear on what the plans are for UTF-8 support.  Is it planned
> any time soon?  JIRA AXIS2C-1265 hasn’t been updated in a while.  I’d
> appreciate any info on this.
>
> Thanks,
>
> -David
>
>
>
> https://issues.apache.org/jira/browse/AXIS2C-1265
>
>
>
>
>
>
> --
> Software Engineer, WSO2 Inc
> http://wso2.org
> supunk.blogspot.com
>
>


-- 
S.Uthaiyashankar
Software Architect
WSO2 Inc.
http://wso2.com/ - "The Open Source SOA Company"


RE: Guththila and UTF-8?

2009-04-30 Thread David Taylor (Lowell)
Supun,

Thanks for the offer to help.  I have a fix working, now.  It handles UTF-8 
code for element and attribute values, but depends on the system locale for 
element and attribute names (it still uses isspace and isalpha).  It would 
probably be better to use iswspace and iswalpha, though I am not sure whether 
they are as portable to all systems AXIS2/C supports.  What do you think about 
that?

In any case, what should be the next step for my changes?  Would you like me to 
email a patch or attach it to the JIRA bug?  Do you prefer just regular diff -u 
patches?

My changes also include new unit tests for the UTF-8 transcoder.  I integrated 
them with the other Guththila unit tests that were a bit crufty, so I got them 
working, too.  I'll include that in the patch as well.
Thanks,
-David


From: Supun Kamburugamuva [mailto:supu...@gmail.com]
Sent: Monday, April 27, 2009 11:51 PM
To: Apache AXIS C User List
Subject: Re: Guththila and UTF-8?

Great! I'll be more than happy to help you with this.

Supun..
On Mon, Apr 27, 2009 at 8:59 PM, David Taylor (Lowell) 
mailto:dktay...@f5.com>> wrote:

Thank you very much for the quick update.  Maybe I'll offer to take that 
task  Let me think about it.

Thanks,

-David





From: Samisa Abeysinghe [mailto:sam...@wso2.com]
Sent: Monday, April 27, 2009 11:57 AM
To: Apache AXIS C User List
Subject: Re: Guththila and UTF-8?



We have not looked into this for some time, because both folks who were 
involved with this part of the code went on to pursue their studies.

It is time that we look for new volunteers to cover this.



Samisa...

On Mon, Apr 27, 2009 at 9:21 PM, David Taylor (Lowell) 
mailto:dktay...@f5.com>> wrote:

It doesn't appear that Guththila supports UTF-8 even though 
guththila_get_encoding is hardcoded to return "UTF-8".  After googling for a 
bit, I am not clear on what the plans are for UTF-8 support.  Is it planned any 
time soon?  JIRA AXIS2C-1265 hasn't been updated in a while.  I'd appreciate 
any info on this.

Thanks,

-David



https://issues.apache.org/jira/browse/AXIS2C-1265





--
Software Engineer, WSO2 Inc
http://wso2.org
supunk.blogspot.com



Re: AXIS2C - JIRA # 1259

2009-04-30 Thread Uthaiyashankar
Hi Andy,

I think [1] is your fix... It is in the latest release (1.6.0). Are you
getting the same error again? In that case, you can reopen the issue.

Regards,
Shankar

[1] http://svn.apache.org/viewvc?view=rev&revision=692995

On Thu, Apr 30, 2009 at 9:06 PM, Andy Karseras  wrote:

> Hi,
>
> I raised a JIRA in September of last year for a bug in 1.4.0 but can't seem
> to locate the fix in the trunk.
>
> Could anyone point me in the location of the fix and maybe also confirm
> whether the fix made it into subsequent releases ?
>
> Many thanks.
>
>
> Andy
>



-- 
S.Uthaiyashankar
Software Architect
WSO2 Inc.
http://wso2.com/ - "The Open Source SOA Company"


AXIS2C - JIRA # 1259

2009-04-30 Thread Andy Karseras
Hi,

I raised a JIRA in September of last year for a bug in 1.4.0 but can't seem
to locate the fix in the trunk.

Could anyone point me in the location of the fix and maybe also confirm
whether the fix made it into subsequent releases ?

Many thanks.


Andy


Re: REST, adb, axis2c1.4, GET problem

2009-04-30 Thread Kuba Tomiczek

Does anyone have experienced similar problems :) ?

Kuba Tomiczek wrote:

Hello,

I am working with axis2c 1.4 and using adb-generated code.
Everything works fine for both SOAP and REST POST method (when I send 
a POST request I just paste an xml request into it).

The problem appears when I try to use GET method in REST.
I enabled all the necessary configuration parameters in services.xml 
(RESTMethod and DefaultRESTMethod to GET, example echo service works 
fine (http://localhost:81/axis2/services/echo/echoString?text=dd) but 
when I access my service in the same way I get an exception somewhere 
in adb-generated code (deserialization failed, invalid XML).



Is it possible to use adb, REST and GET method together, if so what 
should the request look like, should I somehow send an xml in the url ?


Thanks a lot
Kuba