santedb / santempi

SanteDB MPI Project
Apache License 2.0
3 stars 5 forks source link

Running Endpoints on SoapUI #8

Open cbrianbet opened 1 year ago

cbrianbet commented 1 year ago

Ive been trying for a couple of days now to follow the installation guides (docker) to run the enpoints on SoapUI with no success. I keep getting the same 404 error message I dont know if Im the only one. I am even unable to see the enpoints on the swagger-ui which would have been a great.

justin-fyfe commented 1 year ago

Some pointers:

  1. Ensure that the logs emitted for the SanteMPI container do not indicate a failure on startup (i.e. the log should say SanteDB startup completed successfully in XXXXX ms rather than Service is running in maintenance mode).
  2. Ensure that you have exposed port 8080 in your docker compose file to the MPI container
cbrianbet commented 1 year ago

Thanks for your comment I have received the successful startup message image and port 8080 is also exposed image I still get the same error on soapui image

justin-fyfe commented 1 year ago

508ms startup doesn't seem like an actual startup - my suspicion is that there are services missing - you will want to see lines like:

Starting OAUTH...

You may also want to take a look at /var/log/santedb_xxxxxx.log (where xxxx is the date) to ensure there were no other failures reported on the startup. If you don't see any oauth or FHIR endpoints starting you should ensure the appropriate SDB_FEATURE features are enabled (https://help.santesuite.org/installation/installation-1/deployment/installing-software/santedb-server/installation-using-appliances/docker-containers/feature-configuration)

cbrianbet commented 1 year ago

Found the following errors from the log image Nothing like oauth or fhir And this is what I have as my SDB_FEATURE - SDB_FEATURE=LOG;DATA_POLICY;AUDIT_REPO;ADO;PUBSUB_ADO;RAMCACHE;SEC;SWAGGER;OPENID;FHIR;HL7;HDSI;AMI;BIS;MDM;MATCHING;IHE_PIXM;IHE_PDQM;IHE_PMIR;IHE_PIX;IHE_PDQ

justin-fyfe commented 1 year ago

Can you provide a copy of your docker-compose.yml file and the contents of the log file (if possible)?

On the latest version (2.5.12) we are unable to reproduce this issue. Some things to try.

cbrianbet commented 1 year ago

Im not able to upload the files here so Ive sent them via email I can confirm that all containers are running properly Port 8080 and 9200 are available for port forwarding and I am using the latest version

cbrianbet commented 1 year ago

Just noticed that it does work on postman but not in soapui image Is there a way I can get the installation qualification for postman

NgibuiniGikandi commented 1 year ago

Hi @cbrianbet . Consider using this docker compose file... https://github.com/santedb/santempi/blob/master/instant/docker-compose.ui.yml. It works for me

justin-fyfe commented 1 year ago

Hi,

I think there may be some other Java service that SOAP UI is sending messages to - baseline HTTP errors generated by SanteMPI on docker will generate a much simpler error like:

image

The Java HTML Tidy indicates there is something else running. Are there any mock services running in SOAP UI or is HermesJMS or Tomcat instances running on port 8080 when you launch it SOAP UI?