We don't support rpc/encoded in CXF, but there's a work around

http://www.jroller.com/gmazza/entry/national_weather_service_forecasting_web

Hope this helps
James


Hi all,

I noticed that the dynamic client can not handle objects of type
belonging to http://schemas.xmlsoap.org/soap/encoding/. (at least the
arrayType). For example, whenever I try to use the Dynamic Client with
this http://soap.genome.jp/KEGG.wsdl , I get the following Exception.

I haven't found so far any comments about this either on the wiki, in
Jira, road maps...

I am really looking for information about this and especially for a
workaround (how far could I tweak the wsdl?).

Any help appreciated!

Benjamin

java.lang.Exception: Error compiling schema from WSDL at
{http://soap.genome.jp/KEGG.wsdl}: undefined simple or complex type
'soapenc:Array'

      at
org.apache.cxf.endpoint.dynamic.DynamicClientFactory$InnerErrorListener.
error(DynamicClientFactory.java:409)

      at
com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.error(SchemaCompilerIm
pl.java:245)

      at
com.sun.tools.xjc.util.ErrorReceiverFilter.error(ErrorReceiverFilter.jav
a:61)

      at
com.sun.xml.xsom.impl.parser.ParserContext$2.error(ParserContext.java:18
8)

      at
com.sun.xml.xsom.impl.parser.ParserContext$1.reportError(ParserContext.j
ava:166)

      at
com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.reportError(NGCCRuntimeEx.jav
a:103)

      at
com.sun.xml.xsom.impl.parser.DelayedRef.resolve(DelayedRef.java:91)

      at com.sun.xml.xsom.impl.parser.DelayedRef.run(DelayedRef.java:66)

      at
com.sun.xml.xsom.impl.parser.ParserContext.getResult(ParserContext.java:
126)

      at
com.sun.xml.xsom.parser.XSOMParser.getResult(XSOMParser.java:172)

      at com.sun.tools.xjc.ModelLoader.createXSOM(ModelLoader.java:488)

      at
com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompilerImp
l.java:197)

      at
com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompilerImp
l.java:66)

      at
org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(Dynami
cClientFactory.java:166)

      at
org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(Dynami
cClientFactory.java:145)

      at
org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(Dynami
cClientFactory.java:124)

      at
com.inforsense.webservicestudio.server.cache.ClientFactory.getClient(Cli
entFactory.java:85)

     at
com.inforsense.webservicestudio.server.HttpCxfImpl.getOperations(HttpCxf
Impl.java:47)

      ... 27 more


Reply via email to