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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T11:13:30+00:00 2026-06-06T11:13:30+00:00

I have an Axis 1 web service with an Axis 1 client. Everything is

  • 0

I have an Axis 1 web service with an Axis 1 client. Everything is working quite well, and the data I’m getting from the web service is correct. Now, there’s a requirement to move the web service to use Axis 2, I’m having problems to get data on the Axis 1 client. I have used SOAPUI to see the format of the response that I’m getting.

With the Axis 1 web service, the response was as follows:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <soapenv:Body>
      <getInventoryResponse xmlns="http://webservices.com">
         <getInventory>
            <errorCode>10071</errorCode>
            <inventory xsi:nil="true"/>
         </getLastInventoryCountReturn>
      </getInventoryResponse>
   </soapenv:Body>
</soapenv:Envelope>

With the Axis 2 web service, the response is as follows:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Body>
      <ns:getInventoryResponse xmlns:ns="http://webservices.com">
         <ns:return xsi:type="ax21:Inventory" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ax21="http://model.com/xsd">
            <ax21:errorCode>10071</ax21:errorCode>
            <ax21:inventory xsi:nil="true"/>
         </ns:return>
      </ns:getInventoryResponse>
   </soapenv:Body>
</soapenv:Envelope>

As you can see, the element called “errorCode” has a value of 10071. I’m receiving the errorCode value correctly on the client from both web services. But I have a complex type called “Inventory” that I receive as part of the response (It doesn’t appear in the responses I have included above ’cause it will take me some time to populate the appropriate data on the web service). The InventoryItem contains fields of different data types (String, Calendar). What I have noticed is that the response from the Axis 2 web service contains the <axs21> xml tag whereas in the Axis 1 web service, it’s not there. So I’m assuming that I have a parsing problem on the client side with the response coming from the Axis 2 web service.

Does anyone know how can I solve this?

  • 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-06T11:13:33+00:00Added an answer on June 6, 2026 at 11:13 am

    So apparently I was doing something wrong. I had to recreate my client code when moving the web service from Axis 1 to Axis2.

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

Sidebar

Related Questions

I have java app that uses Axis to get data from web service. web
I have a web service client using axis. It's using document/literal style and supposed
I have a Axis 1.4 (with Spring) web service client consuming a PHP web
I have to make a web service client from an wsdl file. I have
I am trying to get a web service client working from OSGi, I am
I have a Java web service client running on Linux (using Axis 1.4) that
I have developed a simple Apache-Axis java web service using Eclipse IDE and now
I have an axis web service running in Tomcat. Clients are making connections without
I'm using a .NET 2.0 Client to communicate with an AXIS Web service. The
I have a Java Client that calls a web service written in Csharp by

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.