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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T17:23:53+00:00 2026-05-19T17:23:53+00:00

This is my java code public class TestClient { public int a=55; public void

  • 0

This is my java code

public class TestClient
{
    public int a=55;    

    public void setname(String nameeey){

    }

    public int foo(){
      return 55;
    }

    public String foo2(int value, int a2,double hool){
       return "2343";
    }
}

and this is the porttype of the wsdl doc

<wsdl:portType name="TestClientPortType">

  <wsdl:operation name="foo">
      <wsdl:input name="foo" message="tns:foo">
      </wsdl:input>
      <wsdl:output name="fooResponse" message="tns:fooResponse">
      </wsdl:output>
  </wsdl:operation>

  <wsdl:operation name="setname">
      <wsdl:input name="setname" message="tns:setname">
      </wsdl:input>
      <wsdl:output name="setnameResponse" message="tns:setnameResponse"> 
      </wsdl:output>
  </wsdl:operation>

  <wsdl:operation name="foo2">
      <wsdl:input name="foo2" message="tns:foo2"> 
      </wsdl:input>
      <wsdl:output name="foo2Response" message="tns:foo2Response"> 
      </wsdl:output>
  </wsdl:operation>

</wsdl:portType>

what does

<wsdl:output name="fooResponse" message="tns:fooResponse">

mean?

  • 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-19T17:23:53+00:00Added an answer on May 19, 2026 at 5:23 pm

    Web Services relate to messaging and their are various Message Exchange Patterns (MEPs). In the case of the foo operation, it is an IN-OUT pattern, or request/response (relating to the java method).

    The input message is the request you are sending to the service and the output message is the response from the service. So the ‘fooResponse’ message is a wrapper around the integer return value.

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

Sidebar

Related Questions

Try this code - import java.io.StringReader; public class StringReaderTest { public static void main(String[]
In this Java code: public class Main { public static void main(String[] args) {
This Java code: public class XYZ { public static void main(){ int toyNumber =
Consider this code: package Prova; import java.util.ArrayList; public class Prova { private ArrayList<String> people;
Booking.java This is part of my spinner code. public void onItemSelected(AdapterView<?> arg0, View v,int
Assume this Java code: public class A { public A(String g) { x +=
I have some Java code: public class Car { private int yearModel; private String
This is my .java code public class MainHelp extends PreferenceActivity { @Override public void
I have this simple java code: public class AnAgent extends Agent { protected void
Consider the following Java code: public class Test { private Foo< String, String >

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.