linkorb/zorgmail-soap-client

Zorgmail SOAP Client for PHP

v1.1.0 2018-03-23 11:16 UTC

This package is auto-updated.

Last update: 2024-03-29 03:20:00 UTC


README

Simple Client library for Zorgmail SOAP service. It just handles the transport, no message parsing/generation is being performed by this library.

Testing and development

Copy the .env.dist file to .env and adjust to your liking.

You can now run the examples from the example/ directory.

Notes

  • This library is using a cached version of the WSDL as the original requires basic auth to read.
  • In order to send XML formatted EDI messages such as MEDVRI, MEDLAB, etc, you need to use edifactverwerking@lms.lifeline.nl as the recipient, and address the final recipient in the XML message (envelope).
  • Sending text/plain message to a (test) box will result in it being sent to a Secure Email box instead.
  • Sending text/xml (even if it's just ) will deliver the message in the edi box as planned.
  • Sending to self (test accounts) works.
  • During send, messageIds need to be in format <1234@example.web>, or an exception will be thrown.
  • The SOAP client won't want for a response on one-way calls (like Send) unless SOAP_WAIT_ONE_WAY_CALLS features flag is set during client instantiation. This way you'll receive status codes or exceptions on invalid input.

License

MIT. Please refer to the license file for details.

Brought to you by the LinkORB Engineering team

687474703a2f2f7777772e6c696e6b6f72622e636f6d2f642f6d6574612f74696572312f696d616765732f6c696e6b6f7262656e67696e656572696e672d6c6f676f2e706e67
Check out our other projects at linkorb.com/engineering.

Btw, we're hiring!