axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Samisa Abeysinghe (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (RAMPART-212) WSSecurityException: Error in converting SOAP Envelope to Document
Date Wed, 22 Dec 2010 10:50:00 GMT

     [ https://issues.apache.org/jira/browse/RAMPART-212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Samisa Abeysinghe resolved RAMPART-212.
---------------------------------------

       Resolution: Invalid
    Fix Version/s: NextVersion
         Assignee: Samisa Abeysinghe  (was: Ruchith Udayanga Fernando)

Resolving as per the previous comment by Asela

> WSSecurityException: Error in converting SOAP Envelope to Document
> ------------------------------------------------------------------
>
>                 Key: RAMPART-212
>                 URL: https://issues.apache.org/jira/browse/RAMPART-212
>             Project: Rampart
>          Issue Type: Bug
>          Components: rampart-core
>    Affects Versions: 1.4
>            Reporter: Sumit Shah
>            Assignee: Samisa Abeysinghe
>             Fix For: NextVersion
>
>         Attachments: soapResponse.xml
>
>
> I am seeing the following error message upon further debugging in Eclipse:
>     [junit] Caused by: org.apache.ws.security.WSSecurityException: Error in conv erting
SOAP Envelope to Document; nested exception is:
>     [junit]     org.apache.axiom.om.OMException: com.sun.xml.stream.XMLStreamExc
> eption2: ParseError at [row,col]:[32,54]
>     [junit] Message: Element type "ds:DigestValue" must be followed by either at tribute
specifications, ">" or "/>".
>     [junit]     at org.apache.rampart.util.Axis2Util.getDocumentFromSOAPEnvelope
> (Axis2Util.java:161)
>     [junit]     at org.apache.rampart.RampartMessageData.<init>(RampartMessageDa
> ta.java:158)
>     [junit]     ... 26 more
>     [junit] Caused by: org.apache.axiom.om.OMException: com.sun.xml.stream.XMLSt
> So it seems like there is some issue with the <ds:digestValue> element in the SOAP
response. Not sure if the is '/' in the value? 
> <ds:DigestValue>/YCB0pq6VHFcVsY3LFhbP/l3aEk=</ds:DigestValue> and <ds:DigestValue>AoOTJm/OC6P/UX0uTj3uos8r/6Y=</ds:DigestValue>
> Thanks
> Sumit

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


Mime
View raw message