I am trying to learn SuiteTalk using SOAPUI 5.5.0 ...
# suitetalkapi
p
I am trying to learn SuiteTalk using SOAPUI 5.5.0 but am coming up with a roadblock. In my test I get the following error:
Copy code
In this account, you must use account-specific domains with this SOAP web services endpoint. You can use the SOAP getDataCenterUrls operation to obtain the correct domain. Or, go to Setup > Company > Company Information in the NetSuite UI. Your domains are listed on the Company URLs tab.
Based on my searches I though the issue was that when I created my project I had to use the following WSDL url:
<https://xxxxxxx.suitetalk.api.netsuite.com/wsdl/v2020_2_0/netsuite.wsdl>
My sample code is as follows:
Copy code
<soapenv:Envelope xmlns:actSched="urn:<http://scheduling_2020_2.activities.webservices.netsuite.com|scheduling_2020_2.activities.webservices.netsuite.com>" xmlns:xsd="<http://www.w3.org/2001/XMLSchema>" xmlns:platformCore="urn:<http://core_2020_2.platform.webservices.netsuite.com|core_2020_2.platform.webservices.netsuite.com>" xmlns:soapenv="<http://schemas.xmlsoap.org/soap/envelope/>" xmlns:platformMsgs="urn:<http://messages_2020_2.platform.webservices.netsuite.com|messages_2020_2.platform.webservices.netsuite.com>" xmlns:xsi="<http://www.w3.org/2001/XMLSchema-instance>">
    <soapenv:Header>
        <passport xsi:type="platformCore:Passport">
            <email xsi:type="xsd:string">myemail</email>
            <password xsi:type="xsd:string">mypassword</password>
            <account xsi:type="xsd:string">myaccount</account>
            <role internalId="3"/>
        </passport>
        <applicationInfo>
            <applicationId xsi:type="xsd:string">myappid
</applicationId>
        </applicationInfo>
    </soapenv:Header>
    <soapenv:Body>
        <add xsi:type="platformMsgs:AddRequest">
            <record xsi:type="actSched:Task">
                <title xsi:type="xsd:string">Task Created Through SuiteTalk</title>
                <owner internalId="68" xsi:type="platformCore:RecordRef"/>
                <startDate>2020-12-29T19:00:00.000Z</startDate>
                <dueDate>2020-12-30T19:00:00.000Z</dueDate>
                <assigned internalId="48911" xsi:type="platformCore:RecordRef"/>
                <company internalId="63120" xsi:type="platformCore:RecordRef"/>
                <status xsi:type="xsd:string">_notStarted</status>

            </record>
        </add>
    </soapenv:Body>
</soapenv:Envelope>
But that still gives me the same error. Where else do I need to add my SuiteTalk URL? Any assistance is appreciated.
n
It seems you are using basic authentication instead of token based authentication.