Skip to content
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

Picking up the wrong TargetNamespace #23

Closed
notzippy opened this issue Mar 18, 2015 · 0 comments
Closed

Picking up the wrong TargetNamespace #23

notzippy opened this issue Mar 18, 2015 · 0 comments
Assignees
Labels

Comments

@notzippy
Copy link
Contributor

In my WDSL the schema defines a target name space of

    <xsd:schema elementFormDefault="qualified" targetNamespace="http://purolator.com/pws/datatypes/v1" xmlns:tns="http://purolator.com/pws/datatypes/v1">

and the WSDL target namespace is different

<wsdl:definitions name="ServiceAvailabilityService" targetNamespace="http://purolator.com/pws/service/v1" ...>

When rendering the structure (in GoWsdl.genTypes) the template function targetNamespace returns the wsdl name space func() string { return g.wsdl.TargetNamespace } which is incorrect, as it should be returning the schema

@c4milo c4milo added the bug label Mar 18, 2015
@c4milo c4milo self-assigned this Sep 12, 2015
@c4milo c4milo closed this as completed in 4f7aad4 Sep 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants