Axis2 WSDL2Java error during service skeliton/stub generation
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_PortalVariableResponseat 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_PortalVariableResponseat 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
FW: Axis2 WSDL2Java error during service skeliton/stub generation
Here is the WSDL file attached with this mail. From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: Axis2 WSDL2Java error during service skeliton/stub generationDate: Fri, 26 Oct 2007 10:34:30 -0400 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_PortalVariableResponseat 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_PortalVariableResponseat 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! Get 'em! _ Climb to the top of the charts! Play Star Shuffle: the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct PCMConnection.wsdl Description: application/xml - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Axis2 1.3 and Servlet Spec
Hello All,Axis2 1.3 can be installed in any Servlet Container, but is there any minimum Servlet specification(2.1 or 2.3) that is needed for Axis2 1.3 ?Any help is greatly appreciated.Thanks,Kiran _ Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare! http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews
RE: Axis2 1.3 and Servlet Spec
Hi Martin, It is just not only with Tomcat, If i have to select any other webserver then i need to know what is the servlet spec Axis2 1.3 needs at minimum. I didn't find that info on the requirements page of Axis2 website. Thanks, Kiran From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: Re: Axis2 1.3 and Servlet SpecDate: Fri, 13 Oct 2000 17:53:47 -0400 depends on the container that axis wil be implement on e.g. Apache Tomcat version 5.5 implements the Servlet 2.4 Apache Tomcat version 6.0 implements the Servlet 2.5 Are you using a different container? Martin-- - Original Message - From: Kiran Kumar Sriram To: axis-user@ws.apache.org Sent: Friday, October 12, 2007 2:15 PM Subject: Axis2 1.3 and Servlet Spec Hello All,Axis2 1.3 can be installed in any Servlet Container, but is there any minimum Servlet specification(2.1 or 2.3) that is needed for Axis2 1.3 ?Any help is greatly appreciated.Thanks,Kiran Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare! Try now! _ Peek-a-boo FREE Tricks & Treats for You! http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us