Quantcast
Channel: SCN : All Content - SAP NetWeaver Administrator
Viewing all articles
Browse latest Browse all 5139

Enterprise Services - Logical Ports

$
0
0

Hello,

 

      Regarding Enterprise services proxies and logical ports, i would like to gather some information to solve the following scenario:

 

  • Initially, we have created one consumer proxy(and one default logical port) to communicate with a web service.
  • When we created the consumer proxy(with ABAP code) to call the web service, we were using the default logical port.
    • The logical port configuration was different in each system to guarantee that the proper destination was getting called.
      • DEV      = <address>.dev.com/Service?wsdl
      • QA        = <address>.qa.com/Service?wsdl
      • PROD  = <address>.com/Service?wsdl

 

 

     This configuration was working fine until:     

 

  • The Quality system is refreshed with the current Production Data (happens every month in our client) the logical ports were also copied to quality. This was causing quality to be pointing to the production web service( the original logical port in Quality was overwritten).
  • To avoid this error, we created three Logical Ports pointing to each web service, and we changed the code to choose the correct logical port depending on the current system executing it.
  • When the refresh happens, all the logical ports will be copied from Production to Quality and the Quality logical port would be used.

 

     Our current problem is:

  • After the latest quality refresh, the logical ports were copied to quality as expected.
  • The configuration of the logical ports seems correct, but when the consumer proxy is calling the web service it simply doesn't work.
  • After deleting and creating the logical ports again(with the exact same configuration), everything worked as expected.

 

     I would like to know if anyone faced this kind of problem before?

     Are we following the normal guidelines to use a consumer proxy?

  

 

 

Thanks

André Bezerra

 

Message was edited by: André Bezerra


Viewing all articles
Browse latest Browse all 5139

Trending Articles