My Stuff
Comments
-
This is expected behavior. You should not be able to retrieve unmasked Credit Card numbers or Passwords from the App, either in the UI or through Web Services.
-
Are the cookies being posted on a single line, or multiple lines in your HTTP request headers? (we only allow single line cookies, and your error is consistent with mult-line cookies) Also, I'm not sure why you are copying the cookies, your "ws" object should keep track of them. BTW, do you know if ColdFusion is using Axis…
-
That's the only thing.
-
SMBXML and Webservices XML formats are completely different. Webservices does not support "addOrUpdate". In the WS model you use search to find records by any number of criteria and then update them. -John
-
File a case and include the SOAP. It looks like a pretty specific problem. -John
-
What URL are you pointing too? Try https://webservices.netsuite.com/wsdl/v1_3_2/netsuite.wsdl VS2005 (and VS Express 2005) import our wsdl without error. I believe VS2002 did/does as well. Are you using C#? -John
-
I thought so, the API looked like Axis. Axis 1.x posts multiline cookies. One thing you can try is downloading our patched version of Axis from the portal http://www.netsuite.com/portal/partners/integration/download/axis_1_2.zip and substituting our axis.jar for the one ColdFusion is using. I don't know if ColdFusion made…
-
Fix for that will be out Friday morning.
-
In the sample app, there is the following code --- // Enable client cookie management. This is required. _service.CookieContainer = new CookieContainer(2); --- If you copied this, you need to change it to --- // Enable client cookie management. This is required. _service.CookieContainer = new CookieContainer(); --- Also,…
-
Role is not a required parameter in the WS login. However, if you don't specify a role, the user's default role must have WS permissions. So if you can make sure all of the roles have WS permission, you should be fine. This is all in the documentation, linked below (lookup "role"):…
-
Two suggestions 1) Make sure your client is handling cookies, we send back several including JSESSIONID which is your session identifier. If we don't get this back your client won't maintain session. 2) The advice above is obsolete. The recommended procedure is to use "Request Level Credentials". To do this put your…
-
Everyone, thanks for your patience. We are working to get more PHP examples, but here is something to start. There are a couple of problems people seem to be facing when trying to use NuSoap with Netsuite. First and foremost, the proxy that NuSoap generates from our wsdl can't handle our rather complex namespacing. For…
-
Can you post contact information in your case?
-
Unfortunately we do not have code snippets for PHP. You posted your SOAP already, but if you can post your full http request (HTTP headers & SOAP) maybe we can diagnose a little better. Thanks, John
-
catalina_jl, If you have seen this problem in the last few days, it's because we did not understand the XML/Http headers. Make sure you have SOAPAction: "login" set in the HTTP Headers and that your login SOAP request corresponds with our WSDL spec (including namespaces). If it is still failing, you need to have your app…
-
Your SOAP looks correct. Create a case, with the SOAP, and support should diagnose. -John
-
With timeouts, it can be a lot of layers. Are you getting an InvalidSessionFault "WS_SESSION_TIMED_OUT" or is your client giving up after not getting a response for a certain period of time? If the latter, how long is that? How prevalent is the timeout at night? (ie every operation or 1 out of 100) -John
-
It's generally not going to be a WSDL problem when you see an UNEXPECTED_ERROR (BTW the latest 1_3 wdsl is 1_3_2). Your SOAP is pretty simple, so it should be a reasonably easy error to reproduce.
-
It looks like the problem was with the way the sample app was coded. see thread https://usergroup.netsuite.com/users/showthread.php?t=360 basically if you have a line of code _service.CookieContainer = new CookieContainer(2); You need to change it to _service.CookieContainer = new CookieContainer(); -John
-
There needs to be 2 files in your *working* directory. The first is log4j.properties and the second is client-config.wsdd. You probably have a log4j.properties in the same directory as your axis.jar. It probably needs to be moved. It also needs to be modified to look like the following. --- # Set root category priority to…
-
Strange. Can you post the exact request SOAP? -John
-
You should really only see that if you are searching for a list/record type that doesn't exist. Does the URL https://system.netsuite.com/app/common/custom/custlist.nl?id=1&e=T&ord=F Correctly display your list? If not, drilldown on your list in the ui and use the "id=" parameter for your RecType's InternalId. -John
-
I think you might have more luck posting in the WebStore / Ecommerce area. This is Web Services - eg NetFlex apps. https://usergroup.netsuite.com/users/forumdisplay.php?f=20 -John
-
You do need to query NS each time you want an internalId unless you cache them on the client side. A fast way to do this lookup is getSelectValue() with the salesOrder/item/item field giving it the name of your item as a search criteria. There should be equivalent .NET code for everything Terry did in Java (eg instead of…
-
externalId's must be unique across the entity types, so a contact and customer can not have the same externalId. Try searching for the externalId either in the browser or using webservices. -John
-
That's the way to do it. When you say you are substituting SearchBasic for Search, I assume your code looks like: --- CustomRecordSearchBasic customRecordSearch = new CustomRecordSearchBasic(); RecordRef recordRef = new RecordRef(); recordRef.setInternalId("1"); // 1 is a list type customRecordSearch.setRecType(recordRef);…
-
We haven't added exposed new fields, but there's obviously a problem. First question - did you (or someone) turn on the Landed Cost feature in this account or has it always been on? Cost Allocation Method is a field that appears because of that feature. Can you Private Message me with the account this is for? I ask because…
-
To use "Prices Include Tax", your EDI supplier would have to be importing using the latest WSDL/Endpoint (2008_2), and would have to set the "pricesIncludeTax" field to true in the import. -John
-
Generally WS jobs are going through OK. Are you setting any cookies or other http headers during login? -John
-
One solution would is to import into excel and then export as CSV. Simply change the extension of your file from ".csv" to ".txt". Excel will then ask you how your file is delimited. When exporting, Excel will put quotes around all the cells that contain commas or quotes and "" in place of all double quotes. -John