I suspect the problem is that the original string constant has been
compiled into the class in the mar.

I suggest re-building the mar using classes compiled against your
patched Constants file.

David

On 13/02/07, Brecht Yperman <[EMAIL PROTECTED]> wrote:




Hi,



I'm trying to communicate with a WSE2.0-enhanced webservice.



So far I got the requests 90% equal using this:

in my code

client.getOptions().setProperty(AddressingConstants.WS_ADDRESSING_VERSION,
Submission.WSA_NAMESPACE);



in ServiceClient (in sendReceive method)

getOptions().setAction(mc.getAxisOperation().getSoapAction());



I'm having but one problem left, I think, and that's the namespace of
WS-Addressing. In my example request this is 2004/03, the constant
Submission.WSA_NAMESPACE is 2004/08.



I tried to change the axis2-kernel-1.1.jar file, changing the constants
containing the namespace to
http://schemas.xmlsoap.org/ws/2004/03/addressing in the
file
org.apache.axis2.addressing.AddressingConstants$Submission.



In my client code this is used, but in the addressing.mar-file, some other
class seems to be used as this:



if
(Submission.WSA_NAMESPACE.equals(addressingVersionFromCurrentMsgCtxt))



always returns false and the content of
addressingVersionFromCurrentMsgCtxt is
http://schemas.xmlsoap.org/ws/2004/03/addressing





Does anyone know how I can fix this, or is there a proper way to do this,
or…?



Thanks,

Brecht


--
David Illsley - IBM Web Services Development

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to