Hi

I have been trying to use java2wsdl to get the WSDL for an interface that uses a 
complex class that requires a typemapping to a BeanSerializer.

java2wsdl works fine if I leave the encoding to be the default. If I define 
document/literal, like this:

[EMAIL PROTECTED]:~/myprojects/...> java org.apache.axis.wsdl.Java2WSDL -o 
baseoperations.wsdl -l"http://localhost:8080/axis/services/baseoperations"; -n 
"urn:netconf" -p"com.cisco.netconf"="urn:netconf" -y Document -u Literal 
com.cisco.netconf.BaseOperations

Then I am told that I need to define a typemapping.

Conceptually this is fine, I can define such a mapping in a wsdd file.

I have perused the code and I can see where the mapping information should come from, 
and I can see where it might even get introduced. 

But how do I get java2wsdl to read the wsdd such that it actually is? 

There is no obvious entry point in the code to even define a property for the file, 
let alone read it, so I am at a loss as to how this is supposed to work, or if it even 
is.

It may be that using a wsdd file is not what I should be doing, if not, then what is?

Any ideas?

Thanks

Nathan

Reply via email to