java.lang.NullPointerException at org.apache.axis.wsdl.wsdl2ws.WrapperUtils.getClassNameFromParamInfoConsideringArrays

2007-10-12 Thread Kumar.Rajeev


I get following error while using axis C++ for generating C++ stubs. Any
help on this will be highly appreciated.


C:\axisC++\lib\axisjava org.apache.axis.wsdl.wsdl2ws.WSDL2Ws -lc++ -sserver
-oserver  http://nydebl1:8097/wsdl/629/2007/adm/adm.wsdl
java.lang.NullPointerException
at
org.apache.axis.wsdl.wsdl2ws.WrapperUtils.getClassNameFromParamInfoConsideringArrays(Unknown
Source)
at
org.apache.axis.wsdl.wsdl2ws.cpp.literal.WrapWriter.writeMethodInWrapper(Unknown
Source)
at org.apache.axis.wsdl.wsdl2ws.cpp.WrapWriter.writeMethods(Unknown
Source)
at
org.apache.axis.wsdl.wsdl2ws.cpp.CPPClassWriter.writeSource(Unknown Source)
at org.apache.axis.wsdl.wsdl2ws.Generator.generate(Unknown Source)
at
org.apache.axis.wsdl.wsdl2ws.WebServiceGeneratorImpl.generate(Unknown
Source)
at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.generateWrappers(Unknown
Source)
at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.main(Unknown Source)

Code generation failed. Please see errors above.

-- 
View this message in context: 
http://www.nabble.com/java.lang.NullPointerException-at-org.apache.axis.wsdl.wsdl2ws.WrapperUtils.getClassNameFromParamInfoConsideringArrays-tf4614192.html#a13177046
Sent from the Axis - C++ - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: java.lang.NullPointerException at org.apache.axis.wsdl.wsdl2ws.WrapperUtils.getClassNameFromParamInfoConsideringArrays

2007-10-12 Thread Kumar.Rajeev

Thanks a lot Nadir for your quick reply

Following is the link I am using for axisC++ binary.
http://www.apache.org/dist/ws/axis-c/axis-c-win32-current-bin.zip

Are you referring to a different link for latest binaries? 

I also tried to use 

java org.apache.axis.wsdl.WSDL2Java 
http://nydebl1:8097/wsdl/629/2007/adm/adm.wsdl

Which generated stubs in java without any problem, but with axisC++ no luck
:(

Please let me know if I am using the latest binary.

Thank again for help.

Kumar, Rajeev


Nadir Amra wrote:
 
 Kumar,
 
 Can you please try the latest code in SVN and see what you get?  If the 
 problem persists with latest code, open a JIRA and attach WSDL (as 
 simplified as possible).  Without my able to recreate the problem there 
 will be no fix, so do not open a JIRA if you cannot attach WSDL.
 
 Nadir K. Amra
 
 
 Kumar.Rajeev [EMAIL PROTECTED] wrote on 10/12/2007 11:54:00 AM:
 
 
 
 I get following error while using axis C++ for generating C++ stubs. Any
 help on this will be highly appreciated.
 
 
 C:\axisC++\lib\axisjava org.apache.axis.wsdl.wsdl2ws.WSDL2Ws -lc++ 
 -sserver
 -oserver  http://nydebl1:8097/wsdl/629/2007/adm/adm.wsdl
 java.lang.NullPointerException
 at
 org.apache.axis.wsdl.wsdl2ws.WrapperUtils.
 getClassNameFromParamInfoConsideringArrays(Unknown
 Source)
 at
 org.apache.axis.wsdl.wsdl2ws.cpp.literal.WrapWriter.
 writeMethodInWrapper(Unknown
 Source)
 at 
 org.apache.axis.wsdl.wsdl2ws.cpp.WrapWriter.writeMethods(Unknown
 Source)
 at
 org.apache.axis.wsdl.wsdl2ws.cpp.CPPClassWriter.writeSource(Unknown 
 Source)
 at org.apache.axis.wsdl.wsdl2ws.Generator.generate(Unknown 
 Source)
 at
 org.apache.axis.wsdl.wsdl2ws.WebServiceGeneratorImpl.generate(Unknown
 Source)
 at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.generateWrappers(Unknown
 Source)
 at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.main(Unknown Source)
 
 Code generation failed. Please see errors above.
 
 -- 
 View this message in context: http://www.nabble.com/java.lang.
 NullPointerException-at-org.apache.axis.wsdl.wsdl2ws.WrapperUtils.
 getClassNameFromParamInfoConsideringArrays-tf4614192.html#a13177046
 Sent from the Axis - C++ - User mailing list archive at Nabble.com.
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/java.lang.NullPointerException-at-org.apache.axis.wsdl.wsdl2ws.WrapperUtils.getClassNameFromParamInfoConsideringArrays-tf4614192.html#a13181729
Sent from the Axis - C++ - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]