[jbossws-issues] [JBoss JIRA] Updated: (JBWS-1938) Assign message name instead of IN and OUT for Inbound/Outbound Addressing Property

Magesh Kumar B (JIRA) jira-events at lists.jboss.org
Tue Feb 19 15:03:28 EST 2008


     [ http://jira.jboss.com/jira/browse/JBWS-1938?page=all ]

Magesh Kumar B updated JBWS-1938:
---------------------------------

    Description: 
When wsa:action is not set explicitly the builder just appends IN or OUT to the endpoint's QName. This does not indicate as to what operation was perfomed when we peek the SOAP Message header. 

All along I was thinking that it worked fine for JAXWS tests, but it 
has been hard-coded in JAXWSMetaDataBuilder.java: 

// default action values 
      { 
         // TODO: figure out a way to assign message name instead of IN and OUT 
         String tns = epMetaData.getPortName().getNamespaceURI(); 
         String portTypeName = epMetaData.getPortName().getLocalPart(); 
         addrExt.setInboundAction(tns + "/" + portTypeName + "/IN"); 

         if (!opMetaData.isOneWay()) 
            addrExt.setOutboundAction(tns + "/" + portTypeName + "/OUT"); 
      } 


> Assign message name instead of IN and OUT for Inbound/Outbound Addressing Property
> ----------------------------------------------------------------------------------
>
>                 Key: JBWS-1938
>                 URL: http://jira.jboss.com/jira/browse/JBWS-1938
>             Project: JBoss Web Services
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: ws-addressing, jbossws-native
>    Affects Versions: jbossws-1.2.1,  jbossws-2.0.2
>            Reporter: Magesh Kumar B
>         Assigned To: Magesh Kumar B
>             Fix For: jbossws-native-2.0.4
>
>
> When wsa:action is not set explicitly the builder just appends IN or OUT to the endpoint's QName. This does not indicate as to what operation was perfomed when we peek the SOAP Message header. 
> All along I was thinking that it worked fine for JAXWS tests, but it 
> has been hard-coded in JAXWSMetaDataBuilder.java: 
> // default action values 
>       { 
>          // TODO: figure out a way to assign message name instead of IN and OUT 
>          String tns = epMetaData.getPortName().getNamespaceURI(); 
>          String portTypeName = epMetaData.getPortName().getLocalPart(); 
>          addrExt.setInboundAction(tns + "/" + portTypeName + "/IN"); 
>          if (!opMetaData.isOneWay()) 
>             addrExt.setOutboundAction(tns + "/" + portTypeName + "/OUT"); 
>       } 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbossws-issues mailing list