cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From =?ks_c_5601-1987?B?seiwrb/4?= <...@evalleyvs.com>
Subject FW: Default SOAP NameSpace of CXF
Date Mon, 19 Oct 2009 06:44:06 GMT
Dear Danial Kulp!

 

Im sending the email again 

 

I have been working a problem since then one week

It is wrong the soap-envelope namespace when I using the CXF response by
CXFs Provider

We are making the soap-envelope like this :

 

<SOAP-ENV:Envelope 

xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" 

xmlns:ds="http://www.w3.org/2000/09/xmldsig#" 

xmlns:kec="http://www.kec.or.kr/standard/Tax/" 

xmlns:wsa="http://www.w3.org/2005/08/addressing" 

xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-
wssecurity-secext-1.0.xsd" 

xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-
wssecurity-utility-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

 

But when our client received soap-messages envelope that is like this:

 

<SOAP-ENV:Envelope 

xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" 

xmlns:ds="http://www.w3.org/2000/09/xmldsig#" 

xmlns:kec="http://www.kec.or.kr/standard/Tax/" 

xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" 

xmlns:wsa="http://www.w3.org/2005/08/addressing" 

xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-
wssecurity-secext-1.0.xsd" 

xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-
wssecurity-utility-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

 

CXFs provider added the
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" perforce

We must have a namespace of SOAP-ENV only.

We are source code here for generating soap-envelope.

==>

SOAPEnvelope envvelope     = null;

envvelope = soapMessage.getSOAPPart().getEnvelope();

envvelope.addNamespaceDeclaration("wsu",      ITABContext.WSU_NAMESPACE);

envvelope.addNamespaceDeclaration("kec",
ITABContext.KEC_TARGET_NAMESPACE);

envvelope.addNamespaceDeclaration("wsa",      ITABContext.WSA_NAMESPACE);

envvelope.addNamespaceDeclaration("ds",
ITABContext.XML_DSIG_NAMESPACE);

envvelope.addNamespaceDeclaration("wsse",
ITABContext.WSS_SECURITY_NAMESPACE);

envvelope.addNamespaceDeclaration("xsd",
ITABContext.XML_SCHEMA_NAMESPACE);

envvelope.addNamespaceDeclaration("xsi",
ITABContext.XML_SCHEMA_INSTANCE_NAMESPACE);

 

Dear! Could you give me a solution??? Please


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message