[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wsf-c-dev
Subject:    [wsf-c-dev] [jira] Commented: (WSFC-286) Anonymous client
From:       "Jean-Christophe Durand (JIRA)" <jira () wso2 ! org>
Date:       2008-12-15 16:26:05
Message-ID: 450010435.1229358365029.JavaMail.jira () wso2 ! org ! ec2 ! wso2 ! com
[Download RAW message or body]


    [ https://wso2.org/jira/browse/WSFC-286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=21343#action_21343 \
] 

Jean-Christophe Durand commented on WSFC-286:
---------------------------------------------

Well, this is what I actually mean.
The WSF/PHP client sends a CreateSequence request behind anonymous address and offers \
a sequence identifier. This should not be accepted, according to the specificatioo(I \
might be missing something or mis-understanding the specification). Here is the \
createsequence XML I get when my WSF client initiates the conversation

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" \
xmlns:wsrm="http://docs.oasis-open.org/ws-rx/wsrm/200702"> <soapenv:Header \
xmlns:wsa="http://www.w3.org/2005/08/addressing"> \
<wsa:To>http://10.241.246.57:8380/hello-ear-0.0.1-SNAPSHOT-hello-gw-0.0.1-SNAPSHOT/PhpSample</wsa:To>
 <wsa:Action>http://docs.oasis-open.org/ws-rx/wsrm/200702/CreateSequence</wsa:Action>
<wsa:ReplyTo>
<wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address>
</wsa:ReplyTo>
<wsa:MessageID>urn:uuid:575cc3f8-c21b-1dd1-3acf-001143a00b7a</wsa:MessageID>
</soapenv:Header>
<soapenv:Body>
<wsrm:CreateSequence>
<wsrm:AcksTo>
<wsa:Address xmlns:wsa="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/anonymous</wsa:Address>
 </wsrm:AcksTo>
<wsrm:Offer>
<wsrm:Identifier>57540fe2-c21b-1dd1-3acc-001143a00b7a</wsrm:Identifier>
<wsrm:Endpoint/>
</wsrm:Offer>
</wsrm:CreateSequence>
</soapenv:Body>
</soapenv:Envelope>

> Anonymous client (anonymous replyTo adress) should not "Offer" a sequenceID (Oasis \
>                 specification)
> -------------------------------------------------------------------------------------------------
>  
> Key: WSFC-286
> URL: https://wso2.org/jira/browse/WSFC-286
> Project: WSO2 WSF/C
> Issue Type: Bug
> Components: Apache Axis2/C
> Affects Versions: 1.1.0
> Environment: All environments. WS-RX v1.1
> Reporter: Jean-Christophe Durand
> Attachments: patch.c
> 
> 
> Hi,
> I have been trying to get WS-RX 1.1 working between my Php client (e.g WSF/Php) and \
> my JBoss server (JBossWS module). It took me a couple of days (I am neither a C nor \
>                 an Axis2 expert) to find out it cannot work for the following \
>                 reason:
> - the endpoint contains the "http://www.w3.org/2005/08/addressing/anonymous" \
> address and is also offering a sequenceId (<wsrm:Offer>urn:......</wsrm:Offer>) I \
> checked both WSF/C and JBossWS implementations and I found the following comment in \
> JBossWS (which is copied from \
> http://docs.oasis-open.org/ws-rx/wsrm/200702/wsrm-1.1-spec-os-01-e1.html): the \
> offer of an Endpoint containing the \
> "http://www.w3.org/2005/08/addressing/anonymous" IRI as its address is problematic \
> due to the inability of a source to connect to this address and retry \
> unacknowledged messages (as described in section 2.3). Note that this specification \
> does not define any mechanisms for providing this assurance. In the absence of an \
> extension that addresses this issue, an RM Destination MUST NOT accept (via the \
> /wsrm:CreateSequenceResponse/wsrm:Accept element described below) an offer that \
> contains the "http://www.w3.org/2005/08/addressing/anonymous" IRI as its address. \
> So after reading the oasis specification, I have the feeling that both WSF and \
>                 JBossWS should be slightly modified to make sure that:
> - the php client does not send an offer when behind an anonymous address (making \
>                 sure it also works with strict implementation on the server side)
> - the server does not reject a request and rather disregard the offered sequence (I \
>                 am also reporting this to JBossWS)
> PS: attached to this document is the patch I wrote for to wsf_client.c file. It \
> might not be the best way of doing this but at least it worked for me ;-)

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

        

_______________________________________________
Wsf-c-dev mailing list
Wsf-c-dev@wso2.org
https://wso2.org/cgi-bin/mailman/listinfo/wsf-c-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic