[jbossws-issues] [JBoss JIRA] Updated: (JBWS-2405) MTOM/XOP Interoperability - cid href URLEncode/URLDecode

Chyi Pin Lim (JIRA) jira-events at lists.jboss.org
Mon Nov 24 16:54:36 EST 2008


     [ https://jira.jboss.org/jira/browse/JBWS-2405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chyi Pin Lim updated JBWS-2405:
-------------------------------

    Attachment: jboss-mtom-xop-cid-decode.patch


I patched it up so that it works on my local deployment.
So far, the changes is local to a single file for simplicity.  The implementation is straight forward, by decoding the both the cid and the contentId url and then comparing them.  I'm sure there's plenty of room for improvement.

Based on RFC 2392, I don't know if WCF is correct or JBoss is correct.  However, I think for a specific url, both the un-encoded url or the url-encoded url should be the same.

> MTOM/XOP Interoperability - cid href URLEncode/URLDecode
> --------------------------------------------------------
>
>                 Key: JBWS-2405
>                 URL: https://jira.jboss.org/jira/browse/JBWS-2405
>             Project: JBoss Web Services
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: jbossws-native
>    Affects Versions: jbossws-native-3.0.4
>         Environment: 14:36:53,328 INFO  [Server] Release ID: JBoss [Trinity] 4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)
> 14:36:56,109 INFO  [ServerInfo] Java version: 1.5.0_14,Sun Microsystems Inc.
> 14:36:56,109 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_14-b03,Sun Microsystems Inc.
> 14:36:56,109 INFO  [ServerInfo] OS-System: Windows XP 5.1,x86
> 14:37:27,656 INFO  [NativeServerConfig] JBoss Web Services - Stack Native Core
> 14:37:27,656 INFO  [NativeServerConfig] 3.0.4.GA
>            Reporter: Chyi Pin Lim
>         Attachments: jboss-mtom-xop-cid-decode.patch
>
>
> WCF uses a URL Encoded href cid for xopInclude.  However, the Content-Id for the attachment is not URL Encoded.  As such, JBossWS is unable to find the attachment.
> Example:
> <xop:Include href="cid:http%3A%2F%2Ftempuri.org%2F1%2F633631227250468750" xmlns:xop="http://www.w3.org/2004/08/xop/include"/>
> --uuid:357c6d9d-d6cf-42e3-bca5-75c8f3761934+id=1
> Content-ID: <http://tempuri.org/1/633631227250468750>
> Since this is an interoperability issue, I don't know how to create a test case under the test suite to simulate this error.

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

        



More information about the jbossws-issues mailing list