Title: 500 internal server error
Last modified: August 22, 2016

---

# 500 internal server error

 *  [ormeir](https://wordpress.org/support/users/ormeir/)
 * (@ormeir)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/500-internal-server-error-361/)
 * i use cf7 & 3rd party integration
    i post form results to wsdl **this is the 
   schema
 * _[ Moderator note: code fixed. Please wrap code in the backtick character or 
   [use the code button](http://codex.wordpress.org/Forum_Welcome#Posting_Code).]_
 *     ```
       <s:element name="Accounts_CreateTrialAccount">
       <s:complexType>
       <s:sequence>
       <s:element minOccurs="0" maxOccurs="1" name="username" type="s:string"/>
       <s:element minOccurs="1" maxOccurs="1" name="groupid" type="s:int"/>
       <s:element minOccurs="0" maxOccurs="1" name="contactPerson" type="s:string"/>
       <s:element minOccurs="0" maxOccurs="1" name="email" type="s:string"/>
       <s:element minOccurs="0" maxOccurs="1" name="fullName" type="s:string"/>
       <s:element minOccurs="0" maxOccurs="1" name="language" type="s:string"/>
       <s:element minOccurs="0" maxOccurs="1" name="mobilePhone" type="s:string"/>
       <s:element minOccurs="0" maxOccurs="1" name="password" type="s:string"/>
       <s:element minOccurs="0" maxOccurs="1" name="phoneNumber" type="s:string"/>
       <s:element minOccurs="1" maxOccurs="1" name="needsReset" type="s:boolean"/>
       <s:element minOccurs="1" maxOccurs="1" name="trialIsActive" type="s:boolean"/>
       <s:element minOccurs="1" maxOccurs="1" name="trialDays" type="s:int"/>
       <s:element minOccurs="1" maxOccurs="1" name="trialSending" type="s:int"/>
       <s:element minOccurs="1" maxOccurs="1" name="trialActions" type="s:int"/>
       <s:element minOccurs="1" maxOccurs="1" name="trialRecipients" type="s:int"/>
       </s:sequence>
       </s:complexType>
       </s:element>
       <s:element name="Accounts_CreateTrialAccountResponse">
       <s:complexType>
       <s:sequence>
       <s:element minOccurs="1" maxOccurs="1" ref="s1:Accounts_CreateTrialAccountResult"/>
       </s:sequence>
       </s:complexType>
       </s:element>
       <s:element name="SecHeader" type="tns:SecHeader"/>
       <s:complexType name="SecHeader">
       <s:sequence>
       <s:element minOccurs="0" maxOccurs="1" name="username" type="s:string"/>
       <s:element minOccurs="0" maxOccurs="1" name="pass" type="s:string"/>
       </s:sequence>
       <s:anyAttribute/>
       </s:complexType>
       ```
   
 * this what i put in root element on 3rd party panel **Accounts_CreateTrialAccount/
   SecHeader/**
 * this what i put in post headers
    **Content-Type=s:string&UserName = “TrialAccounts”&
   Password = “”**
 * **i got internal server error 500**
 * what do i do wrong?
 * thank you
 * [https://wordpress.org/plugins/forms-3rdparty-integration/](https://wordpress.org/plugins/forms-3rdparty-integration/)

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Plugin Author [zaus](https://wordpress.org/support/users/zaus/)
 * (@zaus)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/500-internal-server-error-361/#post-5729354)
 * You’re using [https://wordpress.org/plugins/forms-3rd-party-xpost/](https://wordpress.org/plugins/forms-3rd-party-xpost/)
   right?
 * Can you link the actual WSDL? I don’t think you posted the correct part.
 *  Thread Starter [ormeir](https://wordpress.org/support/users/ormeir/)
 * (@ormeir)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/500-internal-server-error-361/#post-5729387)
 * thank you for fast reply
    yes i use the xpost the wsdl – [https://em-sender.com/ws/InwiseWebServicesAdmin.asmx?WSDL](https://em-sender.com/ws/InwiseWebServicesAdmin.asmx?WSDL)
 *  Plugin Author [zaus](https://wordpress.org/support/users/zaus/)
 * (@zaus)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/500-internal-server-error-361/#post-5729617)
 * You might be in luck, they have a post protocol instead [https://em-sender.com/ws/InwiseWebServicesAdmin.asmx?op=Accounts_CreateTrialAccount](https://em-sender.com/ws/InwiseWebServicesAdmin.asmx?op=Accounts_CreateTrialAccount).
   Try copying the field names and send to the form action instead.
 * If you want to try the soap version, the `SecHeader` would be part of the field
   mappings (so it would nest the field- like `SecHeader/username`) rather than 
   the root.
 *  Thread Starter [ormeir](https://wordpress.org/support/users/ormeir/)
 * (@ormeir)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/500-internal-server-error-361/#post-5729619)
 * thank you [@zaus](https://wordpress.org/support/users/zaus/)
    i will try both
   ways.
 *  Thread Starter [ormeir](https://wordpress.org/support/users/ormeir/)
 * (@ormeir)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/500-internal-server-error-361/#post-5729623)
 * i tried both ways i guess i do something wrong
    is there is a way that i can 
   send you print screen of my setting to look at? thank you
 *  Plugin Author [zaus](https://wordpress.org/support/users/zaus/)
 * (@zaus)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/500-internal-server-error-361/#post-5729656)
 * You can turn on debug mode and paste that email — it’ll have the service configuration
   and form post/submission, as well as the response from the endpoint.
 * Make sure to scrub it before you paste, to remove any sensitive/real data (like
   API passwords etc)
 *  Plugin Author [zaus](https://wordpress.org/support/users/zaus/)
 * (@zaus)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/500-internal-server-error-361/#post-5729658)
 * Or send the debug through my website contact if you don’t want to paste it here.
 *  Thread Starter [ormeir](https://wordpress.org/support/users/ormeir/)
 * (@ormeir)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/500-internal-server-error-361/#post-5729701)
 * hi zaus
 * you suggested i sent you the debug here
    meanwhile i changed to ninja form
 * here what i get responsed
 * *** Service ***
 * _[ Moderator note: code fixed. Please wrap code in the backtick character or 
   [use the code button](http://codex.wordpress.org/Forum_Welcome#Posting_Code).]_
 *     ```
       Array
       (
           [name] => InwiseWebServicesAdmin
           [url] => https://api.inwise.com/InwiseWebServicesAdmin.asmx?op=CreateAccount
           [forms] => Array
               (
                   [0] => njn_2
               )
   
           [success] =>
           [failure] =>
           [timeout] => 10
           [hook] => true
           [as-xpost] => form
           [xpost-wrapper] =>
           [xpost-header] => secheader/username/pass
           [mapping] => Array
               (
                   [0] => Array
                       (
                           [lbl] => first name
                           [src] => Field ID: 6
                           [3rd] => FirstName
                       )
   
                   [1] => Array
                       (
                           [lbl] => last name
                           [src] => Field ID: 8
                           [3rd] => LastName
                       )
   
                   [2] => Array
                       (
                           [lbl] => user name
                           [src] => Field ID: 12
                           [3rd] => UserName
                       )
   
                   [3] => Array
                       (
                           [lbl] => The email address
                           [src] => Field ID: 10
                           [3rd] => Email
                       )
   
                   [4] => Array
                       (
                           [lbl] => password
                           [src] => Field ID: 11
                           [3rd] => Password
                       )
   
               )
   
           [separator] =>
       )
   
       *** Post (Form) ***
       http://inwise.co.uk/?page_id=760&preview=true
       Array
       (
           [6] => mivzakim
           [8] => mivzakim
           [12] => mivzakim
           [10] => mivzakim@mivzakim.com
           [11] => *******
           [13] => checked
           [14] =>
       )
   
       *** Post (to Service) ***
       Array
       (
           [timeout] => 10
           [body] => Array
               (
               )
   
           [headers] => Array
               (
                   [secheader/username/pass] =>
               )
   
       )
   
       *** Response ***
       Array
       (
           [headers] => Array
               (
                   [cache-control] => private
                   [content-type] => application/soap+xml; charset=utf-8
                   [server] => Microsoft-IIS/7.0
                   [x-aspnet-version] => 4.0.30319
                   [x-powered-by] => ASP.NET
                   [date] => Sun, 08 Feb 2015 11:16:12 GMT
                   [connection] => close
                   [content-length] => 479
               )
   
           [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. ---> Root element is missing.</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
       )
       ```
   
 * i know i do something wrong and i dont have an idea what.
 * thank you for your great support
 * meir
 *  [Sisea](https://wordpress.org/support/users/sisea/)
 * (@sisea)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/500-internal-server-error-361/#post-5729748)
 * i got internal server error 500
    what do i do wrong?
 *     ```
       *** Service ***
       Array
       (
           [name] => SiseaWS
           [url] => http://ws.sisea.com.br/Sisea_ws/SiseaWS.asmx?WSDL
           [forms] => Array
               (
                   [0] => gf_1
               )
   
           [success] => Contrato Ok
           [failure] =>
           [timeout] => 10
           [as-xpost] => true
           [xpost-wrapper] => Post
           [xpost-header] =>
           [separator] => ,
       )
   
       *** Post (Form) ***
       http://site.sisea.com.br/Novo_site/Novo_site/contrate/
       Array
       (
           [input_1] => Sisea
           [input_8] => Professional|54
           [input_9] => 2
           [input_4] => 108
           [input_13] =>
           [input_14] =>
           [input_15] =>
           [input_16] =>
           [input_17] =>
           [input_18] =>
           [input_26_1] =>
           [input_26_2] =>
           [input_26_3] =>
           [input_26_4] =>
           [input_26_5] =>
           [input_26_6] => Brasil
           [input_21] => teste@sisea.com.br
           [input_21_2] => teste@sisea.com.br
           [input_22] =>
           [input_23] =>
           [input_24] =>
           [input_25] => teste
           [input_27] =>
           [gform_ajax] => form_id=1&title=1&description=1&tabindex=1
           [is_submit_1] => 1
           [gform_submit] => 1
           [gform_unique_id] =>
           [state_1] => WyJ7XCI4XCI6W1wiMTU5NzQxZmEyZWNiM2EyZWM3Zjg3ZTE3OGIwZTViOWRcIixcImY2YjNkMmZmZWQzOTAwYjIzNmY4YjQwMTk3OWRkNGMxXCIsXCIwNWNlYjUwNjZmYjIxNjA3NjAwNjhlOWI2YjUzOTE1NFwiXX0iLCJjOTFiODQ2NjFjYjJlMDYwZjQ4ZjY1ZDE2ZTIzNmYwNSJd
           [gform_target_page_number_1] => 0
           [gform_source_page_number_1] => 1
           [gform_field_values] =>
       )
   
       *** Post (to Service) ***
       Array
       (
           [timeout] => 10
           [body] => <?xml version="1.0"?>
       <Post></Post>
   
           [headers] => Array
               (
                   [Content-Type] => application/xml
               )
   
       )
   
       *** Response ***
       Array
       (
           [headers] => Array
               (
                   [cache-control] => private
                   [content-type] => text/xml; charset=utf-8
                   [server] => Microsoft-IIS/8.5
                   [x-aspnet-version] => 4.0.30319
                   [x-powered-by] => ASP.NET
                   [date] => Thu, 21 May 2015 14:29:18 GMT
                   [connection] => close
                   [content-length] => 1161
               )
   
           [body] => <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Header><soap12:Upgrade xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"><soap12:SupportedEnvelope qname="soap:Envelope" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" /><soap12:SupportedEnvelope qname="soap12:Envelope" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope" /></soap12:Upgrade></soap:Header><soap:Body><soap:Fault><faultcode>soap:VersionMismatch</faultcode><faultstring>System.Web.Services.Protocols.SoapException: Possible SOAP version mismatch: Envelope namespace  was unexpected. Expecting http://schemas.xmlsoap.org/soap/envelope/.
          at System.Web.Services.Protocols.SoapServerProtocol.CheckHelperVersion()
          at System.Web.Services.Protocols.SoapServerProtocol.Initialize()
          at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)</faultstring><detail /></soap:Fault></soap:Body></soap:Envelope>
           [response] => Array
               (
                   [code] => 500
                   [message] => Internal Server Error
               )
   
           [cookies] => Array
               (
               )
   
           [filename] =>
           [safe_message] => physical request failure
       )
       ```
   

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘500 internal server error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/forms-3rdparty-integration.svg)
 * [Forms: 3rd-Party Integration](https://wordpress.org/plugins/forms-3rdparty-integration/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/forms-3rdparty-integration/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/forms-3rdparty-integration/)
 * [Active Topics](https://wordpress.org/support/plugin/forms-3rdparty-integration/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/forms-3rdparty-integration/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/forms-3rdparty-integration/reviews/)

 * 9 replies
 * 3 participants
 * Last reply from: [Sisea](https://wordpress.org/support/users/sisea/)
 * Last activity: [10 years, 12 months ago](https://wordpress.org/support/topic/500-internal-server-error-361/#post-5729748)
 * Status: not resolved