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 255685
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T21:57:05+00:00 2026-05-11T21:57:05+00:00

Edit: Obviously my first question was not really easy to understand, I hope the

  • 0

Edit: Obviously my first question was not really easy to understand, I hope the answer is usefull 🙂

I have tried installing Axis2 on the Red5 server and everything went ok, I accessed the Red5 app properties from a custom Web Service using Red5’s RTMPClient and exposed them through Axis2.

The problem is that doing it that way I have a 2 levels server and I don’t really have direct access from the webservice to the sharedobjects, etc… What I would like to do is to be able to access some Red5 apps functions directly through the SOAP service class.

I suppose I will have to create the SOAP server on my own (maybe using Axis’s SimpleHTTPServer or SimpleAxis2Server??)

Any ideas??

I hope I explained myself… And thanks in advance

  • 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-11T21:57:05+00:00Added an answer on May 11, 2026 at 9:57 pm

    Resolved!!!
    Instead of using Axis2, I have used JAX-WS which is what I really needed.

    I have created a class to use as WebService and expose my SharedObjects

    package my.package;
    import javax.jws.WebService;
    @WebService
    public class Red5WS{
        MyApplication app = null;
        public Game(){
            /* Needed but it can be empty */
        }
        public Game(MyApplication app){
            this.app = app;
        }
        public String getAttribute(String SOname, String attrName){
            ISharedObject so = app.getSharedObject(this.app.getScope(), SOname,true);
            return so.getAttribute(attrName);
        }
    }
    

    Then I added a call to Endpoint.publish() on MyApplications appStart function to run the WebService as soon as the application is run. I pass this as a parameter to the Red5WS constructor to be able to access applications scope from the web service:

    package my.package;
    import javax.xml.ws.Endpoint;
    import org.red5.server.adapter.ApplicationAdapter;
    public class MyApplication extends ApplicationAdapter{
        @Override
        public boolean appStart (IScope app){
            Endpoint.publish(
                "http://localhost:8080/WebService/red5ws",
                new Red5WS(this));
            }
            return super.appStart();
        }
    }
    

    After compiling the Red5 app it’s a must to use the wsgen to create the needed WS classes.

    wsgen –cp . my.package.Red5WS
    

    Once restarted the Red5 app you should be able to acces web service’s WSDL file through:

    http://localhost:8080/WebService/red5ws?WSDL
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Edit: From another question I provided an answer that has links to a lot
Edit: I have solved this by myself. See my answer below I have set
Edit: This question was written in 2008, which was like 3 internet ages ago.
EDIT: Learned that Webmethods actually uses NLST, not LIST, if that matters Our business
EDIT: This question is more about language engineering than C++ itself. I used C++
EDIT What small things which are too easy to overlook do I need to
edit #2: Question solved halfways. Look below As a follow-up question, does anyone know
I've read the whole Dragon Book recently (just for fun, I'm not really planning
This is a pretty simple question really, but let's say I'm creating a model
Edit: When I say SQL Server, I'm really talking about the Management Studio. Sorry

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.