axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sudhin Bengeri <sbeng...@opnet.com>
Subject Errors reported by WSDL2WS
Date Thu, 25 Mar 2004 20:08:23 GMT
Hi Susantha,

I want to write a Axis C++ client for a web service published by HP 
OpenView Interconnect. I have the WSDL and the schema files for the 
service. When I execute WSDL2WS to generate C++ classes, I get three types 
of errors listed below.

WSDL2Java is able to create Java classes for this WSDL successfully, I have 
attached the WSDL file and schema file for reference. Should I report a bug 
for the same. Let me know.

Error #1. Array writer called ......
Error occured yet we continue to genarate other classes ... you should 
check the error

and the following stack is printed

java.lang.NullPointerException
         at 
org.apache.axis.wsdl.wsdl2ws.cpp.literal.ArrayParamWriter.writeSource(ArrayParamWriter.java:87)
         at 
org.apache.axis.wsdl.wsdl2ws.cpp.literal.AllParamWriter.writeSource(AllParamWriter.java:92)
         at org.apache.axis.wsdl.wsdl2ws.Genarator.genarate(Genarator.java:75)
         at 
org.apache.axis.wsdl.wsdl2ws.doclit.DocLitWebServiceGenarator.genarate(DocLitWebServiceGenarator.java:100)
         at 
org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.genarateWrappers(WSDL2Ws.java:409)
         at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.main(WSDL2Ws.java:650)


Error #2. struct writer called ......
Error occured yet we continue to genarate other classes ... you should 
check the error

and the following stack is printed

org.apache.axis.wsdl.wsdl2ws.WrapperFault: Error : an attribute is not 
basic type
         at 
org.apache.axis.wsdl.wsdl2ws.cpp.literal.BeanParamWriter.writeSerializeGlobalMethod(BeanParamWriter.java:162)
         at 
org.apache.axis.wsdl.wsdl2ws.cpp.literal.BeanParamWriter.writeGlobalCodes(BeanParamWriter.java:122)
         at 
org.apache.axis.wsdl.wsdl2ws.cpp.literal.ParamCPPFileWriter.writeSource(ParamCPPFileWriter.java:91)
         at 
org.apache.axis.wsdl.wsdl2ws.cpp.literal.AllParamWriter.writeSource(AllParamWriter.java:104)
         at org.apache.axis.wsdl.wsdl2ws.Genarator.genarate(Genarator.java:75)
         at 
org.apache.axis.wsdl.wsdl2ws.doclit.DocLitWebServiceGenarator.genarate(DocLitWebServiceGenarator.java:100)
         at 
org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.genarateWrappers(WSDL2Ws.java:409)
         at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.main(WSDL2Ws.java:650)


Error #3. struct writer called ......
possible error class with no attributes....................

and no stack is printed.


Thanks,
- Sudhin.


--
Sudhindra S. Bengeri
Modeling Engineer
OPNET Technologies Inc.,
(240) 497-3000 x2414

====================================================
Register for OPNET's Online Technology Workshops
http//www.opnet.com/TechWorkshops/
====================================================
Register for OPNETWORK 2004 (Aug 30 - Sept 3, Washington DC)
http://www.opnet.com/opnetwork2004/
====================================================

Mime
View raw message