I'm trying to define a targetNamespace for my WSDL ... right now it's
http://www.muleumo.org, and I'd like to change it to something like
http://www.myown.org.
I'm using a simple XFire connector in my Mule configuration file, and then
I'm getting the WSDL from Mule.
The WSDL I'm getting goes something like this:
<wsdl:definitions targetNamespace="http://www.muleumo.org">
<wsdl:types>
<xsd:schema attributeFormDefault="qualified"
elementFormDefault="qualified" targetNamespace="http://www.muleumo.org">
<xsd:element name="addTrialObservationSet">
....
I'd love to be able to set some property in the Mule configuration file ...
but I can't see any document that describes the property that affects this
... can someone point me in the right direction??
Here is the Mule configuration file ... fairly simple ... and there's only
one xfire connector:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mule-configuration PUBLIC "-//SymphonySoft //DTD
mule-configuration XML V1.0//EN"
"http://www.symphonysoft.com/dtds/mule/mule-configuration.dtd">
<mule-configuration id="PALMS_Services" version="1.0">
<container-context
className="org.mule.extras.spring.SpringContainerContext">
<properties>
<property name="configFile" value="mule-datasources.xml"/>
</properties>
</container-context>
<connector name="jmsConnector"
className="org.mule.providers.jms.JmsConnector">
<properties>
<property name="connectionFactoryJndiName"
value="ConnectionFactory"/>
<property name="jndiInitialFactory"
value="org.apache.activemq.jndi.ActiveMQInitialContextFactory"/>
<property name="specification" value="1.1"/>
<map name="jndiProviderProperties">
<property name="brokerURL" value="tcp://localhost:61616"/>
</map>
</properties>
</connector>
<endpoint-identifiers>
<!-- VM queues -->
<endpoint-identifier name="StudySDC.inbound.queue"
value="vm://StudySDC.inbound.queue"/>
<endpoint-identifier name="StudySDC.outbound.queue"
value="vm://StudySDC.outbound.queue"/>
<endpoint-identifier name="Study.AddTrialObservation.queue"
value="vm://Study.AddTrialObservation.queue"/>
<endpoint-identifier name="PALMS.Storage.queue"
value="vm://PALMS.Storage.queue"/>
<!-- JMS queues -->
<endpoint-identifier name="ConsoleOut" value="stream://System.out"/>
</endpoint-identifiers>
<!--
The Mule model initializes and manages the connections
-->
<model name="broker">
<!-- PALMS Service/Data Connector Web Service -->
<mule-descriptor name="PALMS"
implementation="org.paceproject.palms.service.ServiceDataConnector">
<inbound-router>
<endpoint address="xfire:http://localhost:81/services"/>
</inbound-router>
</mule-descriptor>
<!-- PALMS.Storage Service -->
<mule-descriptor name="Storage"
implementation="org.paceproject.palms.service.StorageDAOJdbc">
<inbound-router>
<endpoint address="PALMS.Storage.queue" synchronous="true"/>
</inbound-router>
</mule-descriptor>
<!-- PALMS.study Service/Data Connector -->
<mule-descriptor name="StudySDC"
implementation="org.paceproject.palms.service.study.ServiceDataConnector">
<inbound-router>
<endpoint address="StudySDC.inbound.queue" synchronous="true"/>
<endpoint address="StudySDC.outbound.queue"
synchronous="true"/>
</inbound-router>
</mule-descriptor>
<!-- PALMS.study.AddTrialObservationSet Service -->
<mule-descriptor name="StudyAddTrialObservationSet"
implementation="org.paceproject.palms.service.study.AddTrialObservationSet">
<inbound-router>
<endpoint address="Study.AddTrialObservation.queue"
synchronous="true"/>
</inbound-router>
</mule-descriptor>
</model>
</mule-configuration>
--
View this message in context: http://www.nabble.com/How-to-set-WSDL-targetNamespace-for-XFire-CXF-tp19657413p19657413.html
Sent from the Mule - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
Axis has a wsdlTargetNamespace attribute you can use
(http://mule.mulesource.org/display/MULE2USER/Configuring+Axis) - perhaps
Xfire has something similar. Check the schema
HTH
A
Antoine Borg, Senior Consultant | Tel: +32 28 504 696
ricston Ltd., BP 2, 1180 Uccle, Brussels, BELGIUM
email: antoin...@ricston.com | blog: blog.ricston.com | web: ricston.com