Four Stars

NetSuite and TOS 4.02

Anyone successfully used NetSuite and Talend 4.02?
I am trying to create a new WSDL and stuck with the paramters.
WSDL is set to the following
https://webservices.netsuite.com/wsdl/v2010_1_0/netsuite.wsdl
For method I am entering login or searchBasic
Not sure if I should enter any parameters, so leaving blank.
Preview gives the following error
Exception in component tWebServiceInput
java.io.IOException: WSDL2Java emitter timed out (this often means the WSDL at the specified URL is inaccessible)!
at org.apache.axis.wsdl.gen.Parser.run(Parser.java:320)
at org.talend.DynamicInvoker.<init>(DynamicInvoker.java:110)
at org.talend.DynamicInvoker.main(DynamicInvoker.java:188)
at org.talend.DynamicInvoker.main(DynamicInvoker.java:130)
at netsuite.shadowfileinputtodelimitedoutput_0_1.ShadowFileInputToDelimitedOutput.tWebServiceInputProcess(ShadowFileInputToDelimitedOutput.java:515)
at netsuite.shadowfileinputtodelimitedoutput_0_1.ShadowFileInputToDelimitedOutput.runJobInTOS(ShadowFileInputToDelimitedOutput.java:818)
at netsuite.shadowfileinputtodelimitedoutput_0_1.ShadowFileInputToDelimitedOutput.main(ShadowFileInputToDelimitedOutput.java:716)
Preview error. Some settings must be changed.
Note: Preview errors are generally due to a wrong encoding setting.
org.talend.designer.runprocess.shadow.ShadowFilePreview.preview(Unknown Source)
org.talend.repository.ui.utils.ShadowProcessHelper.getCsvArray(Unknown Source)
org.talend.repository.ui.wizards.metadata.connection.wsdl.WSDLSchemaStep1Form$PreviewProcessor.nonUIProcessInThread(Unknown Source)
org.talend.commons.ui.swt.thread.SWTUIThreadProcessor$1.run(Unknown Source)
2 REPLIES
One Star

Re: NetSuite and TOS 4.02

hi agentgill and welcome,
first have a look in netSuite platform guide. (pdf)
Seems that you need some authentification to use their services.
Authentication
Authentication is the process of determining the identity of the requester by verifying that they
are who they claim to be based upon the credentials they present. The SuiteTalk Platform
requires a valid user name, password and account number for authentication. These are
provided via the login operation using the Passport type.

<complexType name="Passport">
<sequence>
<element name="email" type="xsd:string"/>
<element name="password" type="xsd:string"/>
<element name="account" type="xsd:string"/>
<element name="role" type="platformCore:RecordRef" minOccurs="0"/>
</sequence>
</complexType>

After the requester has been successfully authenticated, a new session is created for that user.
All Web services operations require authentication.

hope you'll find some information in this
regards
laurent
One Star

Re: NetSuite and TOS 4.02

Hi agentgill,
Yes we are using Talend 4.0.2 to make calls to NetSuite. We did not use tWebServiceInput component, but instead we used wsdl2java on the side to create the Java classes from the wsdl, and then we communicate with NetSuite using these classes.
If you want to use this way, there's the sample application that helps on these steps: http://www.netsuite.com/portal/developers/resources/suitetalk-sample-applications.shtml ; Do not forget the patched axis.jar, because the original axis.jar won't work.
Regards,
Daniel