Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Web Service Link

Former Member
0 Kudos

Hello Guys,

I have created a Service for a custom function group.It generated URL(Under WSDL tab in SE80) like this:

http://sapdvp.switcher.lcl:8000/sap/bc/srt/wsdl/sdef_ZECOMMERCE_DATAS/wsdl11/ws_policy/document?sap-client=100

Now.is this link is enough for the front end people to connect to SAP? Front end people have some old links,

which has numeric values instead of service name(BOLD in above link) in the link.Do i have to do anything else?

Regards,

Najam

7 REPLIES 7

brad_bohn
Active Contributor
0 Kudos

No, the design-time WSDL from SE80 is not the correct one. You need to create an endpoint binding in SOAMANAGER and provide that WSDL to outside application developers. See the help files for more info; they are fairly detailed for this process.

Former Member
0 Kudos

Can you please share the link of that help files?

Regards,

najam

Former Member
0 Kudos

hi,

i think this might help you.

http://help.sap.com/saphelp_nwpi711/helpdata/en/b0/787748cf3a4200bb1ba32a62aa8519/frameset.htm

The end point would be automatically selected if you have created the wsdl file in se80. But the link you provided might not be the same as shown is se80.

To get the link, go to soamanager-->Application and Scenerio Communication > Single service Administration> enter the service name in the search pattern>select the websevice from the table and apply selection>overview tab>Show WSDL options> select the WSDL format> then click on Open WSDL document for selected binding> a seperate window will open with the wsdl file. The address in the address bar is the link for the web service from external system.

Hope this helps.

Regards,

Daz

Former Member
0 Kudos

Thanks Daz.

I have followed the steps as mentioned above and given the new link to the front end people.When they are trying to

generate a new class with corresponding to this link,they are getting the following error:

Analyzing WSDLSoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Unknown required WSDL extension 'http://schemas.xmlsoap.org/ws/2004/09/policy' in D:\xampp\htdocs\switcher\administrator\components\com_cckjseblod_webservice\helpers\wsdl2php\functions.php:100 Stack trace: #0 D:\xampp\htdocs\switcher\administrator\components\com_cckjseblod_webservice\helpers\wsdl2php\functions.php(100): SoapClient->SoapClient('http://kan:welc...') #1 D:\xampp\htdocs\switcher\administrator\components\com_cckjseblod_webservice\models\webservice.php(156): generate_php('http://kan:welc...', 'http://kan:welc...', 'test5', 'D:\xampp\htdocs...') #2 D:\xampp\htdocs\switcher\administrator\components\com_cckjseblod_webservice\controllers\webservices.php(290): CCKjSeblod_WebServiceModelWebService->store() #3 D:\xampp\htdocs\switcher\libraries\joomla\application\component\controller.php(236): CCKjSeblod_WebServiceControllerWebServices->save() #4 D:\xampp\htdocs\switcher\administrator\components\com_cckjseblod_webservice\admin.cckjseblod_webservice.php(54): JController->execute('save') #5 D:\xampp\htdocs\switcher\libraries\joomla\application\component\helper.php(162): require_once('D:\xampp\htdocs...') #6 D:\xampp\htdocs\switcher\administrator\includes\application.php(136): JComponentHelper->renderComponent('com_cckjseblod_...') #7 D:\xampp\htdocs\switcher\administrator\index.php(67): JAdministrator->dispatch('com_cckjseblod_...') #8 {main

Please suggest

Regards

najam

Former Member
0 Kudos

Which policy type did you select?

Try the policy 'Standard' instead of the other one. Right one I am not in front of the system, so don't remember the other one.

Regards,

Daz.

Former Member
0 Kudos

Where can i select the Policy type in SAP.The above shown error is from front end(PHP).

Former Member
0 Kudos

Hi Najam,

I have followed the steps as mentioned above and given the new link to the front end people

It looks like the front-end people don't support ws_policy. In the link / URL that you've provided to the front-end people, replace the '/ws_policy/' part with '/standard/' in the URL & then supply that URL to them & see if that works.

OR:

You can click on 'Show WSDL Options' before you click on 'Open WSDL Document for selected binding'.

Check the 'Standard' radio button in the 'WSDL Format' section.

Then click 'Open WSDL Document for selected binding'.

It will have the same effect as above.

Best Regards, Trevor

Edited by: Trevor Naidoo on Mar 1, 2011 2:09 PM