On 4/7/07, [p e r c e p t i c o n] <[EMAIL PROTECTED]> wrote:
Hello Experts,
I apologize for the ganged topics, but they might be related...
i'm running wsdl2java like this
C:\axis2-1.1.1\bin>wsdl2java -uri http://someURL/Service.asmx?wsdl
<http://someurl/Service.asmx?wsdl> -ss -t
and receiving the following errors
log4j:WARN No appenders could be found for logger (
org.apache.axis2.addressing.wsdl.WSDL11ActionHelper).
log4j:WARN Please initialize the log4j system properly.
(Location of error unknown)org.apache.xml.utils.URI$MalformedURIException:
Cannot initialize URI with empty parameters
(Location of error unknown)org.apache.xml.utils.URI$MalformedURIException:
Cannot initialize URI with empty parameters
then i run
C:\ant
and receive the following errors
compile.src:
[javac] Compiling 7 source files to C:\axis2-1.1.1\bin\build\classes
[javac] C:\axis2-
1.1.1\bin\src\us\datacore\invisalign\DoctorLocatorServiceMessageReceiverInOut.java:47:cannot
find symbol
[javac] symbol : method fromOM(org.apache.axiom.om.OMElement,
java.lang.Class<us.datacore.invisalign.GetDoctor>,java.util.Map)
[javac] location: class
us.datacore.invisalign.DoctorLocatorServiceMessageReceiverInOut (
us.datacore.invisalign.GetDoctor)
fromOM(
[javac] ^
[javac] C:\axis2-
1.1.1\bin\src\us\datacore\invisalign\DoctorLocatorServiceMessageReceiverInOut.java:55:cannot
find symbol
[javac] symbol : method toEnvelope(org.apache.axiom.soap.SOAPFactory,
us.datacore.invisalign.GetDoctorResponse,boolean)
[javac] location: class
us.datacore.invisalign.DoctorLocatorServiceMessageReceiverInOut
[javac] envelope =
toEnvelope(getSOAPFactory(msgContext), param5, false);
[javac] ^
my questions are as follows
1). what does this mean : (Location of error
unknown)org.apache.xml.utils.URI$MalformedURIException: Cannot initialize
URI with empty parameters
and how do i resolve it?
can you tell us the correct wsdl location? and what are the options you use
to generate the code?
2). how do i resolve these
[javac] C:\axis2-
1.1.1\bin\src\us\datacore\invisalign\DoctorLocatorServiceMessageReceiverInOut.java:47:cannot
find symbol
[javac] symbol : method fromOM(org.apache.axiom.om.OMElement,
java.lang.Class<us.datacore.invisalign.GetDoctor>,java.util.Map)
[javac] location: class
us.datacore.invisalign.DoctorLocatorServiceMessageReceiverInOut(
us.datacore.invisalign.GetDoctor)
fromOM(
[javac] ^
[javac] C:\axis2-
1.1.1\bin\src\us\datacore\invisalign\DoctorLocatorServiceMessageReceiverInOut.java:55:cannot
find symbol
[javac] symbol : method toEnvelope(org.apache.axiom.soap.SOAPFactory,
us.datacore.invisalign.GetDoctorResponse,boolean)
[javac] location: class
us.datacore.invisalign.DoctorLocatorServiceMessageReceiverInOut
[javac] envelope =
toEnvelope(getSOAPFactory(msgContext), param5, false);
can you try with the RC2 or nightly build?
and are the two related?
thanks so much
--
Amila Suriarachchi,
WSO2 Inc.