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 "Chinthana C. Dinapala" <CD...@virtusa.com> on 2005/08/02 06:27:29 UTC
RE: [jira] Commented: (AXISCPP-764) Unknown exception thrown for XSD_anyURItype
Hi Manohar,
I'm testing against C++ service and this is working for me. Also I have
added the unit test also. It's also working fine.
Hence I feel our serializer and deserializer working fine in client side
as well as server side.
Thanks
Chinthana
-----Original Message-----
From: Manohar K Chintala [mailto:cmanohar@in.ibm.com]
Sent: Tuesday, August 02, 2005 10:22 AM
To: Chinthana Danapala (JIRA)
Subject: Re: [jira] Commented: (AXISCPP-764) Unknown exception thrown
for XSD_anyURItype
Hi Chinthana,
I've taken a look at XSD_anyURI2 and it covers my problem. I've tested
this against the java service again. The test fails with "No scheme
found
in URI". In this case, the server is not treating this as proper input
and
hence throws URI$MalformedURIException back to the client. Are you
testing
agianst java service or C++ service ?
Regards
Manohar
"Chinthana
Danapala (JIRA)"
<axis-c-dev@ws.ap
To
ache.org> Manohar K
Chintala/India/IBM@IBMIN
cc
08/01/2005 03:25
PM
Subject
[jira] Commented: (AXISCPP-764)
Unknown exception thrown for
XSD_anyURI type
[
http://issues.apache.org/jira/browse/AXISCPP-764?page=comments#action_12
317306
]
Chinthana Danapala commented on AXISCPP-764:
--------------------------------------------
I have added new XSD_anyURI2 test for cover this test case. For me this
is
working fine. There is a unit test also added.
Manohar can you check this is covering your problem and is it working
for
you?
> Unknown exception thrown for XSD_anyURI type
> --------------------------------------------
>
> Key: AXISCPP-764
> URL: http://issues.apache.org/jira/browse/AXISCPP-764
> Project: Axis-C++
> Type: Bug
> Reporter: Manohar
> Assignee: Chinthana Danapala
>
> When input for XSD_anyURI is given without protocol prefix in it (like
www.google.com without http ) an unknown exception is thrown. Though
the
specification says that protocol prefix is not mandatory, AXIS C++ is
not able to handle an URI without protocol prefix. Following code shows
the
problem.
> char simpleanyURI[25] = "www.google.com";
> xsd__anyURI input = new char[25];
> strcpy (input, simpleanyURI);
> xsd__anyURI result = ws->asNonNillableElement(input);
> if (result)
> {
> if (*result)
> {
> cout << "non-nillable element=" << result << endl;
> }
> else
> {
> cout << "non-nillable element=<empty>" << endl;
> }
> }
> else
> {
> cout << "non-nillable element=<nil>" << endl;
> }
> A testcase for this problem will be added soon.
> Regards
> Manohar
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
RE: [jira] Commented: (AXISCPP-764) Unknown exception thrown for XSD_anyURItype
Posted by Manohar K Chintala <cm...@in.ibm.com>.
Hi Chinthana,
I agree with you.
Regards
Manohar
"Chinthana C.
Dinapala"
<CDinapala@virtus To
a.com> "Apache AXIS C Developers List"
<ax...@ws.apache.org>
08/02/2005 09:57 cc
AM
Subject
RE: [jira] Commented: (AXISCPP-764)
Please respond to Unknown exception thrown for
"Apache AXIS C XSD_anyURItype
Developers List"
Hi Manohar,
I’m testing against C++ service and this is working for me. Also I have
added the unit test also. It’s also working fine.
Hence I feel our serializer and deserializer working fine in client side as
well as server side.
Thanks
Chinthana
-----Original Message-----
From: Manohar K Chintala [mailto:cmanohar@in.ibm.com]
Sent: Tuesday, August 02, 2005 10:22 AM
To: Chinthana Danapala (JIRA)
Subject: Re: [jira] Commented: (AXISCPP-764) Unknown exception thrown for
XSD_anyURItype
Hi Chinthana,
I've taken a look at XSD_anyURI2 and it covers my problem. I've tested
this against the java service again. The test fails with "No scheme found
in URI". In this case, the server is not treating this as proper input and
hence throws URI$MalformedURIException back to the client. Are you testing
agianst java service or C++ service ?
Regards
Manohar
"Chinthana
Danapala (JIRA)"
<axis-c-dev@ws.ap To
ache.org> Manohar K Chintala/India/IBM@IBMIN
cc
08/01/2005 03:25
PM Subject
[jira] Commented: (AXISCPP-764)
Unknown exception thrown for
XSD_anyURI type
[
http://issues.apache.org/jira/browse/AXISCPP-764?page=comments#action_12317306
]
Chinthana Danapala commented on AXISCPP-764:
--------------------------------------------
I have added new XSD_anyURI2 test for cover this test case. For me this is
working fine. There is a unit test also added.
Manohar can you check this is covering your problem and is it working for
you?
> Unknown exception thrown for XSD_anyURI type
> --------------------------------------------
>
> Key: AXISCPP-764
> URL: http://issues.apache.org/jira/browse/AXISCPP-764
> Project: Axis-C++
> Type: Bug
> Reporter: Manohar
> Assignee: Chinthana Danapala
>
> When input for XSD_anyURI is given without protocol prefix in it (like
www.google.com without http ) an unknown exception is thrown. Though the
specification says that protocol prefix is not mandatory, AXIS C++ is
not able to handle an URI without protocol prefix. Following code shows the
problem.
> char simpleanyURI[25] = "www.google.com";
> xsd__anyURI input = new char[25];
> strcpy (input, simpleanyURI);
> xsd__anyURI result = ws->asNonNillableElement(input);
> if (result)
> {
> if (*result)
> {
> cout << "non-nillable element=" << result << endl;
> }
> else
> {
> cout << "non-nillable element=<empty>" << endl;
> }
> }
> else
> {
> cout << "non-nillable element=<nil>" << endl;
> }
> A testcase for this problem will be added soon.
> Regards
> Manohar
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira