Win a copy of Penetration Testing Basics this week in the Security forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java2WSDL tool

Gabo Manuel
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

i am trying to use java.util.Properties as a field in one of my classes. i use this script to create the wsdd and the wsdl of the webservice:

java -cp . -Dsoap.path=c:\testing -Djava.ext.dirs=./lib org.apache.axis.wsdl.Java2WSDL -o AccountManagementWebService.wsdl -l"http://localhost:8080/axis/services/AccountManagementWebService" -n"urn:AccountManagementWebService" -s"AccountManagementWebService"

and it keeps on returning this:

- The class java.util.Properties is defined in a java or javax package and cannot be converted into an xml schema type. An xml schema anyType will be used to define this class in the wsdl file.

one of the SoapObjects that implements serializable has one of its fields as a Properties object.

for responses, please email me directly at

much thanks. and good day.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic