Skip to Content.
Sympa Menu

mace-opensaml-users - RE: SOAP schema issue

Subject: OpenSAML user discussion

List archive

RE: SOAP schema issue


Chronological Thread 
  • From: "Simon Fell" <>
  • To: "Cortezzo, Jason" <>, <>
  • Subject: RE: SOAP schema issue
  • Date: Fri, 11 Mar 2005 08:31:11 -0800

Title: RE: SOAP schema issue

If i remember correctly, the soap 1.1 spec allows this, but that fact is not correctly reflected in the published xml schema. You'll probably need to make a local copy of the schema and fix it. But for soap encoded messages, you're not going to be able to do message validation anyway, the soap encoding rules aren't describable in xml schema.

Cheers
Simon


-----Original Message-----
From:   Cortezzo, Jason []
Sent:   Fri 3/11/2005 8:24 AM
To:    
Cc:    
Subject:        SOAP schema issue
This is more of a SOAP than a SAML problem, but has anyone else run into
this?....

[3/11/05 9:56:21:829 EST]   f5b814 SystemErr     R
org.xml.sax.SAXParseException: cvc-complex-type.3.2.2: Attribute
'SOAP-ENV:encodingStyle' is not allowed to appear in element
'soap-env:Envelope'.
[3/11/05 9:56:21:830 EST]   f5b814 SystemErr     R      at
org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
[3/11/05 9:56:21:831 EST]   f5b814 SystemErr     R      at
org.opensaml.XML$ParserPool.parse(XML.java:408)
[3/11/05 9:56:21:832 EST]   f5b814 SystemErr     R      at
org.opensaml.SAMLSOAPBinding.send(SAMLSOAPBinding.java:236)

I found some info about it here:
http://www.w3.org/2000/xp/Group/xmlp-issues#x194
<http://www.w3.org/2000/xp/Group/xmlp-issues#x194>
And here: http://issues.apache.org/bugzilla/show_bug.cgi?id=9211
<http://issues.apache.org/bugzilla/show_bug.cgi?id=9211>

Here is what I'm getting as a SAML response...

<soap-env:Envelope
xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"
       
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
       
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"             
                         xmlns:xsd="http://www.w3.org/1999/XMLSchema"
       
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
       
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<soap-env:Body><samlp:Response....................

Is this an invalid SOAP message?


-Jason Cortezzo






Archive powered by MHonArc 2.6.16.

Top of Page