cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeroen Reijn" <j.re...@hippo.nl>
Subject RE: CFORMS error with namespace
Date Tue, 24 Oct 2006 10:59:55 GMT
Hi Sanket,

there was another topic about this recently. 
It seems that binding for cocoon forms in 2.1.8 has some issues concering namespaces.

Quoting Suzan Foster:

[quote]

I'm not sure all the fixes are in the 2.1.9 version, so the best option 
might be to just patch the 2.1.8 version with what's in JIRA. Here's a 
list of the open issues concerning bindings and namespaces that i know of:

https://issues.apache.org/jira/browse/COCOON-1671
https://issues.apache.org/jira/browse/COCOON-1686
https://issues.apache.org/jira/browse/COCOON-1486
https://issues.apache.org/jira/browse/COCOON-1794

[/quote]

Kind regards,

Jeroen Reijn


-----Original Message-----
From: Sanket Pattekar [mailto:sanket.pattekar@gmail.com]
Posted At: Tuesday, October 24, 2006 12:29 PM
Posted To: Cocoon User List
Conversation: CFORMS error with namespace
Subject: CFORMS error with namespace


Hi,

We are using CForms with cocoon 2.1.8

We basically want to generate an xml file from a from with a
namespace. This is shown below

<?xml version="1.0" encoding="ISO-8859-1"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <modifyRequest requestID="1"
execution="urn:oasis:names:tc:SPML:1:0#asynchronous">

      <modifications>		
		<modification name="FirstName"
operation="replace"><value></value></modification>
        	<modification name="LastName"
operation="replace"><value></value></modification>
      </modifications>

    </modifyRequest>
  </soap:Body>
</soap:Envelope>


However when we use the same, the xml values are properly generated,
but without the namespace as follows

<?xml version="1.0" encoding="ISO-8859-1"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <modifyRequest requestID="1"
execution="urn:oasis:names:tc:SPML:1:0#asynchronous">

      <identifier type="urn:oasis:names:tc:SPML:1:0#UserIDAndOrDomainName">
        <id></id>
      </identifier>

      <modifications>		
		<modification name="FirstName"
operation="replace"><value></value></modification>
        	<modification name="LastName"
operation="replace"><value></value></modification>
      </modifications>

    </modifyRequest>
  </soap:Body>
</soap:Envelope>

How do I enable the namespace....

We are running cocoon 2.1.8 on Tomcat 5.0.28

Sanket

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message