diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2011-09-06 10:32:25 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2011-09-06 10:32:25 +0000 |
commit | e64ab6ff3502fa2571712725783693d740481daa (patch) | |
tree | 50c87285aab77d46c5920158bd24f845037e82b9 /sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main | |
parent | 27bdb7c19aaddeec354ad3424f435363e5271a95 (diff) |
Separate a composite line out for clarity/debugging purposes.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1165596 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main')
-rw-r--r-- | sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/provider/Axis2ReferenceBindingProvider.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/provider/Axis2ReferenceBindingProvider.java b/sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/provider/Axis2ReferenceBindingProvider.java index 7b22dc443b..a1ecdd2a1c 100644 --- a/sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/provider/Axis2ReferenceBindingProvider.java +++ b/sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/provider/Axis2ReferenceBindingProvider.java @@ -355,8 +355,8 @@ public class Axis2ReferenceBindingProvider extends Axis2BaseBindingProvider impl } try { - XMLStreamReader parser = - XMLInputFactory.newInstance().createXMLStreamReader(new DOMSource(wsBinding.getEndPointReference())); + DOMSource domSource = new DOMSource(wsBinding.getEndPointReference()); + XMLStreamReader parser = XMLInputFactory.newInstance().createXMLStreamReader(domSource); StAXOMBuilder builder = new StAXOMBuilder(parser); OMElement omElement = builder.getDocumentElement(); org.apache.axis2.addressing.EndpointReference epr = EndpointReferenceHelper.fromOM(omElement); |