service client (that connects to the remote object) that I used axis to
create a java wrapper for -- i.e. I used the wsdl2java on the web service
wsdl file. This works fine (without have to make any modifications to the wsdl) but the amout of data that is being passed is
getting to be too large for the web service and perfomance is too slow.
C:\VisualStudioProjects\testJava>java org.apache.axis.wsdl.WSDL2Java http://localhost:8088/RATEngine.soap?WSDL
{http://schemas.microsoft.com/clr/nsassem/RATLib/RATLib%2C%20Version%3D1.3.4.18022%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Dc62454177e0166f9}Tree already exists
{http://schemas.microsoft.com/clr/nsassem/RATLib/RATLib%2C%20Version%3D1.3.4.18022%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Dc62454177e0166f9}FactorTree already exists
{http://schemas.microsoft.com/clr/nsassem/RATLib/RATLib%2C%20Version%3D1.3.4.18022%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Dc62454177e0166f9}IRCurve already exists
{http://schemas.microsoft.com/clr/nsassem/RATLib/RATLib%2C%20Version%3D1.3.4.18022%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Dc62454177e0166f9}CompositeSecurity already exists
java.io.IOException: Type {http://schemas.microsoft.com/clr/nsassem/System.Data.OleDb/System.Data%2C%20Version%3D1.0.5000.0%2C%20Culture%3Dneutral%2C%
20PublicKeyToken%3Db77a5c561934e089}OleDbConnection is referenced but not defined.
at org.apache.axis.wsdl.symbolTable.SymbolTable.checkForUndefined(SymbolTable.java:522)
at org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:422)
at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:408)
at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:393)
at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:245)
at java.lang.Thread.run(Unknown Source)
<?
xml version='1.0' encoding='UTF-8'?><
definitions name='RATEngine' targetNamespace='http://schemas.microsoft.com/clr/nsassem/RATLib/RATLib%2C%20Version%3D1.3.4.29652%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Dc62454177e0166f9' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:tns='http://schemas.microsoft.com/clr/nsassem/RATLib/RATLib%2C%20Version%3D1.3.4.29652%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Dc62454177e0166f9' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:suds='http://www.w3.org/2000/wsdl/suds' xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/' xmlns:soapenc='http://schemas.xmlsoap.org/soap/encoding/' xmlns:ns0='http://schemas.microsoft.com/clr/nsassem/RATLib/RATLib%2C%20Version%3D1.3.4.29652%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Dc62454177e0166f9' xmlns:ns1='http://schemas.microsoft.com/clr/ns/System' xmlns:ns2='http://schemas.microsoft.com/clr/nsassem/RATLib.RATEngine/RATLib%2C%20Version%3D1.3.4.29652%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Dc62454177e0166f9' xmlns:ns3='http://schemas.microsoft.com/clr/ns/System.Collections' xmlns:ns4='http://schemas.microsoft.com/clr/nsassem/RATLib.Parameters/RATLib%2C%20Version%3D1.3.4.29652%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Dc62454177e0166f9' xmlns:ns5='http://schemas.microsoft.com/clr/nsassem/System.Data/System.Data%2C%20Version%3D1.0.5000.0%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Db77a5c561934e089'xmlns:ns6='http://schemas.microsoft.com/clr/nsassem/System.Data.OleDb/System.Data%2C%20Version%3D1.0.5000.0%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Db77a5c561934e089'
xmlns:ns7='http://schemas.microsoft.com/clr/nsassem/RATLib.RiskModel/RATLib%2C%20Version%3D1.3.4.29652%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Dc62454177e0166f9' xmlns:ns8='http://schemas.microsoft.com/clr/nsassem/RATLib.GetRiskMetric/RATLib%2C%20Version%3D1.3.4.29652%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Dc62454177e0166f9' xmlns:ns9='http://schemas.microsoft.com/clr/nsassem/RATLib.GetAggRiskMetric/RATLib%2C%20Version%3D1.3.4.29652%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Dc62454177e0166f9' xmlns:ns10='http://schemas.microsoft.com/clr/nsassem/RATLib.GetRiskAttribute/RATLib%2C%20Version%3D1.3.4.29652%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Dc62454177e0166f9' xmlns:ns11='http://schemas.microsoft.com/clr/nsassem/RATLib.GetAggRiskAttribute/RATLib%2C%20Version%3D1.3.4.29652%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Dc62454177e0166f9' xmlns:ns12='http://schemas.microsoft.com/clr/nsassem/RATLib.GetFactorDecomposition/RATLib%2C%20Version%3D1.3.4.29652%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Dc62454177e0166f9' xmlns:ns13='http://schemas.microsoft.com/clr/nsassem/RATLib.GetFactorGroupDecomposition/RATLib%2C%20Version%3D1.3.4.29652%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Dc62454177e0166f9' xmlns:ns14='http://schemas.microsoft.com/clr/nsassem/RATLib.GetRiskDecomposition/RATLib%2C%20Version%3D1.3.4.29652%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Dc62454177e0166f9' xmlns:ns15='http://schemas.microsoft.com/clr/nsassem/RATLib.MarketData/RATLib%2C%20Version%3D1.3.4.29652%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Dc62454177e0166f9' xmlns:ns16='http://schemas.microsoft.com/clr/nsassem/DotNetMatrix/GeneralMatrix%2C%20Version%3D1.0.2089.20026%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3D803d0b153bd426a7' xmlns:ns17='http://schemas.microsoft.com/clr/nsassem/RATLib.Portfolio/RATLib%2C%20Version%3D1.3.4.29652%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Dc62454177e0166f9' xmlns:ns18='http://schemas.microsoft.com/clr/nsassem/RATLib.MBRSortedList/RATLib%2C%20Version%3D1.3.4.29652%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Dc62454177e0166f9' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/'><types>
<schema targetNamespace='http://schemas.microsoft.com/clr/nsassem/RATLib/RATLib%2C%20Version%3D1.3.4.29652%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Dc62454177e0166f9'
xmlns='http://www.w3.org/2001/XMLSchema' elementFormDefault='unqualified' attributeFormDefault='unqualified'><import namespace='http://schemas.microsoft.com/clr/ns/System.Collections'/>
<import namespace='http://schemas.microsoft.com/clr/nsassem/System.Data/System.Data%2C%20Version%3D1.0.5000.0%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Db77a5c561934e089'/>
<import namespace='http://schemas.microsoft.com/clr/nsassem/System.Data.OleDb/System.Data%2C%20Version%3D1.0.5000.0%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Db77a5c561934e089'/>
<import namespace='http://schemas.microsoft.com/clr/nsassem/DotNetMatrix/GeneralMatrix%2C%20Version%3D1.0.2089.20026%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3D803d0b153bd426a7'/>
...
and here is where OleDbConnection is referenced
<complexType name='FundGroup'>
<all>
<element name='fundGroupData' type='ns5:DataSet'/>
<element name='ratEngine' type='ns0:RATEngine'/>
<element name='md' type='ns0:MarketData'/>
<element name='treeNodes' type='ns0:Tree'/>
<element name='securities' type='ns3:SortedList'/>
<element name='emptySriskVector' type='ns0:Vector'/>
<element name='currencyProxy' type='ns3:Hashtable'/>
<element name='conn' type='ns6:OleDbConnection'/>
<element name='defaultPriceSource' type='xsd:string'/>
<element name='implementCashPlug' type='xsd:boolean'/>
<element name='securityDate' type='xsd:string'/>
<element name='marketDate' type='xsd:string'/>
<element name='fundClass' type='xsd:string'/>
<element name='ybTableName' type='xsd:string'/>
<element name='securityTableQuery' type='xsd:string'/>
<element name='positionTableQuery' type='xsd:string'/>
<element name='fxfwdsecurityTableQuery' type='xsd:string'/>
<element name='eifsecurityTableQuery' type='xsd:string'/>
<element name='treelinksTableQuery' type='xsd:string'/>
<element name='treenodesTableQuery' type='xsd:string'/>
</all>
Any ideas on how I can get this to work. Thanks.
Cheers,
Jeff.
**************************************************************
This message, including any attachments, contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, please contact sender immediately by reply e-mail and destroy all copies. You are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited.
TIAA-CREF
**************************************************************