My Stuff
Comments
-
Just a thought...I see that you are use the 2.0 version of the WSDL. Did you try and go back to the 1.3.2 version and run the same request? See if it runs that way, if it does, then it has something to do with the 2.0 version. Now that could mean that you are missing something that now the 2.0 request requires whereas the…
-
What's up John and Marcello, Sorry to jump in here and you might have already solved the problem, but I am doing the exact process on my site. John are you creating a "Customer" record every time with a "contact" record? Just wondering, why you are doing that? Is it just cause the Customer record doesn't have the First and…
-
Yout can use the "getList()" method and just send one ID in the array instead of a list... Just a suggestion...
-
What are you looking for? Development or just "help"?
-
Daniel, if you are going to be using pulls/searches a lot, I would suggest looking into the NS ODBC option. After the "snaffu" that I found out about the WS web services (read my "warning" post) I have switch to the ODBC option and haven't looked back. It is almost as quick as pulling from a local db and you have access to…
-
Replace the inventoryItem type with your record type. //Get Custom Field List from record oneRecord = ((ns_ws.InventoryItem)(records[i])); ns_ws.CustomFieldRef[] cfList = oneRecord.customFieldList; //Loop through the custom fields for (int x = 0; x < cfList.Length; x++) { //Get the record type ns_ws.CustomFieldRef cfRef =…
-
GREAT!!! That is what I was going for when I posted this! Good luck with everything and let me know if you need an code snippets...If I have developed it already I will post it :-)
-
Yes...It is probably the permissions. I use a specific "Web Service" account which has "admin" rights for all of my WS transactions. If you read the warning that I just posted, I actually use 3 different loggin accounts. They all have to be attached to the "web services", so you can't just make a call with a random…
-
Oh yeah..."Code Behind" is the way to go with .Net. Are you using VS.NET 2005? if so, you might want to pick up the "Web Deployment Kit" http://msdn.microsoft.com/asp.net/reference/infrastructure/wdp/ Otherwise it is a pain in the @ss to move your pages and dlls to another web server... Like I develope all of my project on…
-
Hi, So are you trying to join the Customer Record with the contact record? Why don't you just do a straight search for the email address on the Customer record? Gary
-
Yeah, you always have to look for those "specified" attributes...I got stuck on that with Addresses...City and State have them and if you don't set the "specified" field to "true" then those fields are not included in the SOAP request.
-
Not a problem...If you have any problems with the code let me know. Gary
-
First off, if you are trying to go against v11, DO NOT user the sample code :-)...It is wrong...you can get the "gist" of things but it won't work. Secondly, with version 11 they have made some changes that they did not tell us about and broke alot of the code that we had all been using. Change the: service.CookieContainer…
-
Thanks! You are right...the db fields can have a different length...But if you follow the input fields, you shouldn't have a problem...otherwise their system would be "erroring out". Get me?
-
Ok, first off...don't believe any of the docs :-) The only thing I believe and go by is the "intellisense" within VS.NET. The way I started writing my NS WS methods was to determine which method call I was going to make and find out what I needed to pass it..Then I worked backwards from there...I know it is not the best…
-
Are you developing in VS.NET?
-
Hi sandrews, I think what Mark was saying, was to us the saved searches within the UI. Under "Reports". You can create custom reports within there and you don't have to write any code. But I could be wrong and Mark might have been talking about the XML. Gary
-
Thanks, good suggestion!
-
Now I have another issue!!! I thought that this was supposed to be backwards compatible!!! I keep getting an error: [Code=RCRD_TYPE_DSNT_EXIST] There are no records of this type. When I try and retrieve a non-inventory item...But the thing is is that the error effects the whole site...If I go to my registrations that have…
-
Hi Justin, It looks like some of our inventory items have be converted to "non-inventory" items!! That is the problem. Did the upgrade to v11 have something to do with it?
-
Hey John, Thanks man!!! That did it!!! But thing is...is how was I supposed to know that I need to do this??? Since the code I was using for the last 8 months worked fine... There was no alert sent out to inform me of this change... It was 2 lines of code that brought down my whole site... Obviously you are not the person…
-
here is the "setCookie" Method...Again...not touched since DEC (except for about 2 min. ago when I remove the account ID)...Still didn't fix my problem: /// <summary> /// <p>This function sets the cookie as ACCOUNT=<accountId> in the SOAP header. </p> /// </summary> private void setCookie(String accountId, string WS_URI) {…
-
I am not getting your "WS_Session_Timed_out", so I am pretty sure it is the client giving up... IIS is set at time out of 120 secs. So that is a LONG time, in the web world...Personally if a web app is taking that long to load I would give up and press refresh. I get AT LEAST one "error email" every night from a WS Login…
-
Case number is 444700
-
Thanks Danial for the suggestion, but I am not using the SuiteScripts... I get alot of the "Timing out issues" on the "WS Login" and they are mostly during the night (EST time zone) so I am wondering if they are doing maintance on my server EVERY NIGHT which makes the WSs unable to login... And as for Ray's and Mark's…
-
Yeah, every once in a while... What is your Error? "Operation Timed Out" or "Object Reference..."?
-
Any one having this issue...We are now on v11 and that didn't fix the problem...I know that it depends on the time of day, but this is ridiculous! All of my updates are timing out! I will get a couple through, then the next 5 time out... It is on everything to..."gets", "updates"...what ever!! It is AWFUL!! Any ideas?
-
Here is the logout method that I have used since Dec, no problem: public bool NSAdminLogout() { try { //Try to log out the admin from the current session ns_ws.Status logout_status = (_services.logout()).status; //Check for errors before continuing if (!logout_status.isSuccess) throw new CustomEx("The current user could…
-
Hi WalterM, Nah...I actually bagged most NS WebService system, cause it is REALLY poorly constructed. You can only have one admin log in at a time, meaning if 2 users try to submit a form, the second person has to wait to get theirs submitted...which because the speed of the WS usually times-out. WHich is a little better…
-
What do you guys need to start with...Login code?