• Post Reply Bookmark Topic Watch Topic
  • New Topic

about java2WSDL tool  RSS feed

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

i posted this under webservice thread too. im posting it here so i could get responses sooner.

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" net.telic.rtbec.ws.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.

if i would manipulate the wsdd directly, what namespace and details would i place?

for responses, please email me directly at kgmanuel@mnl.telic.net

much thanks. and good day
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!