On Sat, 9 Feb 2002 20:23:17 -0500, in soap you wrote:

>It is kinda hard for me to test without a client.   ;-)
>
>The code compiled and deployed OK for me.  And this code didn't cause any
>of the unit or function tests to fail, so I'm inclined to commit it.
>
>One thing I would appreciate before I do...  I've removed the
>org.apache.axis.wsdl.Skeleton just deployed the code at
>http://nagoya.apache.org:5049/axis/servlet/AxisServlet.  If you could let
>me know if this still works for you, I'd appreciate it.  Oh, and wire dumps
>for the 2DArray test would also be nice.  I understand that you have a nice
>tool that helps you capture these.  ;-)

This creates a failure for the echoStructAsSimpleTypes test, as the
out parameters names are wrong, here's the generated response

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
 <SOAP-ENV:Body>
  <ns1:echoStructAsSimpleTypesResponse
xmlns:ns1="http://soapinterop.org/";>
   <echoStructAsSimpleTypesResult1
xsi:type="xsd:string">Orbital</echoStructAsSimpleTypesResult1>
   <echoStructAsSimpleTypesResult2
xsi:type="xsd:int">42</echoStructAsSimpleTypesResult2>
   <echoStructAsSimpleTypesResult3
xsi:type="xsd:float">-42.42</echoStructAsSimpleTypesResult3>
  </ns1:echoStructAsSimpleTypesResponse>
 </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

You appear to have cursed my wire dumps tool !, I'll try and post a
complete set later, but for now here's the request/response for the
2Darray test

<S:Envelope
        S:encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'
        xmlns:Enc='http://schemas.xmlsoap.org/soap/encoding/'
        xmlns:S='http://schemas.xmlsoap.org/soap/envelope/'
        xmlns:a='http://soapinterop.org/'
        xmlns:XS='http://www.w3.org/2001/XMLSchema'
        xmlns:XI='http://www.w3.org/2001/XMLSchema-instance'>
<S:Body><a:echo2DStringArray><input2DStringArray XI:type='Enc:Array'
Enc:arrayType='XS:string[3,4]'><i XI:type='XS:string'>[0,0]</i>
<i XI:type='XS:string'>[0,1]</i>
<i XI:type='XS:string'>[0,2]</i>
<i XI:type='XS:string'>[0,3]</i>
<i XI:type='XS:string'>[1,0]</i>
<i XI:type='XS:string'>[1,1]</i>
<i XI:type='XS:string'>[1,2]</i>
<i XI:type='XS:string'>[1,3]</i>
<i XI:type='XS:string'>[2,0]</i>
<i XI:type='XS:string'>[2,1]</i>
<i XI:type='XS:string'>[2,2]</i>
<i XI:type='XS:string'>[2,3]</i>
</input2DStringArray>
</a:echo2DStringArray>
</S:Body></S:Envelope>

<?xml version="1.0" encoding="UTF-8"?>
<S:Envelope xmlns:Enc="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:S="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:a="http://soapinterop.org/";
xmlns:XS="http://www.w3.org/2001/XMLSchema";
xmlns:XI="http://www.w3.org/2001/XMLSchema-instance";>
 <S:Body>
  <S:Fault>
   <S:faultcode
xmlns:ns1="http://xml.apache.org/axis/";>ns1:Server.userException</S:faultcode>
   <S:faultstring>java.lang.ArrayStoreException</S:faultstring>
   <S:detail>
    <ns2:stackTrace
xmlns:ns2="http://xml.apache.org/axis/";>java.lang.ArrayStoreException
        at org.apache.axis.utils.JavaUtils.convert(Unknown Source)
        at
org.apache.axis.providers.java.RPCProvider.processMessage(Unknown
Source)
        at org.apache.axis.providers.java.JavaProvider.invoke(Unknown
Source)
        at org.apache.axis.strategies.InvocationStrategy.visit(Unknown
Source)
        at org.apache.axis.SimpleChain.doVisiting(Unknown Source)
        at org.apache.axis.SimpleChain.invoke(Unknown Source)
        at org.apache.axis.server.AxisServer.invoke(Unknown Source)
        at org.apache.axis.transport.http.AxisServlet.doPost(Unknown
Source)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown
Source)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown
Source)
        at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown
Source)
        at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown
Source)
        at org.apache.catalina.core.StandardPipeline.invoke(Unknown
Source)
        at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
        at org.apache.catalina.core.StandardContextValve.invoke(Unknown
Source)
        at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown
Source)
        at org.apache.catalina.core.StandardPipeline.invoke(Unknown
Source)
        at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
        at org.apache.catalina.core.StandardContext.invoke(Unknown Source)
        at org.apache.catalina.core.StandardHostValve.invoke(Unknown
Source)
        at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown
Source)
        at org.apache.catalina.valves.ErrorDispatcherValve.invoke(Unknown
Source)
        at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown
Source)
        at org.apache.catalina.valves.ErrorReportValve.invoke(Unknown
Source)
        at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown
Source)
        at org.apache.catalina.valves.AccessLogValve.invoke(Unknown
Source)
        at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown
Source)
        at org.apache.catalina.core.StandardPipeline.invoke(Unknown
Source)
        at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
        at org.apache.catalina.core.StandardEngineValve.invoke(Unknown
Source)
        at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown
Source)
        at org.apache.catalina.core.StandardPipeline.invoke(Unknown
Source)
        at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
        at
org.apache.catalina.connector.http.HttpProcessor.process(Unknown
Source)
        at org.apache.catalina.connector.http.HttpProcessor.run(Unknown
Source)
        at java.lang.Thread.run(Thread.java:484)
</ns2:stackTrace>
   </S:detail>
  </S:Fault>
 </S:Body>
</S:Envelope>

Reply via email to