Hey, and thanks for your help.
Setting the client to use AutoRedirect seemed to do the trick.
However, did not manage to use the spring configuration way:
<http:conduit name="*.http-conduit">
<http:client AutoRedirect="true"/>
</http:conduit>
With the web services:
<bean id="matlabPort" class="org.tempuri.MatlabServiceSoap"
factory-bean="matlabFactory" factory-method="create" />
<bean id="matlabFactory" class="org.apache.cxf.jaxws.JaxWsProxyFactoryBean">
<property name="serviceClass" value="org.tempuri.MatlabServiceSoap" />
<property name="address" value="http://192.168.100.10/MlService/MlApp.asmx"
/>
</bean>
This didn't set the client to use AutoRedirect. We had to programatically
do:
Client client = ClientProxy.getClient(port);
HTTPConduit http = (HTTPConduit) client.getConduit();
HTTPClientPolicy httpClientPolicy = new HTTPClientPolicy();
httpClientPolicy.setAutoRedirect(true);
http.setClient(httpClientPolicy);
Best regards,
Tor
dkulp wrote:
>
> On Tuesday 05 February 2008, Benson Margulies wrote:
>> On Tue, 2008-02-05 at 06:07 -0800, Tor Arne Kvaløy wrote:
>> > It's not big. 5808 bytes.
>>
>> Please try it with the version of JAXB that CXF officially references.
>> If it still horks, please make a JIRA with a test case.
>
> 2.0.5 is the version we use on the 2.0.x branch. That shouldn't be an
> issue.
>
>
> --
> J. Daniel Kulp
> Principal Engineer, IONA
> [EMAIL PROTECTED]
> http://www.dankulp.com/blog
>
>
--
View this message in context:
http://www.nabble.com/Issue-with-CXF%3A-Marshalling-Error%3A-Error-writing-request-body-to-server-tp15269024p15306733.html
Sent from the cxf-user mailing list archive at Nabble.com.