Re: Calling different WS than specified in client

2004-09-16 Thread Grzesiek
I have server-config.wsdd ... SoapBody that comes to my Handler is like: And I change it using envelope.clearBody(); SOAPBodyElement newbody=null; newbody = new SOAPBodyElement(XMLUtils.StringToElement("Service2","method2","")); envelope.addBodyElement(newbody); after tha

Re: Calling different WS than specified in client

2004-09-15 Thread Mark Cassidy
If you are using a static client, you can do this FooPort port = service.getFooPort(); Stub stub = (Stub) port; stub._setProperty(Stub.ENDPOINT_ADDRESS_PROPERTY, "http://xxx.xxx.xxx.xxx/etc/etc";); - Mark --- [EMAIL PROTECTED] wrote: > I want to call a WS called for example M

Re: Calling different WS than specified in client

2004-09-14 Thread Jeff Greif
, 2004 7:30 AM Subject: Re: Calling different WS than specified in client > Hi! > > I tried something like this about a year ago - it's tricky. I'll try to > explain what I did using your terminology. > > In my case as well, the client would invoke a method on MyService,

Re: Calling different WS than specified in client

2004-09-14 Thread Anand Natrajan
Hi! I tried something like this about a year ago - it's tricky. I'll try to explain what I did using your terminology. In my case as well, the client would invoke a method on MyService, but I wanted the same method to be forwarded to CommonService. What I found out quickly was that unless MyServi

Calling different WS than specified in client

2004-09-14 Thread grzes
I want to call a WS called for example MyService but MyService isn't deployed in Axis (or anywhere else). Instead I want other WS to be called, for example CommonService (wchich is deployed of course) and a file MyService.txt to be passed as an argument for CommonService. I thought that I might wr