0% found this document useful (0 votes)
515 views9 pages

Proxy To Soap Synchronous Scenerio in PI PDF

Uploaded by

Jagadish Babu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
515 views9 pages

Proxy To Soap Synchronous Scenerio in PI PDF

Uploaded by

Jagadish Babu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

10/3/2016

ProxytoSoapSynchronousScenerioinPI.|SCN

GettingStarted Newsletters

Hi,Guest

LogOn

JoinUs

Store

SearchtheCommunity

Products

Services&Support

AboutSCN

Downloads

Industries

Training&Education

Partnership

DeveloperCenter

Activity

LinesofBusiness

UniversityAlliances

Events&Webinars

Innovation

Browse

Communications

Actions

anilkumar.bodapati3

ProxytoSoapSynchronousScenerioinPI.
PostedbyAnilkumarBodapatiinanilkumar.bodapati3onJul7,20134:54:54PM
Share

Tweet

Like 0

Introduction:
Thefollowingdocumentimpliesforalltheinboundinterfaces

whichhaveProxycallatsourceinSAPsystemandReceiverisaWeb
service
whichcangiveresponsetothemethod(soapaction)called.

InboundInterface:

AscenariothatmakesaRequest
fromSAPtoWebServicethroughPIwithcertainRequestinputfieldslike

TokenID
ClientTransactionID

InReturnacceptstheResponsefromWebServicewith
Responseoutputfieldslike

TransactionID
ClientTransactionID
RecordsReceived
RecordsPosted
RecordsFailed

UsingPROXYtoSOAPSynchronousScenario

Hereisthestepbystepwalk
throughhowtoachievethis.

Step1.CreationofDataTypes.Weneedtocreate2
Datatypes.
1forrequestmessagestructureandotherfor
Responsestructure.
Requeststructure:

http://scn.sap.com/people/anilkumar.bodapati3/blog/2013/07/07/proxytosoapsynchronousscenerioinpi

1/9

10/3/2016

ProxytoSoapSynchronousScenerioinPI.|SCN

ResponseStructure:

ThesestructuresarevisibleinSAP(ECC)at
TransactionSPROXYlikebelow

UsingABAPrequiredcodingneedto
bedoneforrequest&responseofmessages.

Now,CreateMessageTypes.Best
practiceistogivesamenamesprefixedwithDT_fordatatypesandMT_
for
MessageTypes.
Wehavetocreate2Messagetypes
andgiveDatatypesusedastheonesyoucreatedaboverespectively.
CreateMessageInterfacesinIR(ifPI7.0asinthiscase)
OurSendermessageinterface
nameisMI_GetTransactionkeyStatus
WhichisOUTBOUNDandSYNCHRONOUS

http://scn.sap.com/people/anilkumar.bodapati3/blog/2013/07/07/proxytosoapsynchronousscenerioinpi

2/9

10/3/2016

ProxytoSoapSynchronousScenerioinPI.|SCN

Here,theexactmethodwhichweare
goingtocallinWebServiceis

GetTransactionKeyStatus_InputMessage
Wewillreceivetheresponse
fromanothermethodcalledGetTransactionKeyStatus_OutputMessage
Whatwearegivingbeloware
Messagetypescreatedbyus.

OurReceiverMessageInterfacename

isMI_GetTransactionKeyStatus_Response

WhichisINBOUNDandSYNCHRONOUS

Youcanimportthesetwo
methodsfromExternalDefinitionwhichwillbeprovidedbyReceiversystem.
The
NameSpacewillbefromtheWebserviceorg.Here

Now,CreatingMessagemappings.

Weneed2messagemappingsonefor
makingrequestandonefortakingtheResponse.
MI_GetTransactionkeyStatusCheckheretherequestis

http://scn.sap.com/people/anilkumar.bodapati3/blog/2013/07/07/proxytosoapsynchronousscenerioinpi

3/9

10/3/2016

ProxytoSoapSynchronousScenerioinPI.|SCN

ClientTransactionID,Constant&first
nodetoNodemappingasisthischangesonvariousrequirements.

2ndmappingfor
capturingresponsefromSOAPandpassingittoSAP
MM_GetTransactionKeyStatus_Response

Thevalueswegethereasgiven
aboveinresponsestructure.
Wewillbehavingonlyone
Interfacemappingasrequest&response
ProvidetheMessageinterfacesyou
createdsourcesideasRequestandTargetsideasResponseandgivethe
Message
mappingwecreatedfirstasitisthe
request&clickonReadinterfacesbuttonyouwillgettheSource&
targetMessagesoneitherside.

http://scn.sap.com/people/anilkumar.bodapati3/blog/2013/07/07/proxytosoapsynchronousscenerioinpi

4/9

10/3/2016

ProxytoSoapSynchronousScenerioinPI.|SCN

NowyouwillseeResponsetab
poppingupandprovidetheMessagemappingprogramnameforitwhich
endwith
MM_***Response.ClickReadinterfaces.

Youwillseeadifferentsource
&targetforyourconfirmation.(actuallynotdifferentbutalreadydefined)
YouaredonewithIRpartofyour
SynchronousProxytoSOAPinterfacedesign.

CONFIGURATION:
Youneedtwocommunicationchannels
inordertomakearequestandcaptureresponseback.
SenderCommchanneladapterforProxyis
XI
SecuritycheckforIncoming
messagesselect[HTTP]

http://scn.sap.com/people/anilkumar.bodapati3/blog/2013/07/07/proxytosoapsynchronousscenerioinpi

5/9

10/3/2016

ProxytoSoapSynchronousScenerioinPI.|SCN

Receiver

CommChanneladapterforWebServiceisSOAP

Inthereceivercommchannel
atConnectionParametersprovidetheTargetURL[providedbythe
webservice]

Importantly,
ProvidetheSoapActionforthemethodyouarecalling.Youwillgetthisin
SoapUI.

OneimportantcatchhereforthosewhoarefacingissuesinaddingsoapEnveloptosourcemessageand
removing
thatsoapenvelopwhiletakingresponsefromWebservice.Youneedtoaddthe
belowmodulenameasitis.Thatwillsolvetheproblem.Elseweneedto
incorporateandxsltmappingtodothatworkforusaddingitinourInterface
mappingwhichmaybehectic.

http://scn.sap.com/people/anilkumar.bodapati3/blog/2013/07/07/proxytosoapsynchronousscenerioinpi

6/9

10/3/2016

ProxytoSoapSynchronousScenerioinPI.|SCN

Modulename:

CreateReceiver
Determination:YouwillbegivingSender
asSAPandinterfacenameastheoneyoucreatedforrequestmessage.
WhichisGetTransactionKeyStatus

InterfaceDetermination:Youwill
bepassingtheSenderdetailsasaboveinreceiverdetermination.Ifyou
are
usingPI7.0versionasinthiseg:Fisrtyouneedtogiveinterfacemapping
selectfromdropdown,thenInboundInterfacenamewhichis
GetTransactionKeyStatus

http://scn.sap.com/people/anilkumar.bodapati3/blog/2013/07/07/proxytosoapsynchronousscenerioinpi

7/9

10/3/2016

ProxytoSoapSynchronousScenerioinPI.|SCN

NowcreateReceiverAgreementas
below&providetheReceiverCommChannel.[
CC_SOAP_GetTransactionKeyStatus_Response
]

WiththisyourSynchronous
interfaceiscompleteandmakesureyouactivatedallobjectsandclear
SLDdataCachefromEnvironment
inthemenu.
TriggertheProxyfromSAPside
withrelaventdata.YouwillbereceivingtheresponsefromWebService.
WedonthavesenderAgreement
beingProxySender.

6814Views

Tags:pi,to,proxy,soap,without,synchronous,scenerio,sycnchronous,bpm.

AverageUserRating

MyRating:

(5ratings)

Share

Tweet

Like 0

http://scn.sap.com/people/anilkumar.bodapati3/blog/2013/07/07/proxytosoapsynchronousscenerioinpi

8/9

10/3/2016

ProxytoSoapSynchronousScenerioinPI.|SCN

0Comments
Therearenocommentsonthispost

SiteIndex
Privacy

ContactUs
TermsofUse

SAPHelpPortal
LegalDisclosure

Copyright

http://scn.sap.com/people/anilkumar.bodapati3/blog/2013/07/07/proxytosoapsynchronousscenerioinpi

FollowSCN

9/9

You might also like