summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules/binding-ws-runtime-jaxws/src
diff options
context:
space:
mode:
authorscottkurz <scottkurz@13f79535-47bb-0310-9956-ffa450edef68>2011-12-02 18:34:00 +0000
committerscottkurz <scottkurz@13f79535-47bb-0310-9956-ffa450edef68>2011-12-02 18:34:00 +0000
commitf37a2fbbdc9a296727c533194a7f6fb90904d367 (patch)
tree67026f0255da78d962691693170cf82aeb7c6bc3 /sca-java-2.x/trunk/modules/binding-ws-runtime-jaxws/src
parentd8b81eed1043021574ce61618b91ead493ba4226 (diff)
Make commit showing more clearly that wsa:ReferenceParameters aren't handled correctly and that this is a TODO.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1209627 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/binding-ws-runtime-jaxws/src')
-rw-r--r--sca-java-2.x/trunk/modules/binding-ws-runtime-jaxws/src/main/java/org/apache/tuscany/sca/binding/ws/jaxws/JAXWSBindingInvoker.java27
1 files changed, 8 insertions, 19 deletions
diff --git a/sca-java-2.x/trunk/modules/binding-ws-runtime-jaxws/src/main/java/org/apache/tuscany/sca/binding/ws/jaxws/JAXWSBindingInvoker.java b/sca-java-2.x/trunk/modules/binding-ws-runtime-jaxws/src/main/java/org/apache/tuscany/sca/binding/ws/jaxws/JAXWSBindingInvoker.java
index f251c97bb6..f6106e6aa7 100644
--- a/sca-java-2.x/trunk/modules/binding-ws-runtime-jaxws/src/main/java/org/apache/tuscany/sca/binding/ws/jaxws/JAXWSBindingInvoker.java
+++ b/sca-java-2.x/trunk/modules/binding-ws-runtime-jaxws/src/main/java/org/apache/tuscany/sca/binding/ws/jaxws/JAXWSBindingInvoker.java
@@ -310,6 +310,7 @@ public class JAXWSBindingInvoker implements Invoker, DataExchangeSemantics {
if (isInvocationForCallback(msg)) {
addWSAToHeader(sh, toAddress, msg);
+ addWSARefParms(sh, msg);
addWSAActionHeader(sh, action);
addWSARelatesTo(sh, msg);
} // end if
@@ -379,28 +380,16 @@ public class JAXWSBindingInvoker implements Invoker, DataExchangeSemantics {
// sh.addChild(wsaToOM);
SOAPHeaderElement toH = sh.addHeaderElement(QNAME_WSA_TO);
toH.setTextContent(address);
+ } // end method addWSAToHeader
- // Deal with Reference Parameters, if present - copy to the header
- // without the wsa:ReferenceParameters wrapper
- // OMElement refParms = (OMElement) msg.getHeaders().get(WS_REF_PARMS);
- // Iterator ces = sh.getChildElements(new QName(WSA_FINAL_NAMESPACE,
- // WS_REF_PARMS));
- Iterator<SOAPElement> ces = sh.getChildElements();
- while (ces.hasNext()) {
- SOAPElement se = ces.next();
- if (WS_REF_PARMS.equals(se.getElementQName().getLocalPart())) {
- // if( refParms != null ) {
- Iterator<SOAPElement> children = se.getChildElements();
- while (children.hasNext()) {
- SOAPElement node = (SOAPElement)children.next();
- toH.addChildElement(node);
- }
- // } // end if
- }
- }
+ protected void addWSARefParms(SOAPHeader sh, Message msg) throws SOAPException {
- } // end method addWSAActionHeader
+ // Not implemented and so will not pass compliance test BWS_5006.
+
+ } // end method addWSARefParms
+
+
private void addWSAActionHeader(SOAPHeader sh, String action) throws SOAPException {
// Create wsa:Action header which is required by ws-addressing spec