Hi Jethro, I actually don't see the problem. You always need to specify the destination (using a EPR with axis2), how can the application determine the service without having this information? You can specify this in different ways. Using hard coded method, constant declaration, some parameter which is filled with some input during initialization, or a properties file.
Properties files are a nice way of dealing with this problem. It is just a matter of changing the my-app.properties text file to change the service address. Regards, Sietse -----Original Message----- From: Jethro Borsje [mailto:[EMAIL PROTECTED] Sent: 14 November 2007 09:12 To: Axis-User Subject: Response to different Java program on some machine Hi everybody, I am new to SOAP / Axis, yesterday I tried some very basic things with Axis and I must say I am impressed by the ease of use and nice userguide. However, when it comes to my real world problem I am not sure what is the best approach solving it. Let me describe the situation I am looking for: There is a webapp which can be used by multiple client machines. These machines also all have a separate Java program running. Once a user clicks on a button in the webapp the webapp sends a SOAP message to the webservice server. The server should then send a response to the Java program running on the same client pc. The webapp does not need to receive a response. I saw the EchoNoBlockingDualClient.java example, which contains something like this in the code: [code] EndpointReference targetEPR = new EndpointReference( "http://127.0.0.1:8080/axis2/services/MyService"); [/code] However, as for as I understand that means I have to hardcode the IP adress of each client into the webapp which sends the SOAP message. I think this is possible using Axis / SOAP, however I am not sure how to solve this problem. Perhaps some of you guys can give me some pointers on how to tackle the problem? -- Best regards, Jethro Borsje http://www.jborsje.nl --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
