Hi,
I want to store a undefined number of Strings in a LinkedList.
Always After exceeding a specific size a "java.lang.OutOfMemoryError" is trown.
I tought that one of the advantage using LIsts instead of arrays is because you don't have to specify the size.
Thx for any help.
Hi Christiaan,
Yes I'm using visual studio, and now I can establish a connection.
1. I have imported a web-reference in my VS from a WSDL file in my web-server.
2. VS has generated the Stub files and provides me a namespace containing a class with the methods of the web-services.
3. The URL is...
Hi Christiaan,
Till now I have only found web-service examples with the SoapHttpClientProtocol, and from the first look it was very simple to use, but apparently not.
But I must admit that in all the examples the connection was to an ASP web-services.
I will search for some manuels or...
I used the SoapHttpClientProtocol
Code:
[System.Web.Services.WebServiceBindingAttribute(
Name = "LogSoapServer",
Namespace = "")]
public class Example1 :
System.Web.Services.Protocols.SoapHttpClientProtocol
{
public Example1()
{...
Over the Web-browser and over the SOAPUI I get an Integer.
The String is only for debugging purpose and is ignored.
But in C#
---------
object[] results = this.Invoke("getProtoArrayList", new object[] {value});
I suppose to get my int value with the...
I have successfuly validated and tested my web-services with the SOAPUI.
Here you can see the Request and answer message.
For test purpose
Request:
##################################
<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"...
For test purpose I have now changed the return type of another methode to a simple int.
The return value is NULL.
Here is my code:
C# WS-Client
------------
string value="test";
object[] results = this.Invoke("getProtoArrayList", new object[]...
Hi everybody and Thank you all for your quick answers.
sorry about my posting it was not very clear.
Let me complete the information.
The Web-service is written in java SOAP and this is the signature of the methode I need.
---------------
public ArrayList getTTTT(String ...)
---------------
The...
Hi,
I have some problems trying to connect over a C# client to a web-service written in java under SOAP/AXIS.
The return data type of the web-service is a List.
And the return type of my invoke methode is a object[]
How can I configure my web-service client to accept such complex types.
I can...
Hi,
Take a look at the apache commons
http://jakarta.apache.org/commons/
I use the "org.apache.commons.io.FileUtils"
It's very easy.
-----------
String2File
-----------
FileUtils.writeStringToFile("filename.txt","my content","UTF-8");
-----------
File2String
-----------
String content =...
Hi,
is there a possibility to find out if a process is running or not based on it's name?
Note:The process was not started in the same context.
The solution must be better than the following:
:)
Runtime.getRuntime().exec("ps x | grep processname").getInputStream()
etc..
Thank you
Hi,
I'm currently trying to use the Log4j UDPAppender in the version 1.3.
Here is my Appender configuration:
<appender name="UDP" class="org.apache.log4j.net.UDPAppender">
<param name="RemoteHost" value="localhost" />
<param name="port" value="8080" />
<layout...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.