axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gurkan, Ozzie (MAN-Corporate)" <Ozzie.Gur...@cox.com>
Subject RE: Help on name spaces in castor
Date Fri, 12 Dec 2003 12:57:00 GMT
It looks like your request is the one with the problem. The request's body
is in a "" namespace while the root is in "http://beans" namespace. You need
to somehow remove the extra xmlns attributes because it is confusing the
parser.

-----Original Message-----
From: Pradeep Jonnalagadda [mailto:pjonnalagadd@csc.com] 
Sent: Thursday, December 11, 2003 5:17 PM
To: axis-user@ws.apache.org
Subject: Help on name spaces in castor


Guys,
               ANy idea which file i have to change in order for the
response look like request.The request is in  <AliasType xmlns="
http://beans"> whereas the response  <AliasType >. Due to this im getting
castor serializer problems thanks pradeep.

Why the response is not in the same name space as request.
The request
<?xml version="1.0" encoding ="UTF-8"?>
<soapenv:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
       xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <soapenv:Body>
<addMember xmlns="http://beans">
    <AliasType xmlns="http://beans"><AliasValue xmlns="">After all its an
alias</AliasValue><AliasCode xmlns="">1234</AliasCode></AliasType>
</addMember>
 </soapenv:Body>
</soapenv:Envelope>

<?xml version="1.0" encoding ="UTF-8"?>
<soapenv:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
       xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <soapenv:Body>
<addMemberResponse xmlns="http://beans">
    <AliasType ><AliasValue >After all its an alias</AliasValue><AliasCode
>1234</AliasCode></AliasType>
</addMemberResponser>
 </soapenv:Body>
</soapenv:Envelope>

----------------------------------------------------------------------------
------------

This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to bind
CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
----------------------------------------------------------------------------
------------




Mime
View raw message