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

How To Release The WEB Service for Runtime in SOAMANAGER

$
0
0

Hello Experts,

 

 

I have followed the following tutorial to activate webservice using SOAMANAGER transaction in Quality system. 

http://scn.sap.com/people/mohan.kumark/blog/2008/10/14/soamanager-how-to- test-service-definition-using-soamanager-transaction

 

In the attachments, you can find that webservice is activated successfully.

 

SOAMANAGER - WebService Config.png

SOAMANAGER - WebService Config 02.png

 

i can also see my Webservice active in SICF as well as I can find Webservice in SE80 under package $WS_BOL_GEN

 

 

From the online tutorials and forums, I have understood that Webservice is configured successfully but now I need to Release it.

Now, I don't know how to release the WS using SOAMANAGER.  Same i can perform using WSCONFIG and thereafter I see my webservice at runtime inside document template designer.  BUT since., WSCONFIG is obselete.

 

I would really appreciate, if you can suggest solution how to release WS using SOAMANAGER. ?

High points will be given who provides solution

 

Thanks in advance.

Best Regards,

Ashish


Trouble with Calling a Webservice via HTTP

$
0
0

Hello,

 

i'm facing a Problem calling a Webservice.

 

The webservice should make a goods Output.

 

Till now, I have created a Service Definition, a Consumer Proxy, a Transformation (XML-to-ABAP), Logical Ports via T SOAMANAGER, HTTP Request handler Class and a Webservice Calling Report as ABAP.

 

When I call the Webservice via http, i get the following XML-Output:

 

-<soap-env:Envelope
xmlns:soap-env
="http://schemas.xmlsoap.org/soap/envelope/">
<soap-env:Header/>
<soap-env:Body>
-<soap-env:Fault>
<faultcode>soap-env:Server</faultcode>
<faultstring
xml:lang
="en">SRT: Wrong Content-Type
and empty HTTP-Body received: ("HTTP Code 200 : OK")
</faultstring>
-<detail>
<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>
<Host>undefined</Host>
<Component>COREMSG</Component>
-<ChainedException
asx:root
="asx:abap" version="1.0" xmlns:asx="http://www.sap.com/abapxml">
-<asx:values>
<EXCEPTIONhref="#o176" />
</asx:values>
-<cls:CX_SOAP_CORE
id
="o176">
-<CX_ROOT>
<TEXTID>0018FE864EEE1DECA69CF9C71ACB337F</TEXTID>
<PREVIOUS/>
<KERNEL_ERRID/>
-<INTERNAL_SOURCE_POS>
<PROGID>81</PROGID>
<CONTID>1193</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>
I activeded the debug mode for this webservice in SICF and while Debugging I see that there is no call of my handler Class because there are some missing variables in  if_http_extension~handle_request, which is the standart calling Routine from CL_SOAP_HTTP_EXTENSION
Do you maybe have a solution for my Problem?
Regards,
Dennis

NullPointer within Web Service Client generated code

$
0
0

Had a stable project using 9 web services, imported a update wsdl, regenerated the web service client, checked in the code, worked in development environment. Then deployed that code into the test enviroment


java.lang.NullPointerException: while trying to invoke the method com.sap.engine.services.webservices.espbase.configuration.ServiceData.getBindingData() of a null object loaded from local variable 'serviceData'

        at com.sap.engine.services.webservices.espbase.client.jaxws.metadata.InterfaceMetadata.getBindingData(InterfaceMetadata.java:228)

        at com.sap.engine.services.webservices.espbase.client.jaxws.metadata.InterfaceMetadata.createClientConfigurationContext(InterfaceMetadata.java:176)

        at com.sap.engine.services.webservices.espbase.client.jaxws.metadata.InterfaceMetadata.getProxy(InterfaceMetadata.java:70)

        at com.sap.engine.services.webservices.espbase.client.jaxws.core.SAPServiceDelegate.getPort(SAPServiceDelegate.java:258)

        at javax.xml.ws.Service.getPort(Service.java:92)

        at REMOVED.NWDS_GENERATED_WEB_SERVICE_CLIENT.getCreateOrUpdateLeadAndProspectPortTypeSOAP(NWDS_GENERATED_WEB_SERVICE_CLIENT.java:25)

        at REMOVED.HELPER.saveLead(HELPER.java:231)

        at REMOVED.SERVLET.doRequest(AbstractLeadUpdateServlet.java:182)

        at REMOVED.SERVLET.doPost(SERVLET.java:126)

        at REMOVED.SERVLET.doGet(SERVLET.java:82)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

        at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:202)

        at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:103)

        at REMOVED.FILTER.doFilter(FILTER.java:127)

        at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)

        at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:441)

        at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:210)

        at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:441)

        at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:430)

        at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:38)

        at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

        at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:81)

        at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

        at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:278)

        at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

        at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:81)

        at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)

        at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

        at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)

        at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)

        at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

        at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)

        at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

        at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

        at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)

        at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

        at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

        at com.sap.engine.services.httpserver.filters.SessionSizeFilter.process(SessionSizeFilter.java:26)

        at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

        at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

        at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:57)

        at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

        at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

        at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:43)

        at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

        at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

        at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:475)

        at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:269)

        at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)

        at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)

        at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)

        at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)

While consuming a webservice I am getting the following error :

$
0
0

Exception occurred in communication framework:Error in HTTP Framework:500SSL Peer Certificate Untrustedhttps://test:44315/sap/bc/srt/wsdl/flv_10002A111AD1/bndg_url/sap/bc/srt/rfc/sap/z_ws_test/001/z_ws/ztest?sap-client=001

Exception of class CX_PROXY_GEN_ERROR

 

Please suggest what might be the issue??

 

Thanks

Siju

ECC to Web Service Client system without PI. Where to get ATP ES bundles?

$
0
0

Hi,

 

I am trying to do integration between ECC to WebSerice Client system without SAP PI. For that I need ATP ES Bundles .
Where can I download them? please help

 

And also tell the same ATP ES bundle will work for ECC and SCM or I need to download different for both of them?

 

Regards,

Vikas Kumar

What is the need of creating & Consuming the web services ?

$
0
0

Dear Abapers,

 

where we can use the web services exactly in the sap ecc system.

 

is it possible to use the already created dot net web services on the SAP ECC System ?? how ??

 

Let us consider , i have one web method contains 3 parameters .

 

i need to pass 3 parameters to the web method in my SAP ECC R3 system.

 

how can i understand here exactly,

 

How the business scenarios will linked out here. & what is ABAP Proxies.??

 

Can any one explain me with the real time scenario for creating and consuming the Web services .

 

Thanks in advance.

 

 

Regards,

sudheer

Relation between R3TR SPRX and R3TR WEBI

$
0
0

Dear colleagues,

 

I would like to know which of the above R3TR object types define an enterprise service?

Also, how to derive the relationship between a service and its web interface (WEBI).

In which database table/view can I find the relationship?

 

I need this information to link a provider class/interface with its web definition/interface.

 

Thanks & Regards,

Sooraj.

How to set 'Maximum Wait for WS Consumer' in soamanager using class or FM

$
0
0

Hi Experts,

I am using class 'CL_SRT_PUBLIC_FACTORY' to create logical ports.

but my services takes a lot of time to respond so I am getting a ICM time out error.

I understand that I can increase time out for logical ports by setting appropriate value of field '

 

Regards,

Vikas.


Web Service Consume Error

$
0
0

Hi everyone;

 

we are trying to call an external web service from SAP. we create the client proxy and logical port. when we call the web service we get an exception.

 

SoapFaultCode:5  Receiver (  Keep-Alive and Close may not be set using this property. Parameter name: value )  | SoapFaultSubcode: InternalServiceFaulthttp://schemas.microsoft.com/net/2005/12/windowscommunicationfoundation/dispatcher

Sınıf istisnası CX_AI_SYSTEM_FAULT

 

we could not find any option about keep-alive in logical port definition. does anyone have an idea about this error

Pass Data with Tags in Web Service Field - Consuming WS

$
0
0

We have a requirement to call an external third party web service from ABAP. The web service has only a single field in it that is <text> </text>.

 

After creating consumer proxy and now when testing the web service through SAP with the following data :

<text>This is a test message</text>

success response is received.

 

Now our requirement is to send data like this :

<text>

<SalesOrderID>10005</SalesOrderID>

<DistributionChannel>10</DistributionChannel>

<Division>11</Division>

</text>

 

Now sending data like this result in an error and the external server is not called at all.

 

Capture.PNG

 

Suggest ways on how to send data with tags inside a web service.

Error on Consuming WS - GENERAL_ERROR Error duing proxy processing (PART UNKNOWN (NULL) ) -

$
0
0

We are trying to consume an external web service but getting the below error :

 

GENERAL_ERROR Error duing proxy processing (PART UNKNOWN (NULL)   )

Error duing proxy processing (PART UNKNOWN (NULL)   )

 

We have gone through the already available threads with the same error but unable to rectify this.

 

Some points to be noted are :

  • WSDL style is document/literal.

Capture.PNG

     I guess i have correctly identified the WSDL style as document/literal??

 

  • No entry in SM21 related to this error.
  • No trace is generated in SRT_UTIL for this WS Call.
  • The other server is being called and the data is successfully transferred to it which indicates there is some problem in receiving the response from the server end. This is confirmed by checking the logs generated at the external WS server.
  • W3SCHOOLS WS is successfully consumed.

 

Let us know for possible solutions.

we unable to open soamanager tcode

$
0
0

we unable access soamanager tcode in solution manager

Consume Web service in ABAP

$
0
0

Hi All,

         I have one scenario..Our client is using AMT software..I have created one RFC Function Module and developed Webservice for that Function Module..I have created service consumer also..In SOAMANAGER I have created one logical port..I want to know that when client access webservice and send data to web service then How I access those data in sap abap..Where I have to write the code???This code will automatically trigger and return a result data to client  through webservice...Please help..

Error in Integration with PI system

$
0
0

Hi All,

 

With the help of below blog we had successfully created one PI connection with our SAP system.

 

http://scn.sap.com/people/sandro.garofano2/blog/2009/09/02/connect-sap-application-system-to-multiple-sap-pi-integration-server--variant-n-1Hi All,

 

the connection was working fine and every things looks to be ok untill we upgraded our system to EHP7.

 

Now we are getting the error as INTERFACE_REGISTRATION_ERROR.

 

Any idea why it would happen?

 

We have checked following

1) All the RFC's of type H and T are correct

2) Tcode SPROXY is cheched and all implementing class are standard and correct

 

After a lot of debussing I could find that the method GET_URL_OF_IS of class CL_XMS_PLSRV_IE_ADAPTER is missing in the implementing class LCL_UTIL, and I also observed that this is one of the important method for connecting to multiple PI systems.

 

Any idea if how to resolve this?

 

Regards,

Umesh Chaudhari

Step by step configure interface in through Web service

$
0
0

Hi everybody,

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.

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

GATP using ES for portal

$
0
0

Hello Experts,

 

I'm new to SAP SOA/ES workplace. I'm working on functional side of SCM APO GATP. I need to know about GATP check from an external (non-SAP) portal.

 

We have external online portal from which customer places orders. We want to link it with GATP to have online check of the products availability and the date. As of now this portal is linked with the ECC and an order placed on the portal gets created as Sales Order in ECC upon saving. (GATP is in place for background check in ECC while creation of Sales order). Stock update is done manually on the portal.

One of senior guided to use ATP related ES bundle for 'Check Requirements_V1' function. We just want to check for availability and not reservation from Portal. Also, using BAPI apoatpcheck call was suggested.

However, I'm not much aware of ES and how to go about and implement the given functionality & enhancement in the ES.

 

Can you please share your experiences and suggest how to implement it?

We are using SCM 7.0. Do we necessarily need to consult SAP?

 

Thanks for your help!

AP.

Activation of Statndard Enterprise Services

$
0
0

There is a requirement from my client to activate Standard HCM Enterprises Services and use them as a Web link to access the ECC system, without intervention of PI. Following is what we are looking at;

 

1)   1)  How do we activate all the enterprise services available under “Employee” Business Objects in the ES Workplace.

 

2)   2)  Can the Enterprise Services after activation be used to transmit ECC system data or receive data from other system, without using any Interfacing tool(for example PI)

 

3)   3) After activation of standard Enterprise services, how do we use these services to fetch data from ECC and then pass those data to third party in the form of URL Link & XML file – without using PI

 

4)   4) Can we create a “http” or “https” link and use the standard Enterprise Services to fetch ECC data? If yes, how do we do it?

 

An

AnAny document on the above requirement will of great help.

 

A

Web Service Consume Error

$
0
0

Hi everyone;

 

we are trying to call an external web service from SAP. we create the client proxy and logical port. when we call the web service we get an exception.

 

SoapFaultCode:5  Receiver (  Keep-Alive and Close may not be set using this property. Parameter name: value )  | SoapFaultSubcode: InternalServiceFaulthttp://schemas.microsoft.com/net/2005/12/windowscommunicationfoundation/dispatcher

Sınıf istisnası CX_AI_SYSTEM_FAULT

 

we could not find any option about keep-alive in logical port definition. does anyone have an idea about this error

Viewing all 360 articles
Browse latest View live




Latest Images