axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manohar K Chintala <>
Subject RE: [jira] Commented: (AXISCPP-764) Unknown exception thrown for XSD_anyURItype
Date Tue, 02 Aug 2005 05:10:38 GMT

Hi Chinthana,

I agree with you.


             "Chinthana C.                                                 
             <CDinapala@virtus                                          To 
   >                    "Apache AXIS C Developers List"     
             08/02/2005 09:57                                           cc 
                                       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.


-----Original Message-----
From: Manohar K Chintala []
Sent: Tuesday, August 02, 2005 10:22 AM
To: Chinthana Danapala (JIRA)
Subject: Re: [jira] Commented: (AXISCPP-764) Unknown exception thrown for

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 ?


             Danapala (JIRA)"
             <axis-c-dev@ws.ap                                          To
   >                 Manohar K Chintala/India/IBM@IBMIN
             08/01/2005 03:25
             PM                                                    Subject
                                       [jira] Commented: (AXISCPP-764)
                                       Unknown exception thrown for
                                       XSD_anyURI type


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

> Unknown exception thrown for XSD_anyURI type
> --------------------------------------------
>          Key: AXISCPP-764
>          URL:
>      Project: Axis-C++
>         Type: Bug
>     Reporter: Manohar
>     Assignee: Chinthana Danapala

> When input for XSD_anyURI is given without protocol prefix in it (like 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
>            char simpleanyURI[25] = "";
>         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:
For more information on JIRA, see:

View raw message