Quantcast
Channel: SCN: Message List - Service-Oriented Architecture (SOA) and SAP
Viewing all 1056 articles
Browse latest View live

Re: Consume Web service in ABAP

$
0
0

Hi Peter,

Actually the scenario is that,this is the integration between AMT s/w and SAP..The client's has AMT..They have pressed the button(Create Work Order) in AMT,which is web based..After that automatically a Plant Maintenance Work Order will be created in SAP..This purpose will be solved through Web Service..They have given me the the XML data which I have to consume from SAP side..

 

I have done the following steps..

1.First I have developed a RFC function module..Then I have created Web Service from that function module.

2.Then I have created service in SOAMANAGER..Then copy the service WSDL URL from overview tab..

3.Then I have created Service Consumer..tick the radio button external WSDL..Then paste the WSDL URL copied from SOAMANAGER..Then I have activated the Service Consumer..Direction is created OUTBOUND..Here Proxy name is shown in Service consumer..I didn't find where in the proxy class I have to write the code..Also please tell me the how to consume the XML data to ABAP  for creation of PM maintenance Order..They will give the detail of data for create the PM maintenance Order.

 

4. At last I have created Logical Port For Consumer Proxy which has the configuration type "WSDL Based Configuration" and WSDL base is "Via HTTP Access"..Then also put the WSDL URL and user id and password..

 

When the client will press the button "Create WO" in their AMT S/W then a XML data will send to Web service and I have to capture this data automatically in SAP and process these data and create PM maintenance Work Order and send the No. Of PM work Order to AMT side...

 

These total process will be automatically..

Please tell me what step I have skipped to achieve this Interface...

If you demonstrate me step by step then It will be very helpful for me...

Please help...


Issue when I test my web services

$
0
0

Hello,

I have made a web service, but when I call it from SAP to test it, I get the error below:

<soap-env:Envelopexmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">

 

<soap-env:Header/>

 

 

<soap-env:Body>

 

 

<soap-env:Fault>

 

 

<faultcode>soap-env:Server</faultcode>

 

 

<faultstringxml:lang="en">

 

SRT: Wrong Content-Type and empty HTTP-Body received: ("HTTP Code 200 : OK")

</faultstring>

 

<detail>

 

 

<ns:SystemFaultxmlns:ns="http://www.sap.com/webas/710/soap/runtime/abap/fault/system/">

 

 

<Host>undefined</Host>

 

<Component>COREMSG</Component>

 

<ChainedException>

 

 

<Exception_Name>CX_SOAP_CORE</Exception_Name>

 

 

<Exception_Text>

 

SRT: Wrong Content-Type and empty HTTP-Body received: ("HTTP Code 200 : OK")

</Exception_Text>

</ChainedException>

</ns:SystemFault>

 

<ns:SystemFaultxmlns:ns="http://www.sap.com/webas/711/soap/runtime/abap/fault/system/">

 

 

<Host>undefined</Host>

 

<Component>COREMSG</Component>

 

<ChainedExceptionxmlns:asx="http://www.sap.com/abapxml"asx:root="asx:abap"version="1.0">

 

 

<asx:values>

 

 

<EXCEPTIONhref="#o176"/>

 

</asx:values>

 

<asx:heapxmlns:xsd="http://www.w3.org/2001/XMLSchema"xmlns:abap="http://www.sap.com/abapxml/types/built-in"xmlns:cls="http://www.sap.com/abapxml/classes/global"xmlns:dic="http://www.sap.com/abapxml/types/dictionary">

 

 

<cls:CX_SOAP_COREid="o176">

 

 

<CX_ROOT>

 

 

<TEXTID>0018FE864EEE1DECA69CF9C71ACB337F</TEXTID>

 

<PREVIOUS/>

<KERNEL_ERRID/>

 

<INTERNAL_SOURCE_POS>

 

 

<PROGID>106</PROGID>

 

<CONTID>1157</CONTID>

</INTERNAL_SOURCE_POS>

</CX_ROOT>

<CX_NO_CHECK/>

 

<CX_SOAP_CORE>

 

 

<E_LOCATION>

 

 

<CLASS>CL_SOAP_HTTP_TPBND_ROOT</CLASS>

 

<METHOD>get_http_headers</METHOD>

<ID>3</ID>

</E_LOCATION>

 

<E_TEXT>

 

SRT: Wrong Content-Type and empty HTTP-Body received: ("HTTP Code 200 : OK")

</E_TEXT>

<E_ID>1032</E_ID>

<E_FAULT_LOCATION>1</E_FAULT_LOCATION>

<E_AREA>COREMSG</E_AREA>

<E_HOST>0</E_HOST>

<E_PROCESS_CONTROL/>

</CX_SOAP_CORE>

</cls:CX_SOAP_CORE>

</asx:heap>

</ChainedException>

</ns:SystemFault>

</detail>

</soap-env:Fault>

</soap-env:Body>

</soap-env:Envelope>

 

Anyone can help me?

Regards,

Luis.

Re: Issue when I test my web services

$
0
0

Hi Luis,

 

did you test the web service in SOAPUI and is it working well?

 

Best regards,
Shuai

SOAMANAGER Version?

$
0
0

Hi experts,

 

 

I need to update the version of the SOAMANAGER transaction in a project I am currently in,  and I have no idea about the corresponding SP or note I may need to apply.

 

 

 

The client has an SAP ECC 6.0, with SAP_BASIS 701 Lvl 0012, PI_BASIS 701 Lvl 0010, ST-A/PI 01Q_700 Lvl 002.

 

 

 

I am attaching an image of how the SOAMANAGER looks right now ( top image), and the tiles I am missing ( red square, image below).

 

 

 

Any help would be appreciated.

 

 

 

Thanks in advance.

 

 

 

Gina M. Ramírez

Re: Consume Web service in ABAP

$
0
0

In AMT is the push a button which needs to lead to a PM order in SAP.

 

In that case AMT is the consumer and SAP is the provider (service). So instead of creating a consumer proxy in soamanager you need to create a service/endpoint in soamanager.

 

The RFC function module (if no BAPI exist already, I think there is) is the abap code that creates the order after the web service call.

 

So create or find this function module/BAPI. Create a webservice out of this function module and configure the service in SOAMANGER (AS a service/endpoint NOT as a consumer proxy).

 

Now send the wsdl from soamanager to AMT so they can implement the webservice call.

 

That is it.

 

Peter

Re: Consume Web service in ABAP

$
0
0

Hi Peter,

             I have already created service in SOAMANAGER..I want to know that when I consume the WSDL data in the form of XML,then how can I transform it in ABAP??

 

Also please tell me that Can I develop the code for consume XML data and then put these data into BAPI and create PM Work Order in the RFC which I have created..Or I have to write the code in Proxy class...

Error proxy SOAP:1.008 SRT: Couldn't create Object:

$
0
0

We are developing consumer proxies. Until now our consumer proxies had an http destinationation. However, our client has changed its configuration and has given to us another url with https. Unfortunately, when we try to consume the new wsdl we get the error

 

Error proxy SOAP:1.008 SRT: Couldn't create Object: ("ICF Error when creating object for HTTP DESTINATION "XXXXXXXXXXX": ARGUMENT NOT FOUND")

 

Could you please help us with the error?

 

Thank you,

Óscar

Re: Error proxy SOAP:1.008 SRT: Couldn't create Object:


Re: Error proxy SOAP:1.008 SRT: Couldn't create Object:

Re: WebService does not return internal table exported by function module

$
0
0

I am facing the same issue , could you please help me in resolving this ?

Re: Message types missing in XI Content for SAP TM

$
0
0

Hi,

 

I am also facing the same issue of downloading OAGIS patches. Can you please tell me how to get this access or can you send some document for same.

 

thanks & regards,

Akshay Ruia

Re: call the RFC using EJB module in java

ECC_INVENTORY002QR

$
0
0

I have a SAP ECC 6.0 system and run transaction "SOAMANAGER"

Searching there for *inventory* results in five available services.

5InventoryServices.JPG

I picked ECC_INVENTORY002QR and activated the service in transaction SICF.


ActivateServiceSICF.JPG

 

 

However, the service cannot be called in the browser:

CannotDisplay.JPG

 

Can anybody please help me with the following questions:


What am I doing wrong in order to call the service ?

Where can I find information about it, e.g. how to pass parameters properly ?

TA SICF only finds the service "ECC_INVENTORY002QR". Why don't I see the other four inventory services ?

 

 

Kind regards

Werner

Re: WS-Policy configuration in SOAMANAGER

$
0
0

Hello Martin,

 

This sounds exactly what I am looking for.  Would you be so kind to share additional information on the specifics of what you modified in your Policy / binding node?

 

Did that change allow you to enter a username/key/token/pwd in SOAMANAGER, or did it expose something else in the Proxy for you to pass in security parameters?

 

Thank you very much,

Matt

Re: WebService does not return internal table exported by function module

$
0
0

I know i am late . But for anyone else who in future faces this issue.

I tried retrieving a table from the export parameter of function module in the web service.

eg. <LtFlight/>
The FM was working perfectly but returning an empty reponse in the service.

 

I then removed the export parameter and instead added it in TABLES .

eg. lt_flight like str_flight (where str_flight is a structure)

 

And this worked.

The web service was now able to get all the data as required. 

 

Hope this helps.


SAP BEx Query as a Web Service - JAVA Stack needed?

$
0
0

Dear all,

 

I want to use the Web Service for calling a BEx Query in SAP BW 7.02.

Do anybody know if a JAVA Stack is needed to get that Web Servcie working?

 

Thank you very much for your help!

 

Dieter

How to trigger the standard Enterprise service for Employee from SAP?

$
0
0

Hello Experts

 

I am looking to extract employee information out of SAP HCM and I came across an enterprise service in ES workplace which talks about the same.

 

The enterprise service details are:

 

Outbound Service Interface: Employee Event Out

Service Operation: Inform of Employee

Technical Name: EmployeeERPInformation_Out

 

Could you kindly suggest how this enterprise service can be triggered from SAP? Is there a standard transaction or a report or any other standard functionality in SAP to do this?

 

This enterprise service is contained in the HCM time management ES bundle according to ES workplace, but seems generic enough to be used to get employee data out of SAP.

 

Looking forward for any suggestions/ideas or any other suitable alternatives.

 

Regards

Chandra

Web service proxy generation error

$
0
0

Hello All,

         While generating a web-service proxy I'm encountering errors as follows:

 

1. Proxy-Generierung: Fehler aufgetreten   

2. Exception occurred in library handler   

3. Incorrect value: Schema ohne targetNamespace darf keine Unterelemente beinhalten ausser xsd:import/xsd:include/xsd:annotation

 

The screenshot is also attached for reference.

 

 

This might be a very dumb question to ask but can anyone please help me with this.

 

Regards,

Anubhab

Problem with SOA MANAGER

$
0
0

When I enter to that transaction my browser appears this, someone help me please

Re: Problem with SOA MANAGER

$
0
0

Hi,

 

I suggest you check if the hostname/ip is reachable from the pc. (check proxy settings etc.)

 

In order to narrow down the cause of the problem, you can test service "/sap/public/ping" via tcode SICF to check if the server is reachable.

 

Please also review SAPKBA 1936501.

 

Thanks.

 

Jim

Viewing all 1056 articles
Browse latest View live


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