Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5929845
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T14:28:41+00:00 2026-05-22T14:28:41+00:00

In my current project, we are using Apache Axis to do remote calls via

  • 0

In my current project, we are using Apache Axis to do remote calls via SOAP.

Now there are cases where the server host+port is not directly accessible due to firewall constraints, but there is the possibility of an SSH tunnel.

The Axis documentation mentions the possibility to plug in an own Socket factory. But this plugging in only seems to be possible by providing the name of an implementation class in a System property.

I just spent a hour or such to implement a SocketFactory (via a custom SocketImpl implementation) based on a JSch session – but this SocketFactory object is dependent on a Session object, and can’t be simply instantiated independently.

I think I could somehow solve this using static variables/methods, but this certainly does not look nice.

Actually, I want to be able to provide a new SocketFactory (with another base SSH Session) for every server (or group of servers), of which might exist several at the same time – thus, it would be necessary to provide this to the ServiceLocator.

Is there some way to solve this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T14:28:42+00:00Added an answer on May 22, 2026 at 2:28 pm

    You could open a permanent tunnel.
    ssh -L1337:127.0.0.1:8080 192.168.0.x

    and then connect to the local address (127.0.0.1:1337) as if it was remote.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've used Trac/Subversion before and really like the integration. My current project is using
For a current project we are using SwfObject 2.2 to embed flash files, and
in our current project we are using ADO.NET Entity Framework as data layer for
In my current project I am using a 3rd party library which has no
for my current project I am using Castle's ActiveRecord in C#. For one of
I have a short question. Im my current project I'm using LINQ-to-SQl. That is
I'm using HTMLPurifier in a current project and I'm not sure about the most
I'm considering using Grails for my current project. I have a couple of requirements
In my current project we are testing our ASP.NET GUI using WatiN and Mbunit
I am using a Cairngorm MVC architecture for my current project. I have several

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.