You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "McPhail, Jeff" <JM...@tiaa-cref.org> on 2005/09/29 18:48:35 UTC

problem encoding OleDbConnection with wsdl2java

I am using wsdl2java on a .net remoting wsdl but it gives me the
following error:
C:\VisualStudioProjects\testJava>java org.apache.axis.wsdl.WSDL2Java 
http://localhost:8088/RATEngine.soap?WSDL
<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(SymbolTab
le.java:522)
        at
org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:422)
        at
org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:4
08)
        at
org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:3
93)
        at
org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:245)
        at java.lang.Thread.run(Unknown Source) 
 
It is referenced here in the wsdl:
 
<element name='conn' type='ns6:OleDbConnection'/>

 

and the entiries for OleDb package in the wsdl are:

xmlns:ns6='http://schemas.microsoft.com/clr/nsassem/System.Data.OleDb/Sy
stem.Data%2C%20Version%3D1.0.5000.0%2C%20Culture%3Dneutral%2C%20PublicKe
yToken%3Db77a5c561934e089'

and

<import
namespace='http://schemas.microsoft.com/clr/nsassem/System.Data.OleDb/Sy
stem.Data%2C%20Version%3D1.0.5000.0%2C%20Culture%3Dneutral%2C%20PublicKe
yToken%3Db77a5c561934e089'/>

 

Does anyone know why wsdl2java isn't seeing the OleDbConnection class?

Thanks,

Jeff. 

(The full wsdl is attached.)


**************************************************************
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
**************************************************************