Gives me this..
oper = new org.apache.axis.description.OperationDesc();
oper.setName("GetNumberOfEntries");
oper.addParameter(new javax.xml.namespace.QName("",
"bstrInAccount"), new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"),
java.lang.String.class, org.apache.axis.description.ParameterDesc.IN,
false, false);
oper.addParameter(new javax.xml.namespace.QName("",
"bstrInPassword"), new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"),
java.lang.String.class, org.apache.axis.description.ParameterDesc.IN,
false, false);
oper.addParameter(new javax.xml.namespace.QName("", "return"),
new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"int"), int.class, org.apache.axis.description.ParameterDesc.OUT, false,
false);
oper.addParameter(new javax.xml.namespace.QName("",
"longOutCount"), new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"),
int.class, org.apache.axis.description.ParameterDesc.OUT, false, false);
oper.addParameter(new javax.xml.namespace.QName("",
"bstrOutErrorMessage"), new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"),
java.lang.String.class, org.apache.axis.description.ParameterDesc.OUT,
false, false);
oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
oper.setStyle(org.apache.axis.enum.Style.RPC);
oper.setUse(org.apache.axis.enum.Use.ENCODED);
_operations[1] = oper;
Return type void, just the same as dumping an object created on the ws
in coldfusion, still leaves me not knowing how to call it in cf, I've
tried every way I can think of.
Having a paramater named return seems to cause issues too, it ends up
asking for _return, when you rename the param to _return, I get "String
index out of range:0 ", so if I then pass in bstrOutErrorMessage as " "
and not an empty String, it doesn't cause an error anymore, but
obviously doesn't return anything. Still sorta useless.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Sean A Corfield
Sent: 11 May 2004 23:55
To: [EMAIL PROTECTED]
Subject: Re: [CFCDev] Consuming webservices developed in other scripting
languages
On May 11, 2004, at 2:37 AM, Craig Dudley wrote:
> Not strictly cfc related, but here goes, I need to access a group of
> web
> service methods that are in the following format;
> ...
> I simply cannot get any of them to work, I'm assuming it's because
they
> return/set multiple variables and cf can't do this?
Have you run wsdl2java to see exactly what types Axis thinks it needs
to use to invoke the web service?
http://www.google.com/search?q=wsdl2java
It's supplied with CFMX - location varies depending on which version
you have.
Regards,
Sean
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev'
in the message of the email.
CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).
An archive of the CFCDev list is available at
www.mail-archive.com/[EMAIL PROTECTED]
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev'
in the message of the email.
CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).
An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]