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

  • Home
  • SEARCH
  • 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 6016501
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T02:59:29+00:00 2026-05-23T02:59:29+00:00

I have an .net 2.0 C# client app that has a web service reference

  • 0

I have an .net 2.0 C# client app that has a web service reference to an Axis2 Java Webservice.
The idea is to send some xml data to the webservice, so it can be parsed and inserted into database.
The WS method accepts a single parameter of type ‘xsd:anytype’.

Java web service:

public class JWS{    
    public Response AddData(Object inputXML) {            
        return Response;
    }  
}

C# Client:

JWS client = new JWS();
object inputXML = "<xml>some xml data</xml>";
response = client.AddData(inputXML);

There are 2 issues i am seeing when monitored using fiddler.

1) The request has an additional element '<inputXML>' added before the actual xml data.

<inputXML>&lt;xml&gt;some xml data&lt;/xml&gt;</inputXML>

2) The xml is encoded, so ‘<‘ is appearing as "&lt;"

I am not sure if this is how SOAP request’s are generated but i would like to remove the <inputXML> tag and also, have the xml appear as is without having to replace the special characters.

Is this possible? Is it got something to do with ‘Wrapping’/’UnWrapping’ Types?

Also, i have used SoapUI to test the java web service and it works well. However, in the request tab, i had to manually remove the <inputXML> tag and submit for it to work correctly. Please help.

TIA

  • 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-23T02:59:30+00:00Added an answer on May 23, 2026 at 2:59 am

    I found out that the issue is not with encoding but it was interpreted incorrectly on java side when the message was viewed in axis2. So, it is getting decoded properly. Also, the inputxml is now being handled correctly.

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

Sidebar

Related Questions

I have a .NET web-service client that has been autogenerated from a wsdl-file using
I have a .NET client application that needs to communicate with a server using
I am working with ASP.NET doing some client side javascript. I have the following
I have a client-server application that uses .net remoting. The clients are in a
I have a client/server application that communicates with .Net remoting. I need my clients
Can you have custom client-side javascript Validation for standard ASP.NET Web Form Validators? For
I have a .net client application which is connected to a remote database. Is
We have a client/server application with a rich client front end (in .Net) and
Using the client-side ASP.NET AJAX library, I have created an instance of a client
We have developed our website(Business users website) in .net Framework 2.0 Our client us

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.