Hi Steve,

I don't understand, I thought wsdl2java was for generating a client stub from a given 
WSDL.
I don't see anything in the "wsdl2java" documentation that could answer my question.

What I wan't is deploy the service so I don't have any WSDL yet.

Can you tell me more about that or point me to some more explicit documentation?

Regards,
Patrick.


[EMAIL PROTECTED] wrote:


Hi Patric,

The axis wsdl2java does this for you, it creates both a deploy.wsdd and an undeploy.wsdd

Regards

Steve


Quoting "BLIS Webmaster (Patrick Houbaux)" <[EMAIL PROTECTED]>:



Hello all,

I have a bunch of objects and exceptions to expose from my webservice and
writting the wsdd start to be very teadious.

I was wondering if anybody of you knows a tool that allows to generate
automatically the set of <typeMapping> and <beanMapping> from a java package
containing the object/exceptions I want to expose.


I would imagine it to take in input :
- a java package (i.e com.domain.myservice.rpc.datatypes.faults)
- a corresponding XML namespace (i.e
urn:faults.datatypes.rpc.myservice.domain.com)
- a qname (i.e. MyServiceFault)
- a serializer (i.e. org.apache.axis.encoding.ser.BeanSerializerFactory)
- a deserializer (i.e. org.apache.axis.encoding.ser.BeanDeserializerFactory)
- the encoding style (i.e. http://schemas.xmlsoap.org/soap/encoding/)
- typeMapping or beanMapping?

Then I would get the set of <typeMapping> for the classes defined in my
package as:

<typeMapping
xmlns:sableNS="urn:faults.datatypes.rpc.myservice.domain.com"
qname="sableNS:MyServiceFault"
type="java:com.domain.myservice.rpc.datatypes.faults.MyServiceException"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
/>


and also the same kind of thing if I asked to generate <beanMapping>
instead.

Is there any free/commercial tools for that?
Has anybody already developed such a tool? If yes I might be able to provide
some contribution for developing it.

Thanks in advance for any hints.

Cheers,
Patrick.







--------------------------------------------------- This message was sent using Spansurf Web Mail Internet access in Spain - http://www.spansurf.com/



Reply via email to