Hello All I am getting this error when i try to generate Service Skeleton code
from a WSDL file. This is a new service and we are trying to go in WSDL first
approach. We need wsdl to be in Document/literal Wrapped style in order to be
interoperable with .Net framework. .Net generated client stubs with out any
problem but Axis2 WSDL2Java is giving this exception during service skeleton
and client generation times. This is pretty simple WSDL file with just two
methods in it. We are trying to generate skeleton and clients in UNWrapped
mode. C:\Code\Axis14ClientTest\Axis14ClientTest1>java.exe
-Djava.ext.dirs=C:\Softwares\axis2-1.3-bin\axis2-1.3\lib;
org.apache.axis2.wsdl.WSDL2Java -s -ss -uw -sd -dadb -uri
PCMConnection.wsdllog4j:WARN No appenders could be found for logger
(org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder).log4j:WARN Please
initialize the log4j system properly.Exception in thread "main"
org.apache.axis2.wsdl.codegen.CodeGenerationException:
org.apache.axis2.wsdl.codegen.CodeGenerationException: Can not determine the
schema type for the set_PortalVariableResponse at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:265)
at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35) at
org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)Caused by:
org.apache.axis2.wsdl.codegen.CodeGenerationException: Can not determine the
schema type for the set_PortalVariableResponse at
org.apache.axis2.wsdl.codegen.extension.SchemaUnwrapperExtension.walk I have
attached WSDL file with this mail. Just to let you know .Net is fine with this
WSDL but not Axis2 WSDL2Java tool. Any help is greatly appreciated. Thank you,
Kiran
_________________________________________________________________
Peek-a-boo FREE Tricks & Treats for You!
http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us