Uniface User Forum

 View Only
  • 1.  xmltostruct not ok

    Posted 10-03-2024 02:05

    Hello,
    In Uniface 10.4 patch 056, we use xmltostruct to convert the response we get from WebService :

    xmltostruct sStruct, sContents

    It works perfectly on our server, but on customer's server it's not OK (even with the same sContents variable). At customer, just after xmltostruct statement, sStruct is empty, so when I try to get an item from sStruct with :

    sStatus = sStruct->Operation->status

    I get -84 error :

    -84 UACTERR_NO_OBJECT Struct refers to zero Structs

    At the same way, I got "Unable to load uxml; error 127 ('La procédure spécifiée est introuvable').

    And what is also strange is that I use xmltostruct in other Uniface component at this customer and it's ok.

    Thanks for advance.

    Regards,

    Laurent.



    ------------------------------
    Jérémie CEDOLIN
    Proges Plus
    Willems FR
    ------------------------------


  • 2.  RE: xmltostruct not ok

    Posted 10-03-2024 09:20

    Hi Jérémie,

    can you show the value of sContent?

    If there is sensitive Data then you can replace it with something else.

    Norbert



    ------------------------------
    Norbert Lauterbach
    Infraserv Gmbh & Co. Höchst Kg
    Frankfurt DE
    ------------------------------



  • 3.  RE: xmltostruct not ok

    Posted 10-04-2024 03:41

    Hi Jérémie

    The looks like some DLL*) is missing ?
    *)If it is a windows installation
    Do you have a tool like 'procmon'  ( https://learn.microsoft.com/en-us/sysinternals/downloads/procmon )
    This can be used to determine which DLLs are being searched for and whether they are found.
    Simply start the tool shortly before calling XmlToStruct, set the filter to "process name begin with uniface" and start the logging.
    Then run XmlToStruct and see what happens :-)

    Ingo





    ------------------------------
    Ingo Stiller
    Aareon Deutschland GmbH
    ------------------------------



  • 4.  RE: xmltostruct not ok

    Posted 10-04-2024 04:31

    btw:
    The missing DLL could be the UXML.DLL in   .\common\bin\
    Either this DLL is missing or UXML.DLL depends on other DLLs (but then I would expect error 126)



    ------------------------------
    Ingo Stiller
    Aareon Deutschland GmbH
    ------------------------------