From 221afbb3d98287a55afa88d87a5abf34b7c05f9c Mon Sep 17 00:00:00 2001 From: Camilo Aguilar Date: Wed, 19 Nov 2014 11:36:06 -0500 Subject: [PATCH] Changes organization name --- cli.go | 2 +- doc.go | 95 +++++++++++++++-------------------- examples/usda-awdb/main.go | 2 +- examples/usda-awdb/service.go | 6 +-- examples/vim25/vim25.go | 6 +-- examples/waferry/myservice.go | 7 +-- generator/header_tmpl.go | 6 +-- 7 files changed, 55 insertions(+), 69 deletions(-) diff --git a/cli.go b/cli.go index 4007699..187707a 100644 --- a/cli.go +++ b/cli.go @@ -10,7 +10,7 @@ import ( "os" "runtime" - gen "github.com/cloudescape/gowsdl/generator" + gen "github.com/hooklift/gowsdl/generator" flags "github.com/jessevdk/go-flags" ) diff --git a/doc.go b/doc.go index 9a40d51..e7086cb 100644 --- a/doc.go +++ b/doc.go @@ -6,61 +6,46 @@ WSDL to Go Generates Go code from a WSDL file. This project is originally intended to generate Go clients for WS-* services. -Features - - * Supports only Document/Literal wrapped services, which are [WS-I](http://ws-i.org/) compliant - * Attempts to generate idiomatic Go code as much as possible - * Generates Go code in parallel: types, operations and soap proxy - * Supports: - * WSDL 1.1 - * XML Schema 1.0 - * SOAP 1.1 - * Resolves external XML Schemas recursively, up to 5 recursions. - * Supports providing WSDL HTTP URL as well as a local WSDL file - -Not supported - - * Setting SOAP headers - * SOAP 1.2 and HTTP port bindings - * WS-Security - -Usage - - gowsdl [OPTIONS] - - Application Options: - -v, --version Shows gowsdl version - -p, --package= Package under which code will be generated (myservice) - -o, --output= File where the generated code will be saved (myservice.go) - -i, --ignore-tls Ignores invalid TLS certificates. It is not recomended for production. Use at your own risk - (false) - - Help Options: - -h, --help Show this help message - -TODO - - * Add support for filters to allow the user to change the generated code - * If WSDL file is local, resolve external XML schemas locally too instead of failing due to not having a URL to download them from. - * Resolve XSD element references - * Support for generating namespaces - * Make code generation agnostic so generating code to other programming languages is feasible through plugins - -License - - Copyright 2014 Cloudescape - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. +### Features +* Supports only Document/Literal wrapped services, which are [WS-I](http://ws-i.org/) compliant +* Attempts to generate idiomatic Go code as much as possible +* Generates Go code in parallel: types, operations and soap proxy +* Supports: + * WSDL 1.1 + * XML Schema 1.0 + * SOAP 1.1 +* Resolves external XML Schemas recursively, up to 5 recursions. +* Supports providing WSDL HTTP URL as well as a local WSDL file + +### Not supported +* Setting SOAP headers +* SOAP 1.2 and HTTP port bindings +* WS-Security +* WS-Addressing +* MTOM binary attachments +* UDDI + +### Usage +``` +gowsdl [OPTIONS] + +Application Options: + -v, --version Shows gowsdl version + -p, --package= Package under which code will be generated (myservice) + -o, --output= File where the generated code will be saved (myservice.go) + -i, --ignore-tls Ignores invalid TLS certificates. It is not recomended for production. Use at your own risk + (false) + +Help Options: + -h, --help Show this help message +``` + +### TODO +* Add support for filters to allow the user to change the generated code +* If WSDL file is local, resolve external XML schemas locally too instead of failing due to not having a URL to download them from. +* Resolve XSD element references +* Support for generating namespaces +* Make code generation agnostic so generating code to other programming languages is feasible through plugins */ package main diff --git a/examples/usda-awdb/main.go b/examples/usda-awdb/main.go index e929562..72f98b5 100644 --- a/examples/usda-awdb/main.go +++ b/examples/usda-awdb/main.go @@ -4,7 +4,7 @@ import ( "fmt" "os" - gowsdl "github.com/cloudescape/gowsdl/generator" + gowsdl "github.com/hooklift/gowsdl/generator" "gopkg.in/inconshreveable/log15.v2" ) diff --git a/examples/usda-awdb/service.go b/examples/usda-awdb/service.go index 7ab845a..4ec789f 100644 --- a/examples/usda-awdb/service.go +++ b/examples/usda-awdb/service.go @@ -1,13 +1,13 @@ package main -// Generated by https://github.com/cloudescape/gowsdl +// Generated by https://github.com/hooklift/gowsdl // Do not modify -// Copyright (c) 2014, Cloudescape. All rights reserved. +// Copyright (c) 2014, Hooklift. All rights reserved. import ( "encoding/xml" "time" - gowsdl "github.com/cloudescape/gowsdl/generator" + gowsdl "github.com/hooklift/gowsdl/generator" ) // against "unused imports" diff --git a/examples/vim25/vim25.go b/examples/vim25/vim25.go index affd9fe..5266933 100644 --- a/examples/vim25/vim25.go +++ b/examples/vim25/vim25.go @@ -1,13 +1,13 @@ package vim25 -// Generated by https://github.com/cloudescape/gowsdl +// Generated by https://github.com/hooklift/gowsdl // Do not modify -// Copyright (c) 2014, Cloudescape. All rights reserved. +// Copyright (c) 2014, Hooklift. All rights reserved. import ( "encoding/xml" "time" - gowsdl "github.com/cloudescape/gowsdl/generator" + gowsdl "github.com/hooklift/gowsdl/generator" ) // against "unused imports" diff --git a/examples/waferry/myservice.go b/examples/waferry/myservice.go index b0bc54a..7ad2130 100644 --- a/examples/waferry/myservice.go +++ b/examples/waferry/myservice.go @@ -1,11 +1,12 @@ package main -// Generated by https://github.com/cloudescape/gowsdl +// Generated by https://github.com/hooklift/gowsdl // Do not modify -// Copyright (c) 2014, Cloudescape. All rights reserved. +// Copyright (c) 2014, Hooklift. All rights reserved. import ( - gowsdl "github.com/cloudescape/gowsdl/generator" "time" + + gowsdl "github.com/hooklift/gowsdl/generator" ) // against "unused imports" diff --git a/generator/header_tmpl.go b/generator/header_tmpl.go index 4e35a1e..238cd4a 100644 --- a/generator/header_tmpl.go +++ b/generator/header_tmpl.go @@ -5,14 +5,14 @@ package generator var headerTmpl = ` package {{.}} -// Generated by https://github.com/cloudescape/gowsdl +// Generated by https://github.com/hooklift/gowsdl // Do not modify -// Copyright (c) 2014, Cloudescape. All rights reserved. +// Copyright (c) 2014, Hooklift. All rights reserved. import ( "encoding/xml" "time" - gowsdl "github.com/cloudescape/gowsdl/generator" + gowsdl "github.com/hooklift/gowsdl/generator" {{/*range .Imports*/}} {{/*.*/}} {{/*end*/}}