0% found this document useful (0 votes)
215 views8 pages

Creating A Service Consumer Proxy - SCN

The document describes the steps to create a service consumer proxy in SAP. It explains opening a wizard to select a URL/HTTP destination for the WSDL, filling out the necessary data, saving and activating the proxy class, and configuring a logical port to define execution details for calling the web service.

Uploaded by

Karthick Ravi
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)
215 views8 pages

Creating A Service Consumer Proxy - SCN

The document describes the steps to create a service consumer proxy in SAP. It explains opening a wizard to select a URL/HTTP destination for the WSDL, filling out the necessary data, saving and activating the proxy class, and configuring a logical port to define execution details for calling the web service.

Uploaded by

Karthick Ravi
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/ 8

4/18/2016

CreatingaServiceConsumerProxy|SCN

GettingStarted Newsletters

Hi,Karthick

LogOut

1points

Store

SearchtheCommunity

Products

Services&Support

AboutSCN

Downloads

Industries

Training&Education

Partnership

DeveloperCenter

Activity

LinesofBusiness

UniversityAlliances

Events&Webinars

Innovation

Browse

Communications

Actions

Create

ProcessIntegration(PI)&SOAMiddleware

CreatingaServiceConsumerProxy
PostedbyJuanManuelinProcessIntegration(PI)&SOAMiddlewareonOct24,201210:37:11PM

Inthispart,wellseetheprocesstocreateProxyconsumerservice.

Previously,wehaveseen

howtocreateanABAPbasedwebservice

First,wehavetostartthewizardtocreateanewserviceusingtrx.SE80.Rightclickand
thenCreate>EnterpriseService.

Thistime,inObjectTypefieldwechooseServiceConsumer:

http://scn.sap.com/community/piandsoamiddleware/blog/2012/10/24/creatingaserviceconsumerproxy

1/8

4/18/2016

CreatingaServiceConsumerProxy|SCN

FortheServiceConsumersource,wecanchooseamongstEnterpriseServiceRepository,
URLorthepathofWSDLalocalfile,UDDI,andtheServiceRegistry.
PleaseselectURL/HTTPDestination.

FillwiththeURLoftheWSDLpreviouslycreated.

Before continue, we enter to SOAMANAGER transaction code and choose: Application


andScenarioCommunication>SingleServiceAdministration.

SearchtheServicepreviouslycreatedandchooseApplySelection.Nowwecanseethe
ServiceDefinitiondetails.
http://scn.sap.com/community/piandsoamiddleware/blog/2012/10/24/creatingaserviceconsumerproxy

2/8

4/18/2016

CreatingaServiceConsumerProxy|SCN

YouhavetoclickontheOpenWebServicenavigatorforSelectedBindinglink.The
combobuttonshowstheEndpointdefinedfortheService.ItllpopuptheWSDLwherewe
havetotaketheURLtocreatetheproxy.

UsetheURLinthewizard:

http://scn.sap.com/community/piandsoamiddleware/blog/2012/10/24/creatingaserviceconsumerproxy

3/8

4/18/2016

Fullfilthenecesarydatainthewizard.

CreatingaServiceConsumerProxy|SCN

Infinalstep,youcanclickonCompletetostartthecreationoftheProxyobject.

http://scn.sap.com/community/piandsoamiddleware/blog/2012/10/24/creatingaserviceconsumerproxy

4/8

4/18/2016

CreatingaServiceConsumerProxy|SCN

Enteryourlogindata:

Theproxyclassisshown.ClickonSaveandActivate.

GobacktotheSOAMANAGERtrx.toconfiguratealogicalportforourserviceprovider.
LogicalportsaremadetoconfiguratethetimefeaturesofaWSexecution.Wecancreate
alogicalportfromLPCONFIG(obsolete)orSOAMANAGERasweareshowingnext.
A consumer proxy never stores details about a server URL (which is system specific).
ThesedetailshavetobeconfiguredthroughlogicalportsandEndPoints.
Forexample:whenwetransportaproxyclassfromaDevelopmentsystemtoQAsystem.
The proxy class doesnt contain any information about which server the WS has to be
called,thisishandledbyalogicalport.
Go back to the SOAMANAGER trx. This time, when you search in Web Service
AdministrationchooseConsumerProxy.DontforgettoclickonApplySelectionaafter
highlightingtheproxy.

IntheConfigurationtab,selectCreateLogicalPort.

http://scn.sap.com/community/piandsoamiddleware/blog/2012/10/24/creatingaserviceconsumerproxy

5/8

4/18/2016

CreatingaServiceConsumerProxy|SCN

Inthepopupshown,youhavetofillseveralparameters.First,giveanameforthelogical
portandsetitasthedefaultlogicalport.
NextwehavetoselectConfig.TypebasedonWSDL.

Theapplicationreadsallthesecurityparametersneededtocallthisservicedirectlyfrom
WSDLdefinition.
Finally,wehavetofilltheWSDLURLforthecalledWebServices.Also,youhavetogive
thesystemusernameandpasswordtoaccesstheWSDL

Ifthecreationwassuccess,thesystemwilltakeusbacktotheConfig.Screen,wherewe
cancontinuewiththelogicalportconfiguration.Oncemore,introducetheusernameand
password(theyaregoingtobeusedasacredentialstocallthisserviceandtosavethe
logicalport).

http://scn.sap.com/community/piandsoamiddleware/blog/2012/10/24/creatingaserviceconsumerproxy

6/8

4/18/2016

CreatingaServiceConsumerProxy|SCN

Thenextandfinalsectionis:TestingaServiceConsumerProxy:

http://scn.sap.com/community/piandsoamiddleware/blog/2012/10/25/testingaserviceconsumerproxy

23020Views

AverageUserRating

MyRating:

(4ratings)

4Comments
PedroRiosOct1,20147:31AM

GoodJobJuanManuel,thisisasummaryofwhatIhavebeenlookingforinsomeweeks .
BythewayitcanbecreatedalogicalportalsobyusingaHTTPdestination,incaseoftheWeb
servicetoconsumeisexternal,forthisIknowwehavetocreateadestinationinSM59typeG
(External).SoIhaveaquestion,inoursystemtherearealotofconnectionstypeG,butIseethatall
ofthemhas"AutomaticWebServiceConfiguration"astheirdescription.Howthisconnectionswere
generated?Itookalookinsomeoftheproxies,butIcan'tseewherethisconnectionsareused.

Goodjob,
Pedro.
Like(0)

srikanthkakaniOct1,20148:52AM

ThanksJuanforSharing..Intrestingstuff..
Like(0)

MuhammadTahaSiddiquiJan18,201611:26AM(inresponsetosrikanthkakani)

Dear JuanManuel,

Didyouhaveanyidea,HowtoConsume.Net(NonSap)Webservicethroughthismethod?

I'mfollowingtheBelowSteps,
Se80>EditObject>ClientProxy>Create>URL/HTTPCheckBox>URL:http://ip
address:Port#/Service1.asmx?WSDL>PackageName+Prefix+Request#>Complete.
WhileClickoncompletebuttonitgivesanExceptionwhichismentionedbelow,

Notimplemented
ExceptionofclassCX_SIDL_INTERNAL_ERROR

Pleasegivemepropersolution,Howtoresolvethisexception?

Regards,
MuhammadTaha
Like(0)

NitinDeshpandeJan18,201611:47AM(inresponsetoMuhammadTahaSiddiqui)

HiMuhammad,

Haveyouimplementedtheproxy?Thiserroralsooccurswhenyousendthe

http://scn.sap.com/community/piandsoamiddleware/blog/2012/10/24/creatingaserviceconsumerproxy

7/8

4/18/2016

CreatingaServiceConsumerProxy|SCN
wrongstructureddatd,throughSPROXYtesting.

Regards,
Nitin
Like(0)

SiteIndex
Privacy

ContactUs
TermsofUse

SAPHelpPortal
LegalDisclosure

Copyright

http://scn.sap.com/community/piandsoamiddleware/blog/2012/10/24/creatingaserviceconsumerproxy

FollowSCN

8/8

You might also like