Webservice for File Scenario
HI Everyone,
Can i develop a webservice using .net platform for a file to file scenario using XI. How do i proceed.
I know how to configure file to file scenario using XI, but how shd i replicate the same scenario as webservice.
Any valueable inputs would be appreciated.
Regards,
Varun.
Hi,
I hope the below blog's scenario is similar to your requirement.
and here the RFC should be replaced by the Webservice for your requirement.
RFC Scenario using BPM --Starter Kit
These 3 documents should explain it all,
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/befdeb90-0201-0010-059b-f222711d10c0
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f3ee9d7-0901-0010-1096-f5b548ac1555
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79
And also
Testing XI exposed Web-Services
Testing XI exposed Web-Services
Invoke Webservices using SAPXI
Invoke Webservices using SAPXI
Regards,
Suryanarayana
Similar Messages
-
Hi All,
I am doing WebService to File Scenario.
Here I am facing problem when I am sending request .
It is saying
" http error.Could not post file"
I have given the url as
http://<server>.domain:<port>/XISOAPAdapter/MessageServlet?channel=:BS_SOAP2FILE:CC_SOAP2FILE_SENDER
Can anyone suggest me why is this coming.
I searched for SDN and changed the address location in wsdl file to above url.
but still it is coming.
I checked the url in browser .It is saying "Message Servlet is in Status OK ......."
Any kind of tips or suggestion will be appreciated.
Thanks
Rabi
Edited by: RabiPanda on Nov 15, 2011 8:21 AMHi,
I agree with Ganesh. Try to use SOAP UI to call your service URL to see if it's working.
You can find a tool called TCPGateway in the attachment section of the SOAP Adapter FAQ note 856597. Please see tcpgw.zip for more details. Use it on Client side to see the complete HTTP response from PI for more info. If it does not help, try to compare your HTTP request and request generated by SOAP UI if they are created the same way. Especially HTTP header parameters like Content-Type.
Let us know if you find the problem.
Martin -
FTPS or SFTP for file scenario. Suggstions
Hi,
I have searched blog in sdn but do not get good blogs/links.
For File scenario which to use FTPS or SFTP.
How to do the configuration in XI and Visual admin.
Full points will be awarded.Hi,
1) SFTP (Secure File Transfer Protocol)
"SSH File Transfer Protocol" or SFTP is a network protocol that provides file transfer and manipulation functionality over any reliable data stream. It is typically used with the SSH-2 protocol to provide secure file transfer. SFTP encrypts the session, preventing the casual detection of username, password or anything that is being transmitted. One key benefit to SFTP is its ability to handle multiple secure file transfers over a single encrypted pipe. By using a single encrypted pipe, there are fewer holes in the corporate firewall.
SFTP:
As per the latest SAP PI/XI support pack, it does not support SFTP via File Adapter.
So alternative approach to cater this requirement from XI is to make use of Unix Script at OS level to transfer the files from/to third-party systems.
Inbound Interface - i.e. third-party system ->XI->SAP:
File is transferred to a folder in SAP XI landscape from the third-party legacy system using UNIX Script with secured protocol. Once the file is ready in the XI landscape, File Adapter will poll this directory and file is picked up by NFS protocol.
Outbound Interface i.e. SAP->XI->third-party system:
XI is responsible for writing a file into a folder in the XI landscape. These files are transferred to the third-party system by executing UNIX scripts with secured protocol i.e. via sFTP.
Pre-Requisites:
Public key should be exchanged between external systems and the PI system.
UNIX shell script has to be developed and scheduled.
Advantages:
Highly Secured.
Ability to handle multiple secure file transfers over a single encrypted pipe .By using a single encrypted pipe, there are fewer holes in the corporate firewall.
Disadvantages:
Two-Step process i.e. XI>Temporary folder>External System and vice-versa
Files have to be temporarily stored in XI server.
Multiple failure points i.e. XI and Unix script execution
Maintenance of an external UNIX script.
Difficulty in monitoring the execution of the shell script as it cannot be monitored thru XI.
Need to generate keys and install it in the SFTP site as a pre-requisite i.e. SFTP clients must install keys on the server.
SFTP uses keys rather than certificates. This means that it can't take advantage of the "chains of trust" paradigm facilitated through Certificate Authorities.
Files from the XI server should be deleted/archived in a periodic manner to increase the disc space so that it will increase the performance.
Note: UNIX shell Script can be executed as a background job or' can be triggered from SAP XI through OS command at File adapter level.
Secure FTP (SSH) with the FTP Adapter
Secured File Transfer using SAP XI
Secure FTP in SAP XI
SFTP (FTP over SSH) in XI
/people/krishna.moorthyp/blog/2007/07/31/sftp-vs-ftps-in-sap-pi
encryption adapters or how to secure data
/people/krishna.moorthyp/blog/2007/07/31/sftp-vs-ftps-in-sap-pi
Regards,
Phani
Reward points if Helpful -
Mapping error for file scenario.
Hi ,
I am working with the help of this scenario to pick only selected files.
/people/mickael.huchet/blog/2006/09/18/xipi-how-to-exclude-files-in-a-sender-file-adapter
I am getting error in mapping . Everything i have checked its correct . Mapping is correct . but still its giving error . how can i solve it .
Error : RuntimeException in Message-Mapping transformatio~
Thanks ,
Syed.Dear Syed Kumar
Based on the blog you are executing the scenario I guess. The scenario is clearly focusing on the picking up the files using the mask attribute in File Access Parameters.
As you mentioned clearly, that you are getting mapping error plz concentrate on how to rectify the mapping errors.
will guide to do so.
1. Go to SXMB_MONI and in the integration server and check for the message you are trying send.( I hope you did this)
2. As it is giving you mapping error, Double click onthe message Flag showing red.
3.Plz check the Payload XML content copy that content and paste in the message mapping Test section of IR.
4. Execute the Test. If you get the message at the receiver side there shouldn't be any error.
If you still get the error let me know.
Best of Luck
Reward Points If found use ful.
Edited by: Praveen Kurni on Jun 13, 2008 7:43 AM
Do the Interface mapping test as well if you are successful in message mapping. -
Webservices for file transfer using XI
Dear all,
I want to transfer 30gb of different files to my target system.
Here no mapping is involved.
can i use Webservices like megaupload etc,to upload the same using XI.
If so kindly clarify ,how do I achieve the same.
Thanks,
Srinivasarefer this thread
Re: Large file handling issue
Re: Java proxies for handling large files
Does SAP XI (PI 7.0) support streaming to support large file/Idoc
hope it will solve ur querry
Thanks!! -
Hi,
Please post me step by step process for webservice to file scenario.
Thanks
SriniHi ,
Refer this guide...
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79
Sekhar -
hello experts
I would like to know how to configure WS to File Scenario.
(if possible all the steps will be appreciated)
thanks
KfirHi kfir goldwasser,
Here is a scenario i'm explaining webservices(SOAP) to file scenario step by step:
SENDER SOAP ADAPTER: The sender SOAP adapter is basically used to send content from remote clients or Web service servers to the XI.
To do the end to end scenario let us consider a simple scenario
IR:
1. source data type
2.target data type
3.MT for Both
4.Message interface for both
5.message mapping
6.interface mapping
ID:
1)Define Serder Comunication channel type SOAP.
in DEFAULT XI PARAMETER you must put Message interface and Namespace of serder structure defined in IR
2) Define Receiver Communication channel.
3)define Receiver Determination
3)define Interface Determination
4)Define Sender agreement
5) Define Receiver Agreemen.
6)Active your changes.
DEFINE WEB SERVICE:
7)go to tool>enviroment>define Web services and put this string
http://<Host>:<Port>/XISOAPAdapter/MessageServlet?channel=:<Bussines_System>:<Communication Channel>.
Example: http://srv-xi01-adm:50000/XISOAPAdapter/MessageServlet?channel=:SCR_D:scr_d_soap_customer_sender
8)next step select MI of list
9)en next step you must define your sender BS and Message Interface.
10) Save Web service.
Test ur service with for example XML-Spy
Steps to make a request using the XML SPY:
1. Open the XML SPY, in the menu go to SOAP Create new SOAP request
2.it will open a new window you will provide the path wsdl file that you have recently save .
3.Click on OK button a new window will be opened which shows the SOAP request
4.In the menu choose SOAP Send request to server
5.Asynchronous Request: If your request is successful you will receive a SOAP response which will be empty response in an asynchronous request .
to configure file receiver adapter take in mind these blogs
File Receiver with Content Conversion
Introduction to simple (File-XI-File)scenario and complete walk through for starters(Part2)
For webservice to file scenario:
Plz Do check the following blog:
Invoke Webservices using SAPXI
In your case, receiver is file.. so you need to create Message Interface etc for the file output..
Also refer this document to understand the steps-
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79
For SOAP see below links
RFC -> XI -> WebService - A Complete Walkthrough (Part 1)
RFC -> XI -> WebService - A Complete Walkthrough (Part 2)
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/befdeb90-0201-0010-059b-f222711d10c0
An Overview of SOAP
An Overview of SOAP
http://help.sap.com/saphelp_nw04/helpdata/en/69/a6fb3fea9df028e10000000a1550b0/frameset.htm
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79
Regards,
Vinod.
Edited by: Vinod Reddy on Jul 1, 2008 9:46 AM -
How To Develop a Simple WebService App XI Scenarios
Hi,
How can I develop A simple Webservice for any scenario, for example, if am doing File to file scenario, and i want to develop a Webservice for the same scenario,
I think in ID we have an option Under Tools "Define Webservice" where in we can use wsdl format of the message interfaces.
How should i proceed to develop the Webservice?
Regards,
VarunHi Varun,
After creating the wsdl file u can deploy using MS visual studio.
Follow the steps and run the scenario.
use it in a Client Program in .NET : (assuming Maths as the WSDL and Webserice name)
1.) Place maths.wsdl in C:/Sample/ folder
2.) Open Visual studio command prompt using the Start Menu
Start->Programs->Microsoft Visual Studio 2005->Visual Studio Tools->Visual Studio 2005 Command Prompt
3.) In the Command prompt go to that directory
> C:
> CD\
> CD Sample
> wsdl maths.wsdl /out:"c:\sample"
4.) The previous step will create a file called Maths.cs , go to that folder and confirm this
5.) Open Microsoft Visual Studio 2005, open the Client application where this webservice needs to be called
6.) If your Client application is a web application, the see if the website has a folder called "App_Code"
If not then create this folder. Right Click on this folder and click on "Add Existing Item"
7.) Browse to C:/sample and select the Maths.cs file
8.) If your client is a Desktop application , just add this file in a similar manner to the project(no need of creating any folder)
9.) After the file gets added, open Maths.cs file
10.) Add a namespace to it for convinience
eg:
namespace SAP
This should come before the Class Declaration and close it after the class
eg: See the red lines
namespace SAP
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Web.Services.WebServiceBindingAttribute(Name = "Equi_get_NotifBinding", Namespace = "http://Equipment_Get_Notifications")]
public partial class Equi_get_NotifService : System.Web.Services.Protocols.SoapHttpClientProtocol
functions....
11.) Save the Maths.cs file
12.) Open the Webform or windows form code where this webserive will be called
13.) The webservice will now be available here under the SAP namespace
so when u type "SAP." u will get all the classes in it.
Add credential in this code as shown below
eg:
private void GetNotifications()
try
SAP.Equi_get_NotifService ser1 = new SAP.Equi_get_NotifService(); //This is the Webserive Proxy class
SAP.Equi_get_Notif_Request req = new SAP.Equi_get_Notif_Request(); //Request Class
req.Equipment = SAPID;
req.Date = Calendar1.SelectedDate;
System.Net.CredentialCache ch = new System.Net.CredentialCache(); //Adding Credentials for authentication on webservice server
System.Net.NetworkCredential cr = new System.Net.NetworkCredential("xisuper", "infotech");
ch.Add(new Uri(ser1.Url), "Basic", cr);
ser1.Credentials = ch; // Assing this Credential to the ProxyClass.Credentials property as shown here
SAP.Equi_get_Notif_ResponseNotifications[] res = ser1.Equi_get_Notif(req); //Call the webservice, res is the responce object
GridView1.DataSource = res;
GridView1.DataBind();
catch (Exception ex)
Response.Write(ex.Message);
"Award points if it is helpful" -
Hi ..
I want detailed step by step guide for "webservice to file" scenario. Kindly help me out in this.Hi,
Re: Webservice sender . Pls advice urgent
how to check this scenario.
Re: Webservices to file
Creating webservice in XI
Webservice
regards,
pradeep A. -
File to file scenario from r/3 to xi
hi
could any one send me the file to file scenario from r/3 to xi
wat could be the source file path in this scenarioplease llok at the docs for file scenario
/people/sravya.talanki2/blog/2006/12/25/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-i
source file path will be your file directory path it dependent on your file folder it is not common for every one.
Regards
Sreeram.G.Reddy
Message was edited by:
Sreeram Reddy -
I am trying to upload a file using JAX-WS webservice which is deployed on the weblogic 10.3.5 server.Even before the code reaches the Service Endpoint lot of time is being spent at the weblogic layer. for files less than 10MB the performance is good but for files greater than 10 MB it takes around 3 mins to complete the request. I did take thread dumps and I see the thread servicing the requests is taking lot of time when executing SAX2DOMEx.characters it consumes around 80 -85 % of time here. Is there anything that I can do to improve the performance here ?
"[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'" id=37 idx=0x90 tid=16848 prio=5 alive, suspended, native_blocked, daemon
at jrockit/vm/Allocator.allocLargeObjectOrArray(JIZ)Ljava/lang/Object;(Native Method)
at jrockit/vm/Allocator.allocObjectOrArray(Allocator.java:349)[optimized]
at jrockit/vm/StringMaker.toString(StringMaker.java:188)[inlined]
at com/sun/org/apache/xerces/internal/dom/CharacterDataImpl.appendData(CharacterDataImpl.java:191)[optimized]
at com/sun/xml/bind/marshaller/SAX2DOMEx.characters(SAX2DOMEx.java:218)[inlined]
at com/sun/xml/bind/marshaller/SAX2DOMEx.characters(SAX2DOMEx.java:209)[optimized]
at com/sun/xml/ws/message/SAX2DOMWriterEx.writeCharacters( .java:108)
at com/sun/xml/ws/util/xml/XMLStreamReaderToXMLStreamWriter.handleCharacters(XMLStreamReaderToXMLStreamWriter.java:153)
at com/sun/xml/ws/util/xml/XMLStreamReaderToXMLStreamWriter.bridge(XMLStreamReaderToXMLStreamWriter.java:114)
at com/sun/xml/ws/message/stream/StreamMessage.writePayloadTo(StreamMessage.java:313)
at com/sun/xml/ws/message/stream/StreamMessage.writeEnvelope(StreamMessage.java:343)
at com/sun/xml/ws/message/stream/StreamMessage.writeTo(StreamMessage.java:321)
at com/sun/xml/ws/message/AbstractMessageImpl.readAsSOAPMessage(AbstractMessageImpl.java:226)
at com/sun/xml/ws/handler/SOAPMessageContextImpl.getMessage(SOAPMessageContextImpl.java:87)
at weblogic/wsee/jaxws/framework/jaxrpc/SOAPMessageContext.getMessage(SOAPMessageContext.java:252)
at weblogic/wsee/security/wssp/handlers/WssHandler.getSecurityContext(WssHandler.java:318)
at weblogic/wsee/security/wssp/handlers/WssHandler.preValidate(WssHandler.java:420)
at weblogic/wsee/security/wssp/handlers/PreWssServerPolicyHandler.processRequest(PreWssServerPolicyHandler.java:25)
at weblogic/wsee/security/wssp/handlers/WssHandler.handleRequest(WssHandler.java:112)
at weblogic/wsee/jaxws/framework/jaxrpc/TubeFactory$JAXRPCTube.processRequest(TubeFactory.java:222)
at com/sun/xml/ws/api/pipe/Fiber.__doRun(Fiber.java:866)
at com/sun/xml/ws/api/pipe/Fiber._doRun(Fiber.java:815)
at com/sun/xml/ws/api/pipe/Fiber.doRun(Fiber.java:778)
at com/sun/xml/ws/api/pipe/Fiber.runSync(Fiber.java:680)
^-- Holding lock: com/sun/xml/ws/api/pipe/Fiber@0x83736a70[biased lock]
at com/sun/xml/ws/server/WSEndpointImpl$2.process(WSEndpointImpl.java:403)
at com/sun/xml/ws/transport/http/HttpAdapter$HttpToolkit.handle(HttpAdapter.java:532)
at com/sun/xml/ws/transport/http/HttpAdapter.handle(HttpAdapter.java:253)
at com/sun/xml/ws/transport/http/servlet/ServletAdapter.handle(ServletAdapter.java:140)
at weblogic/wsee/jaxws/WLSServletAdapter.handle(WLSServletAdapter.java:171)
at weblogic/wsee/jaxws/HttpServletAdapter$AuthorizedInvoke.run(HttpServletAdapter.java:708)
at weblogic/security/acl/internal/AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic/security/service/SecurityManager.runAs(SecurityManager.java:146)
at weblogic/wsee/util/ServerSecurityHelper.authenticatedInvoke(ServerSecurityHelper.java:103)
at weblogic/wsee/jaxws/HttpServletAdapter$3.run(HttpServletAdapter.java:311)
at weblogic/wsee/jaxws/HttpServletAdapter.post(HttpServletAdapter.java:336)
at weblogic/wsee/jaxws/VerboseHttpProcessor.post(VerboseHttpProcessor.java:39)
at weblogic/wsee/jaxws/JAXWSServlet.doRequest(JAXWSServlet.java:98)
at weblogic/servlet/http/AbstractAsyncServlet.service(AbstractAsyncServlet.java:99)
at javax/servlet/http/HttpServlet.service(HttpServlet.java:820)
at weblogic/servlet/internal/StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic/servlet/internal/StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic/servlet/internal/ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic/servlet/internal/ServletStubImpl.execute(ServletStubImpl.java:183)
at weblogic/servlet/internal/WebAppServletContext$ServletInvocationAction.wrapRun(Lweblogic/servlet/internal/ServletStubImpl;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)Ljava/lang/Object;(Unknown Source)
at weblogic/servlet/internal/WebAppServletContext$ServletInvocationAction.run()Ljava/lang/Object;(Unknown Source)
at weblogic/security/acl/internal/AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic/security/service/SecurityManager.runAs(SecurityManager.java:120)
at weblogic/servlet/internal/WebAppServletContext.securedExecute(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Z)V(Unknown Source)
at weblogic/servlet/internal/WebAppServletContext.execute(Lweblogic/servlet/internal/ServletRequestImpl;Lweblogic/servlet/internal/ServletResponseImpl;)V(Unknown Source)
at weblogic/servlet/internal/ServletRequestImpl.run()V(Unknown Source)
at weblogic/work/ExecuteThread.execute(ExecuteThread.java:209)
at weblogic/work/ExecuteThread.run(ExecuteThread.java:178)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)I am trying to upload a file using JAX-WS webservice which is deployed on the weblogic 10.3.5 server.Even before the code reaches the Service Endpoint lot of time is being spent at the weblogic layer. for files less than 10MB the performance is good but for files greater than 10 MB it takes around 3 mins to complete the request. I did take thread dumps and I see the thread servicing the requests is taking lot of time when executing SAX2DOMEx.characters it consumes around 80 -85 % of time here. Is there anything that I can do to improve the performance here ?
"[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'" id=37 idx=0x90 tid=16848 prio=5 alive, suspended, native_blocked, daemon
at jrockit/vm/Allocator.allocLargeObjectOrArray(JIZ)Ljava/lang/Object;(Native Method)
at jrockit/vm/Allocator.allocObjectOrArray(Allocator.java:349)[optimized]
at jrockit/vm/StringMaker.toString(StringMaker.java:188)[inlined]
at com/sun/org/apache/xerces/internal/dom/CharacterDataImpl.appendData(CharacterDataImpl.java:191)[optimized]
at com/sun/xml/bind/marshaller/SAX2DOMEx.characters(SAX2DOMEx.java:218)[inlined]
at com/sun/xml/bind/marshaller/SAX2DOMEx.characters(SAX2DOMEx.java:209)[optimized]
at com/sun/xml/ws/message/SAX2DOMWriterEx.writeCharacters( .java:108)
at com/sun/xml/ws/util/xml/XMLStreamReaderToXMLStreamWriter.handleCharacters(XMLStreamReaderToXMLStreamWriter.java:153)
at com/sun/xml/ws/util/xml/XMLStreamReaderToXMLStreamWriter.bridge(XMLStreamReaderToXMLStreamWriter.java:114)
at com/sun/xml/ws/message/stream/StreamMessage.writePayloadTo(StreamMessage.java:313)
at com/sun/xml/ws/message/stream/StreamMessage.writeEnvelope(StreamMessage.java:343)
at com/sun/xml/ws/message/stream/StreamMessage.writeTo(StreamMessage.java:321)
at com/sun/xml/ws/message/AbstractMessageImpl.readAsSOAPMessage(AbstractMessageImpl.java:226)
at com/sun/xml/ws/handler/SOAPMessageContextImpl.getMessage(SOAPMessageContextImpl.java:87)
at weblogic/wsee/jaxws/framework/jaxrpc/SOAPMessageContext.getMessage(SOAPMessageContext.java:252)
at weblogic/wsee/security/wssp/handlers/WssHandler.getSecurityContext(WssHandler.java:318)
at weblogic/wsee/security/wssp/handlers/WssHandler.preValidate(WssHandler.java:420)
at weblogic/wsee/security/wssp/handlers/PreWssServerPolicyHandler.processRequest(PreWssServerPolicyHandler.java:25)
at weblogic/wsee/security/wssp/handlers/WssHandler.handleRequest(WssHandler.java:112)
at weblogic/wsee/jaxws/framework/jaxrpc/TubeFactory$JAXRPCTube.processRequest(TubeFactory.java:222)
at com/sun/xml/ws/api/pipe/Fiber.__doRun(Fiber.java:866)
at com/sun/xml/ws/api/pipe/Fiber._doRun(Fiber.java:815)
at com/sun/xml/ws/api/pipe/Fiber.doRun(Fiber.java:778)
at com/sun/xml/ws/api/pipe/Fiber.runSync(Fiber.java:680)
^-- Holding lock: com/sun/xml/ws/api/pipe/Fiber@0x83736a70[biased lock]
at com/sun/xml/ws/server/WSEndpointImpl$2.process(WSEndpointImpl.java:403)
at com/sun/xml/ws/transport/http/HttpAdapter$HttpToolkit.handle(HttpAdapter.java:532)
at com/sun/xml/ws/transport/http/HttpAdapter.handle(HttpAdapter.java:253)
at com/sun/xml/ws/transport/http/servlet/ServletAdapter.handle(ServletAdapter.java:140)
at weblogic/wsee/jaxws/WLSServletAdapter.handle(WLSServletAdapter.java:171)
at weblogic/wsee/jaxws/HttpServletAdapter$AuthorizedInvoke.run(HttpServletAdapter.java:708)
at weblogic/security/acl/internal/AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic/security/service/SecurityManager.runAs(SecurityManager.java:146)
at weblogic/wsee/util/ServerSecurityHelper.authenticatedInvoke(ServerSecurityHelper.java:103)
at weblogic/wsee/jaxws/HttpServletAdapter$3.run(HttpServletAdapter.java:311)
at weblogic/wsee/jaxws/HttpServletAdapter.post(HttpServletAdapter.java:336)
at weblogic/wsee/jaxws/VerboseHttpProcessor.post(VerboseHttpProcessor.java:39)
at weblogic/wsee/jaxws/JAXWSServlet.doRequest(JAXWSServlet.java:98)
at weblogic/servlet/http/AbstractAsyncServlet.service(AbstractAsyncServlet.java:99)
at javax/servlet/http/HttpServlet.service(HttpServlet.java:820)
at weblogic/servlet/internal/StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic/servlet/internal/StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic/servlet/internal/ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic/servlet/internal/ServletStubImpl.execute(ServletStubImpl.java:183)
at weblogic/servlet/internal/WebAppServletContext$ServletInvocationAction.wrapRun(Lweblogic/servlet/internal/ServletStubImpl;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)Ljava/lang/Object;(Unknown Source)
at weblogic/servlet/internal/WebAppServletContext$ServletInvocationAction.run()Ljava/lang/Object;(Unknown Source)
at weblogic/security/acl/internal/AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic/security/service/SecurityManager.runAs(SecurityManager.java:120)
at weblogic/servlet/internal/WebAppServletContext.securedExecute(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Z)V(Unknown Source)
at weblogic/servlet/internal/WebAppServletContext.execute(Lweblogic/servlet/internal/ServletRequestImpl;Lweblogic/servlet/internal/ServletResponseImpl;)V(Unknown Source)
at weblogic/servlet/internal/ServletRequestImpl.run()V(Unknown Source)
at weblogic/work/ExecuteThread.execute(ExecuteThread.java:209)
at weblogic/work/ExecuteThread.run(ExecuteThread.java:178)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method) -
Regarding Background Job scheduling for file to file scenario
Hi Guru's
Good morining all of u
I have one doubt on ...
can we do background job scheduling for file to file scenario?
Please give me response as early as possible.
thanks and regards
saibackground jobscheduling for file adapter...
you can schedule the file adapter according to your requirement as follows:
In the Communication Channel Monitoring Locate the link Availability Time Planning, In Availability Time Planning, choose the Availability time as daily and say create, give the time details, select the communication channel in your case file adapter , goto the Communication Channels tab and filter and add the respective channel, save it
/people/shabarish.vijayakumar/blog/2006/11/26/adapter-scheduling--hail-sp-19- -
How to setup HTTP client for HTTP to File scenario
Hey guys
i have a scenario wherein one of our clients is sending invoices(as XML message) over HTTP(client is outside our landscape) and i have to to send this invoice to a File system from where it will be picked up by an ABAP code(picking of the file has to be done by ABAper so i m not concerned with that)
the way i m starting off this project is that
i will create a sender and receiver data type,message type and Message interface,Message mapping is 1-1 so its kinda simple and then Interface mapping.
in configuration i wont be creating and sender communication channel and sender Agreement,i need receiver communication channel,receiver determination and interface determination.
does my design and configuration looks good to you guys?
also i waz goin through some threads and it says that i need to setup HTTP client for this scenario and then specify a URL in a specific format.
where will i setup the HTTP client and where will i specify the URL?
thanx
ahmadAhmad,
><i>does my design and configuration looks good to you guys?</i>
Is correct.
><i>where will i setup the HTTP client and where will i specify the URL?</i>
Take a look at this thread and check the HTTP Client code.
Copy the code and save it as a HTML file and you have the HTTP Cliet ready. GIve the details of your server, sender service, interface etc and trigger the call to XI.
In a real time scenario, you will need to use the URL used in the HTTP Client code from your WebApplication to trigger the call to XI.
/message/266750#266750 [original link is broken]
Regards
Bhavesh -
RFC destination for RFC to File scenario
Hi,
I m creating a TCP/IP RFC destination in R/3 system for my RFC to File scenario.
Step 1:
For this a Registered server program is created in Jco RFc Destinations with,
Program Id : pgm1
Gateway host : PI's host
Gateway service : PI's service
application server host: ECC's host
system numer : ECC's number
client : ECC's client
logon user : ECC user
password : pwd
Step 2:
In SM59, TCP/IP connection the following parameters are given:
Program ID : pgm1
Gateway host : PI's host -
> is this correct
Gateway service : PI's service -
> is this correct
Step 3:
So i am calling the RFC in ABAP program (R/3 system) like:
CALL FUNCTION 'Z_HR_OUTBOUND_DATA2'
IN BACKGROUND TASK DESTINATION 'Z_HR_OUTBOUND_DATA2'
Step 4:
In PI side,
for RFC sender I am passing :
Application server : PI server
Application server service: PI host
program ID: pgm1 which was created in the previos step
For RFC Metadata Repository Parameter, i am passing all the values related to R/3
Please let me know whether the steps and values i given is correct.
B'cos even if i give ECC's information in Gateway host and Gateway service the scenario works fine and if i PI's info then also it works fine.
so i am confused as which is the correct method. pls clarifyOk I will try to explain....
Assumptions: R3_TO_XI is the name of RFC which I created in ECC of type T.
While creating the RFC in ECC we mention a unique name which is called Progaram ID. Now the same program id we mention in our sender RFC CC.
So now when an ABAP Progarm (where you will call this RFC with it's destination) is scheduled/triggered with the code as mentioned below then since the DESTINATION ('R3_TO_XI') mentioned here contain the same program id which we have mentioned in our sender CC, invokes the adapter in PI and soon after that all pipeline steps get executed in XI.
CALL FUNCTION 'ZBAPI_COMPANY_GETDETAIL'
IN BACKGROUND TASK
DESTINATION 'R3_TO_XI'
TABLES
comp_detail = company_detail.
COMMIT WORK.
Regards,
Sarvesh -
Alert Configuration for File to IDoc scenario
I have followed Alerts : Step-by-Step /people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions
and configured Alerts for file to IDoc scenario.
But the problem is, I did not notice any alerts being generated. I could notice the IDocs being posted to destination system. So I was going through Alerts-Troubleshoute Guide. In intension to maintain monitoring level, I clicked Configuration tab. But I did not notice my sender and receiver system there to maintain.
Can any body help me to detail out the procedure to add sender and receiver systems to maintain the monitoring level?
Regards,
Suraj Kumarhi Suraj,
WHich SP version are you on??
If you are on Sp14 or above, then unfortunately, Michal's Trouble Shooting for Alerts will not help.
From SP14 onwards, activation of end to end monitoring is not needed for Alerting. Refer to this note <b>870232</b> for this info.
Next, to test if your Alerts have been defined correctly, go to SE38. In the program , type RSALERTTEST and then click on EXECUTE button ( F8 ). In the next window, it will ask you for your ALERTCATEGORY. Just give the name of your ALERT CATEGORY and click EXECUTE.
If you have configured your alerts correctly, you will receive a message that tells ALERT IS GENERATED and will give the ALERT ID.
Now, go to your Run TIme workbench and then select ALERT INBOX and see if you have got the ALERT message in your ALERT INBOX.
If this is working fine, then the last step, implement the note 913858.
Regards,
Bhavesh
Maybe you are looking for
-
Data recovering from formatted bit locker encrypted portion.
unfortunately i formatted a partition which is bit locker encrypted having all my valuable documents and data. luckily i have bit locker recovery key and my decryption password. i use m3 bit locker recovery software to recover my data using my store
-
I recently replaced my old Macbook Pro with a new Macbook Pro Retina. The original MBP had Time Machine set up on an external HD, and I also had some manually saved/backed up files (stuff that didn't need incremental backups; very old stuff) on the d
-
Multi-page document with multi Master-pages
Using InDesign CS6 (Mac): I'm to start a 50-page document that's single-pages (not spreads) for 3-hole-punch book. I'm using 2 Master pages, which are alternating between the front and back of each sheet. So page 1 is master A, page 2 is B, 3-A, 4-B
-
My new 32gb iPhone 5 gets too hot during phone calls. Is this normal?
My new 32gb iPhone 5 gets too hot during phone calls. Is this normal?
-
Checked plugins and RealPlayer(tm) G2 liveconnect-Enabled Plug-In (32-bit) is shown. When doing the plugin check, RealPlayer Version Plugin 6.0.12.775 is shown as 'Unknown plugin'.