Re: passing xml documents

2002-07-24 Thread yong fu
Mark: The following code will send the xml as a msg. What I don't know is what is this setTargetService call for. without it the call invokation will generate error, but it is not showing in the SOAP message anyway. --- cal

question on Call.setTargetService(String)

2002-07-23 Thread yong fu
Hi, all: The following code does not work unless I insert "setTargetService(String)" line. call.setTargetEndpointAddress(url); call.setRequestMessage(new Message(Obj, true)); call.setTargetService("Any string here"); //won't run without it. call.invoke();