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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T03:07:56+00:00 2026-06-12T03:07:56+00:00

I have created a C# ASP.NET web page(Front End) to collect information from user

  • 0

I have created a C# ASP.NET web page(Front End) to collect information from user and I would like to know how to send the information to a java web services to process the information which is from the web page?

  • 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-06-12T03:07:58+00:00Added an answer on June 12, 2026 at 3:07 am

    This post How to invoke Java web service in ASP.net using C# will give you some direction. Essentially, you need to:

    1. Create a Java Web Service
      • Create a web application project
      • Add web service to the project
      • Add operations to the web service
      • Implement the web methods
      • Deploy and test the web service
    2. Create ASP.net Web Site Using C#
      • Create ASP.net web site
      • Add a web reference
      • Write code to invoke web service
      • Test web service client application

    The tutorial above by Bikash Shaw aims develop simple mathematical functions like addition, subtraction etc. using Java web services called JSimpCalcWebService:

    package calc.ws;
    
    import javax.jws.WebMethod;
    import javax.jws.WebParam;
    import javax.jws.WebService;
    import calc.util.NumberFormater;
    
    /**
    * @author Bikash Shaw
    */
    @WebService()
    public class JSimpCalcWebService {
    
    /**
      * Web service operation
      */
      @WebMethod(operationName = "addition")
      public String addition(@WebParam(name = "parameter1")
      double parameter1, @WebParam(name = "parameter2")
      double parameter2) {
     //TODO write your implementation code here:
          return NumberFormater.format((parameter1 + parameter2),0,6);
     }
    

    }

    Example C# code to invoke the web service:

    using System;
    using System.Configuration;
    using System.Data;
    using System.Linq;
    using System.Web;
    using System.Web.Security;
    using System.Web.UI;
    using System.Web.UI.HtmlControls;
    using System.Web.UI.WebControls;
    using System.Web.UI.WebControls.WebParts;
    using System.Xml.Linq;
    using JSimpCalcWebServiceService;
    
    public partial class _Default : System.Web.UI.Page 
    {
        JSimpCalcWebServiceService.JSimpCalcWebServiceService proxy;
    
        protected void Page_Load(object sender, EventArgs e)
        {
            proxy = new JSimpCalcWebServiceService.JSimpCalcWebServiceService();
        }
    
       protected void btnAddition_Click(object sender, EventArgs e)
       {
           try
           {
               lblResultAddition.Text = "Result: " +    proxy.addition(double.Parse(txtbtnAdditionParameter1.Text), 
                                    double.Parse(txtbtnAdditionParameter2.Text));
           }
           catch (FormatException)
           {
               lblResultAddition.Text = "Result: Invalide Input";
           }
           UpdatePanelAddition.Update();
       }
     // Add more methods here...
     }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created a web page (ASP.NET) that includes a stylesheet to mimic Dynamics
I have a web application in Asp.Net. I've created my master page and inside
I have created an asp.net web page and I am using twitterizer.framework.dll. Below is
I 'm new to the asp.net. I have created one web page in that
I have web page in ASP.NET. I have created Tree View control with jQuery.
i have an asp.net-mvc web page and i am using jqgrid on the front
I have a dynamically created TextBox in a C#/ASP.NET web page that I want
I have an asp.net web page created with web forms. It has a number
I have the following scenario. I have created an ASP.NET web application (framework 3.5)
I have created blank Asp.Net-MVC 3 web application and want to write my own

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.