cancel
Showing results for 
Search instead for 
Did you mean: 

create url

Former Member
0 Kudos

Dear Experts.

I am trying to create an Url to call a webservice with the follwing URL.

Do you know how to do that

http://193.161.11.137:50300/R3/UserMapping

POST /R3/UserMapping?style=document HTTP/1.1 
Host: 117.210.44.104:80 
Content-Type: text/xml; charset=UTF-8 
Connection: close 
Content-Length: 643 
SOAPAction: "" 

Und hier der SOAP Inhalt: 
<?xml version="1.0" encoding="UTF-8"?> 
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema"> 
<SOAP-ENV:Header> 
<sapsess:Session xmlns:sapsess="http://www.sap.com/webas/630/soap/features/session/"> 
<enableSession>true</enableSession> 
</sapsess:Session> 
</SOAP-ENV:Header> 
<SOAP-ENV:Body> 
<pns:mapR3User xmlns:pns='urn:R3Vi'> 
<pns:systemalias>TWZ</pns:systemalias> 
<pns:ldapUser>humel</pns:ldapUser> 
<pns:r3User>geyer</pns:r3User> 
<pns:r3Password>humel</pns:r3Password> 
</pns:mapR3User> 
</SOAP-ENV:Body> 
</SOAP-ENV:Envelope>

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Alka i have now this :

Is it appended correctly

http://apswer.heller-s.local:8000/sap/bc/srt/wsdl/sdef_Z_ORM_WE/wsdl11/ws_policy/document?sap-client=281:&wsdl=1.1&mode=sap_wsdl

Former Member
0 Kudos

no. remove the ':' between 281 and &.

Former Member
0 Kudos

btw, I'd remove the ws-policy stuff by replacing 'ws_policy' with 'standard' in your URL.

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Erdem,

This is what you can try:

1. Go to Transaction: WSADMIN

2. Select GoTo --> SOAP Runtime Administration

3. Select your service: It should be under SOAP Applicationfor RFC-Compliant FMs

4. Selct Web Service --> WSDL

This will open the URL of the Web Service in an internet Explorer.

For this, you need to define the fully qualified name of the server in your hosts file.

Best Regards,

Alka.

Former Member
0 Kudos

hi,

I get the message

Cannot download WSDL from http://apswer.heller-s.local:8000/sap/bc/srt/wsdl/sdef_Z_ORM_WE/wsdl11/ws_policy/document?sap-client...

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

Regards

sas

Former Member
0 Kudos

Hi,

Try adding

&wsdl=1.1&mode=sap_wsdl

to your WSDL Url.

Regards,

Alka.

Former Member
0 Kudos

Hi Erdem,

Do you have the WSDL of the Web Service that you need to call ?

If yes, then, the Web Service URL can be taken from the soap:address tag's loaction attribute.

Regards,

Alka.