Hello,
Does anyone know a way that Java2WSDL can use a wsdd?
When Axis server automatically generates my WSDL, I can control this generation with a
WSDD. When I do it with Java2WSDL, I don't have anywhere near the same kind of
capabilities. I assume I must be missing something?
My Specific problem is as follows:
When I want to deploy a service that throws an exception, I need to specify the
typemapping for the exception. At least that's the only way I've been able to
successfully deploy an exception using Doc Literal. Here's the service element in my
WSDD:
<service name="SimpleService" provider="java:RPC" style="wrapped" use="literal">
<parameter name="allowedMethods" value="*"/>
<parameter name="className" value="com.sabre.cruise.wstryout.Transactions"/>
<typeMapping
xmlns:ns="http://webservices.sabre.com/SimpleException"
qname="ns:SimpleException"
type="java:com.sabre.cruise.wstryout.exceptions.SimpleException"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
</service>
Using this Service element I can deploy the service. The wsdl is automatically
generated and SimpleException is mapped to a fault. Unfortunatley I can't see any way
to give the same information to java2wsdl so I can generate the wsdl without first
deploying it. Any help would be greatly appreciated.
thanks!
Bill Heitzeg
1-734-995-9131