EndpointReference is erroneously expecting the top level element to be in the
Addressing namespace.
---------------------------------------------------------------------------------------------------
Key: XFIRE-794
URL: http://jira.codehaus.org/browse/XFIRE-794
Project: XFire
Issue Type: Bug
Components: Core
Affects Versions: 1.2.2
Environment: n/a
Reporter: Matthew
Assigned To: Dan Diephouse
Priority: Minor
In EndpointReference class the following method (and maybe there's others)
public Element getAddressElement()
{
return element.getChild(WSA_ADDRESS, element.getNamespace());
}
It's looking for the Address element using the namespace of the parent. An
EndpointReferenceType does not define the enclosing element. It only defines
the contents of that element. So the following definition from WS-Eventing is
ok and I should be able to store the NotifyTo element as an EndpointReference.
<xs:schema
targetNamespace="http://schemas.xmlsoap.org/ws/2004/08/eventing"
...
<xs:element name="NotifyTo" type="wsa:EndpointReferenceType" />
...
I guess you can't pre-determine which addressing namespace is being used, so
you will probably have to try each one until you find the Address child.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email