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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T07:28:51+00:00 2026-05-28T07:28:51+00:00

Suppose that the action performed by the procedure , which is called by the

  • 0

Suppose that the action performed by the procedure , which is called by the webservice , is equivalent to a void method , should it always return a value anyway ?

  • 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-28T07:28:52+00:00Added an answer on May 28, 2026 at 7:28 am

    From WSDL point of view you have two choices:

    1:

    <wsdl:types>
      ...
      <xs:element name="method1" type="x:MyType1" />
      ...
    
    <wsdl:message name="msg1_1">
      <wsdl:part name="input" element="tns:method1" />
    </wsdl:message>
    
    <wsdl:portType name="MyInterface">
      <wsdl:operation name="method1">
        <wsdl:input name="req" message="tns:msg1_1" />
      </wsdl:operation>
      ...
    

    2:

    <wsdl:types>
      ...
      <xs:element name="method2" type="x:MyType2" />
      <xs:element name="method2Response">
        <xs:complexType>
          <xs:sequence />
        </xs:complexType>
      </xs:element>
      ...
    
    <wsdl:message name="msg2_1">
      <wsdl:part name="input" element="tns:method2" />
    </wsdl:message>
    <wsdl:message name="msg2_1">
      <wsdl:part name="output" element="tns:method2Response" />
    </wsdl:message>
    
    <wsdl:portType name="MyInterface">
      <wsdl:operation name="method2">
        <wsdl:input name="req" message="tns:msg2_1" />
        <wsdl:output name="res" message="tns:msg2_2" />
      </wsdl:operation>
      ...
    

    With option 1 you get One-way Operation which may sometimes be a problem becase the client’s call returns without the knowledge of comleting the server-side method.

    With option 2 you have normal Request-response Operation, you just get (almost) empty SOAP response.

    (all above examples use document/literal/wrapped convention)

    From implementation point of view, if you use e.g. Apache CXF with JAX-WS you end up with standard, void-returning methods.

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

Sidebar

Related Questions

Suppose I have an action that returns an rendered asp.net mvc control and send
So idempotence can be defined as: An action, that if performed N times has
Suppose I have a servlet that on doPost method performs some actions. Also I
Suppose that I have a database with student information: {'student_name' : 'Alen', 'subjects' :
Suppose that you have a function f: List a -> a such that f
Suppose that I click on a facebook link -- once clicked, the URL is
Suppose that I have a 2D array (matrix) in Java like this... int[][] MyMat
Suppose that we have following tables create table Employee( 2 EMPNO NUMBER(3), 3 ENAME
Suppose that I check-in a change in the wrong TFS branch. I need to
Suppose that we have file like this: sometext11 sometext12 sometext13 sometext21 sometext22 sometext23 Texts

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.