I am trying to run WSDL2Java  I won’t post the WSDL file here unless someone thinks I should.  I don’t think the problem is with the WSDL file itself.

 

When I run WSDL2Java from ant, both with an ant task and with an ant Java task  I am getting an error similar to:

 

 

[axis-wsdl2java] java.io.IOException: Type {http://util.java}Properties is referenced but not defined.

[axis-wsdl2java] at org.apache.axis.wsdl.symbolTable.SymbolTable.checkForUndefined(SymbolTable.java:663)

[axis-wsdl2java] at org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:543)

[axis-wsdl2java] at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:516)

[axis-wsdl2java] at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:493)

[axis-wsdl2java] at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:360)

[axis-wsdl2java] at java.lang.Thread.run(Unknown Source)

BUILD FAILED: C:\Java\eclipse\workspace\AlariusUser\ant\build.xml:76: WSDL processing error for C:\Java\eclipse\workspace\AlariusUser\WebContent\pages\AlariusUser.wsdl :

 Type {http://util.java}Properties is referenced but not defined.

 

I am assuming the part of the wsdl it is looking at is

 

<wsdl:definitions targetNamespace="urn:http://alariussystemsllc.com/AlariusUserServices/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="urn:http://alariussystemsllc.com/AlariusUserServices/" xmlns:intf="urn:http://alariussystemsllc.com/AlariusUserServices/" xmlns:tns1="http://contentclient.alariusj.com"

 

xmlns:tns2="http://util.java"

 

xmlns:tns3="http://action.struts.apache.org"

xmlns:tns4="http://upload.struts.apache.org"

xmlns:tns5="http://registries.alariusj.com"

xmlns:tns6="http://io.java"

xmlns:tns7="http://httpclient.commons.apache.org"

xmlns:tns8="http://lib.webdav.apache.org"

xmlns:tns9="http://user.alariusj.com"

xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"

xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"

xmlns:xsd="http://www.w3.org/2001/XMLSchema">

 

and

 

<complexType name="AJCSConfig">

    <sequence>

     <element name="configuration" nillable="true" type="tns2:Properties"/>

    </sequence>

   </complexType>

 

and this all points to having rt.jar in the classpath so it can find java.util.Properties, right?

 

So what do I do to get this working?  Or what more do you need to know?  WSDL?

 

Ollie

 

Loosely Coupled

 

Mike Oliver
CTO

Alarius Systems LLC
6800 E. Lake Mead Blvd
Apt 1096
Las Vegas, NV 89156

[EMAIL PROTECTED]
[EMAIL PROTECTED]
IM: [EMAIL PROTECTED]
http://www.alariussystems.com/

tel:
fax:
mobile:

(702)643-7425
(702)974-0341
(518)378-6154

 

Add me to your address book...

Want a signature like this?

 

Reply via email to