Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have a spec for a SOAP service where the action needs a namespace:
SOAPAction: "http://www.example.com/ActionName"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ActionName xmlns="http://www.example.com/">
AFAIK this isn't possible with nanosoap -- see also #2611648: crashes with DOMException when SOAP action is a URI.
Comment | File | Size | Author |
---|---|---|---|
#2 | 2613196.nanosoap.xml-action-namespace.patch | 874 bytes | joachim |
Comments
Comment #2
joachim CreditAttribution: joachim commentedHere's a patch which applies on top of #2611648: crashes with DOMException when SOAP action is a URI.
I'm not sure this is the best approach. It might be a better idea to just split up the header action and the XML element action completely.