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 "Manohar (JIRA)" <ax...@ws.apache.org> on 2005/07/26 08:20:18 UTC
[jira] Created: (AXISCPP-764) Unknown exception thrown for XSD_anyURI type
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
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
[jira] Updated: (AXISCPP-764) Unknown exception thrown for XSD_anyURI type
Posted by "Samisa Abeysinghe (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXISCPP-764?page=all ]
Samisa Abeysinghe updated AXISCPP-764:
--------------------------------------
Component: XSD Types
Version: current (nightly)
> Unknown exception thrown for XSD_anyURI type
> --------------------------------------------
>
> Key: AXISCPP-764
> URL: http://issues.apache.org/jira/browse/AXISCPP-764
> Project: Axis-C++
> Type: Bug
> Components: XSD Types
> Versions: current (nightly)
> Reporter: Manohar
>
> 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
[jira] Assigned: (AXISCPP-764) Unknown exception thrown for XSD_anyURI type
Posted by "Chinthana Danapala (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXISCPP-764?page=all ]
Chinthana Danapala reassigned AXISCPP-764:
------------------------------------------
Assign To: Chinthana Danapala
> 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
[jira] Resolved: (AXISCPP-764) Unknown exception thrown for XSD_anyURI type
Posted by "Adrian Dick (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXISCPP-764?page=all ]
Adrian Dick resolved AXISCPP-764:
---------------------------------
Resolution: Cannot Reproduce
This appears to have been a problem with the server against which this client test was being run. As we've had confirmation this is working wih the Axis C++ server, I think we can mark this as not being a problem.
> Unknown exception thrown for XSD_anyURI type
> --------------------------------------------
>
> Key: AXISCPP-764
> URL: http://issues.apache.org/jira/browse/AXISCPP-764
> Project: Axis-C++
> Type: Bug
> Components: XSD Types
> Versions: current (nightly)
> Reporter: Manohar
>
> 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
[jira] Closed: (AXISCPP-764) Unknown exception thrown for
XSD_anyURI type
Posted by "Fred Preston (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXISCPP-764?page=all ]
Fred Preston closed AXISCPP-764:
--------------------------------
> Unknown exception thrown for XSD_anyURI type
> --------------------------------------------
>
> Key: AXISCPP-764
> URL: http://issues.apache.org/jira/browse/AXISCPP-764
> Project: Axis-C++
> Type: Bug
> Components: XSD Types
> Versions: current (nightly)
> Reporter: Manohar
>
> 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
[jira] Assigned: (AXISCPP-764) Unknown exception thrown for XSD_anyURI type
Posted by "Chinthana Danapala (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXISCPP-764?page=all ]
Chinthana Danapala reassigned AXISCPP-764:
------------------------------------------
Assign To: (was: Chinthana Danapala)
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.
So this problem cannot reproduce with axis C++ service but I'm keep this issue open because lot of guys using java services.
> 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
>
> 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
[jira] Commented: (AXISCPP-764) Unknown exception thrown for XSD_anyURI type
Posted by "Chinthana Danapala (JIRA)" <ax...@ws.apache.org>.
[ 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