Hi John,

This was definitely a bug. I applied your patch and updated two of EndpointReference's constructors that were also ignoring ReferenceParameters.

Thanks!
Ian

John Chen wrote:

Hello,

When using WS-Addressing to serialize my SOAP Headers, I found that the ReferenceParameters element was not being serialized. After some investigation, it seems that in EndpointReference.java the toDOM() function does not serialize ReferenceParameters. I was wondering if this was expected behavior.

After inserting the following code, the ReferenceParameters were serialized.
223,227d222
< final String REFERENCE_PARAMETERS = "ReferenceParameters";
< ReferenceParametersType referenceParameters = getParameters();
< if (referenceParameters != null && referenceParameters.size() > 0) {
< referenceParameters.append(parent, REFERENCE_PARAMETERS);
< }


Thanks,

John L. Chen /[EMAIL PROTECTED]
/Consultant/Software Engineer /phone: (626) 256-3680 x1210
/Web Services Solution /fax:* *626-256-6884
/ParaSoft Corporation /http://www.parasoft.com/soaptest//


                        "We Make Software Work"/




Reply via email to