cancel
Showing results for 
Search instead for 
Did you mean: 

How to change the state of the service published on SR

anand_solanki
Explorer
0 Kudos

Hi All,

I have a java service , i published WSDL URL using the publish option in the SR. Now the SR automatically publishes the "state" details as Activated/Deployed. How do i change the state to "configured"?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi ,

If there is no implementation or end point defined for a publised service , the state would be activated / deployed.

The state cannot be changed manually. You could use SOAManager in the provider system and create an endpoint. Then publish this service. It should solve the issue.. (usually)

Regards

Bharathwaj

anand_solanki
Explorer
0 Kudos

When i use SOA manager it shows only the SAP services. The problem here is it(the srevices i published) is not a SAP service, these are java services hosted on some other server, i used the url and published them through the SR UI. Should i do something in the service provider servers?

Former Member
0 Kudos

HI Anand,

I think you should consider what Gourav and Bharathwaj explained above:

  • If you create an endpoint for a Web service and then publish the service, its state is set to "Configured".

  • If there is no implementation or end point defined for a published service, the state is set to "Activated/Deployed".

  • Once the service is published, the state cannot be changed manually.

You should try to check if the Java service you want to publish has endpoints, and optionally create one ore more using the available configuration tools. The following can be of help:

  • What is an endpoint: [Configuration of Individual Web Services and Web Service Clients|http://help.sap.com/saphelp_nwpi711/helpdata/en/46/8c19c6bba66160e10000000a1553f7/frameset.htm]

  • In case you Java service is on a NetWeaver server, you can create an endpoint using NetWeaver Administrator: [Configuring Individual Web Services|http://help.sap.com/saphelp_nwpi711/helpdata/en/57/07813ee3d32b44e10000000a114084/frameset.htm]

As Bharathwaj suggested, after creating the endpoint you should publish the service again. This time its state should be "Configured".

Hope this helps,

Rossen

anand_solanki
Explorer
0 Kudos

The java service i have published shows endpoint in the SR under end-points tab. Also i have published 2 ASMX services also, the end-points appear in the SR under end-points tab. But the state remains the same"Activated/Deployed" for these services. I wonder if Configured state only implies to SAP services.

Former Member
0 Kudos

Hi Anand,

As far as I know, there is no limitation for the status of a published service. No matter if they are SAP or non-SAP, you should get the proper status.

Would it be possible for you to provide the WSDL file you are publishing, as well as the version of the Services Registry you use. This information can be help for investigating the issue.

Best regards,

Rossen

Former Member
0 Kudos

Hi ,

We have publication restrictions for this purpose. You can log on to your netweaver administrator and create a new publication restriction.

In this restriction , you need to add the components which provide the service. This configuration will publish the service and then the state would be configured.

This seems to be a bug in the way they have developed SR .

Hope it helps.. Let me know if it works. .

oops ! Based on your version this might change.. with CE EHP 1.. there are publication rules where you can define the end point via service group and then select the service from the list and publish it.

Regards

Bharathwaj

Edited by: Bharathwaj on Aug 3, 2009 1:34 PM

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Anand,

To change configuration after publication of service follow following steps:

1. Goto Service Registry.

2. Goto tab classification.

3. Search for your service.

4. Select service from search result and click on "Add Classification"

5. Select type of classification you want to edit or add (i.e. LifeCycleStatus).

6. Change value and add and then save.

Regards,

Gourav

anand_solanki
Explorer
0 Kudos

When you add classification, the state changes to "Activated/Deployed", Even if you select LifecylceStatus as "released" . i want the state to be "configured". I think the problem is with the system details, as the system details are not available(because it does not get published when you use the SR UI, strange but do not know how to add the system details) i guess it does not show "configured"

Former Member
0 Kudos

Hi,

Please check this blog: /people/bv.pillai/blog/2007/09/25/esr-service-classification-and-consuming-the-services-from-services-registry-in-netweaver-developer-studio-ce-71

my be if you publish from NWDS then it works.

I think when you create/publish endpoint then it shows "Configured" else "Activated/Deployed", let me check then I'll comeback to you.

Regards,

Gourav

Edited by: Gourav Khare on Jul 24, 2009 6:58 PM