You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by Oliver Rettig <Ol...@orat.de> on 2002/06/17 12:39:31 UTC
Getting Ports of http-connection serverside
Hallo,
I am using Apache-Soap 2.2 and 2.3.1. with tomcat 2.2 on SuSE-Linux 7.3. And
I want to get ip and port of the client and the port used on server for the
client-server-http-connection. How can I get theses informations serverside?
best regards
Oliver
--
Oliver Rettig
Lachnerstr. 6
76131 Karlsruhe
ORAT Software-Entwicklung
www.orat.de
Steinstr. 23, 76131 Karlsruhe
Tel.: 0721/38489600
Problems with Vector result value by changing soap2.2 -> soap2.3.1
Posted by Oliver Rettig <Ol...@orat.de>.
Hallo,
I have problems by changing from apache-soap2.2 -> apache soap2.3.1:
The following error-message appears while using an rpc with an array as
argument:
-----------------------------
Fault Code = SOAP-ENV:Server
Fault String = java.lang.IllegalArgumentException: Argument is not an array
toString:[Attributes={}] [faultCode=SOAP-ENV:Server]
[faultString=java.lang.IllegalArgumentException: Argument is not an array]
[faultActorURI=/soap/servlet/rpcrouter] [DetailEntries=
[(0)=<stackTrace>[SOAPException: faultCode=SOAP-ENV:Server;
msg=java.lang.IllegalArgumentException: Argument is not an array]
at
org.apache.soap.providers.RPCJavaProvider.invoke(RPCJavaProvider.java:138)
at org.apacKlickBlickOperator Fehler:
he.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.java:354)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at
org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:500)
at org.apache.tomcat.core.Handler.service(Handler.java:223)
at
org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:448)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:788)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:701)
at
org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.java:143)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:424)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:497)
at java.lang.Thread.run(Thread.java:484)
------------------------------------------------------------------------
What does the following part of my error-message mean?
????????? Attributes={} ??????????????????
Which Attribues?
The problems appears by invoking the following RPC:
public Vector getUsers (String userType) throws java.lang.Exception{...}
And the problem seams to be the vector result value.
Can anybody help me?
best regards
Oliver
--
Oliver Rettig
Lachnerstr. 6
76131 Karlsruhe
ORAT Software-Entwicklung
www.orat.de
Steinstr. 23, 76131 Karlsruhe
Tel.: 0721/38489600
Problems with Vector result value by changing soap2.2 -> soap2.3.1
Posted by Oliver Rettig <Ol...@orat.de>.
Hallo,
I have problems by changing from apache-soap2.2 -> apache soap2.3.1:
The following error-message appears while using an rpc with an array as
argument:
-----------------------------
Fault Code = SOAP-ENV:Server
Fault String = java.lang.IllegalArgumentException: Argument is not an array
toString:[Attributes={}] [faultCode=SOAP-ENV:Server]
[faultString=java.lang.IllegalArgumentException: Argument is not an array]
[faultActorURI=/soap/servlet/rpcrouter] [DetailEntries=
[(0)=<stackTrace>[SOAPException: faultCode=SOAP-ENV:Server;
msg=java.lang.IllegalArgumentException: Argument is not an array]
at
org.apache.soap.providers.RPCJavaProvider.invoke(RPCJavaProvider.java:138)
at org.apacKlickBlickOperator Fehler:
he.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.java:354)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at
org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:500)
at org.apache.tomcat.core.Handler.service(Handler.java:223)
at
org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:448)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:788)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:701)
at
org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.java:143)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:424)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:497)
at java.lang.Thread.run(Thread.java:484)
------------------------------------------------------------------------
What does the following part of my error-message mean?
????????? Attributes={} ??????????????????
Which Attribues?
The problems appears by invoking the following RPC:
public Vector getUsers (String userType) throws java.lang.Exception{...}
And the problem seams to be the vector result value.
Can anybody help me?
best regards
Oliver
--
Oliver Rettig
Lachnerstr. 6
76131 Karlsruhe
ORAT Software-Entwicklung
www.orat.de
Steinstr. 23, 76131 Karlsruhe
Tel.: 0721/38489600