Hi,

I'm quite new to this stuff :-)


I have an XFire client. I generate code using the Eclipse plugin with
default options (JAXB). I have been able to configure WS-addressing,
WS-Security and HTTPS as required by the .NET service I'm connecting to. The
WSDL is rpc, literal.

Everything works nicely, except for OUT parameters. I have quite a lot of
those and they always come back NULL in the
javax.xml.ws.Holder.valuemember. I verified that the HttpClient
certainly sees both the in and out
params. All the IN parameters are working fine.

I downloaded and compiled the Xfire source and followed the execution. I
found a couple of points:

1) The normal "result" parameter is org.codehaus.xfire.jaxb2.JaxbType,
whereas the OUT params are org.codehaus.xfire.aegis.type.basic.BeanType.
Will these BeanTypes know how to unmarshall the Xml in the correct way for a
Holder?

2) The "Invocation" object, doesn't appear to set the Holder parameters
passed in by the client code with the values from the unmarshalling (they
are null in any case, but still there should be a way to pass these values
back out).


What is the best way to get this working?
Do I need to make a javax.xml.ws.Holder aegis.xml mapping file? If so, what
would that look like?


Best regards,
Jamie Lister

Reply via email to