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
I'm trying to connect to this sample soap API server (https://www.w3schools.com/xml/tempconvert.asmx) but the soap.Call method always results in this error "expected element type <Envelope> but have <html>"
I have opened up a pull request for the same here. Basically we need to extract soap URL instead of fetching it from wsdl definition. There are cases where the actual URL starts with https but it starts with http in wsdl definition. In this case, httpClient will try to invoke https URL with http which would result in above error.
I'm trying to connect to this sample soap API server (https://www.w3schools.com/xml/tempconvert.asmx) but the
soap.Call
method always results in this error "expected element type<Envelope>
but have<html>
"Following is my code snippet,
Can anyone help?
The text was updated successfully, but these errors were encountered: