Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8436

Re: SOAP header authentication for external webservice to use in WebDynpro Java

$
0
0

hi Amol,

 

you are looking into something like this:

 

MDL[ModelInstance] modelInstance = getModelInstance(MODEL_INSTANCE_KEY);
Request_[Operation] request_Operation = new Request_[Operation](modelInstance);
....
request_Operation.wdSetInvocationModifier(     new IWDWSInvocationModifier() {          public void doModifyInvocation(Object port) {               SOAPHeaderInterface soapHeaderInterface = SOAPHeaderIFactory.getInterface(port);               soapHeaderInterface.setOutputHeader([QName], [AuthHeader]);          }          public void doModifyAfterInvocation() {          }     }
);

 

I found something in SDN, this may help you too.. http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/900bbf94-a7a8-2910-e298-a651b4706c1e?QuickLink=index&overridelayout=true&12124692685423

 

 

 

Hope this info helps you somehow,

D.


Viewing all articles
Browse latest Browse all 8436

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>