Import wsdl with basic auth

Post any questions you have about using the Verj.io Studio, including client and server-side programming with Javascript or FPL, and integration with databases, web services etc.

Moderators: Jon, Steve, Ian, Dave

Steve James
Ebase User
Posts: 331
Joined: Mon Mar 10, 2014 8:34 am

Import wsdl with basic auth

#1

Postby Steve James » Thu Feb 25, 2016 4:09 pm

Hi, I am trying to import a wsdl with basic auth and keep getting connection refused. There are also dozens of imported xsd so it's not feasible to build a local wsdl.

I've managed to manually create a single operation and this runs fine but it is time consuming and there are dozens of potential operations.

I've tried setting the auth before importing the wsdl without success and tried including the credentials with in the url which worked in SOAP-UI eg

http://theID:password@www.supplier.co.u ... rvice?wsdl

I've tried this in both 4.5 and 5.0.1.

Any ideas about how I can get the wsdl to import?

Thanks
0 x

Steve
Moderator
Moderator
Posts: 421
Joined: Fri Sep 07, 2007 3:44 pm
Location: Sandy, UK
Contact:

#2

Postby Steve » Fri Feb 26, 2016 10:23 am

Hi Steve,

Unfortunately we do not set any authentication on the WSDL reader. Ebase uses WSDL4J to read the WSDL before processing it and it just passes in the URL. I am not sure there are any authentication options with this.

Currently, the only way you can do this is to create them manually or download the WSDL with all the XSD's.

Steve
0 x

Steve James
Ebase User
Posts: 331
Joined: Mon Mar 10, 2014 8:34 am

#3

Postby Steve James » Fri Feb 26, 2016 11:27 am

Ouch but thanks anyway.

I may be able to get Soap-UI to create the files locally as there are 100+ included xsds.
0 x

Steve
Moderator
Moderator
Posts: 421
Joined: Fri Sep 07, 2007 3:44 pm
Location: Sandy, UK
Contact:

#4

Postby Steve » Fri Feb 26, 2016 11:39 am

Hi Steve,

We support loading WSDL from your local file system.

Is there any way the Web Service provider can send you a copy of the WSDL and the XSD's so that you can load the WSDL from your local file system?

Steve
0 x

Steve James
Ebase User
Posts: 331
Joined: Mon Mar 10, 2014 8:34 am

#5

Postby Steve James » Fri Feb 26, 2016 11:47 am

Possibly yes but of course these things change so it's always best to remove links in the chain and be self sufficient.

At the moment we only need to use 2 operations but this is likely to grow quickly so we'll manage for the moment by manually creating the operation in Ebase.

It would be good to have an import mechanism where the wsdl has basic auth.

Thanks
0 x

Steve James
Ebase User
Posts: 331
Joined: Mon Mar 10, 2014 8:34 am

#6

Postby Steve James » Fri Feb 26, 2016 3:41 pm

Using Soap-UI it was easy enough to get a full list of the 148 included xsds.

A quick Powershell script to download them all.

Ebase isn't happy importing the full wsdl but I can tweak it easily enough to allow me to import the necessary operations.

Thanks.
0 x


Who is online

Users browsing this forum: No registered users and 8 guests