You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ji...@apache.org on 2004/03/25 19:52:58 UTC
[jira] Commented: (AXIS-1209) Array3Ofstring to Array
The following comment has been added to this issue:
Author: Brian Speight
Created: Thu, 25 Mar 2004 10:52 AM
Body:
It's hard for me to tell for sure from this bug report, but I believe I'm running into the same issue (and did NOT w/ v1.1)...
I have this element...
<element name="ticketNumber" nillable="true" type="ArrayOf_xsd_string" />
and here's the definition of the complex type...
<complexType name="ArrayOf_xsd_string">
<complexContent>
<restriction base="soapenc:Array">
<attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:string[]" />
</restriction>
</complexContent>
</complexType>
which axis is sending as...
<ticketNumber soapenc:arrayType="soapenc:string[1]" xsi:type="soapenc:Array" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<item xsi:type="soapenc:string">99999999</item>
</ticketNumber>
instead of...
<ticketNumber soapenc:arrayType="xsd:string[1]" xsi:type="soapenc:Array">
<item xsi:type="xsd:string">99999999</item>
</ticketNumber>
---------------------------------------------------------------------
View this comment:
http://issues.apache.org/jira/secure/ViewIssue.jspa?key=AXIS-1209&page=comments#action_27815
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/secure/ViewIssue.jspa?key=AXIS-1209
Here is an overview of the issue:
---------------------------------------------------------------------
Key: AXIS-1209
Summary: Array3Ofstring to Array
Type: Bug
Status: Closed
Resolution: CANNOT REPRODUCE
Project: Axis
Components:
Basic Architecture
Versions:
1.2 Alpha
Assignee:
Reporter: Paul
Created: Tue, 27 Jan 2004 2:55 PM
Updated: Thu, 25 Mar 2004 10:52 AM
Environment: Operating System: Linux
Platform: PC
Description:
I,m getting an AxisFault when using a String[3] array for complex type
Array3Ofstring. Not in 1.1
com.sqr.concertgebouw.tickets.CGQuickComplete-[ERROR] : AxisFault = Data type
'soapenc:Array' mismatch in element 'Address'
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client
faultSubcode:
faultString: Data type 'soapenc:Array' mismatch in element 'Address'
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client
faultSubcode:
faultString: Data type 'soapenc:Array' mismatch in element 'Address'
faultActor:
faultNode:
faultDetail:
Data type 'soapenc:Array' mismatch in element 'Address'
at
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:262)
at
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:169)
at
org.apache.axis.encoding.DeserializationContextImpl.endElement(DeserializationContextImpl.java:1092)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira