You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, first of all I am new to github community. I finally integrated my express server with easysoap.
I found a bug inside request.tpl file that made my soapCall respond with an error.
Response from soap server (nusoap php): { Fault: [ { faultcode: 'SOAP-ENV:Client' }, { faultactor: '' }, { faultstring: 'error in msg parsing:\nXML error parsing SOAP payload on line 38: Attribute redefined' }, { detail: '' } ] }
Which basically means attibute xmlns:SOAP-ENV is being duplicated.
Removing line:3 xmlns:SOAP-ENV="<%= envelope.soap_env%>" fixes the problem for me. Not sure if it is the correct fix, Perhaps it is better to move this line to else statement like so:
Hi, first of all I am new to github community. I finally integrated my express server with easysoap.
I found a bug inside request.tpl file that made my soapCall respond with an error.
Response from soap server (nusoap php):
{ Fault: [ { faultcode: 'SOAP-ENV:Client' }, { faultactor: '' }, { faultstring: 'error in msg parsing:\nXML error parsing SOAP payload on line 38: Attribute redefined' }, { detail: '' } ] }
Which basically means attibute
xmlns:SOAP-ENV
is being duplicated.Removing line:3
xmlns:SOAP-ENV="<%= envelope.soap_env%>"
fixes the problem for me. Not sure if it is the correct fix, Perhaps it is better to move this line toelse statement
like so:<% if (envelope.namespaces !== null) { %> <% _.each(envelope.namespaces, function(namespace) { %> <% if (namespace.full !== void 0) { %> xmlns:<%=namespace.short%>="<%=namespace.full%>" <% } %> <% }); %> <% } else { %> xmlns:SOAP-ENV="<%= envelope.soap_env%>" <% } %>
#I've created a pull request for this #35
Regards
The text was updated successfully, but these errors were encountered: