You are viewing a plain text version of this content. The canonical link for it is here.
Posted to woden-dev@ws.apache.org by "John Kaputin (JIRA)" <ji...@apache.org> on 2007/01/12 12:10:27 UTC

[jira] Commented: (WODEN-121) Problem in Obtaining Mep (of operation Guaranteed Fault) in MessageTest-1G

    [ https://issues.apache.org/jira/browse/WODEN-121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12464172 ] 

John Kaputin commented on WODEN-121:
------------------------------------

Keith,
I tested this using the DOM implementation but could not recreate the error. The correct MEP is being returned.  I tried this using the OM implementation too, but got an exception in OMXMLElement because of a null argument. I will need to investigate this.  Which implementation are you using?  Can you please show me your code that uses the Woden API. 

Here's my test client output and code:

Client: reader class is: org.apache.woden.internal.DOMWSDLReader
Client: About to read wsdl at location: http://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/MessageTest-1G/SOAPservice.wsdl
Interface={http://example.org/message-test}ComplexEcho
Operation={http://example.org/message-test}GuaranteedFault
MEP=http://www.w3.org/2006/01/wsdl/robust-in-only

        QName intfname = new QName("http://example.org/message-test","ComplexEcho");
        Interface intface = descComp.getInterface(intfname);
        System.out.println("Interface=" + intfname);
        QName opname = new QName("http://example.org/message-test","GuaranteedFault");
        InterfaceOperation oper = intface.getInterfaceOperation(opname);
        System.out.println("Operation=" + opname);
        URI mep = oper.getMessageExchangePattern();
        System.out.println("MEP=" + mep);


> Problem in Obtaining Mep (of operation Guaranteed Fault) in MessageTest-1G 
> ---------------------------------------------------------------------------
>
>                 Key: WODEN-121
>                 URL: https://issues.apache.org/jira/browse/WODEN-121
>             Project: Woden
>          Issue Type: Bug
>            Reporter: Keith Godwin Chapman
>         Assigned To: John Kaputin
>
> Hi,
> I obtain the mep of an interfaceOperation using 
> interfaceOperation.getMessageExchangePattern().toString();
> But in the case of operation Guaranteed fault the value returned by the above statement is 
> http://www.w3.org/2006/01/wsdl/in-out
> The WSDL says "http://www.w3.org/2006/01/wsdl/robust-in-only"
> Is this a bug or am I using a wrong method.
> Thanks,
> Keith

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org