reficio / soap-ws

Java library, based on Spring-WS, that enables handling SOAP on a purely XML level

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Making soap-request generation more dynamic

ygokirmak opened this issue · comments

Hi all,

I need to get operation parameters, their types and able to set values while creating soap request.

is it implemented? if not is it possible? if possible where should I start ?

It should be something like that
List params = soapBuilder.getParams(operations);

// list all params and types
foreach( InputParam p: params){

system.out.print( "param name: "+p.getname() + " type: "+ p.gettype().getname());
}

// make a request with operation parameters as 3 and 5
soapBuilder.buildInputMessage(operation)
.setParam(params[0].getname(),3)
.setParam(params[1].getname(),5);

Hi everybody!

I need exactly the same thing.

Thanks!