cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Error during generate proxy class from WSDL

Former Member
0 Likes
3,587

Hello Experts,

I am trying to create a service consumer for external service. In se80 i am started wizard and enter WSDL url, but getting error CX_PROXY_GEN_ERROR HTTP:404 Hostname Unknown. I saved WSDL in local file and trying again in wizard "from local file" - I get the same error. This happens for any file, even innocuous weather services, such http://www.webservicex.com/globalweather.asmx?WSDL.

In soapui i am successfully create soap project and send request to service, in visual studio - similarly. I also tried to remove information about the port from WSDL, but in this case i get error "Error in handler" without any information.

Please tell me - is somewhere in the settings to check needed. Version of system 7.4.

well - I do not know whether this value - we go out to the Internet through a corporate proxy server

View Entire Topic
raghug
Active Contributor
0 Likes

The last thing that you stated about the proxy server is probably the cause. When you set up a WSDL even from a file, the system tries to query the system you are trying to get data from. If you can't get the data, then you would get the error. Have you tried will an internal webservice that is on the local network? I bet that would work fine. If that does, then you would have to have the networking setup changed, so that SAP can actually communicate with these external systems.

Former Member
0 Likes

After consultation with the system administrator, I learned that the connection to the portal are directly, bypassing the proxy

raghug
Active Contributor
0 Likes

Based on your comment below, I think there is still a network issue that you were not able to resolve an IP address. This means you are not hitting your name server correctly. If the network was correct you should get the same SSSLERR_PEER_CERT_INTRUSTED error with either the IP or qualified name.