File -- Webservice

I would just like to confirm that what I have set up in the IR is correct for a file to webservice scenario where I am expecting a response message
Message Interfaces = 5:
1 For Async Outbound Request
1 For Async Inboune Response
1 For Async Abstract Request
1 For Async Abstract Response
1 For Sync Abstract Containing both Request and Response
I have 4 Message Mappings:
1 For Async Outbound Request --> Async Abstract Request
1 For Async Abstract Response --> Async Inboune Response
1 For Async Abstract Request --> Sync Abstract Containing both Request and Response
1 For Sync Abstract Containing both Request and Response --> Async Abstract Response
I have 3 Interface Mappings
1 For Request to Abstract Request
1 For Abstract Response to Response
1 For Request/Response Synchronous call to Web Service.
Does this look about right?
The abstract Request and Response are for BPM!!!

Hi,
if you are connecting to a web service as receiver and you expect a response, the inbound interface on the web service side should be synchronous.
Only if the response is decoupled from the connect to the web service an asynchronous response (but then it is  async outbound and works for a sender!)
makes sense!
if the connect to the WS waits for a response you need
additionally to the async abstract interface for the BPM container an abstract sync interface to connect to the sync inbound interface to the WS.
sender side
async outb interface
async abstr interface
with an corresponding mapping and an interface mapping
in BPM:
async abstr interface for container of message to WS
and
async abstr interface for container of response from WS
corresponding mapping for changing from outb. message to fitting message connecting the WS
correspoding IF for transformation step to com from outbound message to sync call message to WS
Connect to WS:
sync abstr. interface for BPM as sender to WS
sync inb. interface for WS
corresponding mapping and interface mapping
And async inb. interface with mapping and interf.mapping to move the WS response from BPM to destination if required to be provided with response.
Hope this helps!
Regards
Dirk
Message was edited by:
        Dirk Meinhard

Similar Messages

  • Error in file-webservice- file (Error: java.lang.NullPointerException)

    Hi everybody,
    I have configured a file-webservice-file without BPM scenario...as explained by Bhavesh in the following thread:
    File - RFC - File without a BPM - Possible from SP 19.
    I have  used a soap adapter (for webservice) instead of rfc .My input file sends the date as request message and gets the sales order details from the webservice and then creates a file at my sender side.
    1 communication channel for sender file
    1 for receiver soap
    1 for receiver file
    Error: java.lang.NullPointerException
    What could be the reason for this error
    thanks a lot
    Ramya

    Hi Tanaya,
    I monitored the channels in the Runtime work bench and the error is in the sender ftp channel.The other 2 channel status is "not used" in RWB.
    1 sender ftp channel
    1 receiver soap channel
    1 receiver ftp channel.
    2009-12-16 15:02:00 Information Send binary file  "b.xml" from ftp server "10.58.201.122:/", size 194 bytes with QoS EO
    2009-12-16 15:02:00 Information MP: entering1
    2009-12-16 15:02:00 Information MP: processing local module localejbs/AF_Modules/RequestResponseBean
    2009-12-16 15:02:00 Information RRB: entering RequestResponseBean
    2009-12-16 15:02:00 Information RRB: suspending the transaction
    2009-12-16 15:02:00 Information RRB: passing through ...
    2009-12-16 15:02:00 Information RRB: leaving RequestResponseBean
    2009-12-16 15:02:00 Information MP: processing local module localejbs/CallSapAdapter
    2009-12-16 15:02:00 Information The application tries to send an XI message synchronously using connection File_http://sap.com/xi/XI/System.
    2009-12-16 15:02:00 Information Trying to put the message into the call queue.
    2009-12-16 15:02:00 Information Message successfully put into the queue.
    2009-12-16 15:02:00 Information The message was successfully retrieved from the call queue.
    2009-12-16 15:02:00 Information The message status was set to DLNG.
    2009-12-16 15:02:02 Error The message was successfully transmitted to endpoint com.sap.engine.interfaces.messaging.api.exception.MessagingException: Received HTTP response code 500 : Internal Server Error using connection File_http://sap.com/xi/XI/System.
    2009-12-16 15:02:02 Error The message status was set to FAIL.
    Now, the error is internal server error.What can I do about this?
    thanks a lot
    Ramya

  • Need inputs for FILE-Webservice-File using BPM scenario

    Hello All,
    can any one tell me how to do the file-webservice(soap adapter)-file with out BPM.
    If we cant do with out BPM then, please let me know after importing the WSDL file, how many Message interfaces i need to create what are they.
    Thanks and Regards,
    chinna

    Hi Chinna,
    Check this links for the receiver side SOAP configuration
    http://help.sap.com/saphelp_nw04/helpdata/en/29/5bd93f130f9215e10000000a155106/frameset.htm
    /people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
    /people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2
    Sender side File adapter configuration is as usual
    > please let me know after importing the WSDL file, how many Message interfaces i need to create what are they.
    It is a synchronous scenario so you need to create the two message interfacess for the sender (one is for request message and another is for response message). For receiver you don't need to create any message interfaces, because the WSDL internally having the two messages (request and response).
    Regards
    Ramesh

  • File-webservice-file , error in BPM workflow

    Hi GURUs,
                          I am working on file-webservice-file scenario. I have followed the blog /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit . In my BPM workflow I am getting error right at the receive step it self and not proceeding to next step. Error in workflow log saying, no proper message id for the outbound abstract interface. Main thing here is we dont have any value passing fields in our outbound request message type as well as in the request in the wsdl. In these two emssagess we have only on element hich is not of any type. Is this the reason for the error I am getting. 
    any help ill be appreciated,
    Regards,
    Reyaz

    Means, in the outbond request message type and the request message type in the WSDL .  in these messages we dont have a single field which can carry some value. We have an element which is not of any type like string , number etc..
    Regards,
    Reyaz
    Edited by: Reyaz  Hussain on Feb 27, 2009 3:37 PM

  • Transformations using BPM - File -webservice-merge-File

    Friends,
    I have a requirement something like this.
    1. i get the file through the sender file adapter
    2. one field out of those sent by the sender will be used to make a webservice call to get dateofbirth and name details.
    3. i need to merge these data (from file + webservice response) and send it to the receiver using FTP
    Can you please elaborate as to how we can achieve this?
    Thanks and Regards,
    Pavan

    Use a SOAP lookup;
    /people/bhavesh.kantilal/blog/2006/11/20/webservice-calls-from-a-user-defined-function
    More about the lookup api - https://help.sap.com/javadocs/NW04S/current/pi/index.html

  • Deployed PAR file webservices are not displayed in SOAP admin

    Hi,
    we were facing the problem with customized PAR file deployment and
    associated webservices.We have deployed the the PAR file on two
    different versions of EP as given below.
    EP6.0(WAS620)-SP2(J2EE and Portal versions are identical)
    EP6.0(WAS640)-SP13(J2EE and Portal versions are identical)
    The problem was the webservices has been shown in the case of
    EP6.0(WAS620)-SP2 under SOAP Administration and not shown in case
    of EP6.0(WAS640)-SP13.Is there any specific version made PAR files are
    required for each of above portal versions or any other way to
    check the webservcies in EP6.0(SP13).
         Kindly help us to resolve this issue.

    Hi Swetha ,
    in Bypass scenario if you are fetching a flat file from source to target some time you are not able to view the file in payload .However it does not make any difference as you are simply tunnling the file not doing any transformation with it .
    If it is a flat file in sender CC just make      1 .file type as bin     or   2 . file type as text and  encoding as UTF-8 and then check you can view the file content or not .check with both  bin and text ( one by one ) .might be you will able to view payload in MONI with any one of that setting in sender CC .
    Regards,
    Saurabh

  • Reg File- Webservice Async-Sync bridge

    Hi,
    I have File -WS async-Sync scenario.
    I have configured the RequestResponseBean-CallSAP-ResponseOnewayBean in my sender CC
    When i execute the scenario, the sender channel is throwing Error: java.lang.NullPointerException
    When i check the sender channel log, the SOAP call is executing, then
    MP: processing local module localejbs/AF_Modules/ResponseOnewayBean,
    MP: processing local module localejbs/AF_Modules/ResponseOnewayBean,
    MP: exception caught with cause java.lang.NullPointerException,
    File processing failed with java.lang.NullPointerException.
    Is there any thing specific to be configured while using File adapter.
    Thanks in advance.

    Hi,
       How is the WebService sync-Async implemented are you using any aysnc-sync bridge...
    is that process returning the response back in the correct format.. ?
    Rajesh

  • File - Webservice Scenario

    Is it possible to develop following scenario without BPM.
    XI Picks up File
    XI Invokes Webservice synchronously
    on receiving response XI should parse contents and send to Mail receiver
    How to do this without using BPM ?.
    Thanks

    Hi Ram,
    You can do the following without BPM
    XI Picks up File
    XI Invokes Webservice synchronously
    and send response back to XI.
    but you can't use this to send data to Mail receiver without BPM.
    This is because Mail adapter support only asynchronous call.
    And hence you need to use a Sync-Async bridge.For which you need BPM.
    Bipin

  • File- WebService(SOAP)- RFC

    Hello experts!
    I need to load the "request" of a webservice with information from an XML file. with the "response" call an RFC of R/3.
    as I do that? I need to use BPM?
    Best regards,
    Anderson.

    It will be a simple BPM with below steps:
    Receive (MessageFromFILE) --> SyncSend (Req_and_Resp_to_WebService) --> AsyncSend (MessageToRFC)
    If you want to include Transformation in the BPM then it will be either first ReceiveStep and/ or after SyncSend step.
    Regards,
    Abhishek.

  • FILE- WEBSERVICE- JDBC Sceanrio

    Hi All,
    have file  to webserivce sceanario
    i am using this Webserice to insert the records into the oracle databse.(not using the JDBC recievr adapter because of some size limitations)..so i can only use websrivce for this to insert
    Now the table has five columns field1 field2 field 3  input_xml and output xml
    and webservice will insert the records into field 1 field 2 field 3 and input xml and output xml will be blank
    Now i need invoke the javastored procedure by passing the value from field 1 from the record inserted along with some other parametes
    this perticular java stored procedure will create output_xml  in the output xml column  and will be placed against the same record that was inserted from the webservice.
    finally need to send this output xml back to the file systems.(sender)
    currently i ahve configured the indivisual sceanrios one for webserivce and other for the invoking the stored procedure
    i need to make club into a single sceanrio(FILE->WEBSERICE->INVOKE JAVA STORED PROCEDURE-SEND OUTPUT XML TO SENDER FIEL SYSTEM) where in after the webserivce has inserte the record successfully,need to invoke the java stored procedure and send the output XML back to the sender(file system)
    is this possible w/o using BPM.?
    if i have to use BPM..what will be steps in the integration processa nd the the ID.

    > is this possible w/o using BPM.?
    No, this is not possible without BPM.
    > if i have to use BPM..what will be steps in the integration processa nd the the ID.
    search for related weblogs

  • Working with wsdl files (webservices)

    Hi All,
    Im working with webservices (ie. wsdl files)
    I need to automate the process, where in the Source is Oracle table and end target is wsdl file
    I thought of the approach like : Table to XML then use this XML to populate the wsdl file
    but the Issue here is if I try to generate the XML from Table it doesnt have SOAP envelope enclosed (tried with OdiSqlUnload)
    version : 11.1.1.5
    Pls share your ideas how to achieve this
    Regards,
    M

    HI Himanshu,
    Thanks for your reply, I've been trying the same as I mentioned in me first post itself.
    But I am stuck with the XML load itself... it has got around 15 to 18 elements/tags and 5 extra elements like LoadDate,Message,Source like that which holds default data (standard)
    I followed the link : https://s3.amazonaws.com/Ora/XML_5_db_to_Complex_XML.swf, but still confused as the Interface i failing at those 5 element mappings.
    The package ran fine but the XML doesnt hold data, the individual datastores  has data when checked under the Models.
    Regards,
    M

  • File - Webservice - File

    Hi All,
    I am trying this simple scenario:
      1. read file
      2. pass input towards webservice
      3. write response into file.
    BPM seemed the correct solution for this.
    However, if I try to create the interface mapping, the integration builder start complaining that I am mapping an asynchronous interface towards an synchronous interface and that is not possible.
    Any-one an idea how I should solve this problem.
    Thanks in advance
    Kind regards
    Joris

    you have to deal with abstract interfaces only in the bpm.
    Let's call BSFILE the business system/service reading and writing to file, and IP1 your Integration Process (ccBPM), so in the ID you'll something like:
    BSFILE -> Outbound Aysnch
    going to
    IP1 -> Abstract Asynch (web service request)
    and
    IP1 -> Abstract Asynch (web service response)
    going to
    BSFILE -> Inbound Asynch
    In your IP1, these steps:
    - receive asynch
    - tranformation, mapping file to ws request
    - send synch to ws
    - tranformation, mapping ws response to file
    - send asynch
    That should work!
    Regards,
    Alex
    P.S. In ID, I was missing an important thing:
    IP1 -> Abstract Synch (web service call)
    going to
    WSP -> Synch
    where WSP is your web service provider with the relevant channel
    Message was edited by: Alessandro Guarneri

  • File--Webservice--Idoc

    A File that is being dropped in XI server. XI's file adapter will pick this file and then we have a BPM that will call the webservice, get the values and then post this as an Idoc.
    The above is my requirement.Please anyone help me out.

    Hi,
    Check this weblogs for some problems and their resolutions:
    /people/venugopalarao.immadisetty/blog/2007/01/24/troubleshooting-file-to-idoc-scenario-in-xi
    /people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009
    /people/varadharajan.krishnasamy/blog/2007/01/09/troubleshooting-soap-message--xi
    /people/stefan.grube/blog/2007/03/29/troubleshooting-soap-http-and-mail-adapter-scenarios-with-tcpgateway
    also take a look at this blog
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    Please reward points if it helps
    Thanks
    Vikranth

  • Copy dependecies to war file webservices

    Hey Guys,
    This is regarding generating ear file for webservices.
    I have a Java class A.class which has 2 methods and they will be exposed as webservice methods. A.class has reference to b.class, c.class. When i create a war file through <servicegen><service> tags in build.xml, b.class and c.class and related libraries are not added to the war file. Only class A.class is added. can somebody let me know how i can add the dependency files to the war file which will eventually become part of ear file.
    Thanks
    Kishore

    Hi,
    I too am looking for this I need to add all the dependent classes and external jar files to an ear file but when using servicegen it doesn't add them how can I add all this to my ear file.
    Thanks

  • Error while opening .asmx file - webservices

    Hi all,
    I have published webservices as schema,
    when i open http://localhost/BizTalkWebService/
    it works fine..
    when i click on "webService.asmx" i.e.. http://localhost/BizTalkWebService/WebService1.asmx
    it gives following error, i gaced my biztalk project dll.
    Not sure what to do now, didnot find answers anywhere
    Thanks,
    Sarva.

    Hi,
    Thanks for your responses
    I think there was some problem in schema publishing,
    so i removed the application and published again...it worked...
    Can you tell me how can i test this application?
    Thanks,
    Sarva.

Maybe you are looking for

  • One answer to ipod not being recognised in itunes

    My 20gb ipod recently stopped being recognised in itunes but was still recognised in "My Computer". Having tried alot of the suggested solutions (more than once)nothing seemed to correct this. I resigned myself to being one of the many having a "half

  • IdeaTab A2109A - large file transfer

    Hello, Trying to transfer a large file (4.5GB) to tablet IdeaTab A2109A connected to a laptop, this gets truncated to 1.2GB and transfer stops. Smaller files are copied fine, but seems that larger files have problem. Tablet has no SD card attached, t

  • What happened to the "related web sites" at the top of the browser?

    <blockquote>Locking duplicate thread.<br> Please continue here: [/questions/828767]</blockquote><br> Before I updated to Firefox 4.01 you had a link to other similar web sites located at the top of the browser to the right of the words: (Firefox File

  • Statistics in EP6

    Hi all, How can I create a access statistics with EP6 ? Thanks in advance, David

  • Multi-thread serialization

    In order to bench my database i made an application that just call some procedures (rselect only no update or insert). The application instanciate 15 threads, each with a connection to my database. My problem is that it seems that my calls are serial