Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Wednesday, November 27, 2024 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Architect Forums - SalesLogix Scripting & Customization
Forum to discuss writing script in Architect plugins for SalesLogix & general SalesLogix customization topics (for Windows client only). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Scripting & Customization | New ThreadView:  Search:  
 Author  Thread: SOAP Call - Object Required Error 424
Justin Heath
Posts: 6
 
SOAP Call - Object Required Error 424Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 20 Mar 07 4:57 PM
fiogf49gjkf0d
I'm not sure if this is the right forum or not but I'll start here...

I'm utilizing a web service through a SOAP client call like so:


SOAPClient1.RemoteObject.UpdateAS400( 'arguments' )


The SOAPClient settings include:

Name: SOAPClient1
Port: AS400Soap
ServiceName: AS400
WSDLFile: http://servername/salselogixas400/as400.asmx?WSDL

Now, when I debug this I find that the proper data is being returned, but for some reason, an error is being thrown. I first checked to see that all 'arguments' had at least something set and were not null, but that didn't fix the problem. I also tried creating a physical WSDL file and pointed to it specifically but that didn't work.

I then checked out the BabelFish Translator as it utilizes a SOAP call to a webservice but it looks pretty much the same as what I'm doing - although I noticed that in the example they don't actually look for errors. So I tried catching errors and sure enough, that sample code causes an error as well. I'm not sure if this is just a bad example or what.

So, for the meantime, I'm simply doing an err.clear to get past this as I am getting correct data, but I wanted to see if anyone had an idea as to why this is happening as clearly this is a bad work around.
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: SOAP Call - Object Required Error 424Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 20 Mar 07 5:55 PM
fiogf49gjkf0d
I don't ever use the SOAPClient control, not sure why. I've never really understood it and find it' easier to just write the code to call the web service yourself and the SOAPClient control has always seemed a bit buggy.

Take a look at this thread for this approach: http://www.slxdeveloper.com/forum.aspx?forumid=4001&postid=6138
[Reply][Quote]
Jason Huber
Posts: 77
 
Re: SOAP Call - Object Required Error 424Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 20 Mar 07 6:54 PM
fiogf49gjkf0d
Nothing I could do would get the soapclient to work. I tried everything. I have 3 other methods working and the soapclient isnt one of them.
Check out the thread posted by Ryan - those are the other methods and then .NET of course.

[Reply][Quote]
Justin Heath
Posts: 6
 
Re: SOAP Call - Object Required Error 424Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 21 Mar 07 11:35 AM
fiogf49gjkf0d
Awesome, I'll check it out. Thanks Jason and Ryan .. how frustrating that such a seemingly simple thing just doesn't work right!
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 11/27/2024 7:08:05 AM