Glen,
I tried several variations. Again, I've read the paragraph that you've
pointed to and tried out two possibilities:
1. Literally interpreted: the service's namespace= {Webservice_Server}. The
portname= Webservice_ServerSOAPPort
So we get: {Webservice_Server}Webservice_ServerSOAPPort.http-conduit
=> Not OK
2. Tried this:
{http://62.102.2.92/Webservice_Server}Webservice_ServerSOAPPort.http-conduit
=> Not OK
May be, I'm misinterpreting something (I'm rather new to web services)?
Didn't have the time to do some debugging.
Here's the wsdl fragment:
<?xml version="1.0" encoding="iso-8859-1" ?>
<definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:s0="Webservice_Server" xmlns="http://schemas.xmlsoap.org/wsdl/"
targetNamespace="Webservice_Server">
<types>
....
<binding name="Webservice_ServerSOAPBinding"
type="s0:Webservice_ServerSOAPPortType">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http"
style="document" />
<operation name="Query_Data_PerFir">
<soap:operation
soapAction="Webservice_Server/Query_Data_PerFir"
style="document" />
<input>
<soap:body use="literal" />
</input>
<output>
<soap:body use="literal" />
</output>
</operation>
<operation name="Wissen_Werknemer">
<soap:operation
soapAction="Webservice_Server/Wissen_Werknemer"
style="document" />
<input>
<soap:body use="literal" />
</input>
<output>
<soap:body use="literal" />
</output>
</operation>
<operation name="Check_Update_Werknemer">
<soap:operation
soapAction="Webservice_Server/Check_Update_Werknemer"
style="document" />
<input>
<soap:body use="literal" />
</input>
<output>
<soap:body use="literal" />
</output>
</operation>
<operation name="Query_Data_PerFir_1">
<soap:operation
soapAction="Webservice_Server/Query_Data_PerFir_1"
style="document" />
<input>
<soap:body use="literal" />
</input>
<output>
<soap:body use="literal" />
</output>
</operation>
</binding>
<service name="Webservice_Server">
<port name="Webservice_ServerSOAPPort"
binding="s0:Webservice_ServerSOAPBinding">
<soap:address
location="http://xx.xxx.x.xx/Webservice_Server/Webservice_Server.soap" />
</port>
</service>
</definitions>
Glen Mazza-2 wrote:
>
> If you have followed the instructions in the paragraph starting with
> "The first thing to notice is..." on [1] closely in order to come up
> with the exact name, and it still doesn't work, then possibly we have a
> CXF bug. It can be tricky to get right.
>
> Glen
>
> [1]
> http://cwiki.apache.org/CXF20DOC/client-http-transport-including-ssl-support.html
>
> Am Donnerstag, den 10.04.2008, 05:32 -0700 schrieb gbuys:
>> OK, using wildcard "*.http-conduit" as the conduit name did the trick.
>>
>> I still don't see why the specified name doesn't work though...
>>
>>
>>
>> gbuys wrote:
>> >
>> > Hi All,
>> >
>> > I'm having an issue calling a webservice on MS IIS from JBoss 4.2.2
>> with
>> > Apache CXF 2.0.4 client deployed in a Spring application.
>> >
>> > The deployed service doesn't seem to support client calls from JBoss
>> with
>> > Transfer-encoding chunked in the request header. Sometimes the service
>> > system gives a response but most of the time it hangs or returns an
>> error
>> > message. I've deployed exactly the same client code (generated with
>> > soapUI using CXF 2.0.4.-incubator) in a stand alone program in Eclipse.
>> > This program sends requests to the service with a content-length
>> specified
>> > in the request header. This works perfectly well, the IIS server
>> quickly
>> > responds and remains stable.
>> >
>> > So it appears to me that JBoss is actually responsible for putting the
>> > 'Transfer-encoding chunked' in the header. How can I reconfigure my
>> JBoss
>> > to send requests with fixed content length. As a matter of fact, I
>> think
>> > I should configure that only the web service requests have
>> content-length
>> > specified. All other requests/responses should remain chunked.
>> >
>> > Or do I have to configure CXF or change my service client code to force
>> > the requests having a content-length header? I did some experiments
>> with
>> > a cxf.xml in my classpath without succes (ip address replaced with
>> x's):
>> >
>> > <beans xmlns="http://www.springframework.org/schema/beans"
>> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> >
>> > xmlns:http-conf="http://cxf.apache.org/transports/http/configuration"
>> >
>> > xsi:schemaLocation="http://cxf.apache.org/transports/http/configuration
>> > http://cxf.apache.org/schemas/configuration/http-conf.xsd
>> > http://www.springframework.org/schema/beans
>> >
>> http://www.springframework.org/schema/beans/spring-beans.xsd">
>> >
>> > <http-conf:conduit
>> >
>> >
>> name="{http://xx.xx.xx.xx/Webservice_Server/}Webservice_Server.http-conduit">
>>
>> > <http-conf:client AllowChunking="false"/>
>> > </http-conf:conduit>
>> > <http-conf:conduit
>> >
>> > name="{http://localhost:8080/axis2/services/}Version.http-conduit">
>> > <http-conf:client AllowChunking="false"/>
>> > </http-conf:conduit>
>> >
>> > </beans>
>> >
>> >
>> > Any help is greatly appreciated!
>> > (Of course, the guys on the web service side should find out why their
>> IIS
>> > becomes unstable, but i'd like to find out what i can change on the
>> client
>> > side as well...)
>> >
>> >
>> >
>>
>
>
>
--
View this message in context:
http://www.nabble.com/Transfer-encoding-chunked-tp16606556p16671683.html
Sent from the cxf-user mailing list archive at Nabble.com.