cancel
Showing results for 
Search instead for 
Did you mean: 

XI WAS - Web root

Former Member
0 Kudos

Hi guys,

I want to use an application built in flex that is going to consume a web service built on XI, but this web services is over https and my application is not, reading some documentation I need to put some tags on the crossdomain.xml file, but the documentation says that I have to put this file on my server root, bu t I dont know how to get this path on the XI server.

do you guys know how can I get my XI-WAS root path?

Thanks

Omar Hernandez

Accepted Solutions (0)

Answers (1)

Answers (1)

hemant_chahal
Contributor
0 Kudos

To enable the use of Web Services in external tools, a description of the interface must exist in the Web Service Description Language WSDL. In the SAP Web AS, you can generate these descriptions using the Web Service Browser, which is a BSP application.

You can generate Web Service descriptions based on HTTPS. To do this, use the following HTTPS port instead of the above URL:

http://<host_name>:<https port_number>/sap/bc/bsp/sap/WebServiceBrowser/search.html?sap-client=<relevant_client>

You need to make suitable replacements for the placeholders <host_name>, <port_number> and <relevant_client>. In a live Web AS, you can determine values for the first two placeholders in transaction SMICM (choose GoTo -> Services or Shift - F1). Enter the values you have determined into the URL and confirm. The search template appears in a new window.To generate the description for a function module, enter the name of the function module under Search by Name, and press Enter to confirm.

In addition to WSDL generation by function module, you also have the option to group together several function modules and generate a common Web Service Description for these groups.

Choose Project Search.Follow the same procedure but now instead of generating the WSDL description, choose Add to copy the description into the project list. Repeat the search and copy procedure for all functions that you want to group. In the Project View, you can now generate the common WSDL description by choosing View WSDL.

To send a SOAP call to a SAP Web AS, you need to use the following URL (replacing <host_name> and <port_number> with the relevant values for the instance to be accessed):

http://<host_name>:<port_number>/sap/bc/soap/rfc

For the details of this URL, choose the following from the maintenance tree in transaction SICF (Maintain Services in the ICF: default_host-> sap-> bc -> soap-> rfc. In this transaction you can deactivate or activate the whole SOAP inbound processing.

Refer this document for further help

https://websmp106.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700008578952002E

Thanks,

Hemant

Former Member
0 Kudos

Thanks for your reply, but I think that it is not what I am looking for, thing is that it is not a (ABAP) Web service on the WAS but it is a Web service created on XI with the SOAP Adapter, and I am not looking for the URL for the web service but for the path (SO) that is the web root of the server.

thanks