These are chat archives for hooklift/gowsdl

19th
Sep 2015
Donald Adu-Poku
@dnldd
Sep 19 2015 16:46
Hi everyone, I'm having a problem with setting up gowsdl. I'm using go get github.com/hooklift/gowsdl/..., my doesn't run however because github.com/hooklift/gowsdl/generator can't be found
I do have my GOPATH setup as well export GOPATH=$HOME/go, what am I doing wrong?
Donald Adu-Poku
@dnldd
Sep 19 2015 17:33
Figured it out. I was using old generated files (version 0.2.0 uses a different set of imports). Regenerating the services fixed it.
Camilo Aguilar
@c4milo
Sep 19 2015 17:57
@dnldd yes, I'm sorry for that. There were some breaking changes for the good.
Donald Adu-Poku
@dnldd
Sep 19 2015 19:08
@c4milo I also noticed for packages with multiple wsdl files, gowsdl generates the timeout var, SOAPEnvelope, SOAPHeader, SOAPBody and more for each file. You have to edit and remove redundancies before it will compile. Perhaps a new flag is needed to generate files without the helpers (the added vars, structs and functions) ?
Camilo Aguilar
@c4milo
Sep 19 2015 20:11
@dnldd gah, you are right. That was one of the reasons I didn't want to generate the soap client. But I didn't remember it when @sanbornm proposed the change. I think we are going to have to split out soap client generation from the actual WSDL code generation.
and give it its own command
what do you think @dnldd?
Donald Adu-Poku
@dnldd
Sep 19 2015 21:30
@c4milo I think that works well, it's simpler than what I suggested and would handle all usecases. :+1: