Plugin Author
zaus
(@zaus)
You’re using 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
(@ormeir)
Plugin Author
zaus
(@zaus)
You might be in luck, they have a post protocol instead 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
(@ormeir)
thank you @zaus
i will try both ways.
Thread Starter
ormeir
(@ormeir)
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
(@zaus)
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
(@zaus)
Or send the debug through my website contact if you don’t want to paste it here.
Thread Starter
ormeir
(@ormeir)
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. ]
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
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
)