JBoss Community

Re: Invalid HTTP server response [400] - Bad Request

created by robert_01 in JBoss Web Services - View the full discussion

Fixed by adding the standard-jaxws-client-config.xml with the following content:

 

 

<?xml version="1.0" encoding="UTF-8"?>

 

<!-- $Id: standard-jaxws-client-config.xml 3797 2007-07-04 11:33:22Z thomas.diesler@jboss.com

$ -->

 

<jaxws-config xmlns="urn:jboss:jaxws-config:2.0"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:javaee="http://java.sun.com/xml/ns/javaee"

xsi:schemaLocation="urn:jboss:jaxws-config:2.0 jaxws-config_2_0.xsd">

 

<client-config>

<config-name>Standard Client</config-name>

<feature>http://org.jboss.ws/dispatch/validate</feature>

<property>

<property-name>http://org.jboss.ws/http#chunksize</property-name>

<property-value>0</property-value>

</property>

</client-config>

 

<client-config>

<config-name>HTTP 1.0 Client</config-name>

<feature>http://org.jboss.ws/dispatch/validate</feature>

</client-config>

 

<client-config>

<config-name>Standard WSAddressing Client</config-name>

<post-handler-chains>

<javaee:handler-chain>

<javaee:protocol-bindings>##SOAP11_HTTP</javaee:protocol-bindings>

<javaee:handler>

<javaee:handler-name>WSAddressing Handler</javaee:handler-name>

<javaee:handler-class>org.jboss.ws.extensions.addressing.jaxws.WSAddressingClientHandler

</javaee:handler-class>

</javaee:handler>

</javaee:handler-chain>

</post-handler-chains>

</client-config>

 

<client-config>

<config-name>Standard WSSecurity Client</config-name>

<post-handler-chains>

<javaee:handler-chain>

<javaee:protocol-bindings>##SOAP11_HTTP</javaee:protocol-bindings>

<javaee:handler>

<javaee:handler-name>WSSecurityHandlerOutbound

</javaee:handler-name>

<javaee:handler-class>org.jboss.ws.extensions.security.jaxws.WSSecurityHandlerClient

</javaee:handler-class>

</javaee:handler>

</javaee:handler-chain>

</post-handler-chains>

</client-config>

 

</jaxws-config>

Reply to this message by going to Community

Start a new discussion in JBoss Web Services at Community