cancel
Showing results for 
Search instead for 
Did you mean: 

Replace the wspolicy word within the url of the WSDL

Former Member
0 Kudos

Hi,

When testing a Web Service via soamanger  Single Service Administration  we use the url of the WSDL that comes up when clicking on Open WSDL document for selected binding. This URL has the following format:

http://xxxx.xxxx.xxx:8010/sap/bc/srt/wsdl/bndg_4D39F2A6580755C3E10000000A1502C8/wsdl11/allinone/ws_p...

When using this url in Web Services Navigator to test the Web Service we receive the following error:

WSDL 'portType' can not have child 'wsp:Policy' of namespace 'http://schemas.xmlsoap.org/ws/2004/09/policy' !

When though we manually replace the wspolicy word within the url of the WSDL with the word standard we do not receive the error and we can test the Web Service.

Is it possible to have standard instead of wspolicy within the url of the WSDL by default?

What is wspolicy? Is it something that we need to consider when developing our web services?

Thank you in advance.

Kind Regards

`

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Can you check if you can test your service from other Web Service test tools (like SOAPUI)?

Not sure how to solve this but please check SAP Note: 1471891 to see if it helps.

Regards,

Gourav

Former Member
0 Kudos

>

> What is wspolicy? Is it something that we need to consider when developing our web services?

> `

[Let me google this for you|http://lmgtfy.com/?q=ws-policy]

Former Member
0 Kudos

Hi Anton,

Thank you very much for your prompt response.

It is obvious that my question ''What is wspolicy? Is it something that we need to consider when developing our web services?''

was not very difficult to respond to since Google seems to know the answer but would you be kind enough to provide an answer to my other question 'Is it possible to have standard instead of wspolicy within the url of the WSDL by default?' since Google finds it difficult to provide a response to that.

Thank you in advance.

Kind Regards

Mike

Former Member
0 Kudos

hi,

there is no standard for the URL.

There is just a standard option for the display in SOAMANAGER which is ws-policy.

In the details pane of the Service in SOAMANAGER you can click 'Show WSDL options' and there you can choose "Standard". If you than click show WSDL URL of selected binding you will have 'standard' in the URL. To my knowledge you can not make this permanent for subsequent SOAMANAGER sessions.

anton

Former Member
0 Kudos

Hi Mike,

Seeing as how Google is not co-operating with your second question...As Anton suggested earlier, I also seem to remember the change being SOAMANAGER session specific, i.e. the next time you launch SOAMANAGER, you'll need to effect the change again.

The blog below provides a bit more detail on your first & second question:

[http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/18381] [original link is broken] [original link is broken] [original link is broken];

Regards, Trevor