Most of the time, I'm able to muddle through trying to call these wacky .NET
webservices with ColdFusion on my own. (With help from blog articles and
wsdl2java, of course.) This time, I'm just banging my head against the wall.
Here's the WSDL:
s:element name=SomeServiceMethod
s:complexType
In C#, the web reference auto-generates a method for this that takes three
params: a string, a
string, and an XmlNode. Easy-peasy.
But how do I need to structure the third argument in ColdFusion to make this
work? I've tried
passing a string with the XML, a parsed XML document, a big
Are you specifying TYPE=XML in your CFARGUMENT tag? That's about
all I can think of without shelling to Java (as usual).
Do you mean cfinvokeargument?
This isn't my web service: it's a third-party thing that was implemented in
.NET. I haven't seen the source, but I strongly suspect that
Whenever I've had to call a .NET web-service, where any of the
arguments are complex, I've always had to construct the SOAP envelope
manually. In the end, this took less time than trying to call it
directly -- and failing, and failing, and failing.
Cheers,
Kris
This isn't my web service: it's
Are you specifying TYPE=XML in your CFARGUMENT tag? That's about
all I can think of without shelling to Java (as usual).
Do you mean cfinvokeargument?
No, apparently I meant that I didn't read your question properly.
Sorry about that!
Worse comes to worst, I suppose I can build the (very
Yes, that approach is less than optimal. You should be able to
resolve
this by invoking Axis directly, instead of using CFINVOKE. Rob Munn
wrote an example you can see here:
http://coldfusion.sys-con.com/node/86131
I don't think I really want to go building my own proxies, as that article
6 matches
Mail list logo