Hi Thomas,

yep you are right ;) 
I omitted defining the namespace in my binding.xml:
<namespace uri="http://mycompany/api/srs/01"; prefix="srs" default="all"/>

Thanks!
jan


-----Ursprüngliche Nachricht-----
Von: Tomek Sztelak [mailto:[EMAIL PROTECTED] 
Gesendet: Dienstag, 16. Januar 2007 15:51
An: [email protected]
Betreff: Re: [xfire-user] Problems with XFire and JIBX binding

HI
Maybe its problem with binding.xml like you missed one of your class
description there ?

On 1/16/07, Liße, Jan (TEVEGE) <[EMAIL PROTECTED]> wrote:
> [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
>
>
>


-- 
-----
When one of our products stops working, we'll blame another vendor
within 24 hours.

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

    http://xircles.codehaus.org/manage_email


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

    http://xircles.codehaus.org/manage_email

Reply via email to