Giter VIP home page Giter VIP logo

sample-x3-ws-php-webportal's People

Contributors

oliviermantel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sample-x3-ws-php-webportal's Issues

Error, file missing

Bonjour,

J'ai suivi la documentation de ce projet.
Cependant, il m'est impossible de faire une requête correcte. Voici ce que Sage X3 me dit lorsque je lance ma requête:

X3 Error: @X3.TRT/AWEB$adx, message:E:\Sage\X3V12MIG\dossiers\X3\TRT\AWEB.src : File Non-existent, line :736, type:1

raaaa

Je n'ai aucun autre point bloquant. Impossible pour moi de faire fonctionner mon Web service.

Version Sage : V12

Fatal error: Uncaught Error: Class 'SoapClient' not found

Hi There

When I try use your webservice I got the following error

Fatal error: Uncaught Error: Class 'SoapClient' not found in /var/www/sample-x3-ws-php-webportal
/WebService/modelWS/ModelX3.php on line 30

After a quick search I can't find the definition of the class 'SoapClient'.

Does the project is missing a file?
If not can you please point it to me when does the definition of this class is located?

Thanks,

Update README with Installation and troubleshooting notes for GraphQL

We need to update the README.md file to provide instructions on how to install the PHP WebPortal.

Installation

The correct way is to do a git clone.

If instead of a git clone you download the ZIP of the repository uncompressing it under the wamp directory, then It the graphQL queries don't work and give this error:

( ! ) Notice: Trying to get property 'data' of non-object in D:\Sage\wamp64\www\sagex3-issue\GraphQL\PurchaseOrder.php on line 196

And if we capture the response we obtain this:

Put your HTML text here
SyntaxError: Unexpected token 
 in JSON at position 76
   at JSON.parse (<anonymous>)
   at parse (D:\Sage\SafeX3\X3-services\node_modules\body-parser\lib\types\json.js:89:19)
   at D:\Sage\SafeX3\X3-services\node_modules\body-parser\lib\read.js:121:18
   at invokeCallback (D:\Sage\SafeX3\X3-services\node_modules\raw-body\index.js:224:16)
   at done (D:\Sage\SafeX3\X3-services\node_modules\raw-body\index.js:213:7)
   at IncomingMessage.onEnd (D:\Sage\SafeX3\X3-services\node_modules\raw-body\index.js:273:7)
   at IncomingMessage.emit (events.js:412:35)
   at IncomingMessage.emit (domain.js:475:12)
   at endReadableNT (internal/streams/readable.js:1333:12)
   at processTicksAndRejections (internal/process/task_queues.js:82:21)

Troubleshooting graphQL

Explain in the README that you can enable this line to get the complete GraphQL response in the browser console.
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.