Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

Commit

Permalink
issue #36 - fixing problem with processing wsdl from url and fixing s…
Browse files Browse the repository at this point in the history
…onar issue

Signed-off-by: Brian Fitzpatrick <bfitzpat@redhat.com>
  • Loading branch information
bfitzpat committed Feb 27, 2019
1 parent 80ac646 commit 9070fbb
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Change Log
All notable changes to the "vscode-wsdl2rest" extension will be documented in this file.

## 0.0.5
- addressed issue with URL-based WSDL files https://github.com/camel-tooling/vscode-wsdl2rest/issues/36
- addressed issue with focus loss https://github.com/camel-tooling/vscode-wsdl2rest/issues/35

## 0.0.4
- addressed issue https://github.com/camel-tooling/vscode-wsdl2rest/issues/30

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"displayName": "wsdl2rest",
"description": "A VS Code extension supporting wsdl2rest via Camel Rest DSL",
"license": "Apache-2.0",
"version": "0.0.4",
"version": "0.0.5",
"publisher": "camel-tooling",
"icon": "icons/icon128.png",
"preview": true,
Expand Down
2 changes: 1 addition & 1 deletion src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ function callWsdl2Rest(wsdl2restExecutablePath: string): Promise<boolean> {

let outPath: string = path.join(storagePath, outputDirectory);

if (!(wsdlFileUri.startsWith('http:') || !wsdlFileUri.startsWith('https:'))) {
if (!(wsdlFileUri.startsWith('http:') || wsdlFileUri.startsWith('https:'))) {
if (!wsdlFileUri.startsWith('file:')) {
wsdlFileUri = fileUrl(wsdlFileUri);
}
Expand Down
1 change: 1 addition & 0 deletions src/test/wsdl_url.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import * as test_utils from './test_utils';
import * as app_soap from './app_soap';

// possible wsdl to test - http://www.thomas-bayer.com/axis2/services/BLZService?wsdl
// possible wsdl to test - https://graphical.weather.gov/xml/SOAP_server/ndfdXMLserver.php?wsdl

suite("Wsdl2rest Extension Tests from URL-provided wsdl file", function () {

Expand Down

0 comments on commit 9070fbb

Please sign in to comment.