axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gaël Pouzerate <gpouz...@frisurf.no>
Subject Java2WSDL/?WSDL problem with java.util?
Date Fri, 17 May 2002 13:20:14 GMT

Hi folk,

I'm trying to generate a WSDL file from my service. Either with ?WSDL or with Java2WSDL, it
fails (see traces below)! 
And it fails because im my service java code, I'm using a variable of type java.util.Calendar.
I've been trying to play with some options of the Java2WSDL, but in vain...

Pleae help me if you can!

--Gaël


bash-2.05$ java org.apache.axis.wsdl.Java2WSDL -o CustomerManagmentAPI.wsdl  -l"http://localhost:7654/axis/services/CustomerManagmentAPI"
 -n "urn:CustomerManagmentAPI"  
com.djuice.custmgmt.CustomerManagmentAPI
WSDLException: faultCode=OTHER_ERROR: Can't find prefix for 'http://util.java'. Namespace
prefixes must be set on the Definition object using the addNamespace(...) 
method.: 
        at com.ibm.wsdl.util.xml.DOMUtils.getPrefix(DOMUtils.java:352)
        at com.ibm.wsdl.util.xml.DOMUtils.getQualifiedValue(DOMUtils.java:336)
        at com.ibm.wsdl.util.xml.DOMUtils.printQualifiedAttribute(DOMUtils.java:320)
        at com.ibm.wsdl.xml.WSDLWriterImpl.printParts(WSDLWriterImpl.java:706)
        at com.ibm.wsdl.xml.WSDLWriterImpl.printMessages(WSDLWriterImpl.java:676)
        at com.ibm.wsdl.xml.WSDLWriterImpl.printDefinition(WSDLWriterImpl.java:111)
        at com.ibm.wsdl.xml.WSDLWriterImpl.writeWSDL(WSDLWriterImpl.java:923)
        at com.ibm.wsdl.xml.WSDLWriterImpl.getDocument(WSDLWriterImpl.java:902)
        at org.apache.axis.wsdl.fromJava.Emitter.emit(Unknown Source)
        at org.apache.axis.wsdl.fromJava.Emitter.emit(Unknown Source)
        at org.apache.axis.wsdl.Java2WSDL.main(Unknown Source)



Mime
View raw message