[jboss-user] [JBoss Web Services] - Re: Invalid HTTP server response [400] - Bad Request

robert_01 do-not-reply at jboss.com
Thu Oct 13 15:23:57 EDT 2011


robert_01 [http://community.jboss.org/people/robert_01] created the discussion

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

To view the discussion, visit: http://community.jboss.org/message/631671#631671

--------------------------------------------------------------
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  mailto:thomas.diesler at jboss.com thomas.diesler at jboss.com 
 $ -->

<jaxws-config xmlns="urn:jboss:jaxws-config:2.0"
 xmlns:xsi= http://www.w3.org/2001/XMLSchema-instance "http://www.w3.org/2001/XMLSchema-instance" xmlns:javaee= http://java.sun.com/xml/ns/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 http://org.jboss.ws/dispatch/validate</feature>
 <property>
 <property-name> http://org.jboss.ws/http#chunksize 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 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
[http://community.jboss.org/message/631671#631671]

Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111013/a63e0b65/attachment.html 


More information about the jboss-user mailing list