ok. i think we are going crazy here. the little test works now.
and i get this back <Result value="2" />
however, the REAL service i am trying to hit, is not working.
and im getting this error back:
i know what im SUPPS to get back... an xml string with parameters as
well as values inside tags. (kinda like what i have above)
Web service operation AR_CustSearch with parameters
{{PAGESIZE={},STATE={},SALESPERSONNAME={},COUNTRY={},CUSTID={},PAGEINDEX={},SUSER={navtrak_mas500api},IDBCE={},NAMETOFIND={Navtrak},NAMEORIDBCE={},PHONE={},SCOMPANY={NT},ACTIVEONLY={},ORDERBY={},SPWD={hR9W*D032811},NAMEBC={},LORD={},EMAIL={},CITY={},LOGINNAME={},NAMEORID={}}}
cannot be found.
thanks
tony
On Wed, Mar 30, 2011 at 3:09 PM, John M Bliss <[email protected]> wrote:
>
>> when he makes the same thing return a character (not a number) it bombs
>
> Error message?
>
>
> On Wed, Mar 30, 2011 at 1:52 PM, Tony <[email protected]> wrote:
>
>>
>> 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:343422
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm