You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by na...@apache.org on 2006/05/03 07:10:58 UTC
svn commit: r399142 [2/2] - in /webservices/axis/trunk/c/src:
cbindings/IWrapperSoapDeSerializerC.cpp cbindings/client/CallC.cpp
wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal/ClientStubWriter.java
Modified: webservices/axis/trunk/c/src/cbindings/client/CallC.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/src/cbindings/client/CallC.cpp?rev=399142&r1=399141&r2=399142&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/cbindings/client/CallC.cpp (original)
+++ webservices/axis/trunk/c/src/cbindings/client/CallC.cpp Tue May 2 22:10:55 2006
@@ -432,6 +432,35 @@
}
}
+AXISC_STORAGE_CLASS_INFO
+AXISCHANDLE axiscCallCreateAttribute(AXISCHANDLE call,
+ const AxiscChar * pLocalname,
+ const AxiscChar * pPrefix,
+ const AxiscChar * pValue)
+{
+ AxisObjectContainer *h = (AxisObjectContainer *)call;
+ h->_exception.resetException();
+ Call *c = (Call*)h->_objHandle;
+
+ try
+ {
+ return (AXISCHANDLE)(c->createAttribute(pLocalname, pPrefix, pValue));
+ }
+ catch ( AxisException& e )
+ {
+ h->_exception.setExceptionFromException(e);
+ axiscAxisInvokeExceptionHandler(e.getExceptionCode(), e.what());
+ }
+ catch ( ... )
+ {
+ h->_exception.setExceptionCode(-1);
+ h->_exception.setMessage("Unrecognized exception thrown.");
+ axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
+ }
+
+ return (AXISCHANDLE)NULL;
+}
+
AXISC_STORAGE_CLASS_INFO
void axiscCallSetOperation(AXISCHANDLE call,
const char * pchOperation,
@@ -571,6 +600,13 @@
}
*/
+
+
+
+
+
+
+
AXISC_STORAGE_CLASS_INFO
xsdc__boolean * axiscCallGetElementAsBoolean(AXISCHANDLE call,
const AxiscChar * pName,
@@ -1163,10 +1199,12 @@
return (xsdc__duration *)NULL;
}
-AXISC_STORAGE_CLASS_INFO
-xsdc__int * axiscCallGetAttributeAsInt(AXISCHANDLE call,
- const AxiscChar * pName,
- const AxiscChar * pNamespace)
+
+
+AXISC_STORAGE_CLASS_INFO
+xsdc__gYearMonth * axiscCallGetElementAsGYearMonth(AXISCHANDLE call,
+ const AxiscChar * pName,
+ const AxiscChar * pNamespace)
{
AxisObjectContainer *h = (AxisObjectContainer *)call;
h->_exception.resetException();
@@ -1174,7 +1212,7 @@
try
{
- return c->getAttributeAsInt(pName,pNamespace);
+ return c->getElementAsGYearMonth(pName,pNamespace);
}
catch ( AxisException& e )
{
@@ -1188,12 +1226,13 @@
axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
}
- return (xsdc__int *)NULL;
+ return (xsdc__gYearMonth *)NULL;
}
-AXISC_STORAGE_CLASS_INFO
-xsdc__boolean * axiscCallGetAttributeAsBoolean(AXISCHANDLE call,
- const AxiscChar * pName, const AxiscChar * pNamespace)
+AXISC_STORAGE_CLASS_INFO
+xsdc__gYear * axiscCallGetElementAsGYear(AXISCHANDLE call,
+ const AxiscChar * pName,
+ const AxiscChar * pNamespace)
{
AxisObjectContainer *h = (AxisObjectContainer *)call;
h->_exception.resetException();
@@ -1201,7 +1240,7 @@
try
{
- return (xsdc__boolean* )(c->getAttributeAsBoolean(pName,pNamespace));
+ return c->getElementAsGYear(pName,pNamespace);
}
catch ( AxisException& e )
{
@@ -1215,13 +1254,13 @@
axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
}
- return (xsdc__boolean *)NULL;
+ return (xsdc__gYear *)NULL;
}
-AXISC_STORAGE_CLASS_INFO
-xsdc__unsignedInt * axiscCallGetAttributeAsUnsignedInt(AXISCHANDLE call,
- const AxiscChar * pName,
- const AxiscChar * pNamespace)
+AXISC_STORAGE_CLASS_INFO
+xsdc__gMonthDay * axiscCallGetElementAsGMonthDay(AXISCHANDLE call,
+ const AxiscChar * pName,
+ const AxiscChar * pNamespace)
{
AxisObjectContainer *h = (AxisObjectContainer *)call;
h->_exception.resetException();
@@ -1229,7 +1268,7 @@
try
{
- return c->getAttributeAsUnsignedInt(pName,pNamespace);
+ return c->getElementAsGMonthDay(pName,pNamespace);
}
catch ( AxisException& e )
{
@@ -1243,13 +1282,41 @@
axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
}
- return (xsdc__unsignedInt *)NULL;
+ return (xsdc__gMonthDay *)NULL;
}
-AXISC_STORAGE_CLASS_INFO
-xsdc__short * axiscCallGetAttributeAsShort(AXISCHANDLE call,
+AXISC_STORAGE_CLASS_INFO
+xsdc__gDay * axiscCallGetElementAsGDay(AXISCHANDLE call,
+ const AxiscChar * pName,
+ const AxiscChar * pNamespace)
+{
+ AxisObjectContainer *h = (AxisObjectContainer *)call;
+ h->_exception.resetException();
+ Call *c = (Call*)h->_objHandle;
+
+ try
+ {
+ return c->getElementAsGDay(pName,pNamespace);
+ }
+ catch ( AxisException& e )
+ {
+ h->_exception.setExceptionFromException(e);
+ axiscAxisInvokeExceptionHandler(e.getExceptionCode(), e.what());
+ }
+ catch ( ... )
+ {
+ h->_exception.setExceptionCode(-1);
+ h->_exception.setMessage("Unrecognized exception thrown.");
+ axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
+ }
+
+ return (xsdc__gDay *)NULL;
+}
+
+AXISC_STORAGE_CLASS_INFO
+xsdc__gMonth * axiscCallGetElementAsGMonth(AXISCHANDLE call,
const AxiscChar * pName,
- const AxiscChar * pNamespace)
+ const AxiscChar * pNamespace)
{
AxisObjectContainer *h = (AxisObjectContainer *)call;
h->_exception.resetException();
@@ -1257,7 +1324,7 @@
try
{
- return c->getAttributeAsShort(pName,pNamespace);
+ return c->getElementAsGMonth(pName,pNamespace);
}
catch ( AxisException& e )
{
@@ -1271,13 +1338,13 @@
axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
}
- return (xsdc__short *)NULL;
+ return (xsdc__gMonth *)NULL;
}
-AXISC_STORAGE_CLASS_INFO
-xsdc__unsignedShort * axiscCallGetAttributeAsUnsignedShort(AXISCHANDLE call,
- const AxiscChar * pName,
- const AxiscChar * pNamespace)
+AXISC_STORAGE_CLASS_INFO
+xsdc__nonPositiveInteger * axiscCallGetElementAsNonPositiveInteger(AXISCHANDLE call,
+ const AxiscChar * pName,
+ const AxiscChar * pNamespace)
{
AxisObjectContainer *h = (AxisObjectContainer *)call;
h->_exception.resetException();
@@ -1285,7 +1352,7 @@
try
{
- return c->getAttributeAsUnsignedShort(pName,pNamespace);
+ return c->getElementAsNonPositiveInteger(pName,pNamespace);
}
catch ( AxisException& e )
{
@@ -1299,13 +1366,13 @@
axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
}
- return (xsdc__unsignedShort *)NULL;
+ return (xsdc__nonPositiveInteger *)NULL;
}
-AXISC_STORAGE_CLASS_INFO
-xsdc__byte * axiscCallGetAttributeAsByte(AXISCHANDLE call,
- const AxiscChar * pName,
- const AxiscChar * pNamespace)
+AXISC_STORAGE_CLASS_INFO
+xsdc__negativeInteger * axiscCallGetElementAsNegativeInteger(AXISCHANDLE call,
+ const AxiscChar * pName,
+ const AxiscChar * pNamespace)
{
AxisObjectContainer *h = (AxisObjectContainer *)call;
h->_exception.resetException();
@@ -1313,7 +1380,7 @@
try
{
- return c->getAttributeAsByte(pName,pNamespace);
+ return c->getElementAsNegativeInteger(pName,pNamespace);
}
catch ( AxisException& e )
{
@@ -1327,13 +1394,13 @@
axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
}
- return (xsdc__byte *)NULL;
+ return (xsdc__negativeInteger *)NULL;
}
-AXISC_STORAGE_CLASS_INFO
-xsdc__unsignedByte * axiscCallGetAttributeAsUnsignedByte(AXISCHANDLE call,
- const AxiscChar * pName,
- const AxiscChar * pNamespace)
+AXISC_STORAGE_CLASS_INFO
+xsdc__nonNegativeInteger * axiscCallGetElementAsNonNegativeInteger(AXISCHANDLE call,
+ const AxiscChar * pName,
+ const AxiscChar * pNamespace)
{
AxisObjectContainer *h = (AxisObjectContainer *)call;
h->_exception.resetException();
@@ -1341,7 +1408,7 @@
try
{
- return c->getAttributeAsUnsignedByte(pName,pNamespace);
+ return c->getElementAsNonNegativeInteger(pName,pNamespace);
}
catch ( AxisException& e )
{
@@ -1355,13 +1422,13 @@
axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
}
- return (xsdc__unsignedByte *)NULL;
+ return (xsdc__nonNegativeInteger *)NULL;
}
-AXISC_STORAGE_CLASS_INFO
-xsdc__long * axiscCallGetAttributeAsLong(AXISCHANDLE call,
- const AxiscChar * pName,
- const AxiscChar * pNamespace)
+AXISC_STORAGE_CLASS_INFO
+xsdc__positiveInteger * axiscCallGetElementAsPositiveInteger(AXISCHANDLE call,
+ const AxiscChar * pName,
+ const AxiscChar * pNamespace)
{
AxisObjectContainer *h = (AxisObjectContainer *)call;
h->_exception.resetException();
@@ -1369,7 +1436,7 @@
try
{
- return c->getAttributeAsLong(pName,pNamespace);
+ return c->getElementAsPositiveInteger(pName,pNamespace);
}
catch ( AxisException& e )
{
@@ -1383,13 +1450,12 @@
axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
}
- return (xsdc__long *)NULL;
+ return (xsdc__positiveInteger *)NULL;
}
-AXISC_STORAGE_CLASS_INFO
-xsdc__integer * axiscCallGetAttributeAsInteger(AXISCHANDLE call,
- const AxiscChar * pName,
- const AxiscChar * pNamespace)
+AXISC_STORAGE_CLASS_INFO
+xsdc__normalizedString axiscCallGetElementAsNormalizedString(AXISCHANDLE call, const AxiscChar * pName,
+ const AxiscChar * pNamespace)
{
AxisObjectContainer *h = (AxisObjectContainer *)call;
h->_exception.resetException();
@@ -1397,7 +1463,7 @@
try
{
- return c->getAttributeAsInteger(pName,pNamespace);
+ return c->getElementAsNormalizedString(pName,pNamespace);
}
catch ( AxisException& e )
{
@@ -1411,13 +1477,12 @@
axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
}
- return (xsdc__integer *)NULL;
+ return (xsdc__normalizedString)NULL;
}
-AXISC_STORAGE_CLASS_INFO
-xsdc__unsignedLong * axiscCallGetAttributeAsUnsignedLong(AXISCHANDLE call,
- const AxiscChar * pName,
- const AxiscChar * pNamespace)
+AXISC_STORAGE_CLASS_INFO
+xsdc__token axiscCallGetElementAsToken(AXISCHANDLE call, const AxiscChar * pName,
+ const AxiscChar * pNamespace)
{
AxisObjectContainer *h = (AxisObjectContainer *)call;
h->_exception.resetException();
@@ -1425,7 +1490,7 @@
try
{
- return c->getAttributeAsUnsignedLong(pName,pNamespace);
+ return c->getElementAsToken(pName,pNamespace);
}
catch ( AxisException& e )
{
@@ -1439,13 +1504,12 @@
axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
}
- return (xsdc__unsignedLong *)NULL;
+ return (xsdc__token)NULL;
}
-AXISC_STORAGE_CLASS_INFO
-xsdc__float * axiscCallGetAttributeAsFloat(AXISCHANDLE call,
- const AxiscChar * pName,
- const AxiscChar * pNamespace)
+AXISC_STORAGE_CLASS_INFO
+xsdc__language axiscCallGetElementAsLanguage(AXISCHANDLE call, const AxiscChar * pName,
+ const AxiscChar * pNamespace)
{
AxisObjectContainer *h = (AxisObjectContainer *)call;
h->_exception.resetException();
@@ -1453,7 +1517,7 @@
try
{
- return c->getAttributeAsFloat(pName,pNamespace);
+ return c->getElementAsLanguage(pName,pNamespace);
}
catch ( AxisException& e )
{
@@ -1467,13 +1531,12 @@
axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
}
- return (xsdc__float *)NULL;
+ return (xsdc__language)NULL;
}
-AXISC_STORAGE_CLASS_INFO
-xsdc__double * axiscCallGetAttributeAsDouble(AXISCHANDLE call,
- const AxiscChar * pName,
- const AxiscChar * pNamespace)
+AXISC_STORAGE_CLASS_INFO
+xsdc__Name axiscCallGetElementAsName(AXISCHANDLE call, const AxiscChar * pName,
+ const AxiscChar * pNamespace)
{
AxisObjectContainer *h = (AxisObjectContainer *)call;
h->_exception.resetException();
@@ -1481,7 +1544,7 @@
try
{
- return c->getAttributeAsDouble(pName,pNamespace);
+ return c->getElementAsName(pName,pNamespace);
}
catch ( AxisException& e )
{
@@ -1495,13 +1558,12 @@
axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
}
- return (xsdc__double *)NULL;
+ return (xsdc__Name)NULL;
}
-AXISC_STORAGE_CLASS_INFO
-xsdc__decimal * axiscCallGetAttributeAsDecimal(AXISCHANDLE call,
- const AxiscChar * pName,
- const AxiscChar * pNamespace)
+AXISC_STORAGE_CLASS_INFO
+xsdc__NCName axiscCallGetElementAsNCName(AXISCHANDLE call, const AxiscChar * pName,
+ const AxiscChar * pNamespace)
{
AxisObjectContainer *h = (AxisObjectContainer *)call;
h->_exception.resetException();
@@ -1509,7 +1571,7 @@
try
{
- return c->getAttributeAsDecimal(pName,pNamespace);
+ return c->getElementAsNCName(pName,pNamespace);
}
catch ( AxisException& e )
{
@@ -1523,13 +1585,12 @@
axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
}
- return (xsdc__decimal *)NULL;
+ return (xsdc__NCName)NULL;
}
-AXISC_STORAGE_CLASS_INFO
-xsdc__string axiscCallGetAttributeAsString(AXISCHANDLE call,
- const AxiscChar * pName,
- const AxiscChar * pNamespace)
+AXISC_STORAGE_CLASS_INFO
+xsdc__ID axiscCallGetElementAsID(AXISCHANDLE call, const AxiscChar * pName,
+ const AxiscChar * pNamespace)
{
AxisObjectContainer *h = (AxisObjectContainer *)call;
h->_exception.resetException();
@@ -1537,7 +1598,7 @@
try
{
- return c->getAttributeAsString(pName,pNamespace);
+ return c->getElementAsID(pName,pNamespace);
}
catch ( AxisException& e )
{
@@ -1551,13 +1612,12 @@
axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
}
- return (xsdc__string)NULL;
+ return (xsdc__ID)NULL;
}
-AXISC_STORAGE_CLASS_INFO
-xsdc__anyURI axiscCallGetAttributeAsAnyURI(AXISCHANDLE call,
- const AxiscChar * pName,
- const AxiscChar * pNamespace)
+AXISC_STORAGE_CLASS_INFO
+xsdc__IDREF axiscCallGetElementAsIDREF(AXISCHANDLE call, const AxiscChar * pName,
+ const AxiscChar * pNamespace)
{
AxisObjectContainer *h = (AxisObjectContainer *)call;
h->_exception.resetException();
@@ -1565,7 +1625,7 @@
try
{
- return c->getAttributeAsAnyURI(pName,pNamespace);
+ return c->getElementAsIDREF(pName,pNamespace);
}
catch ( AxisException& e )
{
@@ -1579,13 +1639,12 @@
axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
}
- return (xsdc__anyURI)NULL;
+ return (xsdc__IDREF)NULL;
}
-AXISC_STORAGE_CLASS_INFO
-xsdc__QName axiscCallGetAttributeAsQName(AXISCHANDLE call,
- const AxiscChar * pName,
- const AxiscChar * pNamespace)
+AXISC_STORAGE_CLASS_INFO
+xsdc__IDREFS axiscCallGetElementAsIDREFS(AXISCHANDLE call, const AxiscChar * pName,
+ const AxiscChar * pNamespace)
{
AxisObjectContainer *h = (AxisObjectContainer *)call;
h->_exception.resetException();
@@ -1593,7 +1652,7 @@
try
{
- return c->getAttributeAsQName(pName,pNamespace);
+ return c->getElementAsIDREFS(pName,pNamespace);
}
catch ( AxisException& e )
{
@@ -1607,13 +1666,12 @@
axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
}
- return (xsdc__QName)NULL;
+ return (xsdc__IDREFS)NULL;
}
-AXISC_STORAGE_CLASS_INFO
-xsdc__hexBinary * axiscCallGetAttributeAsHexBinary(AXISCHANDLE call,
- const AxiscChar * pName,
- const AxiscChar * pNamespace)
+AXISC_STORAGE_CLASS_INFO
+xsdc__ENTITY axiscCallGetElementAsENTITY(AXISCHANDLE call, const AxiscChar * pName,
+ const AxiscChar * pNamespace)
{
AxisObjectContainer *h = (AxisObjectContainer *)call;
h->_exception.resetException();
@@ -1621,9 +1679,7 @@
try
{
- xsd__hexBinary * pObjCpp = c->getAttributeAsHexBinary(pName, pNamespace);
-
- return AxisObjectConverter::cppHexBinaryToC(pObjCpp, NULL, true);
+ return c->getElementAsENTITY(pName,pNamespace);
}
catch ( AxisException& e )
{
@@ -1637,13 +1693,12 @@
axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
}
- return (xsdc__hexBinary *)NULL;
+ return (xsdc__ENTITY)NULL;
}
-AXISC_STORAGE_CLASS_INFO
-xsdc__base64Binary * axiscCallGetAttributeAsBase64Binary(AXISCHANDLE call,
- const AxiscChar * pName,
- const AxiscChar * pNamespace)
+AXISC_STORAGE_CLASS_INFO
+xsdc__ENTITIES axiscCallGetElementAsENTITIES(AXISCHANDLE call, const AxiscChar * pName,
+ const AxiscChar * pNamespace)
{
AxisObjectContainer *h = (AxisObjectContainer *)call;
h->_exception.resetException();
@@ -1651,9 +1706,7 @@
try
{
- xsd__base64Binary * pObjCpp = c->getAttributeAsBase64Binary(pName, pNamespace);
-
- return AxisObjectConverter::cppBase64BinaryToC(pObjCpp, NULL, true);
+ return c->getElementAsENTITIES(pName,pNamespace);
}
catch ( AxisException& e )
{
@@ -1667,13 +1720,12 @@
axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
}
- return (xsdc__base64Binary *)NULL;
+ return (xsdc__ENTITIES)NULL;
}
-AXISC_STORAGE_CLASS_INFO
-xsdc__dateTime * axiscCallGetAttributeAsDateTime(AXISCHANDLE call,
- const AxiscChar * pName,
- const AxiscChar * pNamespace)
+AXISC_STORAGE_CLASS_INFO
+xsdc__NMTOKEN axiscCallGetElementAsNMTOKEN(AXISCHANDLE call, const AxiscChar * pName,
+ const AxiscChar * pNamespace)
{
AxisObjectContainer *h = (AxisObjectContainer *)call;
h->_exception.resetException();
@@ -1681,7 +1733,7 @@
try
{
- return c->getAttributeAsDateTime(pName,pNamespace);
+ return c->getElementAsNMTOKEN(pName,pNamespace);
}
catch ( AxisException& e )
{
@@ -1695,13 +1747,12 @@
axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
}
- return (xsdc__dateTime *)NULL;
+ return (xsdc__NMTOKEN)NULL;
}
-AXISC_STORAGE_CLASS_INFO
-xsdc__date * axiscCallGetAttributeAsDate(AXISCHANDLE call,
- const AxiscChar * pName,
- const AxiscChar * pNamespace)
+AXISC_STORAGE_CLASS_INFO
+xsdc__NMTOKENS axiscCallGetElementAsNMTOKENS(AXISCHANDLE call, const AxiscChar * pName,
+ const AxiscChar * pNamespace)
{
AxisObjectContainer *h = (AxisObjectContainer *)call;
h->_exception.resetException();
@@ -1709,7 +1760,7 @@
try
{
- return c->getAttributeAsDate(pName,pNamespace);
+ return c->getElementAsNMTOKENS(pName,pNamespace);
}
catch ( AxisException& e )
{
@@ -1723,13 +1774,12 @@
axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
}
- return (xsdc__date *)NULL;
+ return (xsdc__NMTOKENS)NULL;
}
-AXISC_STORAGE_CLASS_INFO
-xsdc__time * axiscCallGetAttributeAsTime(AXISCHANDLE call,
- const AxiscChar * pName,
- const AxiscChar * pNamespace)
+AXISC_STORAGE_CLASS_INFO
+xsdc__NOTATION axiscCallGetElementAsNOTATION(AXISCHANDLE call, const AxiscChar * pName,
+ const AxiscChar * pNamespace)
{
AxisObjectContainer *h = (AxisObjectContainer *)call;
h->_exception.resetException();
@@ -1737,7 +1787,7 @@
try
{
- return c->getAttributeAsTime(pName,pNamespace);
+ return c->getElementAsNOTATION(pName,pNamespace);
}
catch ( AxisException& e )
{
@@ -1750,13 +1800,26 @@
h->_exception.setMessage("Unrecognized exception thrown.");
axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
}
- return (xsdc__time *)NULL;
+
+ return (xsdc__NOTATION)NULL;
}
+
+
+
+
+
+
+
+
+
+
+
+
AXISC_STORAGE_CLASS_INFO
-xsdc__duration * axiscCallGetAttributeAsDuration(AXISCHANDLE call,
- const AxiscChar * pName,
- const AxiscChar * pNamespace)
+xsdc__int * axiscCallGetAttributeAsInt(AXISCHANDLE call,
+ const AxiscChar * pName,
+ const AxiscChar * pNamespace)
{
AxisObjectContainer *h = (AxisObjectContainer *)call;
h->_exception.resetException();
@@ -1764,7 +1827,7 @@
try
{
- return c->getAttributeAsDuration(pName,pNamespace);
+ return c->getAttributeAsInt(pName,pNamespace);
}
catch ( AxisException& e )
{
@@ -1777,9 +1840,1217 @@
h->_exception.setMessage("Unrecognized exception thrown.");
axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
}
+
+ return (xsdc__int *)NULL;
+}
+
+AXISC_STORAGE_CLASS_INFO
+xsdc__boolean * axiscCallGetAttributeAsBoolean(AXISCHANDLE call,
+ const AxiscChar * pName, const AxiscChar * pNamespace)
+{
+ AxisObjectContainer *h = (AxisObjectContainer *)call;
+ h->_exception.resetException();
+ Call *c = (Call*)h->_objHandle;
- return (xsdc__duration *)NULL;
+ try
+ {
+ return (xsdc__boolean* )(c->getAttributeAsBoolean(pName,pNamespace));
+ }
+ catch ( AxisException& e )
+ {
+ h->_exception.setExceptionFromException(e);
+ axiscAxisInvokeExceptionHandler(e.getExceptionCode(), e.what());
+ }
+ catch ( ... )
+ {
+ h->_exception.setExceptionCode(-1);
+ h->_exception.setMessage("Unrecognized exception thrown.");
+ axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
+ }
+
+ return (xsdc__boolean *)NULL;
}
+
+AXISC_STORAGE_CLASS_INFO
+xsdc__unsignedInt * axiscCallGetAttributeAsUnsignedInt(AXISCHANDLE call,
+ const AxiscChar * pName,
+ const AxiscChar * pNamespace)
+{
+ AxisObjectContainer *h = (AxisObjectContainer *)call;
+ h->_exception.resetException();
+ Call *c = (Call*)h->_objHandle;
+
+ try
+ {
+ return c->getAttributeAsUnsignedInt(pName,pNamespace);
+ }
+ catch ( AxisException& e )
+ {
+ h->_exception.setExceptionFromException(e);
+ axiscAxisInvokeExceptionHandler(e.getExceptionCode(), e.what());
+ }
+ catch ( ... )
+ {
+ h->_exception.setExceptionCode(-1);
+ h->_exception.setMessage("Unrecognized exception thrown.");
+ axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
+ }
+
+ return (xsdc__unsignedInt *)NULL;
+}
+
+AXISC_STORAGE_CLASS_INFO
+xsdc__short * axiscCallGetAttributeAsShort(AXISCHANDLE call,
+ const AxiscChar * pName,
+ const AxiscChar * pNamespace)
+{
+ AxisObjectContainer *h = (AxisObjectContainer *)call;
+ h->_exception.resetException();
+ Call *c = (Call*)h->_objHandle;
+
+ try
+ {
+ return c->getAttributeAsShort(pName,pNamespace);
+ }
+ catch ( AxisException& e )
+ {
+ h->_exception.setExceptionFromException(e);
+ axiscAxisInvokeExceptionHandler(e.getExceptionCode(), e.what());
+ }
+ catch ( ... )
+ {
+ h->_exception.setExceptionCode(-1);
+ h->_exception.setMessage("Unrecognized exception thrown.");
+ axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
+ }
+
+ return (xsdc__short *)NULL;
+}
+
+AXISC_STORAGE_CLASS_INFO
+xsdc__unsignedShort * axiscCallGetAttributeAsUnsignedShort(AXISCHANDLE call,
+ const AxiscChar * pName,
+ const AxiscChar * pNamespace)
+{
+ AxisObjectContainer *h = (AxisObjectContainer *)call;
+ h->_exception.resetException();
+ Call *c = (Call*)h->_objHandle;
+
+ try
+ {
+ return c->getAttributeAsUnsignedShort(pName,pNamespace);
+ }
+ catch ( AxisException& e )
+ {
+ h->_exception.setExceptionFromException(e);
+ axiscAxisInvokeExceptionHandler(e.getExceptionCode(), e.what());
+ }
+ catch ( ... )
+ {
+ h->_exception.setExceptionCode(-1);
+ h->_exception.setMessage("Unrecognized exception thrown.");
+ axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
+ }
+
+ return (xsdc__unsignedShort *)NULL;
+}
+
+AXISC_STORAGE_CLASS_INFO
+xsdc__byte * axiscCallGetAttributeAsByte(AXISCHANDLE call,
+ const AxiscChar * pName,
+ const AxiscChar * pNamespace)
+{
+ AxisObjectContainer *h = (AxisObjectContainer *)call;
+ h->_exception.resetException();
+ Call *c = (Call*)h->_objHandle;
+
+ try
+ {
+ return c->getAttributeAsByte(pName,pNamespace);
+ }
+ catch ( AxisException& e )
+ {
+ h->_exception.setExceptionFromException(e);
+ axiscAxisInvokeExceptionHandler(e.getExceptionCode(), e.what());
+ }
+ catch ( ... )
+ {
+ h->_exception.setExceptionCode(-1);
+ h->_exception.setMessage("Unrecognized exception thrown.");
+ axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
+ }
+
+ return (xsdc__byte *)NULL;
+}
+
+AXISC_STORAGE_CLASS_INFO
+xsdc__unsignedByte * axiscCallGetAttributeAsUnsignedByte(AXISCHANDLE call,
+ const AxiscChar * pName,
+ const AxiscChar * pNamespace)
+{
+ AxisObjectContainer *h = (AxisObjectContainer *)call;
+ h->_exception.resetException();
+ Call *c = (Call*)h->_objHandle;
+
+ try
+ {
+ return c->getAttributeAsUnsignedByte(pName,pNamespace);
+ }
+ catch ( AxisException& e )
+ {
+ h->_exception.setExceptionFromException(e);
+ axiscAxisInvokeExceptionHandler(e.getExceptionCode(), e.what());
+ }
+ catch ( ... )
+ {
+ h->_exception.setExceptionCode(-1);
+ h->_exception.setMessage("Unrecognized exception thrown.");
+ axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
+ }
+
+ return (xsdc__unsignedByte *)NULL;
+}
+
+AXISC_STORAGE_CLASS_INFO
+xsdc__long * axiscCallGetAttributeAsLong(AXISCHANDLE call,
+ const AxiscChar * pName,
+ const AxiscChar * pNamespace)
+{
+ AxisObjectContainer *h = (AxisObjectContainer *)call;
+ h->_exception.resetException();
+ Call *c = (Call*)h->_objHandle;
+
+ try
+ {
+ return c->getAttributeAsLong(pName,pNamespace);
+ }
+ catch ( AxisException& e )
+ {
+ h->_exception.setExceptionFromException(e);
+ axiscAxisInvokeExceptionHandler(e.getExceptionCode(), e.what());
+ }
+ catch ( ... )
+ {
+ h->_exception.setExceptionCode(-1);
+ h->_exception.setMessage("Unrecognized exception thrown.");
+ axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
+ }
+
+ return (xsdc__long *)NULL;
+}
+
+AXISC_STORAGE_CLASS_INFO
+xsdc__integer * axiscCallGetAttributeAsInteger(AXISCHANDLE call,
+ const AxiscChar * pName,
+ const AxiscChar * pNamespace)
+{
+ AxisObjectContainer *h = (AxisObjectContainer *)call;
+ h->_exception.resetException();
+ Call *c = (Call*)h->_objHandle;
+
+ try
+ {
+ return c->getAttributeAsInteger(pName,pNamespace);
+ }
+ catch ( AxisException& e )
+ {
+ h->_exception.setExceptionFromException(e);
+ axiscAxisInvokeExceptionHandler(e.getExceptionCode(), e.what());
+ }
+ catch ( ... )
+ {
+ h->_exception.setExceptionCode(-1);
+ h->_exception.setMessage("Unrecognized exception thrown.");
+ axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
+ }
+
+ return (xsdc__integer *)NULL;
+}
+
+AXISC_STORAGE_CLASS_INFO
+xsdc__unsignedLong * axiscCallGetAttributeAsUnsignedLong(AXISCHANDLE call,
+ const AxiscChar * pName,
+ const AxiscChar * pNamespace)
+{
+ AxisObjectContainer *h = (AxisObjectContainer *)call;
+ h->_exception.resetException();
+ Call *c = (Call*)h->_objHandle;
+
+ try
+ {
+ return c->getAttributeAsUnsignedLong(pName,pNamespace);
+ }
+ catch ( AxisException& e )
+ {
+ h->_exception.setExceptionFromException(e);
+ axiscAxisInvokeExceptionHandler(e.getExceptionCode(), e.what());
+ }
+ catch ( ... )
+ {
+ h->_exception.setExceptionCode(-1);
+ h->_exception.setMessage("Unrecognized exception thrown.");
+ axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
+ }
+
+ return (xsdc__unsignedLong *)NULL;
+}
+
+AXISC_STORAGE_CLASS_INFO
+xsdc__float * axiscCallGetAttributeAsFloat(AXISCHANDLE call,
+ const AxiscChar * pName,
+ const AxiscChar * pNamespace)
+{
+ AxisObjectContainer *h = (AxisObjectContainer *)call;
+ h->_exception.resetException();
+ Call *c = (Call*)h->_objHandle;
+
+ try
+ {
+ return c->getAttributeAsFloat(pName,pNamespace);
+ }
+ catch ( AxisException& e )
+ {
+ h->_exception.setExceptionFromException(e);
+ axiscAxisInvokeExceptionHandler(e.getExceptionCode(), e.what());
+ }
+ catch ( ... )
+ {
+ h->_exception.setExceptionCode(-1);
+ h->_exception.setMessage("Unrecognized exception thrown.");
+ axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
+ }
+
+ return (xsdc__float *)NULL;
+}
+
+AXISC_STORAGE_CLASS_INFO
+xsdc__double * axiscCallGetAttributeAsDouble(AXISCHANDLE call,
+ const AxiscChar * pName,
+ const AxiscChar * pNamespace)
+{
+ AxisObjectContainer *h = (AxisObjectContainer *)call;
+ h->_exception.resetException();
+ Call *c = (Call*)h->_objHandle;
+
+ try
+ {
+ return c->getAttributeAsDouble(pName,pNamespace);
+ }
+ catch ( AxisException& e )
+ {
+ h->_exception.setExceptionFromException(e);
+ axiscAxisInvokeExceptionHandler(e.getExceptionCode(), e.what());
+ }
+ catch ( ... )
+ {
+ h->_exception.setExceptionCode(-1);
+ h->_exception.setMessage("Unrecognized exception thrown.");
+ axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
+ }
+
+ return (xsdc__double *)NULL;
+}
+
+AXISC_STORAGE_CLASS_INFO
+xsdc__decimal * axiscCallGetAttributeAsDecimal(AXISCHANDLE call,
+ const AxiscChar * pName,
+ const AxiscChar * pNamespace)
+{
+ AxisObjectContainer *h = (AxisObjectContainer *)call;
+ h->_exception.resetException();
+ Call *c = (Call*)h->_objHandle;
+
+ try
+ {
+ return c->getAttributeAsDecimal(pName,pNamespace);
+ }
+ catch ( AxisException& e )
+ {
+ h->_exception.setExceptionFromException(e);
+ axiscAxisInvokeExceptionHandler(e.getExceptionCode(), e.what());
+ }
+ catch ( ... )
+ {
+ h->_exception.setExceptionCode(-1);
+ h->_exception.setMessage("Unrecognized exception thrown.");
+ axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
+ }
+
+ return (xsdc__decimal *)NULL;
+}
+
+AXISC_STORAGE_CLASS_INFO
+xsdc__string axiscCallGetAttributeAsString(AXISCHANDLE call,
+ const AxiscChar * pName,
+ const AxiscChar * pNamespace)
+{
+ AxisObjectContainer *h = (AxisObjectContainer *)call;
+ h->_exception.resetException();
+ Call *c = (Call*)h->_objHandle;
+
+ try
+ {
+ return c->getAttributeAsString(pName,pNamespace);
+ }
+ catch ( AxisException& e )
+ {
+ h->_exception.setExceptionFromException(e);
+ axiscAxisInvokeExceptionHandler(e.getExceptionCode(), e.what());
+ }
+ catch ( ... )
+ {
+ h->_exception.setExceptionCode(-1);
+ h->_exception.setMessage("Unrecognized exception thrown.");
+ axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
+ }
+
+ return (xsdc__string)NULL;
+}
+
+AXISC_STORAGE_CLASS_INFO
+xsdc__anyURI axiscCallGetAttributeAsAnyURI(AXISCHANDLE call,
+ const AxiscChar * pName,
+ const AxiscChar * pNamespace)
+{
+ AxisObjectContainer *h = (AxisObjectContainer *)call;
+ h->_exception.resetException();
+ Call *c = (Call*)h->_objHandle;
+
+ try
+ {
+ return c->getAttributeAsAnyURI(pName,pNamespace);
+ }
+ catch ( AxisException& e )
+ {
+ h->_exception.setExceptionFromException(e);
+ axiscAxisInvokeExceptionHandler(e.getExceptionCode(), e.what());
+ }
+ catch ( ... )
+ {
+ h->_exception.setExceptionCode(-1);
+ h->_exception.setMessage("Unrecognized exception thrown.");
+ axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
+ }
+
+ return (xsdc__anyURI)NULL;
+}
+
+AXISC_STORAGE_CLASS_INFO
+xsdc__QName axiscCallGetAttributeAsQName(AXISCHANDLE call,
+ const AxiscChar * pName,
+ const AxiscChar * pNamespace)
+{
+ AxisObjectContainer *h = (AxisObjectContainer *)call;
+ h->_exception.resetException();
+ Call *c = (Call*)h->_objHandle;
+
+ try
+ {
+ return c->getAttributeAsQName(pName,pNamespace);
+ }
+ catch ( AxisException& e )
+ {
+ h->_exception.setExceptionFromException(e);
+ axiscAxisInvokeExceptionHandler(e.getExceptionCode(), e.what());
+ }
+ catch ( ... )
+ {
+ h->_exception.setExceptionCode(-1);
+ h->_exception.setMessage("Unrecognized exception thrown.");
+ axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
+ }
+
+ return (xsdc__QName)NULL;
+}
+
+AXISC_STORAGE_CLASS_INFO
+xsdc__hexBinary * axiscCallGetAttributeAsHexBinary(AXISCHANDLE call,
+ const AxiscChar * pName,
+ const AxiscChar * pNamespace)
+{
+ AxisObjectContainer *h = (AxisObjectContainer *)call;
+ h->_exception.resetException();
+ Call *c = (Call*)h->_objHandle;
+
+ try
+ {
+ xsd__hexBinary * pObjCpp = c->getAttributeAsHexBinary(pName, pNamespace);
+
+ return AxisObjectConverter::cppHexBinaryToC(pObjCpp, NULL, true);
+ }
+ catch ( AxisException& e )
+ {
+ h->_exception.setExceptionFromException(e);
+ axiscAxisInvokeExceptionHandler(e.getExceptionCode(), e.what());
+ }
+ catch ( ... )
+ {
+ h->_exception.setExceptionCode(-1);
+ h->_exception.setMessage("Unrecognized exception thrown.");
+ axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
+ }
+
+ return (xsdc__hexBinary *)NULL;
+}
+
+AXISC_STORAGE_CLASS_INFO
+xsdc__base64Binary * axiscCallGetAttributeAsBase64Binary(AXISCHANDLE call,
+ const AxiscChar * pName,
+ const AxiscChar * pNamespace)
+{
+ AxisObjectContainer *h = (AxisObjectContainer *)call;
+ h->_exception.resetException();
+ Call *c = (Call*)h->_objHandle;
+
+ try
+ {
+ xsd__base64Binary * pObjCpp = c->getAttributeAsBase64Binary(pName, pNamespace);
+
+ return AxisObjectConverter::cppBase64BinaryToC(pObjCpp, NULL, true);
+ }
+ catch ( AxisException& e )
+ {
+ h->_exception.setExceptionFromException(e);
+ axiscAxisInvokeExceptionHandler(e.getExceptionCode(), e.what());
+ }
+ catch ( ... )
+ {
+ h->_exception.setExceptionCode(-1);
+ h->_exception.setMessage("Unrecognized exception thrown.");
+ axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
+ }
+
+ return (xsdc__base64Binary *)NULL;
+}
+
+AXISC_STORAGE_CLASS_INFO
+xsdc__dateTime * axiscCallGetAttributeAsDateTime(AXISCHANDLE call,
+ const AxiscChar * pName,
+ const AxiscChar * pNamespace)
+{
+ AxisObjectContainer *h = (AxisObjectContainer *)call;
+ h->_exception.resetException();
+ Call *c = (Call*)h->_objHandle;
+
+ try
+ {
+ return c->getAttributeAsDateTime(pName,pNamespace);
+ }
+ catch ( AxisException& e )
+ {
+ h->_exception.setExceptionFromException(e);
+ axiscAxisInvokeExceptionHandler(e.getExceptionCode(), e.what());
+ }
+ catch ( ... )
+ {
+ h->_exception.setExceptionCode(-1);
+ h->_exception.setMessage("Unrecognized exception thrown.");
+ axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
+ }
+
+ return (xsdc__dateTime *)NULL;
+}
+
+AXISC_STORAGE_CLASS_INFO
+xsdc__date * axiscCallGetAttributeAsDate(AXISCHANDLE call,
+ const AxiscChar * pName,
+ const AxiscChar * pNamespace)
+{
+ AxisObjectContainer *h = (AxisObjectContainer *)call;
+ h->_exception.resetException();
+ Call *c = (Call*)h->_objHandle;
+
+ try
+ {
+ return c->getAttributeAsDate(pName,pNamespace);
+ }
+ catch ( AxisException& e )
+ {
+ h->_exception.setExceptionFromException(e);
+ axiscAxisInvokeExceptionHandler(e.getExceptionCode(), e.what());
+ }
+ catch ( ... )
+ {
+ h->_exception.setExceptionCode(-1);
+ h->_exception.setMessage("Unrecognized exception thrown.");
+ axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
+ }
+
+ return (xsdc__date *)NULL;
+}
+
+AXISC_STORAGE_CLASS_INFO
+xsdc__time * axiscCallGetAttributeAsTime(AXISCHANDLE call,
+ const AxiscChar * pName,
+ const AxiscChar * pNamespace)
+{
+ AxisObjectContainer *h = (AxisObjectContainer *)call;
+ h->_exception.resetException();
+ Call *c = (Call*)h->_objHandle;
+
+ try
+ {
+ return c->getAttributeAsTime(pName,pNamespace);
+ }
+ catch ( AxisException& e )
+ {
+ h->_exception.setExceptionFromException(e);
+ axiscAxisInvokeExceptionHandler(e.getExceptionCode(), e.what());
+ }
+ catch ( ... )
+ {
+ h->_exception.setExceptionCode(-1);
+ h->_exception.setMessage("Unrecognized exception thrown.");
+ axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
+ }
+ return (xsdc__time *)NULL;
+}
+
+AXISC_STORAGE_CLASS_INFO
+xsdc__duration * axiscCallGetAttributeAsDuration(AXISCHANDLE call,
+ const AxiscChar * pName,
+ const AxiscChar * pNamespace)
+{
+ AxisObjectContainer *h = (AxisObjectContainer *)call;
+ h->_exception.resetException();
+ Call *c = (Call*)h->_objHandle;
+
+ try
+ {
+ return c->getAttributeAsDuration(pName,pNamespace);
+ }
+ catch ( AxisException& e )
+ {
+ h->_exception.setExceptionFromException(e);
+ axiscAxisInvokeExceptionHandler(e.getExceptionCode(), e.what());
+ }
+ catch ( ... )
+ {
+ h->_exception.setExceptionCode(-1);
+ h->_exception.setMessage("Unrecognized exception thrown.");
+ axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
+ }
+
+ return (xsdc__duration *)NULL;
+}
+
+AXISC_STORAGE_CLASS_INFO
+xsdc__gYearMonth * axiscCallGetAttributeAsGYearMonth(AXISCHANDLE call,
+ const AxiscChar * pName,
+ const AxiscChar * pNamespace)
+{
+ AxisObjectContainer *h = (AxisObjectContainer *)call;
+ h->_exception.resetException();
+ Call *c = (Call*)h->_objHandle;
+
+ try
+ {
+ return c->getAttributeAsGYearMonth(pName,pNamespace);
+ }
+ catch ( AxisException& e )
+ {
+ h->_exception.setExceptionFromException(e);
+ axiscAxisInvokeExceptionHandler(e.getExceptionCode(), e.what());
+ }
+ catch ( ... )
+ {
+ h->_exception.setExceptionCode(-1);
+ h->_exception.setMessage("Unrecognized exception thrown.");
+ axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
+ }
+
+ return (xsdc__gYearMonth *)NULL;
+}
+
+AXISC_STORAGE_CLASS_INFO
+xsdc__gYear * axiscCallGetAttributeAsGYear(AXISCHANDLE call,
+ const AxiscChar * pName,
+ const AxiscChar * pNamespace)
+{
+ AxisObjectContainer *h = (AxisObjectContainer *)call;
+ h->_exception.resetException();
+ Call *c = (Call*)h->_objHandle;
+
+ try
+ {
+ return c->getAttributeAsGYear(pName,pNamespace);
+ }
+ catch ( AxisException& e )
+ {
+ h->_exception.setExceptionFromException(e);
+ axiscAxisInvokeExceptionHandler(e.getExceptionCode(), e.what());
+ }
+ catch ( ... )
+ {
+ h->_exception.setExceptionCode(-1);
+ h->_exception.setMessage("Unrecognized exception thrown.");
+ axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
+ }
+
+ return (xsdc__gYear *)NULL;
+}
+
+AXISC_STORAGE_CLASS_INFO
+xsdc__gMonthDay * axiscCallGetAttributeAsGMonthDay(AXISCHANDLE call,
+ const AxiscChar * pName,
+ const AxiscChar * pNamespace)
+{
+ AxisObjectContainer *h = (AxisObjectContainer *)call;
+ h->_exception.resetException();
+ Call *c = (Call*)h->_objHandle;
+
+ try
+ {
+ return c->getAttributeAsGMonthDay(pName,pNamespace);
+ }
+ catch ( AxisException& e )
+ {
+ h->_exception.setExceptionFromException(e);
+ axiscAxisInvokeExceptionHandler(e.getExceptionCode(), e.what());
+ }
+ catch ( ... )
+ {
+ h->_exception.setExceptionCode(-1);
+ h->_exception.setMessage("Unrecognized exception thrown.");
+ axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
+ }
+
+ return (xsdc__gMonthDay *)NULL;
+}
+
+AXISC_STORAGE_CLASS_INFO
+xsdc__gDay * axiscCallGetAttributeAsGDay(AXISCHANDLE call,
+ const AxiscChar * pName,
+ const AxiscChar * pNamespace)
+{
+ AxisObjectContainer *h = (AxisObjectContainer *)call;
+ h->_exception.resetException();
+ Call *c = (Call*)h->_objHandle;
+
+ try
+ {
+ return c->getAttributeAsGDay(pName,pNamespace);
+ }
+ catch ( AxisException& e )
+ {
+ h->_exception.setExceptionFromException(e);
+ axiscAxisInvokeExceptionHandler(e.getExceptionCode(), e.what());
+ }
+ catch ( ... )
+ {
+ h->_exception.setExceptionCode(-1);
+ h->_exception.setMessage("Unrecognized exception thrown.");
+ axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
+ }
+
+ return (xsdc__gDay *)NULL;
+}
+
+AXISC_STORAGE_CLASS_INFO
+xsdc__gMonth * axiscCallGetAttributeAsGMonth(AXISCHANDLE call,
+ const AxiscChar * pName,
+ const AxiscChar * pNamespace)
+{
+ AxisObjectContainer *h = (AxisObjectContainer *)call;
+ h->_exception.resetException();
+ Call *c = (Call*)h->_objHandle;
+
+ try
+ {
+ return c->getAttributeAsGMonth(pName,pNamespace);
+ }
+ catch ( AxisException& e )
+ {
+ h->_exception.setExceptionFromException(e);
+ axiscAxisInvokeExceptionHandler(e.getExceptionCode(), e.what());
+ }
+ catch ( ... )
+ {
+ h->_exception.setExceptionCode(-1);
+ h->_exception.setMessage("Unrecognized exception thrown.");
+ axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
+ }
+
+ return (xsdc__gMonth *)NULL;
+}
+
+AXISC_STORAGE_CLASS_INFO
+xsdc__nonPositiveInteger * axiscCallGetAttributeAsNonPositiveInteger(AXISCHANDLE call,
+ const AxiscChar * pName,
+ const AxiscChar * pNamespace)
+{
+ AxisObjectContainer *h = (AxisObjectContainer *)call;
+ h->_exception.resetException();
+ Call *c = (Call*)h->_objHandle;
+
+ try
+ {
+ return c->getAttributeAsNonPositiveInteger(pName,pNamespace);
+ }
+ catch ( AxisException& e )
+ {
+ h->_exception.setExceptionFromException(e);
+ axiscAxisInvokeExceptionHandler(e.getExceptionCode(), e.what());
+ }
+ catch ( ... )
+ {
+ h->_exception.setExceptionCode(-1);
+ h->_exception.setMessage("Unrecognized exception thrown.");
+ axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
+ }
+
+ return (xsdc__nonPositiveInteger *)NULL;
+}
+
+AXISC_STORAGE_CLASS_INFO
+xsdc__negativeInteger * axiscCallGetAttributeAsNegativeInteger(AXISCHANDLE call,
+ const AxiscChar * pName,
+ const AxiscChar * pNamespace)
+{
+ AxisObjectContainer *h = (AxisObjectContainer *)call;
+ h->_exception.resetException();
+ Call *c = (Call*)h->_objHandle;
+
+ try
+ {
+ return c->getAttributeAsNegativeInteger(pName,pNamespace);
+ }
+ catch ( AxisException& e )
+ {
+ h->_exception.setExceptionFromException(e);
+ axiscAxisInvokeExceptionHandler(e.getExceptionCode(), e.what());
+ }
+ catch ( ... )
+ {
+ h->_exception.setExceptionCode(-1);
+ h->_exception.setMessage("Unrecognized exception thrown.");
+ axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
+ }
+
+ return (xsdc__negativeInteger *)NULL;
+}
+
+AXISC_STORAGE_CLASS_INFO
+xsdc__nonNegativeInteger * axiscCallGetAttributeAsNonNegativeInteger(AXISCHANDLE call,
+ const AxiscChar * pName,
+ const AxiscChar * pNamespace)
+{
+ AxisObjectContainer *h = (AxisObjectContainer *)call;
+ h->_exception.resetException();
+ Call *c = (Call*)h->_objHandle;
+
+ try
+ {
+ return c->getAttributeAsNonNegativeInteger(pName,pNamespace);
+ }
+ catch ( AxisException& e )
+ {
+ h->_exception.setExceptionFromException(e);
+ axiscAxisInvokeExceptionHandler(e.getExceptionCode(), e.what());
+ }
+ catch ( ... )
+ {
+ h->_exception.setExceptionCode(-1);
+ h->_exception.setMessage("Unrecognized exception thrown.");
+ axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
+ }
+
+ return (xsdc__nonNegativeInteger *)NULL;
+}
+
+AXISC_STORAGE_CLASS_INFO
+xsdc__positiveInteger * axiscCallGetAttributeAsPositiveInteger(AXISCHANDLE call,
+ const AxiscChar * pName,
+ const AxiscChar * pNamespace)
+{
+ AxisObjectContainer *h = (AxisObjectContainer *)call;
+ h->_exception.resetException();
+ Call *c = (Call*)h->_objHandle;
+
+ try
+ {
+ return c->getAttributeAsPositiveInteger(pName,pNamespace);
+ }
+ catch ( AxisException& e )
+ {
+ h->_exception.setExceptionFromException(e);
+ axiscAxisInvokeExceptionHandler(e.getExceptionCode(), e.what());
+ }
+ catch ( ... )
+ {
+ h->_exception.setExceptionCode(-1);
+ h->_exception.setMessage("Unrecognized exception thrown.");
+ axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
+ }
+
+ return (xsdc__positiveInteger *)NULL;
+}
+
+AXISC_STORAGE_CLASS_INFO
+xsdc__normalizedString axiscCallGetAttributeAsNormalizedString(AXISCHANDLE call, const AxiscChar * pName,
+ const AxiscChar * pNamespace)
+{
+ AxisObjectContainer *h = (AxisObjectContainer *)call;
+ h->_exception.resetException();
+ Call *c = (Call*)h->_objHandle;
+
+ try
+ {
+ return c->getAttributeAsNormalizedString(pName,pNamespace);
+ }
+ catch ( AxisException& e )
+ {
+ h->_exception.setExceptionFromException(e);
+ axiscAxisInvokeExceptionHandler(e.getExceptionCode(), e.what());
+ }
+ catch ( ... )
+ {
+ h->_exception.setExceptionCode(-1);
+ h->_exception.setMessage("Unrecognized exception thrown.");
+ axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
+ }
+
+ return (xsdc__normalizedString)NULL;
+}
+
+AXISC_STORAGE_CLASS_INFO
+xsdc__token axiscCallGetAttributeAsToken(AXISCHANDLE call, const AxiscChar * pName,
+ const AxiscChar * pNamespace)
+{
+ AxisObjectContainer *h = (AxisObjectContainer *)call;
+ h->_exception.resetException();
+ Call *c = (Call*)h->_objHandle;
+
+ try
+ {
+ return c->getAttributeAsToken(pName,pNamespace);
+ }
+ catch ( AxisException& e )
+ {
+ h->_exception.setExceptionFromException(e);
+ axiscAxisInvokeExceptionHandler(e.getExceptionCode(), e.what());
+ }
+ catch ( ... )
+ {
+ h->_exception.setExceptionCode(-1);
+ h->_exception.setMessage("Unrecognized exception thrown.");
+ axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
+ }
+
+ return (xsdc__token)NULL;
+}
+
+AXISC_STORAGE_CLASS_INFO
+xsdc__language axiscCallGetAttributeAsLanguage(AXISCHANDLE call, const AxiscChar * pName,
+ const AxiscChar * pNamespace)
+{
+ AxisObjectContainer *h = (AxisObjectContainer *)call;
+ h->_exception.resetException();
+ Call *c = (Call*)h->_objHandle;
+
+ try
+ {
+ return c->getAttributeAsLanguage(pName,pNamespace);
+ }
+ catch ( AxisException& e )
+ {
+ h->_exception.setExceptionFromException(e);
+ axiscAxisInvokeExceptionHandler(e.getExceptionCode(), e.what());
+ }
+ catch ( ... )
+ {
+ h->_exception.setExceptionCode(-1);
+ h->_exception.setMessage("Unrecognized exception thrown.");
+ axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
+ }
+
+ return (xsdc__language)NULL;
+}
+
+AXISC_STORAGE_CLASS_INFO
+xsdc__Name axiscCallGetAttributeAsName(AXISCHANDLE call, const AxiscChar * pName,
+ const AxiscChar * pNamespace)
+{
+ AxisObjectContainer *h = (AxisObjectContainer *)call;
+ h->_exception.resetException();
+ Call *c = (Call*)h->_objHandle;
+
+ try
+ {
+ return c->getAttributeAsName(pName,pNamespace);
+ }
+ catch ( AxisException& e )
+ {
+ h->_exception.setExceptionFromException(e);
+ axiscAxisInvokeExceptionHandler(e.getExceptionCode(), e.what());
+ }
+ catch ( ... )
+ {
+ h->_exception.setExceptionCode(-1);
+ h->_exception.setMessage("Unrecognized exception thrown.");
+ axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
+ }
+
+ return (xsdc__Name)NULL;
+}
+
+AXISC_STORAGE_CLASS_INFO
+xsdc__NCName axiscCallGetAttributeAsNCName(AXISCHANDLE call, const AxiscChar * pName,
+ const AxiscChar * pNamespace)
+{
+ AxisObjectContainer *h = (AxisObjectContainer *)call;
+ h->_exception.resetException();
+ Call *c = (Call*)h->_objHandle;
+
+ try
+ {
+ return c->getAttributeAsNCName(pName,pNamespace);
+ }
+ catch ( AxisException& e )
+ {
+ h->_exception.setExceptionFromException(e);
+ axiscAxisInvokeExceptionHandler(e.getExceptionCode(), e.what());
+ }
+ catch ( ... )
+ {
+ h->_exception.setExceptionCode(-1);
+ h->_exception.setMessage("Unrecognized exception thrown.");
+ axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
+ }
+
+ return (xsdc__NCName)NULL;
+}
+
+AXISC_STORAGE_CLASS_INFO
+xsdc__ID axiscCallGetAttributeAsID(AXISCHANDLE call, const AxiscChar * pName,
+ const AxiscChar * pNamespace)
+{
+ AxisObjectContainer *h = (AxisObjectContainer *)call;
+ h->_exception.resetException();
+ Call *c = (Call*)h->_objHandle;
+
+ try
+ {
+ return c->getAttributeAsID(pName,pNamespace);
+ }
+ catch ( AxisException& e )
+ {
+ h->_exception.setExceptionFromException(e);
+ axiscAxisInvokeExceptionHandler(e.getExceptionCode(), e.what());
+ }
+ catch ( ... )
+ {
+ h->_exception.setExceptionCode(-1);
+ h->_exception.setMessage("Unrecognized exception thrown.");
+ axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
+ }
+
+ return (xsdc__ID)NULL;
+}
+
+AXISC_STORAGE_CLASS_INFO
+xsdc__IDREF axiscCallGetAttributeAsIDREF(AXISCHANDLE call, const AxiscChar * pName,
+ const AxiscChar * pNamespace)
+{
+ AxisObjectContainer *h = (AxisObjectContainer *)call;
+ h->_exception.resetException();
+ Call *c = (Call*)h->_objHandle;
+
+ try
+ {
+ return c->getAttributeAsIDREF(pName,pNamespace);
+ }
+ catch ( AxisException& e )
+ {
+ h->_exception.setExceptionFromException(e);
+ axiscAxisInvokeExceptionHandler(e.getExceptionCode(), e.what());
+ }
+ catch ( ... )
+ {
+ h->_exception.setExceptionCode(-1);
+ h->_exception.setMessage("Unrecognized exception thrown.");
+ axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
+ }
+
+ return (xsdc__IDREF)NULL;
+}
+
+AXISC_STORAGE_CLASS_INFO
+xsdc__IDREFS axiscCallGetAttributeAsIDREFS(AXISCHANDLE call, const AxiscChar * pName,
+ const AxiscChar * pNamespace)
+{
+ AxisObjectContainer *h = (AxisObjectContainer *)call;
+ h->_exception.resetException();
+ Call *c = (Call*)h->_objHandle;
+
+ try
+ {
+ return c->getAttributeAsIDREFS(pName,pNamespace);
+ }
+ catch ( AxisException& e )
+ {
+ h->_exception.setExceptionFromException(e);
+ axiscAxisInvokeExceptionHandler(e.getExceptionCode(), e.what());
+ }
+ catch ( ... )
+ {
+ h->_exception.setExceptionCode(-1);
+ h->_exception.setMessage("Unrecognized exception thrown.");
+ axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
+ }
+
+ return (xsdc__IDREFS)NULL;
+}
+
+AXISC_STORAGE_CLASS_INFO
+xsdc__ENTITY axiscCallGetAttributeAsENTITY(AXISCHANDLE call, const AxiscChar * pName,
+ const AxiscChar * pNamespace)
+{
+ AxisObjectContainer *h = (AxisObjectContainer *)call;
+ h->_exception.resetException();
+ Call *c = (Call*)h->_objHandle;
+
+ try
+ {
+ return c->getAttributeAsENTITY(pName,pNamespace);
+ }
+ catch ( AxisException& e )
+ {
+ h->_exception.setExceptionFromException(e);
+ axiscAxisInvokeExceptionHandler(e.getExceptionCode(), e.what());
+ }
+ catch ( ... )
+ {
+ h->_exception.setExceptionCode(-1);
+ h->_exception.setMessage("Unrecognized exception thrown.");
+ axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
+ }
+
+ return (xsdc__ENTITY)NULL;
+}
+
+AXISC_STORAGE_CLASS_INFO
+xsdc__ENTITIES axiscCallGetAttributeAsENTITIES(AXISCHANDLE call, const AxiscChar * pName,
+ const AxiscChar * pNamespace)
+{
+ AxisObjectContainer *h = (AxisObjectContainer *)call;
+ h->_exception.resetException();
+ Call *c = (Call*)h->_objHandle;
+
+ try
+ {
+ return c->getAttributeAsENTITIES(pName,pNamespace);
+ }
+ catch ( AxisException& e )
+ {
+ h->_exception.setExceptionFromException(e);
+ axiscAxisInvokeExceptionHandler(e.getExceptionCode(), e.what());
+ }
+ catch ( ... )
+ {
+ h->_exception.setExceptionCode(-1);
+ h->_exception.setMessage("Unrecognized exception thrown.");
+ axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
+ }
+
+ return (xsdc__ENTITIES)NULL;
+}
+
+AXISC_STORAGE_CLASS_INFO
+xsdc__NMTOKEN axiscCallGetAttributeAsNMTOKEN(AXISCHANDLE call, const AxiscChar * pName,
+ const AxiscChar * pNamespace)
+{
+ AxisObjectContainer *h = (AxisObjectContainer *)call;
+ h->_exception.resetException();
+ Call *c = (Call*)h->_objHandle;
+
+ try
+ {
+ return c->getAttributeAsNMTOKEN(pName,pNamespace);
+ }
+ catch ( AxisException& e )
+ {
+ h->_exception.setExceptionFromException(e);
+ axiscAxisInvokeExceptionHandler(e.getExceptionCode(), e.what());
+ }
+ catch ( ... )
+ {
+ h->_exception.setExceptionCode(-1);
+ h->_exception.setMessage("Unrecognized exception thrown.");
+ axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
+ }
+
+ return (xsdc__NMTOKEN)NULL;
+}
+
+AXISC_STORAGE_CLASS_INFO
+xsdc__NMTOKENS axiscCallGetAttributeAsNMTOKENS(AXISCHANDLE call, const AxiscChar * pName,
+ const AxiscChar * pNamespace)
+{
+ AxisObjectContainer *h = (AxisObjectContainer *)call;
+ h->_exception.resetException();
+ Call *c = (Call*)h->_objHandle;
+
+ try
+ {
+ return c->getAttributeAsNMTOKENS(pName,pNamespace);
+ }
+ catch ( AxisException& e )
+ {
+ h->_exception.setExceptionFromException(e);
+ axiscAxisInvokeExceptionHandler(e.getExceptionCode(), e.what());
+ }
+ catch ( ... )
+ {
+ h->_exception.setExceptionCode(-1);
+ h->_exception.setMessage("Unrecognized exception thrown.");
+ axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
+ }
+
+ return (xsdc__NMTOKENS)NULL;
+}
+
+AXISC_STORAGE_CLASS_INFO
+xsdc__NOTATION axiscCallGetAttributeAsNOTATION(AXISCHANDLE call, const AxiscChar * pName,
+ const AxiscChar * pNamespace)
+{
+ AxisObjectContainer *h = (AxisObjectContainer *)call;
+ h->_exception.resetException();
+ Call *c = (Call*)h->_objHandle;
+
+ try
+ {
+ return c->getAttributeAsNOTATION(pName,pNamespace);
+ }
+ catch ( AxisException& e )
+ {
+ h->_exception.setExceptionFromException(e);
+ axiscAxisInvokeExceptionHandler(e.getExceptionCode(), e.what());
+ }
+ catch ( ... )
+ {
+ h->_exception.setExceptionCode(-1);
+ h->_exception.setMessage("Unrecognized exception thrown.");
+ axiscAxisInvokeExceptionHandler(-1, "Unrecognized exception thrown.");
+ }
+
+ return (xsdc__NOTATION)NULL;
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
AXISC_STORAGE_CLASS_INFO
void * axiscCallGetCmplxObject(AXISCHANDLE call,
Modified: webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal/ClientStubWriter.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal/ClientStubWriter.java?rev=399142&r1=399141&r2=399142&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal/ClientStubWriter.java (original)
+++ webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal/ClientStubWriter.java Tue May 2 22:10:55 2006
@@ -329,7 +329,7 @@
writer.write("\t");
if (returntypeisarray)
- writer.write(outparamType + " *RetArray = (" + outparamType + " *)axiscAxisNew(AXISC_ARRAY, 0);\n");
+ writer.write(outparamType + " *RetArray = (" + outparamType + " *)axiscAxisNew(XSDC_ARRAY, 0);\n");
else if (!returntypeissimple)
{
// for AnyType and complex types
@@ -517,14 +517,14 @@
// Array of simple type
String containedType = CUtils.getclass4qname (qname);
writer.write ("\taxiscCallAddBasicArrayParameter(call,");
- writer.write ("Value" + i + ", " +
+ writer.write ("(Axisc_Array *)Value" + i + ", " +
CUtils.getXSDTypeForBasicType(containedType) + ", cPrefixAndParamName" + i);
}
else if (arrayType != null && arrayType.isSimpleType ())
{
String containedType = CUtils.getclass4qname (arrayType.getBaseType ());
writer.write ("\taxiscCallAddBasicArrayParameter(call,");
- writer.write ("Value" + i + ", " +
+ writer.write ("(Axisc_Array *)Value" + i + ", " +
CUtils.getXSDTypeForBasicType(containedType) +
", cPrefixAndParamName" + i);
}
@@ -533,7 +533,7 @@
// Array of complex type
String containedType = qname.getLocalPart ();
writer.write ("\taxiscCallAddCmplxArrayParameter(call,");
- writer.write ("Value" + i +
+ writer.write ("(Axisc_Array *)Value" + i +
", (void*)Axis_Serialize_" + containedType +
", (void*)Axis_Delete_" + containedType +
", \"" + parameterName + "\"" + ", ");
@@ -798,7 +798,7 @@
if (CUtils.isSimpleType (qname))
{
containedType = CUtils.getclass4qname (qname);
- writer.write ("\t\t\tRetArray = axiscCallGetBasicArray(call, "
+ writer.write ("\t\t\tRetArray =(" + containedType + "_Array *) axiscCallGetBasicArray(call, "
+ CUtils.getXSDTypeForBasicType (containedType)
+ ", \"" + returntype.getParamName () + "\", 0);\n");
}