Skip to main content
Solved

Connect via ProjectWiseWSGConnector to local server - Need help connecting to local projectwise server


Forum|alt.badge.img

Can ProjectWiseWSGConnector connect to a local server, and if how ? What should I put into the Bentley ProjectWise Connection Parameters ? It seems like the URL i use in ProjectWise doesn't function in FME.

Best answer by david_r

In theory it should be able to connect to any server, as long as there is a network connection. So first step is to verify any firewalls.

 

Also, you cannot use URLs starting with "pw:\\\\", the FME web connection URL should look something like this: https://hostname.domain.com/ws/

 

View original
Did this help you find an answer to your question?

11 replies

david_r
Evangelist
  • Best Answer
  • February 2, 2022

In theory it should be able to connect to any server, as long as there is a network connection. So first step is to verify any firewalls.

 

Also, you cannot use URLs starting with "pw:\\\\", the FME web connection URL should look something like this: https://hostname.domain.com/ws/

 


Forum|alt.badge.img
david_r wrote:

In theory it should be able to connect to any server, as long as there is a network connection. So first step is to verify any firewalls.

 

Also, you cannot use URLs starting with "pw:\\\\", the FME web connection URL should look something like this: https://hostname.domain.com/ws/

 

Hey David,

thank you for the quick response.

 

Just to be sure, so if my url would be:

pw:\\\\test-example.bentley.com:example-pw-01\\Documents\\

 

instead it should be :

https://test-example.bentley.com.example-pw-01/Documents

 

And if that returns :

Retrieval Error: Unable to make the request to web service. Ensure your machine has internet connectivity

It's probably a firewall.


david_r
Evangelist
  • February 2, 2022
jonathanklarup wrote:

Hey David,

thank you for the quick response.

 

Just to be sure, so if my url would be:

pw:\\\\test-example.bentley.com:example-pw-01\\Documents\\

 

instead it should be :

https://test-example.bentley.com.example-pw-01/Documents

 

And if that returns :

Retrieval Error: Unable to make the request to web service. Ensure your machine has internet connectivity

It's probably a firewall.

Try https://test-example.bentley.com/ws

Notice the "/ws" endpoint, as you need to point to the ProjectWise web service gateway (WSG), not to any of the contents.


Forum|alt.badge.img
jonathanklarup wrote:

Hey David,

thank you for the quick response.

 

Just to be sure, so if my url would be:

pw:\\\\test-example.bentley.com:example-pw-01\\Documents\\

 

instead it should be :

https://test-example.bentley.com.example-pw-01/Documents

 

And if that returns :

Retrieval Error: Unable to make the request to web service. Ensure your machine has internet connectivity

It's probably a firewall.

Thanks again, it still fails to connect, so I'll look into firewalls now.


david_r
Evangelist
  • February 2, 2022
jonathanklarup wrote:

Hey David,

thank you for the quick response.

 

Just to be sure, so if my url would be:

pw:\\\\test-example.bentley.com:example-pw-01\\Documents\\

 

instead it should be :

https://test-example.bentley.com.example-pw-01/Documents

 

And if that returns :

Retrieval Error: Unable to make the request to web service. Ensure your machine has internet connectivity

It's probably a firewall.

The URL should also work in a browser, which is fairly helpful for testing the connection.


Forum|alt.badge.img
jonathanklarup wrote:

Hey David,

thank you for the quick response.

 

Just to be sure, so if my url would be:

pw:\\\\test-example.bentley.com:example-pw-01\\Documents\\

 

instead it should be :

https://test-example.bentley.com.example-pw-01/Documents

 

And if that returns :

Retrieval Error: Unable to make the request to web service. Ensure your machine has internet connectivity

It's probably a firewall.

Great thanks!

Too long to response -- ERR_CONNECTION_TIMED_OUT

So it looks like firewall.


Forum|alt.badge.img

Hello David,

 

A new problem has arrived.

imageI can log on via my browser, but not via the ProjectWiseWSGConnector.

Would it be a problem if my version is

imageAnd the ProjectWise Web API version selectable in the webconnection in FME is 2.4?

 

Thanks in advance

best regards

Jonathan


Forum|alt.badge.img

Update:

I forgot this, the problem appears when I try to acces a repository.


david_r
Evangelist
  • February 3, 2022
jonathanklarup wrote:

Hello David,

 

A new problem has arrived.

imageI can log on via my browser, but not via the ProjectWiseWSGConnector.

Would it be a problem if my version is

imageAnd the ProjectWise Web API version selectable in the webconnection in FME is 2.4?

 

Thanks in advance

best regards

Jonathan

I think you should be OK for the API version.

The error message you see comes directly from the ProjectWise WSG, so basically double check the username and password. Also check that the user has sufficient rights to any repository that you're trying to access.


Forum|alt.badge.img
david_r wrote:

I think you should be OK for the API version.

The error message you see comes directly from the ProjectWise WSG, so basically double check the username and password. Also check that the user has sufficient rights to any repository that you're trying to access.

The error persists when trying to connect through FME.

Are there any dependencies or anything I'm missing?


david_r
Evangelist
  • February 3, 2022
david_r wrote:

I think you should be OK for the API version.

The error message you see comes directly from the ProjectWise WSG, so basically double check the username and password. Also check that the user has sufficient rights to any repository that you're trying to access.

In my experience, there should be no dependencies. It could perhaps be worth it to intercept the API calls using something like Telerik Fiddler and see what happens. But based on the error message it's fairly certain that the WSG isn't accepting the username/password combination, which shouldn't have anything to do with the API version, as it's using http basic authentication in all cases.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings