Thanks for the hint.
I got in contact with the guys of Cleverreach and there is no problem when
using the latest wsdl2java 1.6.2 and even the Apache CXF 3.0.3.
The Problem seems to be the axis version used in Railo/Lucee which is dated
as:
Name: org/apache/axis
Implementation-Title: Apache Axis
Implementation-Version: 1.4 1855 April 22 2006
Implementation-Vendor: Apache Web Services
Is there a way to replace it with the current version? I read, that it’s
not easy to do this, but currently I’m screwed, since I’m not able to
communicate with cleverreach. Am I the only one who has to communicate with
cleverreach?
Still, any help welcome.Am Samstag, 7. Februar 2015 05:06:03 UTC+1 schrieb Kai Koenig:
I’m assuming that’s not an issue with Lucee, but the provided WSDL looks
as if it could be the issue.
The error message tells your that the WSDL parser is looking for an
element string in the namespace http://schemas.xmlsoap.org/wsdl and can’t
find it.
As far as I can see, all string references are properly namespaced with
xsd: but this one:
<xsd:attribute ref=“SOAP-ENC:arrayType” wsdl:arrayType="string[]”/>
In the WSDL spec there is a wsdl:arrayType, nevertheless I would think the
string[] should be xsd:string[] though and it seems to me with the string[]
not being namespaced, Axis would try to interpret it as part of the WSDL
namespace (and spec).
Cheers
Kai
Hi,
after all the Lucee posts about filextensions, etc. I have a coding
question
I’m trying to connect to the cleverreach API, but I stuck in the first
line of code.
ws = CreateObject(“webservice”, ’
http://api.cleverreach.com/soap/interface_v5.1.php?wsdl’);
results in the following error, and I have no clue what it is:
Lucee 4.5.0.042 Error (java.io.IOException) Message Type {
http://schemas.xmlsoap.org/wsdl/}string is referenced but not defined.
Cause java.io.IOException
Stacktrace:
Type {http://schemas.xmlsoap.org/wsdl/}string is referenced but not
defined.
at
org.apache.axis.wsdl.symbolTable.SymbolTable.checkForUndefined(SymbolTable.java:665):665
at
org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:545):545
at
org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:518):518
at
org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:495):495
at
org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361):361
at java.lang.Thread.run(Unknown Source):-1
at lucee.runtime.exp.NativeException.(Unknown Source):-1
at lucee.runtime.op.Caster.toPageException(Unknown Source):-1
at lucee.runtime.net.rpc.client.Axis1Client.run(Unknown Source):-1
at lucee.runtime.net.rpc.client.Axis1Client.(Unknown Source):-1
at lucee.runtime.net.rpc.client.WSClient.getInstance(Unknown
Source):-1
at lucee.runtime.functions.other.CreateObject.doWebService(Unknown
Source):-1
at lucee.runtime.functions.other.CreateObject.call(Unknown Source):-1
at lucee.runtime.functions.other.CreateObject.call(Unknown Source):-1
at
cleverreach.api_cfm$cf.call(D:\Desktop\lucee-4.5.0.042-express\webapps\ROOT\cleverreach\api.cfm:64):64
Happy about any idea or hint.
Thanks,
Michi
–
You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+un...@googlegroups.com <javascript:>.
To post to this group, send email to lu...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/9bedba56-b048-43c3-b9b2-3cda83aeb50b%40googlegroups.com
https://groups.google.com/d/msgid/lucee/9bedba56-b048-43c3-b9b2-3cda83aeb50b%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.