Incomplete Web services scripts list

SOLVED

Hello, I am getting started with web services.  I'm attempting to follow along with various introductory articles, however, our X3 only has 4 web services scripts listed where the list in most of the tutorials have way more.

Here's our list:


Any thoughts on how to add the additional scripts so our system better matches the example from this support article:


  • +1
    verified answer

    I've only been working with soap webservices a few months, but In my experience you have to add these manually, the system doesn't come with predefined SOAP Webservices, unless those are included in a SEED folder or something like that, which I have not used. 

    There are two types of webservices that can be added, object based web services which key off existing X3 Object/Window Definitions which will pull in all the necessary fields and apply the same business logic when interacting with the API.  As I have been warned, you have to be careful though as not all objects can be used with webservices (you'll have to find that out the hard way with trial and error, as I have not found any documentation on this). The other options is sub program web services where you have to write a script/subprogram to interact with X3 data, more complex and does not follow the same business logic unless you build that in the script. 

  • 0 in reply to Daniel Kidd

    Hello Daniel, thanks for the reply.  Actually, I have added object scripts for BPC, ITM, and SOH.  When testing in Classic SOAP Web services, they all return a similar error.  For example, if I invoke getDescription or query on BPC, I get the error "X3 subprogram (AWEB:RECUPHDAT) that reads web services [BPC] timestamp returned the status [Unknown web service (0)] and timestamp []."

  • 0 in reply to Kendall Brandow

    Did you click the publication button after saving the webservice? 

  • 0 in reply to Daniel Kidd

    I used the Global publication function each time I made a change.  I just went in and used Publication on each, but still get the same error messages.

  • 0 in reply to Kendall Brandow

    If you are a Sage partner, please visit the Sage University (https://sageu.com/) and take the Integration Developer course.

    Maybe show the Setup > web service setup used, the web service pool name set at Administration > Classic SOAP pools configuration, and the Invoke parameter used?

    Maybe the SOAP pool is not turned on yet? If not, check the web service SOAP pool starter's user's web service access is granted at Setup > Users.

  • 0 in reply to chunheng

    Hello CHUNHENG, thanks for your reply.

    Maybe show the Setup > web service setup used


    the web service pool name set at Administration > Classic SOAP pools configuration

    the Invoke parameter used

    Maybe the SOAP pool is not turned on yet?
    I believe the SOAP pool is turned on, and it should be evident in the pool screenshot above.

  • 0 in reply to Kendall Brandow
    SUGGESTED

    Check your SOAP pool configuration's endpoint.

    Each pool for each endpoint (except first one; that one please save for GraphQL and always set to production endpoint).


    1.



    2.

  • 0 in reply to chunheng

    Check your SOAP pool configuration's endpoint.
    I believe the endpoint is configured properly.  "FNPILOT01" which is our test folder.

    Each pool for each endpoint (except first one; that one please save for GraphQL and always set to production endpoint).
    We only have one pool setup, for our test folder.  We have yet to install, configure, or test GraphQL.

    Regarding your screenshots...
    1- Appears to show you invoking getDescription using a good pool, but an unconfigured script.  This results in an error.
    2 - You setup and publish a script for BPC, then successfully invoke getDescription.
    I believe my pool and scripts are setup correctly, but it's clear they may not be.

  • 0

    Hello, anyone have any tips for this situation?  Thanks!

  • 0

    Hello all, still looking for assistance here...

  • 0
    SUGGESTED

    Hi, 

    In reference to your screenshot of the list of web service publications. Those come directly from the SEED Demo Data. if you want a listing, you would have to load the SEED Demo Endpoint. I would suggest taking some courses on SageU (https://sageu.com/) for Web services as there is a lot out there. I would probably start with "X3 - Sage X3 - Web Services and Integration" to get the full experience of setting up web services and publications.