WordPress.org

Ready to get started?Download WordPress

Forums

Forms: 3rd-Party Integration
getting error code 500 (4 posts)

  1. sxl1999
    Member
    Posted 8 months ago #

    Hello,
    i am trying to post my form to a asp.net web service, but on the debug email, i got"
    [body] => <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><soap:Fault><soap:Code><soap:Value>soap:Receiver</soap:Value></soap:Code><soap:Reason><soap:Text xml:lang="en">Server was unable to process request. ---> Data at the root level is invalid. Line 1, position 1.</soap:Text></soap:Reason><soap:Detail /></soap:Fault></soap:Body></soap:Envelope>
    [response] => Array
    (
    [code] => 500
    [message] => Internal Server Error
    )

    [cookies] => Array
    (
    )

    [filename] =>
    [safe_message] => physical request failure"
    anybody has the same problem? thx

    http://wordpress.org/plugins/forms-3rdparty-integration/

  2. zaus
    Member
    Plugin Author

    Posted 7 months ago #

    You're trying to post form-encoded data (basically field1=value1&field2=value2) to a SOAP-xml endpoint.

    You might try taking a look at this similar issue https://github.com/zaus/forms-3rdparty-integration/issues/1

  3. zaus
    Member
    Plugin Author

    Posted 7 months ago #

    I'm working on a plugin that might help address this.

  4. zaus
    Member
    Plugin Author

    Posted 5 months ago #

    Sorry for the delay; you may be interested in a new add-on plugin https://github.com/zaus/forms-3rdparty-xpost (wp.org approval pending) which may be able to translate it to your SOAP construct (depending on the complexity of the request structure, it only handles simple nesting).

    Otherwise, did you try the actual SOAP suggestion I made?

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.