[EMAIL PROTECTED],
I'm trying to expose a webservice using the JIBX binding.
I'm doing a schema first approach and after writing the binding.xml
I successfully ran the JIBX binding compiler to post-process my classes. When I
deploy the
webservice in the servlet container I get the following exception during
startup:
Caused by: java.lang.IllegalArgumentException: local part cannot be "null" when
creating a QName
at javax.xml.namespace.QName.<init>(QName.java:214)
at javax.xml.namespace.QName.<init>(QName.java:163)
at org.codehaus.xfire.jibx.JibxType.<init>(JibxType.java:64)
at org.codehaus.xfire.jibx.JibxTypeCreator.createDefaultType(JibxTypeCre
ator.java:15)
at org.codehaus.xfire.aegis.type.AbstractTypeCreator.createTypeForClass(
AbstractTypeCreator.java:102)
at org.codehaus.xfire.aegis.type.AbstractTypeCreator.createType(Abstract
TypeCreator.java:334)
at org.codehaus.xfire.aegis.AegisBindingProvider.getSuggestedName(AegisB
indingProvider.java:248)
at org.codehaus.xfire.service.binding.DefaultServiceConfiguration.getOut
ParameterName(DefaultServiceConfiguration.java:174)
at org.codehaus.xfire.service.binding.ObjectServiceFactory.getOutParamet
erName(ObjectServiceFactory.java:1059)
at org.codehaus.xfire.service.binding.ObjectServiceFactory.addOperation(
ObjectServiceFactory.java:817)
at org.codehaus.xfire.service.binding.ObjectServiceFactory.initializeOpe
rations(ObjectServiceFactory.java:742)
at org.codehaus.xfire.service.binding.ObjectServiceFactory.create(Object
ServiceFactory.java:426)
at org.codehaus.xfire.spring.ServiceBean.afterPropertiesSet(ServiceBean.
java:176)
at org.codehaus.xfire.spring.remoting.XFireExporter.afterPropertiesSet(X
FireExporter.java:30)
I have attached a stripped down version of my schema.
What's going wrong here?
Many thx for any help in advance!
Cheers,
jan
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email