Hi,

I have a web service that is both a service and a client - an intermediary. The intermediary uses the same schema in its service definition as that defined in the service definition of its dependency (the endpoint for which this intermediary service is a client).

Bad ascii art follows:

Intermediary as Service.wsdl --> Shared Schema <-- A Service.wsdl
Intermediary as Client-----------------------------------------^

I am using xmlbeans for databinding for both the service and client.

My question is what is the best practice for using xmlbeans in this scenario? If I run wsdl2java for the "intermediary as service", I will get one graph of xmlbeans schema for the service. If I run it for the intermediary as client, I will get another graph with the same classes. In each run, I will get different xmlbean binaries generated. Additionally, my code is layered such that my web service client stub will be part of a service layer.

Do I just put these in different packages and call it a day?

Thanks,

Alejandro





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to