Skip to content

Commit

Permalink
Merge pull request #47 from mat-613/master
Browse files Browse the repository at this point in the history
Improvements to wsdl2apigee tool
  • Loading branch information
srinandan authored Feb 2, 2023
2 parents ec6890c + c4f7636 commit ebe1898
Show file tree
Hide file tree
Showing 8 changed files with 3,571 additions and 3,196 deletions.
8 changes: 5 additions & 3 deletions README.MD
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# wsdl2apigee
wsdl2apigee is an open source project that extends Apigee Edge functionality to provide the ability to:

* Expose a SOAP Service as a REST API (over JSON or XML) or
* Expose a SOAP Service as a REST API (over JSON or XML) or
* Expose a SOAP Service in a pass through mode for deployment on Apigee Edge

## Support
Expand Down Expand Up @@ -35,13 +35,15 @@ basepath=Uses the basepath from the wsdl
cors=false Don't enable CORS; Works only for SOAP to REST
build=specify build folder default is temp folder; ensure user has access to read/write to temp folder
opsmap=specify operations map
```
backendurl = Specify the target backend url
backendurlvalidation=false Specify to disable the backendurl validation
```
## Output
You should see an API Proxy bundle generated in the same folder you ran the command. The bundle follows the convention of
{soap-servicename}.zip. You can import the bundle via the Edge Admin UI or tools like [apigeetool](https://www.npmjs.com/package/apigeetool).

## Open API Specification
When a proxy bundle for SOAP->REST is generated, an attempt is made to generate an Open API specification.
When a proxy bundle for SOAP->REST is generated, an attempt is made to generate an Open API specification.
This document is hosted at http://{proxy-url}/{basePath}/openapi.json

NOTE: The Open API specification is not expected to be accurate for all WSDLs. For ex: OAS does not support xsd:choice.
Expand Down
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<testResource>
<directory>src/test/resources</directory>
</testResource>
</testResources>
</testResources>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
Expand Down Expand Up @@ -113,9 +113,9 @@
<artifactId>httpclient</artifactId>
<version>4.5.13</version>
</dependency>
<!-- <dependency> <groupId>org.codehaus.groovy</groupId> <artifactId>groovy-all</artifactId>
If possible, its better if this matches 2.1.8 in the plugin definition but
2.2.1 worked fine here and allowed me to keep the original pom definition
<!-- <dependency> <groupId>org.codehaus.groovy</groupId> <artifactId>groovy-all</artifactId>
If possible, its better if this matches 2.1.8 in the plugin definition but
2.2.1 worked fine here and allowed me to keep the original pom definition
<version>2.4.6</version> </dependency> -->
<dependency>
<groupId>commons-cli</groupId>
Expand Down
Loading

0 comments on commit ebe1898

Please sign in to comment.