-
-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong namespace used in call #48
Labels
Comments
Go to encoder.go and assign namespace as c.Client.Definitions.TargetNamespace
|
kcaashish
added a commit
to kcaashish/gosoap
that referenced
this issue
Aug 19, 2022
During request marshal the namespace is not set correctly. Instead of using from xsd:schema targetNamespace, it now uses the namespace from wsld definitions. Fixes: tiaguinho#48
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying to make a call via this WSDL and the namespace that the server expects is
http://tempuri.org/
, but the library sendshttp://tempuri.org/Imports
instead. The WSDL has a section:and it looks like the call takes the namespace from this section's
targetNamespace
instead of taking it from thexsd:import
or the top levelwsdl:definitions
.The text was updated successfully, but these errors were encountered: