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/05/19 15:41:01 UTC

[jira] Created: (AXIS-1364) Problems with specifying typeMapping for arrays in wsdd

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXIS-1364

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXIS-1364
    Summary: Problems with specifying typeMapping for arrays in wsdd
       Type: Bug

     Status: Unassigned
   Priority: Minor

    Project: Axis
 Components: 
             Deployment / Registries
   Versions:
             1.2 Beta

   Assignee: 
   Reporter: Patrick Houbaux

    Created: Wed, 19 May 2004 6:39 AM
    Updated: Wed, 19 May 2004 6:39 AM
Environment: OS: Windows 200 Professional, Tomcat: 5.0.19, JDK: j2sdk1.4.2_03

Description:
When consuming a web service being exposed through the "wsdd deployment process" and the wsdd was containing a typemapping for an array of beans  and the client stub generated correctly, the following axis fault is thrown:

AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode: 
 faultString: org.xml.sax.SAXException: Invalid element in com.eurostep.test.axis12beta.client.stub.bean.MyBean1 - item
 faultActor: 
 faultNode: 
 faultDetail: 
        {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException: Invalid element in com.eurostep.test.axis12beta.client.stub.bean.MyBean1 - item
        at org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:227)
        at org.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:1008)
        at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:159)
        at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1056)
        at org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:372)
        at org.apache.axis.encoding.ser.BeanDeserializer.startElement(BeanDeserializer.java:130)
        at org.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:1021)
        at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:159)
        at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1056)
        at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:286)
        at org.apache.axis.message.RPCElement.getParams(RPCElement.java:310)
        at org.apache.axis.client.Call.invoke(Call.java:2405)
        at org.apache.axis.client.Call.invoke(Call.java:2304)
        at org.apache.axis.client.Call.invoke(Call.java:1765)
        at com.eurostep.test.axis12beta.client.stub.TestRPCSoapBindingStub.createMyBean2(TestRPCSoapBindingStub.java:169)
        at com.eurostep.test.axis12beta.client.TestRPCClient.main(TestRPCClient.java:46)
        {http://xml.apache.org/axis/}hostname:ESFIPC22
org.xml.sax.SAXException: Invalid element in com.eurostep.test.axis12beta.client.stub.bean.MyBean1 - item
        at org.apache.axis.AxisFault.makeFault(AxisFault.java:99)
        at org.apache.axis.client.Call.invoke(Call.java:2408)
        at org.apache.axis.client.Call.invoke(Call.java:2304)
        at org.apache.axis.client.Call.invoke(Call.java:1765)
        at com.eurostep.test.axis12beta.client.stub.TestRPCSoapBindingStub.createMyBean2(TestRPCSoapBindingStub.java:169)
        at com.eurostep.test.axis12beta.client.TestRPCClient.main(TestRPCClient.java:46)
Caused by: org.xml.sax.SAXException: Invalid element in com.eurostep.test.axis12beta.client.stub.bean.MyBean1 - item
        at org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:227)
        at org.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:1008)
        at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:159)
        at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1056)
        at org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:372)
        at org.apache.axis.encoding.ser.BeanDeserializer.startElement(BeanDeserializer.java:130)
        at org.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:1021)
        at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:159)
        at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1056)
        at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:286)
        at org.apache.axis.message.RPCElement.getParams(RPCElement.java:310)
        at org.apache.axis.client.Call.invoke(Call.java:2405)
        ... 4 more



---------------------------------------------------------------------
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


[jira] Updated: (AXIS-1364) Problems with specifying typeMapping for arrays in wsdd

Posted by ji...@apache.org.
The following issue has been updated:

    Updater: Patrick Houbaux (mailto:webmaster@blis-project.org)
       Date: Wed, 19 May 2004 6:49 AM
    Comment:
Source code for both server and client including their own ant-build files for which some properties has to be modified to be working on the receiving system.
    Changes:
             Attachment changed to axis12beta_IssueAXIS-1364.zip
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://issues.apache.org/jira/browse/AXIS-1364?page=history

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXIS-1364

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXIS-1364
    Summary: Problems with specifying typeMapping for arrays in wsdd
       Type: Bug

     Status: Unassigned
   Priority: Minor

    Project: Axis
 Components: 
             Deployment / Registries
   Versions:
             1.2 Beta

   Assignee: 
   Reporter: Patrick Houbaux

    Created: Wed, 19 May 2004 6:39 AM
    Updated: Wed, 19 May 2004 6:49 AM
Environment: OS: Windows 200 Professional, Tomcat: 5.0.19, JDK: j2sdk1.4.2_03

Description:
When consuming a web service being exposed through the "wsdd deployment process" and the wsdd was containing a typemapping for an array of beans  and the client stub generated correctly, the following axis fault is thrown:

AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode: 
 faultString: org.xml.sax.SAXException: Invalid element in com.eurostep.test.axis12beta.client.stub.bean.MyBean1 - item
 faultActor: 
 faultNode: 
 faultDetail: 
        {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException: Invalid element in com.eurostep.test.axis12beta.client.stub.bean.MyBean1 - item
        at org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:227)
        at org.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:1008)
        at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:159)
        at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1056)
        at org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:372)
        at org.apache.axis.encoding.ser.BeanDeserializer.startElement(BeanDeserializer.java:130)
        at org.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:1021)
        at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:159)
        at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1056)
        at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:286)
        at org.apache.axis.message.RPCElement.getParams(RPCElement.java:310)
        at org.apache.axis.client.Call.invoke(Call.java:2405)
        at org.apache.axis.client.Call.invoke(Call.java:2304)
        at org.apache.axis.client.Call.invoke(Call.java:1765)
        at com.eurostep.test.axis12beta.client.stub.TestRPCSoapBindingStub.createMyBean2(TestRPCSoapBindingStub.java:169)
        at com.eurostep.test.axis12beta.client.TestRPCClient.main(TestRPCClient.java:46)
        {http://xml.apache.org/axis/}hostname:ESFIPC22
org.xml.sax.SAXException: Invalid element in com.eurostep.test.axis12beta.client.stub.bean.MyBean1 - item
        at org.apache.axis.AxisFault.makeFault(AxisFault.java:99)
        at org.apache.axis.client.Call.invoke(Call.java:2408)
        at org.apache.axis.client.Call.invoke(Call.java:2304)
        at org.apache.axis.client.Call.invoke(Call.java:1765)
        at com.eurostep.test.axis12beta.client.stub.TestRPCSoapBindingStub.createMyBean2(TestRPCSoapBindingStub.java:169)
        at com.eurostep.test.axis12beta.client.TestRPCClient.main(TestRPCClient.java:46)
Caused by: org.xml.sax.SAXException: Invalid element in com.eurostep.test.axis12beta.client.stub.bean.MyBean1 - item
        at org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:227)
        at org.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:1008)
        at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:159)
        at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1056)
        at org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:372)
        at org.apache.axis.encoding.ser.BeanDeserializer.startElement(BeanDeserializer.java:130)
        at org.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:1021)
        at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:159)
        at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1056)
        at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:286)
        at org.apache.axis.message.RPCElement.getParams(RPCElement.java:310)
        at org.apache.axis.client.Call.invoke(Call.java:2405)
        ... 4 more



---------------------------------------------------------------------
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


[jira] Commented: (AXIS-1364) Problems with specifying typeMapping for arrays in wsdd

Posted by ji...@apache.org.
The following comment has been added to this issue:

     Author: Patrick Houbaux
    Created: Wed, 19 May 2004 6:41 AM
       Body:
If the typemapping line for the arrays is commented out the error is not thrown anymore.

Check the samples sources attached to this issue.
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/AXIS-1364?page=comments#action_35616

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXIS-1364

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXIS-1364
    Summary: Problems with specifying typeMapping for arrays in wsdd
       Type: Bug

     Status: Unassigned
   Priority: Minor

    Project: Axis
 Components: 
             Deployment / Registries
   Versions:
             1.2 Beta

   Assignee: 
   Reporter: Patrick Houbaux

    Created: Wed, 19 May 2004 6:39 AM
    Updated: Wed, 19 May 2004 6:41 AM
Environment: OS: Windows 200 Professional, Tomcat: 5.0.19, JDK: j2sdk1.4.2_03

Description:
When consuming a web service being exposed through the "wsdd deployment process" and the wsdd was containing a typemapping for an array of beans  and the client stub generated correctly, the following axis fault is thrown:

AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode: 
 faultString: org.xml.sax.SAXException: Invalid element in com.eurostep.test.axis12beta.client.stub.bean.MyBean1 - item
 faultActor: 
 faultNode: 
 faultDetail: 
        {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException: Invalid element in com.eurostep.test.axis12beta.client.stub.bean.MyBean1 - item
        at org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:227)
        at org.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:1008)
        at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:159)
        at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1056)
        at org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:372)
        at org.apache.axis.encoding.ser.BeanDeserializer.startElement(BeanDeserializer.java:130)
        at org.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:1021)
        at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:159)
        at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1056)
        at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:286)
        at org.apache.axis.message.RPCElement.getParams(RPCElement.java:310)
        at org.apache.axis.client.Call.invoke(Call.java:2405)
        at org.apache.axis.client.Call.invoke(Call.java:2304)
        at org.apache.axis.client.Call.invoke(Call.java:1765)
        at com.eurostep.test.axis12beta.client.stub.TestRPCSoapBindingStub.createMyBean2(TestRPCSoapBindingStub.java:169)
        at com.eurostep.test.axis12beta.client.TestRPCClient.main(TestRPCClient.java:46)
        {http://xml.apache.org/axis/}hostname:ESFIPC22
org.xml.sax.SAXException: Invalid element in com.eurostep.test.axis12beta.client.stub.bean.MyBean1 - item
        at org.apache.axis.AxisFault.makeFault(AxisFault.java:99)
        at org.apache.axis.client.Call.invoke(Call.java:2408)
        at org.apache.axis.client.Call.invoke(Call.java:2304)
        at org.apache.axis.client.Call.invoke(Call.java:1765)
        at com.eurostep.test.axis12beta.client.stub.TestRPCSoapBindingStub.createMyBean2(TestRPCSoapBindingStub.java:169)
        at com.eurostep.test.axis12beta.client.TestRPCClient.main(TestRPCClient.java:46)
Caused by: org.xml.sax.SAXException: Invalid element in com.eurostep.test.axis12beta.client.stub.bean.MyBean1 - item
        at org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:227)
        at org.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:1008)
        at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:159)
        at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1056)
        at org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:372)
        at org.apache.axis.encoding.ser.BeanDeserializer.startElement(BeanDeserializer.java:130)
        at org.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:1021)
        at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:159)
        at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1056)
        at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:286)
        at org.apache.axis.message.RPCElement.getParams(RPCElement.java:310)
        at org.apache.axis.client.Call.invoke(Call.java:2405)
        ... 4 more



---------------------------------------------------------------------
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