I didn't have consistent namespaces in the classes I wished to expose via
annotations.
When namespaces are different, the jaxb service factory will presume you'll
supply the schema definitions on your own.



pradeep wrote:
> 
> There is JIRA filed for this. Can you someone please fix this. 
> http://jira.codehaus.org/browse/XFIRE-568?watch=true
> Thank you
> 
> 
> pradeep wrote:
>> 
>> Hi
>> I am facing the same problem. Did you solve it ?
>> 
>> Thanks
>> Pradeep
>> 
>> 
>> butterdave wrote:
>>> 
>>> Hi Guys,
>>> 
>>> I’ve managed to auto-generate a wsdl for my service BUT in the wsdl
>>> definition it refers to imports of files named: schema1.xsd, schema2.xsd
>>> and so on.
>>> 
>>> Why is it doing this?
>>> 
>>> How can I generate these files?
>>> 
>>> Does the wsdl have to import these *.xsd files?
>>> 
>>> I’m using the JaxbServiceFactory. I’ve even tried to set the
>>> wsdlBuilder.removeImports property in my services.xml:
>>> 
>>> <beans xmlns="http://xfire.codehaus.org/config/1.0";>
>>>   <service>
>>>     <name>NegotiationRuleService</name>
>>>    
>>> <namespace>http://exchangesolutions.com/NegotiationRuleService</namespace>
>>> 
>>> <serviceClass>net.exchangesolutions.sncore.rule.RuleSolutionCalculator</serviceClass>
>>>    
>>> <serviceFactory>org.codehaus.xfire.jaxb2.JaxbServiceFactory</serviceFactory>
>>>     <properties>
>>>       <property key="wsdlBuilder.removeAllImports">true</property>
>>>     </properties>
>>>   </service>
>>> </beans>
>>> 
>>> What am I doing wrong?
>>> 
>>> DP
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/schemaLocation-imports-of-auto-generated-xsd-files-tf2005742.html#a7365305
Sent from the XFire - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to