|
Are the cleint and server both using the same SOAP message versions?
Panic, Chaos, Destruction.
My work here is done.
or "Drink. Get drunk. Fall over." - P O'H
OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre
Have a bit more patience with newbies. Of course some of them act dumb -- they're often *students*, for heaven's sake. -- (Terry Pratchett, alt.fan.pratchett)
|
|
|
|
|
Thanks very much for your response, here is the soap request im sending
<SOAP-ENV:Envelope
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Header/><SOAP-ENV:Body>
<ans1:readLS xmlns:ans1="http://phonedirlux.homeip.net/types">
<String_1 xsi:type="xsd:string">your message or e-mail</String_1>
</ans1:readLS>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
|
|
|
|
|
I have added the faultcode to cater for version differences but still getting the same error message. im using the following as my url for the msg: to "http://www.pascalbotte.be/rcx-ws/rcx";
<?xml version="1.0" ?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header>
<env:Upgrade>
<env:SupportedEnvelope qname="ns1:Envelope"
xmlns:ns1="http://www.w3.org/2003/05/soap-envelope"/>
</env:Upgrade>
</env:Header>
<env:Body>
<env:Fault>
<faultcode>env:VersionMismatch</faultcode>
<faultstring>Version Mismatch</faultstring>
</env:Fault>
</env:Body>
</env:Envelope>
|
|
|
|
|
A valid SOAP response would be formatted using text/xml, so what is likely occurring is a standard HTTP 500 response error is being returned by the service (which would by default have a text/html content-type). You might want to double check that the request you're sending is valid and conforms to the contract of the service you're attempting to reach.
Hope this helps!
|
|
|
|
|
I'm gonna do a project like "hearts" of Windows which playing online with 4 clients connecting from 4 computers
But I don't know where to start? Can anyone help me?
I looked for this kind of project on google, but it seem like impossible. Plz help me.....
|
|
|
|
|
Requirements_analysis @ wikipedia.org[^]
Start here. write down as much as possible. Even if it's just you working on the project - this helps you to identify problems and to determinate the key-points.
I'm doing so momently too - figuring out what needs to be done, what shall be in and what shall not be in. Trying to figure out what can be done and sorting out the stuff which cannot be accomplished.
By the way - how are your programming skills? Don't try to do things you're not capable to do.
regards
Torsten
I never finish anyth...
|
|
|
|
|
nhutanh18 wrote: But I don't know where to start?
Depends on what you already know.
Do you know how to display something in a browser?
Do you know how to set up a server?
Do you know how sockets work? Web services?
Do you know the rules of hearts?
|
|
|
|
|
Do you know the rules of hearts?
You caught me on that one
That's a bigger point than expected. Trying to bring a simple cardboard game to a flowchart is often harder than expected.
regards
Torsten
I never finish anyth...
|
|
|
|
|
Hi all,
i have a task to give a real look to a shirt after pasting a logo on it. I got idea from photoshop that by using
displace filter i can give a real look to my shirt with logo.
Now i have difficulties in making a displacement filter in java??
Any one can help me regarding this.. i have a little bit of code of the displacement filter but it is not giving me the correct results.
Results in distortion of whole image. So good ideas regarding handling of this problem is most welcome.
Hope to get result soon from you ppl.
thanx
uzair
|
|
|
|
|
|
I am a new man into java from c#. So sth still not familiar.
I downloaded POI and add JAR into my project. When I write some code for HSSFRow, I found there is no function for calculate row or column count.
Is there any way to do that?
Thanks in advance.
|
|
|
|
|
I think the number of rows and columns in a MS Excel table is not limited by default. Therefor you would not be able to get a row count.
regards
Torsten
I never finish anyth...
|
|
|
|
|
if it is .CSV file you can count,
else you cannot count the XLS rows and columns
***** Programme comme si dept soutien technique. est plein de tueurs en série et ils savent adresse de votre domicile. *****
|
|
|
|
|
hi how are you today
<b>(SORRY FOR MY BAD ENGLISH)</b>
i have a java program , i need this program to send me every 10 seconds "hi" message
but i need the program to keep running and every 10 seconds send me "hi"message
how can i do it ?
ty
|
|
|
|
|
The usual method is to use a timer[^] of some type. You may even find a sample here[^].
The best things in life are not things.
|
|
|
|
|
Hai Williamroma you can use Thread Class to run your program continuously and
use Thread.sleep(1000); method to wait for every 10 seconds. Within the if statement
it exceeds 10 seconds you can display the "hi" message from your program
|
|
|
|
|
Just a small correction, the parameter of Thread.sleep is in milliseconds, so 1000 is 1 second while 10000 is 10 seconds
it should be Thread.sleep(10000)
|
|
|
|
|
import java.util.Timer;
public class TimerExample {
public static void main(String[] args) {
Timer timer = new Timer();
long delay = 10000;
timer.schedule(new Task("object"), 0, delay);
}
}
***** Programme comme si dept soutien technique. est plein de tueurs en série et ils savent adresse de votre domicile. *****
|
|
|
|
|
1. A PROGRAM THAT PROVIDES THE INTERSECTION COORDINATES OF TWO LINES GIVEN THE COORDINATES OF LINE A AND LINE B.
2. A PROGRAM THAT WILL BE ABLE TO CALCULATE THE GRADIENT/SLOPE OF A LINE GIVEN TWO POINTS.
i want to know what i am doing to do, how to even start it i have no ideas can u pls explain to me how to go about it
NB:
i learn best by doing so i will be glad if u can add example codes to it
|
|
|
|
|
Start here[^]; it will teach you all the basics, and some of the advanced, aspects of Java programming.
The best things in life are not things.
|
|
|
|
|
0. If you study Sums 101, you'll know all lists start at item 0.
1. On the intar-web, all capitals LIKE THIS is considered shouting, don't do it.
2. In general good grammar is rewarded, and lack of proper punctuation or capitals allows us to feed you to our pet Dalek.
3. If you do the maths on paper, the code should be easy.
4. Don't drink whiskey before you've had breakfast.
Panic, Chaos, Destruction.
My work here is done.
or "Drink. Get drunk. Fall over." - P O'H
OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre
Have a bit more patience with newbies. Of course some of them act dumb -- they're often *students*, for heaven's sake. -- (Terry Pratchett, alt.fan.pratchett)
|
|
|
|
|
Are you learning math, programming or both?
And towards that do you understand the following math?
1. How to describe a line in a coordinate system?
2. How to find the intersection (or not) of two such lines.
|
|
|
|
|
7 close hi how are you today
<b>(SORRY FOR MY BAD ENGLISH)</b>
i want to sent data from Server to J2ME (using Java)
but i don't know when the server will send the data to my midlet
so how can i built a listener in midlet that listen to the resposne from server by (sure that response will receive using HTPPCOnnection)
plz help me , i need the solution
and tyvm.
|
|
|
|
|
IP traffic is based on two ends of the communication chain.
TCP is built on IP.
TCP has a 'client' and a 'server'. The client connects to the server (this has nothing to do with what the applications that contain the functionality are named.)
HTTP is built on TCP.
So in answer to your question.
1. You must have a 'server' that handled HTTP.
2. You then create a 'client' which sends HTTP requests to the 'server'.
You can't do anything unless you have both parts.
The server cannot be transitory. It must basically be up all the time. In other words it cannot come into existence only once a client sends a request.
|
|
|
|
|
ty
but..
how can i take the ip of an mobile
and what is the ip of the local host
and if you have any code example to deal with it
tyvm
|
|
|
|