WOW that was speed light reply. I will give it a try immediately and
will let you know.
Cheers and thankx
Alan Cassar
Ricston Consulting
Tel: +356 21 334457
Fax: +356 21 334457
Wayne Keenan wrote:
Hi,
You can construct an Xfire instance and services from a list of XML
files using XFireConfigLoader.
XFireConfigLoader cl = new XFireConfigLoader();
XFire xfire = cl.loadConfig(" file1.xml,service1.xml,service2.xml");
for my particular setup the first configfile setups up 'global' xfire
settings (e.g. a JMS transport) and
the subsequentones are individual serverice.xml.
You can then either make use of the XFire Servlet or the embedded HTTP
server in which to run the instance.
Hoe that helps,
Wayne
On 28/02/07, * Alan Cassar* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Hi,
I would like to ask a question about the service.xml file.
We are using
xfire's api to host some web services through Mule. This implies that
generally, to host a service with Mule, you do not need to write your
service.xml config file, but you configure the service in Mule's config
file. Lately we have received a request to add a feature, that is:
accept the custom bindings which can be set in service.xml file, i.e .
<bindings>
<soap11Binding name="qname" transport=""
allowUndefinedEndpoints="">
<endpoints>
<endpoint name="qname" url="" />
</endpoints>
</soap11Binding>
<soap12Binding name="qname" transport=""
allowUndefinedEndpoints="">
<endpoints>
<endpoint name="qname" url="" />
</endpoints>
</soap12Binding>
</bindings>
I would like to ask what is the API i need to look at to
automatically
parse service.xml and generate the classes, extract the bindings from
the generated classes and set these bindings on the ServiceFactory
instance.
Cheers
Alan Cassar
Ricston Consulting
Tel: +356 21 334457
Fax: +356 21 334457
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email
------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.4/705 - Release Date: 2/27/2007 3:24
PM
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email