16 years ago
API send request with parameters
I am trying to use the soap UI classes to create a simple client within my application.
I succeeded in getting the example at http://www.soapui.org/architecture/integration.html to work with my wsdl.
However, there are some operations in the wsdl that require parameters which I can't get into the request.
The only place where I am able to set something like properties is in the WsdlSubmitContext:
WsdlSubmitContext context = new WsdlSubmitContext( request );
context.setProperty("property", value);
Unfortunately, I don't see the request beeing changed with those properties set and I get the feeling after looking at the other properties that I am trying to set them at the wrong place.
So my question is simple: How do I set parameters for the request in my application?
I succeeded in getting the example at http://www.soapui.org/architecture/integration.html to work with my wsdl.
However, there are some operations in the wsdl that require parameters which I can't get into the request.
The only place where I am able to set something like properties is in the WsdlSubmitContext:
WsdlSubmitContext context = new WsdlSubmitContext( request );
context.setProperty("property", value);
Unfortunately, I don't see the request beeing changed with those properties set and I get the feeling after looking at the other properties that I am trying to set them at the wrong place.
So my question is simple: How do I set parameters for the request in my application?