cancel
Showing results for 
Search instead for 
Did you mean: 

Change base part of WSDL URL

Former Member
0 Kudos

My System: 7.2 SP3

Hi,

at the moment I have some challenge with the URL of the web service. Every web service which I deploy has the address

http://<host>:<port>/<path2service>;

But actually due to DNS our CE Server is available under a different address.

How can I change sustainable the base part (<host>:<port>) of the WSDL that it will be the same as the DNS server address?

Regards

Martin

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Check the paramter icm/host_name_full, While generating the wsdl it should take the server name from this parameter.

So maintain the parameter accordingly.

Regards,

Vamshi.

Former Member
0 Kudos

Hi,

thanks for the hint. Up to now I know that WSDL path in the Registry depends on the Reverse Proxy settings. There I can define how the URL should be converted!

But in the Single Service Administration the path is still wrong. As you recommended I changed the SAPLOCALHOSTFULL (= icm/host_name_full) and restarted the server!

Do you know why?

Regards

Martin

Former Member
0 Kudos

Hi,

Am sure it will not be usig the reverse proxy settings. We have exposed many webservices, and it alwasy generate the wsdl based on the icm host name.

Did you try generating one for your system after changing the parameters?

Regards,

Vamshi.

Former Member
0 Kudos

Hi,

I tried to things:

1. Undeploy app and deploy again --> wrong URL

2. Create new app and deploy --> wrong URL

I double checked the parameter icm/host_name_full at Web Administration Interface and it is correct!

I appreciate your help!

Regards

Former Member
0 Kudos

Hi,

How you are accessing your SAP system?

If you are accessing using the DNS name it will give you the wsdl with the dns name , if you access your system using local address for generating wsdl then gives the wsdl with your local address name.

Access your SAP system with the FQDN and then generate the wsdl using ws navigator.

Regards,

Vamshi.

Former Member
0 Kudos

Hi Vamshi,

sorry but I am not sure if I understood you correct.

At the moment I have this values in my DEFAULT.PFL:


SAPDBHOST = <HOSTNAME>
j2ee/dbtype = mss
j2ee/dbhost = <HOSTNAME>
j2ee/dbname = CE2
dbs/mss/server = <HOSTNAME>
SAPSYSTEMNAME = CE2
OS_UNICODE = uc
SAPGLOBALHOST = <HOSTNAME>
system/type = J2EE
SAPFQDN = <DOMAIN>
SAPLOCALHOSTFULL = ce2.industry.<COMPANY>.com
#-----------------------------------------------------------------------
# SAP Central Service Instance for J2EE
#-----------------------------------------------------------------------
j2ee/scs/host = <HOSTNAME>
j2ee/scs/system = 01
j2ee/ms/port = 3901
ssf/name = SAPSECULIB

Since your help I changed

SAPLOCALHOSTFULL = $(SAPLOCALHOST).$(SAPFQDN)

to

SAPLOCALHOSTFULL = ce2.industry.<COMPANY>.com

I have access to my CE system like:

- http://<HOSTNAME>:50000

- http://<HOSTNAME>.<DOMAIN>:50000

MAPPED DNS address (--> THIS ADDRESS I WANT TO ACHIEVE)

- http://ce2.industry.<COMPANY>.com:50000

May you explain a little bit in more detail what I have to do exactly?

At the moment I deploy my services out of NWDS where I do not care about URL generation! Hmmm

Regards

Former Member
0 Kudos

Hi,

login to your server with http://ce2.industry.<COMPANY>.com:50000/wsnavigator

then you take the wsdl fro there, this wsdl will contain the base address of your server with the name you have logged in.

Regards,

Vamshi.

Former Member
0 Kudos

Hi Vamshi,

that's correct but what I want to achieve is that when I have a look at "Single Service Administration" the shown/build WSDL is correct!

At the moment I see

WSDL:

http://<HOSTNAME>.<DOMAIN>:50000/<PATH>;

Regards

Former Member
0 Kudos

Hi,

I think this is what you want to achieve.

Regards,

Vamshi.

Former Member
0 Kudos

Hi,

actually not what I want is

http://ce2.industry.<COMPANY>.com:50000/<PATH>

Edited by: Martin Baeuml on Aug 13, 2010 12:07 PM

Former Member
0 Kudos

Hi,

Please change the parameter SAPGLOBALHOST = <HOSTNAME> to SAPGLOBALHOST = <the name you want to achieve>

Regards,

Vamshi.

Former Member
0 Kudos

Hi,

the parameter change has no effect.

Address in Single Service Administration is still

http://<HOSTNAME>.<DOMAIN>:50000/<PATH>

Regards

Former Member
0 Kudos

Hi,

Looks pretty strange!!!!!!!!!!!

Just try to access the wsdl url with the dns name change which you want. This will surely give you the changed wsdl with http://ce...<company>:50000/path.

Regards,

Vamshi.

Former Member
0 Kudos

Hi,

that's correct. I can access the web service with both addresses, but that even works before the changes I have made to the config file.

That's crazy.

Regards