What's your client code look like?
-----Original Message-----
From: Sam Wilson [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 08, 2007 12:39 PM
To: [email protected]
Subject: Re: [xfire-user] Any suggestions on working with XFire
snapshots?
I managed to bypass the test cases and I'm finding that I still cannot
get my JAX-WS client to call using the doc/lit wrapped style.
It always wraps the body with "<message>" tags and not tags named after
the operation.
I am configuring my client as follows:
<bean id="xfire.jsr181Annotations"
class="org.codehaus.xfire.annotations.jsr181.Jsr181WebAnnotations"/>
<bean id="EchoServiceClient"
class="com.xyz.xfire.spring.remoting.XFireClientFactoryBean"
abstract="true">
<property name="XFire" ref="xfire"/>
<property name="serviceFactory" ref="xfire.jsr181ServiceFactory"/>
<property name="serviceInterface"
value="com.xyz.service.echo.EchoService"/>
<property name="wsdlDocumentUrl"
value="http://localhost:8081/echo-service/services/Echo?wsdl"/>
</bean>
<bean id="EchoServiceHttpClient"
parent="EchoServiceClient">
<property name="endpoint">
<bean class="javax.xml.namespace.QName">
<constructor-arg value="http://xyz.com/Echo"/>
<constructor-arg value="EchoHttpPort"/>
</bean>
</property>
<property name="url"
value="http://10.2.6.127:8081/echo-service/services/Echo"/>
</bean>
The only way I've gotten this to work so far is to utilize rpc/literal
encoding or to not use JSR181 annotations.
sw
Sam Wilson wrote:
> I'm trying to get a JAX-WS client working and noticed that a fix for
> XFIRE-778 (JAX-WS client not working with doc/lit wrapped) has been
> committed.
>
> I tried adding 1.2-SNAPSHOT as my version number in my project POM and
> adding the http://snapshots.repository.codehaus.org repository as a
> repository. However, it says it cannot find the snapshots in the
> repository. I haven't gone through all the POMs but I'm wondering if
> one of them refers to a specific snapshot?
>
> Anyhow, I also tried checking out the latest version of the codebase
> (the fix to XFIRE-778 was the last commit) however, the xfire-aegis
> project tests do not pass. I'm currently trying to build without the
> tests.
>
> Does anyone current work against the snapshots? Any recommendations?
>
> Also, is there any timeframe on the release of 1.2.5? Is this still
> planned with the CXF stuff? Anything I can do to help?
>
> Thanks,
>
> Sam Wilson
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
> http://xircles.codehaus.org/manage_email
>
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email