You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by Rapidlord <vl...@gmail.com> on 2007/11/02 11:58:54 UTC
Unicode and UTF-8 in Axis2/C client
I have server service implementation in Axis JAVA, for example:
SubmitText(java.lang.String data)
The submitted text "data" can be Unicode. (It must be unicode)
I created C++ client code useing WSDL2C, and i found that client function
is:
status = adb_submitText_set_data(submitText,env,data);
serRespone = axis2_stub_MyService_submitText(stub,env,submitText);
Where "data" is type axis2_char_t* (#define char axis2_char_t)
So input string for SubmitText on client side is ANSII one byte "char"
string.
Whats heppend to unicode support?
How can i submit UTF-8 BSTR string to SubmitText and dont lose any data.
Its very important to submit full unicode text, so conversion from BSTR ->
ANSII(char) is unacceptable.
Thank you.
Vlada
--
View this message in context: http://www.nabble.com/Unicode-and-UTF-8-in-Axis2-C-client-tf4736598.html#a13545244
Sent from the Axis - C++ - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org
Re: Unicode and UTF-8 in Axis2/C client
Posted by Rapidlord <vl...@gmail.com>.
I have problem with Axis C++ client implementation, not JAVA JEE, but tnx
anyway.
tryquestions wrote:
>
> http://question2answer.googlepages.com
>
> it is a site having many articles in Java JEE.
>
> I came across this site recently.
>
> Thanks.
>
>
--
View this message in context: http://www.nabble.com/Unicode-and-UTF-8-in-Axis2-C-client-tf4736598.html#a13546852
Sent from the Axis - C++ - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org
Re: Unicode and UTF-8 in Axis2/C client
Posted by tryquestions <tr...@yahoo.com>.
http://question2answer.googlepages.com
it is a site having many articles in Java JEE.
I came across this site recently.
Thanks.
Rapidlord wrote:
>
> I have server service implementation in Axis JAVA, for example:
> SubmitText(java.lang.String data)
> The submitted text "data" can be Unicode. (It must be unicode)
>
> I created C++ client code useing WSDL2C, and i found that client function
> is:
>
> status = adb_submitText_set_data(submitText,env,data);
> serRespone = axis2_stub_MyService_submitText(stub,env,submitText);
>
> Where "data" is type axis2_char_t* (#define char axis2_char_t)
>
> So input string for SubmitText on client side is ANSII one byte "char"
> string.
>
> Whats heppend to unicode support?
> How can i submit UTF-8 BSTR string to SubmitText and dont lose any data.
> Its very important to submit full unicode text, so conversion from BSTR ->
> ANSII(char) is unacceptable.
>
> Thank you.
> Vlada
>
--
View this message in context: http://www.nabble.com/Unicode-and-UTF-8-in-Axis2-C-client-tf4736598.html#a13545267
Sent from the Axis - C++ - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org