Skip to content

Commit

Permalink
Changes organization name
Browse files Browse the repository at this point in the history
  • Loading branch information
c4milo committed Nov 19, 2014
1 parent fc1da4c commit 221afbb
Show file tree
Hide file tree
Showing 7 changed files with 55 additions and 69 deletions.
2 changes: 1 addition & 1 deletion cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
95 changes: 40 additions & 55 deletions doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion examples/usda-awdb/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"os"

gowsdl "github.com/cloudescape/gowsdl/generator"
gowsdl "github.com/hooklift/gowsdl/generator"
"gopkg.in/inconshreveable/log15.v2"
)

Expand Down
6 changes: 3 additions & 3 deletions examples/usda-awdb/service.go
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
6 changes: 3 additions & 3 deletions examples/vim25/vim25.go
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
7 changes: 4 additions & 3 deletions examples/waferry/myservice.go
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
6 changes: 3 additions & 3 deletions generator/header_tmpl.go
Original file line number Diff line number Diff line change
Expand Up @@ -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*/}}
Expand Down

0 comments on commit 221afbb

Please sign in to comment.