problem invoking a webservice
i'm trying invoke .net-based web service returns pdf document in binary stream. i'm running coldfusion mx version 6 on iis 5. when try invoke following error:
java.lang.nullpointerexception
oddly enough, error message targeting 1 the "cfinvokearguments" i'm passing instead of binary content i'm trying write. i've checked & rechecked method name/arguments & match web service signature. have no problem invoking methods same webservice return strings, problem must binary data. don't see how can cf/.net compatability issue. binary data on windows platform should interchangable regardless of applications exchange it, shouldn't it?! please tell me i'm going wrong here!!
the cf code follows:
<cfinvoke
webservice = " http://eqg508/printmanager/printmanager.asmx?wsdl"
method = "displayagreement"
returnvariable = "foo">
<cfinvokeargument name="agreementid" value="473099">
<!--- line causing error --->
<cfinvokeargument name="copytodisplay" value="dealer">
</cfinvoke>
<cfcontent type="application/pdf">
#foo#
java.lang.nullpointerexception
oddly enough, error message targeting 1 the "cfinvokearguments" i'm passing instead of binary content i'm trying write. i've checked & rechecked method name/arguments & match web service signature. have no problem invoking methods same webservice return strings, problem must binary data. don't see how can cf/.net compatability issue. binary data on windows platform should interchangable regardless of applications exchange it, shouldn't it?! please tell me i'm going wrong here!!
the cf code follows:
<cfinvoke
webservice = " http://eqg508/printmanager/printmanager.asmx?wsdl"
method = "displayagreement"
returnvariable = "foo">
<cfinvokeargument name="agreementid" value="473099">
<!--- line causing error --->
<cfinvokeargument name="copytodisplay" value="dealer">
</cfinvoke>
<cfcontent type="application/pdf">
#foo#
More discussions in Advanced Techniques
adobe
Comments
Post a Comment