[ http://issues.apache.org/jira/browse/AXIS-2078?page=comments#action_12314327 ]
Revanth Thoutireddy commented on AXIS-2078: ------------------------------------------- Just to add more info, The response is correctly assigned to an object when there is just one value being returned. For example:- <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body><helloProcessResponse xmlns="http://xmlns.oracle.com/hello"><hello>rev-tr</hello></helloProcessResponse></soapenv:Body> </soapenv:Envelope> but the mentioned error occurs when the response xml is huge and contains many values. Thank you. rev > faultString: java.lang.StringIndexOutOfBoundsException: > ------------------------------------------------------- > > Key: AXIS-2078 > URL: http://issues.apache.org/jira/browse/AXIS-2078 > Project: Apache Axis > Type: Bug > Environment: web service deployed on platform iAS_10g > Stubs generated by axis > ide -jdeveloper10g > Reporter: Revanth Thoutireddy > > Hello, > I have generated stubs for a web service. When I am invoke the process, an > instance is created and the response is sent back (verified in BPEL console) > but I am not able to assign the response message. I am getting the following > error message: > AxisFault > faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException > faultSubcode: > faultString: java.lang.StringIndexOutOfBoundsException: String index out of > range: 0 > faultActor: > faultNode: > faultDetail: > > {http://xml.apache.org/axis/}stackTrace:java.lang.StringIndexOutOfBoundsException: > String index out of range: 0 > at > org.apache.axis.encoding.ser.BeanDeserializer.onStartElement(BeanDeserializer.java:462) > at > org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:393) > at > org.apache.axis.encoding.ser.BeanDeserializer.startElement(BeanDeserializer.java:154) > at > org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1048) > at > org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165) > at > org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141) > at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236) > at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384) > at org.apache.axis.client.Call.invoke(Call.java:2448) > at org.apache.axis.client.Call.invoke(Call.java:2347) > at org.apache.axis.client.Call.invoke(Call.java:1804) > at .... > ... > .... > ..... > ... 19 more > the xml request is being sent fine but the response is not being captured > even though that part of the code in the stub is auto generated. Can anybody > please shed some light on this issue? > Thank you, > Rev -- 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 - For more information on JIRA, see: http://www.atlassian.com/software/jira
