Found the solution…Code snippet…
import com.wm.lang.ns.Namespace;
import com.wm.lang.ns.*
Context context = new Context();
context.connect(host, port, user, pass);
NSNode nsNode = context.getNamespace().getNode(NSName.create(serviceName));
if (nsNode instanceof NSService){
NSService serviceNode = (NSService)nsNode;
NSSignature serviceSignature = serviceNode.getSignature();
if (serviceSignature != null){
IDataUtil.put(pipelineInputCursor, “serviceInput”, serviceSignature.getInput().getValues());
IDataUtil.put(pipelineInputCursor, “serviceOutput”, serviceSignature.getOutput().getValues());
}
}
Regards,
Manoj
#Integration-Server-and-ESB#webMethods