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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T12:15:19+00:00 2026-05-25T12:15:19+00:00

I have coded a web service using the .Net 4.0 framework and I can

  • 0

I have coded a web service using the .Net 4.0 framework and I can successfully invoke it using a test client (SoapUI) on the local machine after publishing the application to my website in IIS. The generated stubs and WSDL are accessible from the local machine and from other machines on the network, however I can not make posts to the WS endpoint from another machine; I can post to the WS endpoint from the local machine and get the expected response. When I try to post to my WS endpoint, I get a HTTP 400 error – “HTTP Error 400. The request is badly formed ” in HTML. Is this a problem with my IIS configuration or access permissions on my application files?

Note: Java developer here, in the process of learning .Net.

Edit: I have disabled Windows Firewall and I have the website bindings IP Address set to “All Unassigned” in the IIS Manager.

Edit: Request/Response

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:add="http://mymachinenamewashere/SeflAddressService/AddressService.asmx">
   <soapenv:Header/>
   <soapenv:Body>
     <add:CheckAddress>
         <add:chkAddress>
           <add:chkCompanyName>XXX</add:chkCompanyName>
           <add:chkStreet1>420 Davega Rd.</add:chkStreet1>
           <add:chkStreet2/> 
           <add:chkCity>Lexington</add:chkCity>
           <add:chkState>SC</add:chkState>
           <add:chkZipcode5>29169</add:chkZipcode5>
           <add:chkZipcode4/>
           <add:chkSuite/>
         </add:chkAddress>
      </add:CheckAddress>
   </soapenv:Body>
</soapenv:Envelope>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">
<HTML><HEAD><TITLE>Bad Request</TITLE>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD>
<BODY><h2>Bad Request</h2>
<hr><p>HTTP Error 400. The request is badly formed.</p>
</BODY></HTML>
  • 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-25T12:15:20+00:00Added an answer on May 25, 2026 at 12:15 pm

    The problem was that my client and SoapUI v2.5 were creating bad requests without the namespaces. I finally figured out where to find the log files and captured some the requests using Wireshark. Upgraded to SoapUI v4.X and it works fine. I am working on modifying my client to include the namespaces (the framework used to generate my client code appears to not be working or is not configured correctly).

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

Sidebar

Related Questions

I have implemented a web service(.asmx) using .NET framework that returns me a hash
I'm using Microsoft .NET Framework 3.5 to create a web service with VB.NET. I'm
I have a web service created using Apache CXF, and two .NET clients using
I have an AXIS2/JAX-WS web service using a code first implementation (yes I know,
I have a simple web service sitting on our internal network. I used SOAPUI
I'm calling a C# web service using the .net Service Model and occasionally this
We have a web application providing a service using a simple REST interface (GET/POST
I have a self-hosted WCF web service running, and an Android client application. I
I have a simple web service I wrote using Webmatrix that returns data in
We have been using a web application framework to build apps that need to

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.