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

The Archive Base Latest Questions

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

Am pretty new to web services and have been trying to implement Soap Faults.

  • 0

Am pretty new to web services and have been trying to implement Soap Faults. I used Apache Axis2 to generate webservice in the following manner.

public interface XYZ{
public String myMethod(User[] user)
}

Here I have created a User class with some variables so that I can generate User object at .Net environment to pass User[] of objects.

Public class Webservice implements XYZ
{
Public String myMethod(User[] user){
//My implementation
}
}

Now, I created a dynamic project using Eclipse and with the help of Axis2 plugin I created webservice for my “Webservice” class which generates wsdl file. I deployed the webcontent in the Tomcat folder and able to access the WSDL file in the .Net environment. I am able to pass array of objects (User[]) from .Net to Java and able to do my task. Now, I need to implement Soap Faults in Java which I am not sure how to implement.

Can anyone help me with an example or tutorial ?

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

    Your best bet is to Google for something like “jax-ws faults”. For example:

    http://www.ibm.com/developerworks/webservices/library/ws-jaxws-faults/index.html

    You can also implement an error handler, as discussed under “Using handlers in JAX-WS Web services” here:

    http://axis.apache.org/axis2/java/core/docs/jaxws-guide.html#BottomUpService

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

Sidebar

Related Questions

I'm pretty new to JWS. I have a web application ( several web services
Im pretty new to Java Web Services, but I cant find a good explanation
I'm terribly new to web development. I'm trying to make a pretty simple site
pretty straightforward question: Is there a good web services solution for Joomla1.5+? I've been
I have been trying to create a web service out some python scripts, and
I'm very new to working with web services, and so I'm finding this pretty
I am pretty much new in this. I know Remoting, HTTPService and WebService. I
I'm pretty new to web programming, reading a book on ASP.NET, and I notice
I am pretty new to php, but I am learning! I have a simple
I have a web service that's pretty simple; something like this: public class LeadService

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.