[ 
https://issues.apache.org/jira/browse/AXIS2-5995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17253422#comment-17253422
 ] 

Andreas Veithen commented on AXIS2-5995:
----------------------------------------

This appears to be a problem in XMLBeans: XMLBEANS-436. As mentioned in that 
issue, at the XMLBeans level, a possible workaround is to set suggested 
prefixes on the {{XmlOptions}}. The question is then whether it's possible to 
set {{XmlOptions}} in Axis2.

> Invalid char in xml namespace prefix
> ------------------------------------
>
>                 Key: AXIS2-5995
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5995
>             Project: Axis2
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.7.9
>            Reporter: William Buch
>            Priority: Blocker
>         Attachments: 12.21.2020.axis.logs.txt
>
>
> When upgrading from Axis2 1.5.1 to Axis2 1.7.9, xmlbeans based XML is 
> creating a namespace with invalid characters in them. Please see sample 
> below. I am not sure how to resolve this and looking for any pointers. In 
> debugging I cannot find the place where the xmlns:x / = is being added or why 
> it would add it like this.
>  
> {{<soapenv:Body><urn:UnifiedProfileRqxmlns:urn="urn:com.thehartford.pc.acord_extensions"
>  xmlns:x / ="http://www.ACORD.org/standards/PC_Surety/ACORD1.10.0/xml/";><x / 
> :ItemIdInfo><x / :OtherIdentifier><x / 
> :OtherIdTypeCd>UserId</x/:OtherIdTypeCd>                <x / 
> :OtherId>NBVQA670</x/:OtherId>
>             </x/:OtherIdentifier>            <x / :OtherIdentifier><x / 
> :OtherIdTypeCd>ProfileId</x/:OtherIdTypeCd>                <x / 
> :OtherId>Min</x/:OtherId>
>             </x/:OtherIdentifier>            <x / :OtherIdentifier><x / 
> :OtherIdTypeCd>ApplicationId</x/:OtherIdTypeCd>                <x / 
> :OtherId>NBV</x/:OtherId>
>             </x/:OtherIdentifier>            <x / :OtherIdentifier><x / 
> :OtherIdTypeCd>UseContractorSearch</x/:OtherIdTypeCd>                <x / 
> :OtherId>true</x/:OtherId>
>             </x/:OtherIdentifier>
>         </x/:ItemIdInfo>    </urn:UnifiedProfileRq></soapenv:Body>}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org

Reply via email to