On Wed June 24 2009 1:09:21 pm John Baker wrote:
> Dan,
>
> Do you have any thoughts on how to replace the Axis code:
>
> Service service = new Service();
> Call call = (Call)service.createCall();
> call.setTargetEndpointAddress(new URL(endPoint));
> call.set
Dan,
Do you have any thoughts on how to replace the Axis code:
Service service = new Service();
Call call = (Call)service.createCall();
call.setTargetEndpointAddress(new URL(endPoint));
call.setOperationName(new QName("http://www.xyz.com";, method) );
I don't think it's QUITE as simple with JAX-WS. The code would look similar
to:
Service service = Service.create(serviceName);
service.addPort(portName, "http://schemas.xmlsoap.org/soap/";,
"http://localhost:9006/SOAPDispatchService/SoapDispatchPort";
So, I've found a thread where someone is doing the same:
http://www.nabble.com/Client-from-ClientFactoryBean-as-a-generic-soap-client--td17700799.html
However, when I try the same it seems to fail because of no service class in
the endpoint:
NullPointerException:
at
org.apache.cxf.serv
Hi,
Thanks for your response. I've written an interceptor to do it, but was just
looking at the Dispatch API. I've got some old Axis code that I'm
replacing - it does this:
Service service = new Service();
Call call = (Call)service.createCall();
call.setTargetEndpoi
John Baker wrote:
Hello,
How does one obtain the raw SOAP message returned from a client webservice
call? Ideally, as String or a Document would be nice.
John
You can achieve the same in either of two ways:
A. You can use Dispatch API [1] to write your client where you can get
either
Hello,
How does one obtain the raw SOAP message returned from a client webservice
call? Ideally, as String or a Document would be nice.
John