hi there.
i have an internal WS that one of our .NET guys has made for me to
test something.
[WebMethod]
public string AddWithObject(Additives input)
{
int result = input.Input1 + input.Input2;
string s = result.ToString();
return s ;
}
thats the only method. when the method looks like above i get back
what i expect.
when it returns a number, no problem. when he makes the same thing
return a character (not a number) it bombs
<cfscript>
ar = createObject("webservice",
"http://10.10.12.180/TonyTest/Service1.asmx?wsdl");
inputter = structNew();
inputter.input1 = "50";
inputter.input2 = "52";
responsez = ar.AddWithObject(inputter);
</cfscript>
thats my cf code. anyone have any idea why?
thanks!!
Tony Weeg
Sr. Web Applications Architect & Developer
Navtrak, Inc.
Smart Companies Drive Navtrak
www.navtrakgps.com
800.787.2337
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343420
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm