axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Lipke (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AXIS2-1701) Axis2 incorrectly serialized (to xml) XBeans adds xmlns=""
Date Wed, 20 Jun 2007 14:51:26 GMT

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

Nathan Lipke updated AXIS2-1701:
--------------------------------

    Attachment: wsrp-2.0-bindings.wsdl

> Axis2 incorrectly serialized (to xml) XBeans adds xmlns=""
> ----------------------------------------------------------
>
>                 Key: AXIS2-1701
>                 URL: https://issues.apache.org/jira/browse/AXIS2-1701
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen, databinding
>    Affects Versions: 1.2
>         Environment: Axis 2 1.1 RC2
> FC3
> java version "1.5.0_06"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
> Java HotSpot(TM) Server VM (build 1.5.0_06-b05, mixed mode)
>            Reporter: Nathan Lipke
>            Assignee: Amila Chinthaka Suriarachchi
>            Priority: Blocker
>         Attachments: wsrp-2.0-bindings.wsdl, wsrp-2.0-interfaces.wsdl, wsrp-2.0-types.xsd
>
>
> When running this code snippet (below), axis2 adds a xmlns="" to the importPortlets element.
>      <importPortlet xmlns="" importID="foo">
>  However importRequest.toString() correctly serializes it.
> Code:
>             final ImportPortletsDocument importRequest = ImportPortletsDocument.Factory.newInstance(xmlOptions);
>             final ImportPortlets importPortlets = importRequest.addNewImportPortlets();
>             importPortlets.setImportContext(importContext);
>             importPortlets.setNilLifetime();
>             RegistrationContext registrationContext = importPortlets.addNewRegistrationContext();
>              registrationContext.setNil();
>             
>             importPortlets.setNilUserContext();
>             final ImportPortlet importPortlet = importPortlets.addNewImportPortlet();
>             importPortlet.setImportID("foo");
>             importPortlet.setExportData(exportData);
>             
>             System.out.println(importRequest);
>             final ImportPortletsResponseDocument importResponseDoc = stub.importPortlets(importRequest);
> Axis2 XML:
> <?xml version="1.0" encoding="UTF-8"?>
>      [exec] <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:wsee="urn:wsee:Security">
>      [exec]   <soapenv:Header/>
>      [exec]   <soapenv:Body>
>      [exec]     <importPortlets xmlns="urn:oasis:names:tc:wsrp:v2:types">
>      [exec]       <registrationContext>
>      [exec]         <registrationHandle>2004</registrationHandle>
>      [exec]       </registrationContext>
>      [exec]       <importContext>QkVBOldMUDpFWFBPUlQ6MS4wOmVuLVVT</importContext>
>      [exec]       <importPortlet xmlns="" importID="foo">
>      [exec]         <exportData xmlns="urn:oasis:names:tc:wsrp:v2:types">H4sIAAAAAAAAALVU207bQBClUp/6FStLbZ/stSkgkiZBtAKEFCTUhqrqC9p4J3jVvWl3TQKv/Zj+R/tjnbWDSQS0CBVLlq3xzDkzZ453Y+PFy8HeQklyCc4Lo4dJkeUJAV0aLvTFMDmbHKa7yd5oIE3JpLhmAbM+gTe1K8HfHyYcfOmEDQ3g+O2+tBWbQiAzx/TvH79+MuET0lTCMJm5hAQR4mtdVxWp6uZO6GPAvwEnTNZKaFGrW0zQ6dGHDvZjBeCEiYj0gTEep4E1LjDZd8YEghfWaN/XEGqxGCZVCLZP6Xw+z6bAstIo6sFFTNqm0IXntDQ6OCO7GFJFsg6tpXgsWptNfW3j2x2wKqh1qPm7zLgLWvR6PbqIX9MWLFU46kwAvwOx8OI+hM08L+jXk/HnsgLFUqF9YLqEttCLvm/iYxS73dPTxyFtMF0G0+I8P88zzE5Gg7a00UxCOF42QRRz32s7ubK4+9P2W+eFUwczcLhbQAvetD1Gd6JQk6083yy2ejtFsRMf27vbebGdkLgz0OHMoRQUuAgWQTxdgTrAoHGZvSEzTmDBcnaUk8OM1TKcoE2VuAaOrmfSw8oIHRbRTGGf1plgSiMTcon+xsDxyf5pQto9sWkcJbgaBVeIK77EHH4TWvtDdC1ldP5DRDXuoSPRLMBzkLS77mjUVcaNYkJHI6zztbqsEy5ja4wHWC5Ji0sY5w68/1sHFUh75m7lXBpyrRNaXoi0OSBoTN8rhxNjX2/mwVhRvmHKvjfDSPu0jv+lETdzLQ3jh0byFa2EnprFc+zkAT6Pxn0OuvhvdCS93n/YeoMYz/T7j4HRqwFdObBHfwDYui+f7AYAAA==</exportData>
    [exec]       </importPortlet>
>      [exec]       <userContext xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:nil="true"/>
>      [exec]       <lifetime xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:nil="true"/>
>      [exec]     </importPortlets>
>      [exec]   </soapenv:Body>
>      [exec] </soapenv:Envelope>
> XmlBeans XML:
> <importPortlets xmlns="urn:oasis:names:tc:wsrp:v2:types" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>   <registrationContext xsi:nil="true"/>
>   <importContext>QkVBOldMUDpFWFBPUlQ6MS4wOmVuLVVT</importContext>
>   <importPortlet importID="foo">
>     <exportData>H4sIAAAAAAAAALVU207bQBClUp/6FStLbZ/stSkgkiZBtAKEFCTUhqrqC9p4J3jVvWl3TQKv/Zj+R/tjnbWDSQS0CBVLlq3xzDkzZ453Y+PFy8HeQklyCc4Lo4dJkeUJAV0aLvTFMDmbHKa7yd5oIE3JpLhmAbM+gTe1K8HfHyYcfOmEDQ3g+O2+tBWbQiAzx/TvH79+MuET0lTCMJm5hAQR4mtdVxWp6uZO6GPAvwEnTNZKaFGrW0zQ6dGHDvZjBeCEiYj0gTEep4E1LjDZd8YEghfWaN/XEGqxGCZVCLZP6Xw+z6bAstIo6sFFTNqm0IXntDQ6OCO7GFJFsg6tpXgsWptNfW3j2x2wKqh1qPm7zLgLWvR6PbqIX9MWLFU46kwAvwOx8OI+hM08L+jXk/HnsgLFUqF9YLqEttCLvm/iYxS73dPTxyFtMF0G0+I8P88zzE5Gg7a00UxCOF42QRRz32s7ubK4+9P2W+eFUwczcLhbQAvetD1Gd6JQk6083yy2ejtFsRMf27vbebGdkLgz0OHMoRQUuAgWQTxdgTrAoHGZvSEzTmDBcnaUk8OM1TKcoE2VuAaOrmfSw8oIHRbRTGGf1plgSiMTcon+xsDxyf5pQto9sWkcJbgaBVeIK77EHH4TWvtDdC1ldP5DRDXuoSPRLMBzkLS77mjUVcaNYkJHI6zztbqsEy5ja4wHWC5Ji0sY5w68/1sHFUh75m7lXBpyrRNaXoi0OSBoTN8rhxNjX2/mwVhRvmHKvjfDSPu0jv+lETdzLQ3jh0byFa2EnprFc+zkAT6Pxn0OuvhvdCS93n/YeoMYz/T7j4HRqwFdObBHfwDYui+f7AYAAA==</exportData>
>   </importPortlet>
>   <userContext xsi:nil="true"/>
>   <lifetime xsi:nil="true"/>
> </importPortlets>

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message