Quantcast
Channel: SCN : Popular Discussions - Service-Oriented Architecture (SOA) and SAP
Viewing all 746 articles
Browse latest View live

Exporting and importing web service end points

$
0
0

We want to be able to export and import web service end points.

 

Use cases, in case you are interested:

  • We have web service end points in client 100. They get called from a Visual Composer application. We make a full client copy from 100 to 101 as a back-up. We test some stuff that cannot be undone in client 100. It goes wrong. We copy back client 101 to 100. All data is back to the previous state ... except the web service end points. Apparently they are simply not copied in client copies at all, which probably makes sense. So we need to export them before and import them again in the end. Having to manually recreate them is effort, and worse it requires adjusting the callers.
  • We have several identical copies of a landscape, running in fenced virtual machines as linked clones, which means they also have the same host names. We try something in one landscape that involves the creation of web service end points. We can copy most content from one landscape to the other, e.g. enterprise service defintions from the ESR can be exported as files, the implementation (ABAP coding) of enterprise services can be taken over as transport requests (K and R files) and for Visual Composer applications we can upload export the workspace and upload it to a different server. Just the web service end points can only be taken over by manual recreation.

 

Search in SCN and on help.sap.com brings up nothing, I guess that there simply is no way of exporting web service end points, because our use cases are not so typical, and in most landscapes it does not make sense to transfer web service end points to another server, as it would have a different host name.

 

So we want to code our own export/import mechanism. Can someone give me some clues how to start? In which table (or across which tables) are web service end points stored? Which functions or class methods exist for reading or writing web service end points?

 

Monika.


Pinging web service - not happening

$
0
0

Hi Experts,

 

  I created a consumer proxy using WSDL local file and create a logical port in SOAMANAGER.

But, if I try to ping the web service from SOAMANAGER using the logical port that I created, I am getting the

following exception.

 

SRT Framework exception: Service Ping ERROR: Error when calling SOAP Runtime functions: SRT: Processing error in Internet Communication Framework: ("ICF Error when receiving the response: ICM_HTTP_CONNECTION_FAILED")

 

Should I do any config change in SICF / Anything else?

Could you please help on this regard.

 

Thanks and regards,

Venkat

SAP JCO Jar Files

$
0
0

I want to integrate my application to SAP system, I have got some errors bcoz of missing jco class files, my SAP Adapter package partially loaded due to missing jars.. Pls give me the link to get all the required jars for 64-bit machine. I am trying to connect SAP from webMethods tool. Right now, i don't have contact details to get in touch with my sap team members to get the jars from them since they might have the access privilege to download that jars from SAP site.

 

How do i get the jar files?

RFC function as a Web service - how to make wsdl type names unique

$
0
0

Hello,

 

We have a RFC function module, converted into a web service named ZVIEW_AGREEM, which works perfectly. Note that we only have a basic CRM system (Basis 7.31 SP 11), we don't have PI.

 

There is a client request to create a new version of this web service, named ZVIEW_AGREEM_2 : there is a new field "output_parameter2" in the response. The response type has XSD type named "VAGResult" (that we entered manually in the service definition).

The client also asked us to keep the old web service so that to be able to switch to the new one at a future date.

 

So, we duplicated the function module, duplicated the DDIC structure, and inserted the requested field, and then we made the web service.

 

It's okay except that the client complains that his software doesn't accept the WSDL, because we kept the same external type name "VAGResult", and it's different between the 2 web services (in the second, there is the extra "output_parameter2"). Both are assigned the standard SAP namespace urn:sap-com:document:sap:rfc:functions.

 

Do you know if there is a way to make SAP control the unicity of external type names to avoid having WSDL types with the same name and different structures?

 

Thanks.

Sandra

 

Attached is the WSDL of ZVIEW_AGREEM_2; ZVIEW_AGREEM is exactly the same but doesn't have "output_parameter2".

how to get a SAP web service without authentication

$
0
0

hi all, I´ve created a web service (provider)   in SE80 with the wizard and set to no authentication...but each time I put the url of the WSDL of this web service in the explorer I get a popup to loggin....The same when from Java we try to create the client....they are asked for user-password....

 

how I need to set the web service in the SICF to get no authentication if I´ve set no authentication profile in SE80 for this web service???

 

Do I need to do anything in SOAMANAGER too???

 

What I´m missing???

 

The system where I´m working is an ECC6.0

 

Thanks in advance...

 

Purpose of the SAP Router String: /H/sapgatea.wdf.sap.corp/S/3299/H/

$
0
0

Hi All,

     From the following Discovery System V3 setup documentation, what is the purpose of the SAP Router String: /H/sapgatea.wdf.sap.corp/S/3299/H/

 

Actions required for clients accessing SAP backend through SAP Logon

1.     Open SAP Logon and add the ERP - ESA Discovery instance.

2.     Select on the "New item" option.

3.     Select "User specified system", then select Next.

4.     Enter the following information:

                   Description: SAP Discovery System

                   Application Server: SAPDiscoverySystem

                   System Number: 10

                   System ID: ERP

                   SAP Router String: /H/sapgatea.wdf.sap.corp/S/3299/H/

5.     Click Finish.

 

 

 

Getting Started with the SAP Discovery System - setup[original link is broken]

 

I’m not able to connect into any of the ERP systems when using the SAP Router String on the SAP Logon GUI.

 

I’m able to connect to any of the ERP systems without using the Router string and only the Application Server.

 

Will something else not function properly when not using the Router String?

 

Is there something else that needs to be setup for the SAP Router String to work?

 

Does anyone else use the Router String and are able for the GUI to connect to the ERP systems?

 

Thanks

 

Mike Vondran

 

Edited by: Mike Vondran on Apr 13, 2008 10:59 AM

Problem with Screen Painter

$
0
0

Hello everbody:

 

I cant dislapy the layout, only salys "  Graphical Layout Editor not available. Continue with alphanumeric editor. "

 

I already did:

 

1 Go to utilities -> setting -> Screen painter -> Check Graphical Layout Editor.

2 Desinstall sap gui 730 and delete the folder called sap in C: , reboot and install all the components, I clicked select all.

3 Verify If I have the file C:\Program Files (x86)\SAP\FrontEnd\SAPgui\gneux

4 go to sm59 -> tcp/ip connections -> eu_scrp_win32 -> check in start on frontend and change the specify time out to 100.

5 Verify If my friends can display the screen paint and they could.

 

I dont have more ideas, I am using windows 8 and sap gui 730

Transport webservice Entry in SICF to QAS and PRD

$
0
0

I have created webservices in SE80 using the Wizrad in DEV. An Entry is created in SICF for the service,

I have transported this to QAS. This Service entry shows up in SE80 but not in SICF. In SOAMANGER I'am able to use to test the it as well after creating an entry there in QAS.

For me use this Webservice from .NET I need this entry in SICF so, back in DEV I right click my SICF entry and create the transport entry, I also created an External Alias and the transport entry for the External Alias. When This was transport to

QAS the external entry was transported to QAS but not the SICF Entry, When I click on the External Alias in QAS I get

an error Target service not available - repair table Message no. SR053


How to activate service via SOAMANAGER

$
0
0

Hi

Is there a way to activate web service via Transaction SOAMANAGER? I've created a service and endpoint for a webservice, however, in transaction SOAMANAGER, I  can find no place to activate the service, the state of the service always shows "inactive". Does anybody perhaps know how to fix this. I already checked transaction SICF, the webservice is activated there.

Many thanks guys.

RFC function as a Web service - how to make wsdl type names unique

$
0
0

Hello,

 

We have a RFC function module, converted into a web service named ZVIEW_AGREEM, which works perfectly. Note that we only have a basic CRM system (Basis 7.31 SP 11), we don't have PI.

 

There is a client request to create a new version of this web service, named ZVIEW_AGREEM_2 : there is a new field "output_parameter2" in the response. The response type has XSD type named "VAGResult" (that we entered manually in the service definition).

The client also asked us to keep the old web service so that to be able to switch to the new one at a future date.

 

So, we duplicated the function module, duplicated the DDIC structure, and inserted the requested field, and then we made the web service.

 

It's okay except that the client complains that his software doesn't accept the WSDL, because we kept the same external type name "VAGResult", and it's different between the 2 web services (in the second, there is the extra "output_parameter2"). Both are assigned the standard SAP namespace urn:sap-com:document:sap:rfc:functions.

 

Do you know if there is a way to make SAP control the unicity of external type names to avoid having WSDL types with the same name and different structures?

 

Thanks.

Sandra

 

Attached is the WSDL of ZVIEW_AGREEM_2; ZVIEW_AGREEM is exactly the same but doesn't have "output_parameter2".

Transport webservice Entry in SICF to QAS and PRD

$
0
0

I have created webservices in SE80 using the Wizrad in DEV. An Entry is created in SICF for the service,

I have transported this to QAS. This Service entry shows up in SE80 but not in SICF. In SOAMANGER I'am able to use to test the it as well after creating an entry there in QAS.

For me use this Webservice from .NET I need this entry in SICF so, back in DEV I right click my SICF entry and create the transport entry, I also created an External Alias and the transport entry for the External Alias. When This was transport to

QAS the external entry was transported to QAS but not the SICF Entry, When I click on the External Alias in QAS I get

an error Target service not available - repair table Message no. SR053

Change SOAP Header: Consuming Webservice

$
0
0

Hi All,

 

  How can I change soap header from consuming webservice? we are on SAP 7.00 SP15 (No XI or PI)

  I am able to call some methods that do not require the header for third party web service (.net).

 

  This is the header that sap generate:

<soap-env:Header>
 ....<n1:MessageID xmlns:n1="http://schemas.xmlsoap.org/ws/2004/08/addressing">uuid:4bdbf1ed-6c9c-1d52-e100-0000c0a8cf8a</n1:MessageID>  ....</soap-env:Header>

  This is the header that third party web service require.

  <soap:Header>    <MultiSpeakMsgHeader Version="string" UserID="string" Pwd="string">  </soap:Header>

Thanks,

Chaiphon

Settings for idempotent enterprise services in ECC

$
0
0

Hi,

 

I want to use enterprise service ECC_GOODSMOVEMENTCRTRC1 / GoodsMovementERPCreateRequestConfirmation_In_V1 within a nonSAP application to post GoodsMovements at an ECC system.

 

http://es-workplace.sap.com/socoview(bD1lbiZjPTAwMSZkPW1pbg==)/render.asp?packageid=DE0426DD9B0249F19515001A64D3F462&id=…

 

The service works and I can do all movement types I want.

 

Now I want to have idempotency activated at the ECC system.

 

But nobody of the ECC guys knows, what has to be done for this.

 

What transaction has to be used?

 

Is there a default value for the time frame for which the system keeps responses for already processed service calls?

 

If not, I would propose 100 days, because this is the worst case, the nonSAP application could send a message again.

 

Are 100 days to large for the idempotency time frame of an ECC system?

 

Regards

Roland

SICF settings for creating a proxy in ABAP for external webservice

$
0
0

Hello All,

  I am trying to create a client proxy for external webservice. I am getting below given error when I try to create it via URL,

HTTP error (return code 400,message "ICM_HTTP_CONNECTION_FAILED")

 

If I go to the details of this error I can see that it is asking to maintain correct proxy settings  using SICF txn.

I am trying to consume service directly from ABAP without the involvement of XI. Could you plesae help me in this issue?

Thanks&Regards,

Prajesh

SAP JCO Jar Files

$
0
0

I want to integrate my application to SAP system, I have got some errors bcoz of missing jco class files, my SAP Adapter package partially loaded due to missing jars.. Pls give me the link to get all the required jars for 64-bit machine. I am trying to connect SAP from webMethods tool. Right now, i don't have contact details to get in touch with my sap team members to get the jars from them since they might have the access privilege to download that jars from SAP site.

 

How do i get the jar files?


Settings for idempotent enterprise services in ECC

$
0
0

Hi,

 

I want to use enterprise service ECC_GOODSMOVEMENTCRTRC1 / GoodsMovementERPCreateRequestConfirmation_In_V1 within a nonSAP application to post GoodsMovements at an ECC system.

 

http://es-workplace.sap.com/socoview(bD1lbiZjPTAwMSZkPW1pbg==)/render.asp?packageid=DE0426DD9B0249F19515001A64D3F462&id=…

 

The service works and I can do all movement types I want.

 

Now I want to have idempotency activated at the ECC system.

 

But nobody of the ECC guys knows, what has to be done for this.

 

What transaction has to be used?

 

Is there a default value for the time frame for which the system keeps responses for already processed service calls?

 

If not, I would propose 100 days, because this is the worst case, the nonSAP application could send a message again.

 

Are 100 days to large for the idempotency time frame of an ECC system?

 

Regards

Roland

Change SOAP Header: Consuming Webservice

$
0
0

Hi All,

 

  How can I change soap header from consuming webservice? we are on SAP 7.00 SP15 (No XI or PI)

  I am able to call some methods that do not require the header for third party web service (.net).

 

  This is the header that sap generate:

<soap-env:Header>
 ....<n1:MessageID xmlns:n1="http://schemas.xmlsoap.org/ws/2004/08/addressing">uuid:4bdbf1ed-6c9c-1d52-e100-0000c0a8cf8a</n1:MessageID>  ....</soap-env:Header>

  This is the header that third party web service require.

  <soap:Header>    <MultiSpeakMsgHeader Version="string" UserID="string" Pwd="string">  </soap:Header>

Thanks,

Chaiphon

Convert XML Schema to WSDL

$
0
0

Hi,

 

I am given with some XML Schema definitions of some web interface (service )and asked me to consume that web interface ( Service ) in SAP.

 

I know consuming web service if i am given with WSDL file. but i dont know how to consume in this case i.e. i dont have wsdl file.

 

Please suggest me, do i need to convert xml schema to wsdl, if yes how can i do that?

 

or how to consume web service in this scenario. 

 

correct me i am wrong with above explanation.

 

 

Thanks..

How to activate service via SOAMANAGER

$
0
0

Hi

Is there a way to activate web service via Transaction SOAMANAGER? I've created a service and endpoint for a webservice, however, in transaction SOAMANAGER, I  can find no place to activate the service, the state of the service always shows "inactive". Does anybody perhaps know how to fix this. I already checked transaction SICF, the webservice is activated there.

Many thanks guys.

SAP JCO Jar Files

$
0
0

I want to integrate my application to SAP system, I have got some errors bcoz of missing jco class files, my SAP Adapter package partially loaded due to missing jars.. Pls give me the link to get all the required jars for 64-bit machine. I am trying to connect SAP from webMethods tool. Right now, i don't have contact details to get in touch with my sap team members to get the jars from them since they might have the access privilege to download that jars from SAP site.

 

How do i get the jar files?

Viewing all 746 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>