How to Setup and Test Web services in PU8 patch level 2

SOLVED

I have published the Web Services in the X3 Console and added the folders but keep getting an error when testing that " BLOK,Entry alias[LIVE] not found in connection pool"

Where can I set up the Alias or test it. In V6, I was able to go to Dev->Util->Misc->Web Service Pool and view the Web Service Pool but in PU8, it does not allow me to view any pool.

When I try to Publish a Web Service under Dev->Script Dict->Scripts->Web Services, i get random errors saying "Error in Process Validation"

  • 0

    Dhruv,

    The message alias[LIVE] not found in connection pool is a reference to the pool setup in the console. For Sage X3 version prior to Product Update 9, you will need to review the setup within the SAFE X3 Configuration console for Webservices on the application server. This is where your pools are created and configured (including assigning the alias). You or your partner may want to review the documentation from the web services training class. There are also upcoming classes that you can register for in SageU.

    If you have the pool setup already, it could be as simple as starting the pool. If the pool is not configured in the console, this would also be a reason that nothing would show in Dev->Util->Misc->Web Service Pool. It will work in PU8 if configured properly.

    There are a couple of articles regarding this message process validation in the knowledgebase and it would be a good starting point to look at. The three objects that are certified to work with Web services is ITM, BPC, and SOH. Regardless more information regarding the specific error and process would be required to assist in troubleshooting. Basically you or your development partner will need to review the process in question to determine why the validation is failing.

    Casey Knapp

    Principal Analyst, Customer Support & Service

    Sage

  • 0 in reply to Casey K

    Hi Casey,

    I have looked at the other posts on Web Services and the setup was configured as per documentation.

    The Web Service WEB232 service is running and it was configured, published and setup the same as V6.

    The error on testing is below

     status=[0]
    hasResult=[false]

    hasProcessReport=[false]
    hasTraceRequest=[true]
     clientDuration=[17.12]
    serverDuration=[2.49]
    loadWebsDuration=[-1]
    poolDistribDuration=[-1]
    poolWaitDuration=[-1]
    poolExecDuration=[-1]
    poolRequestDuration=[-1]
     switchUser=[false]
    switchLang=[false]
    flushAdx=[false]
    reloadWebs=[false]
    resumitAfterDBOpen=[false]
    poolEntryIdx=[0]
    rowInDistribStack=[0]
    nbDistribCycle=[-1]
    busy=[false]
     nbMessage=[2]
    type=[BLOK] message=[Entry alias[LIVE] not found in connection pool],
    type=[EXEP] message=[**Exception** - Class[CCommException] Entry alias[LIVE] not found in connection pool --Stack-- com.adonix.x3.comm.client.adonix.pool.CAdonixPool.throwUnknownPoolEntries(CAdonixPool.java:2190) com.adonix.x3.comm.client.adonix.pool.CAdonixPool.throwUnknownPoolEntriesAlias(CAdonixPool.java:2207) com.adonix.x3.comm.client.adonix.pool.CAdonixPool.getOneEntries(CAdonixPool.java:1378) com.adonix.x3.comm.client.adonix.pool.CAdonixPool.getAdxApplicationOfEntries(CAdonixPool.java:1313) com.adonix.x3web.wawsvcserver.main.CWsvcRequestAbs.getApplicationIdFromAlias(CWsvcRequestAbs.java:946) com.adonix.x3web.wawsvcserver.main.CWsvcRequestAbs.exec(CWsvcRequestAbs.java:595) com.adonix.x3web.wawsvcserver.main.CWsvcServer.exec(CWsvcServer.java:173) com.adonix.x3web.wawsvcserver.main.CWsvcServer.exec(CWsvcServer.java:269) com.adonix.x3web.wawsvcserver.main.CWsvcServer.exec(CWsvcServer.java:244) com.adonix.x3web.wawsvcserver.main.CWsvcServer.exec(CWsvcServer.java:228) com.adonix.x3web.wawsvcserver.main.CWsvcServer.execGetDescription(CWsvcServer.java:310) com.adonix.x3web.wawsvcserver.services.CAdxWebServiceXml.getDescription(CAdxWebServiceXml.java:21) ],


    I have created the ITM, BPC and SOH as default to test as well but when I click Publish, i get the following Errors.

    Error in Process Validation WKXBPC
    Error No 5
    (Line 276, Column 97)
    Syntax Error : Illegal Character

    Error in Process Validation WKXITM
    Error No 5
    (Line 261, Column 81)
    An equal sign is expected : Illegal Character

    Error in Process Validation WKXSOH
    Error No 5
    (Line 212, Column 73)
    Closing parenthesis missing : Illegal Character

    If you can advice what i need to re-do, then I can test and get back to you on the results.

    regards
    Dhruv

  • 0 in reply to Dhruv Sampat
    verified answer
    Managed to fix it.

    On the Console, removed/unpublished all and deleted all and re-did it all from scratch.
    Made sure the web service user existed in X3 and Syracuse layer
    Made sure the Web service user password was accurate, but going to Usage->password change and updating it
    Created the Web Service, Published it and selected all folders required and completed configuration till complete
    Expanded the newly created Folder Web Services and Added Pools with Alias, Web service Login cridentials, OS user credentials and saved and then they were visible under the Dev->Util->Misc->Web Service Pool.