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

John,

The NPE is now caused by the absence of an HTTP binding extension object for 
the parent BindingOperation of the BindingMessageReference. The {http transfer 
coding} property is not present on the BindingMessageReference to the code 
tries the BindingOperation, but gets a null. Here's the comment:

        HTTPBindingOperationExtensions httpBindOperExts = 
(HTTPBindingOperationExtensions)
            
bindOper.getComponentExtensionsForNamespace(HTTPConstants.NS_URI_HTTP);
        
        //No need to null check httpBindOperExts because BindingOperation has 
        //REQUIRED http extension properties, so it must be present. 
        return httpBindOperExts.getHttpTransferCodingDefault();

You say null should never be returned, but it is.

The WSDL is:

    <operation ref="tns:EchoString"
      wsoap:action="http://example.org/message-test/action/EchoString";>
      <input>
        <whttp:header name="X-WSDL-testsuite-input" type="xs:string"/>
      </input>

Note that there is no whttp: content on the parent so I guess you don't bother 
creating the extension object. I'll continue to investigate.

> 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: John Kaputin
>         Attachments: WODEN-69_BaseWSDLReader.patch.txt, 
> WODEN-69_BindingOperationImpl.patch.txt, WODEN-69_Constants.patch.txt, 
> WODEN-69_WSDLComponentValidator.patch.txt
>
>
> 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