[ 
http://issues.apache.org/jira/browse/WODEN-69?page=comments#action_12446798 ] 
            
Arthur Ryman commented on WODEN-69:
-----------------------------------

I found the problem. There is a pending TO DO to implement the computation of 
the effective message label when none is specified. Has someone thought through 
this or shall I go ahead and implement it:

    public InterfaceFaultReference getInterfaceFaultReference() 
    {
        InterfaceFaultReference intFaultRef = null;
        
        if(fRef != null) //if 'ref' is null, we cannot match against an 
interface fault qname.
        {
            BindingOperation bindOp = (BindingOperation)getParent();
            InterfaceOperation intOp = bindOp.getInterfaceOperation();
            if(intOp != null)
            {
                //Determine the "effective" msg label for this binding fault 
ref.
                NCName effectiveMsgLabel = null;
                if(fMessageLabel != null) 
                {
                    effectiveMsgLabel = fMessageLabel;
                } 
                else 
                {
                    //implement placeholder effective msg label, as per the 
todo comment above
                }
                


> Ant Tasks Throws NPE on W3C Test Case 
> /desc/test-suite/documents/good/MessageTest-1G/SOAPservice.wsdl
> -----------------------------------------------------------------------------------------------------
>
>                 Key: WODEN-69
>                 URL: http://issues.apache.org/jira/browse/WODEN-69
>             Project: Woden
>          Issue Type: Bug
>          Components: Tools
>            Reporter: Arthur Ryman
>         Assigned To: Arthur Ryman
>
> I just ran Woden on the latest addition to the test suite and got a NPE. I'll 
> investigate further.

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to