Error while parsing No namespace declared

24 views
Skip to first unread message

jos...@gmail.com

unread,
Mar 22, 2013, 10:54:13 AM3/22/13
to membrane...@googlegroups.com
Hi, I can´t register most of my web services, I always get the following error:

Does anyone know what is the problem?

2013-03-22 15:45:08,500 ["http-apr-8081"-exec-10] ERROR registry.RegisterControl
ler  - Error while parsing http://soapre.abg.corp:7020//queuemanagement/soap/1.0
?WSDL
java.lang.RuntimeException: No namespace declared for element xml:base.
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77)
        at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:71)
        at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:81)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:198)
        at com.predic8.soamodel.XMLElement.getTypeQName(XMLElement.groovy:84)
        at com.predic8.soamodel.XMLElement$getTypeQName.callCurrent(Unknown Source)
        at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:44)
        at com.predic8.soamodel.XMLElement$getTypeQName.callCurrent(Unknown Source)
        at com.predic8.schema.Attribute.parseAttributes(Attribute.groovy:31)
        at sun.reflect.GeneratedMethodAccessor918.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:266)
        at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:51)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:153)
        at com.predic8.soamodel.XMLElement.parse(XMLElement.groovy:21)
        at com.predic8.soamodel.XMLElement$parse.call(Unknown Source)
        at com.predic8.schema.Schema.parseChildren(Schema.groovy:95)
        at sun.reflect.GeneratedMethodAccessor321.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:266)
        at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:51)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:157)
        at com.predic8.soamodel.XMLElement.parse(XMLElement.groovy:26)
        at com.predic8.soamodel.XMLElement$parse.call(Unknown Source)
        at com.predic8.schema.SchemaParser.parseLocal(SchemaParser.groovy:23)
        at com.predic8.schema.SchemaParser$parseLocal.callCurrent(Unknown Source)
        at com.predic8.soamodel.AbstractParser.parse(AbstractParser.groovy:20)
        at com.predic8.schema.SchemaParser.super$2$parse(SchemaParser.groovy)
        at sun.reflect.GeneratedMethodAccessor617.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:88)
        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1058)
        at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1070)

Thomas Bayer

unread,
Mar 22, 2013, 2:27:58 PM3/22/13
to membrane...@googlegroups.com
Hi,
looks like the registry does not support the xml:base specification. You
can try to remove the xml:base attribute from your WSDL and then try again.

--
Thomas


Reply all
Reply to author
Forward
0 new messages