Adapter module in SOAP sender Channel

Hi,
I need to call an adaptermodule to URLdecoding incoming SOAP messages.
The adaptermodule i have developed to do the URLdecode works for other adapters but not for the SOAP sender adapter
Saphelp says it is not possible to use adaptermodules on the SOAP sender adapter.
[SOAP Adapter and plain HTTP |SOAP Adapter and plain HTTP ]
But this above thread indicates that it can be done anyway.
Have any of you succeded in using an adaptermodule for the SOAP sender adapter ? And what do i need to do ?
Best Regards
      Jens

Thank you. I hadø'nt looked at the axis SOAP.
The sending system (MAPICS) can only sends http-post's with URLencoded xml to XI.
I recieve the http post in the SOAP adapter (with &nosap=true) and i ment to decode the message in an adapter module.
Can you help me with how to set up an Axis SOAP sender ? Do i need to choose Servlet axis or Task Axis when i create my Axis SOAP sender ?
Best regards
   Jens

Similar Messages

  • Adapter Module during Soap sender channel

    In Onlin Help you find the order of the modules in Axis adapter:
    http://help.sap.com/saphelp_nwpi711/helpdata/en/45/a4a36de28552f7e10000000a1553f7/frameset.htm
    So you have to put your module between AFAdapterBean and CallSapAdapter
    If you work with PI 7.10 or PI 7.11 you should apply the latest patch to make sure, that the SOAP/Axis adapter has no known issues.
    Check the Channel Monitor for issues in the Axis adapter.
    Regards
    Stefan

    Hi Stefan, hi Volker,
    thanks for your help.
    I´m using PI 7.1 with Enhancement Package 1
    could you tell me where to check the patch level for adapter framework?
    In SLD I found following infortmation XI Adapter Framewoke 7.11 Installed SP/PL 1/9 newest SP in CR-Content 1
    I removed my module from the channel, but the channel fails anyway with the same error message.
    Which URL is wright one the
    standard => http://host:port/XISOAPAdapter/MessageServlet?channel=party:service:channel
    or the axis => http://host:port/XIAxisAdapter/MessageServlet?senderService=myservice&interface=myinterface&interfaceNamespace=mynamespace (are these parameters correct)
    as I said above, if I use the standard I see the error in the cc, if I use the axis URL I see nothing
    The wright place for my module should be after AF_Adapters/axis/AFAdapterBean ModuleKey afreq and before CallSapAdapter ModuleKey sap, wright???
    Kind regards
    Jochen

  • Adapter Module in SOAP Sender Adapter

    Hi All,
    To Confirm, Is it possible to use Custom Adapter Modules in SOAP Sender Adapter. If so, where exactly custom module has to be placed in communication channel with respect to the standard bean of SOAP Adapter.
    Thanks in advance.
    Regards,
    Sudharshan N A

    Hi,
    The sender adapter cannot be extended Check this
    http://help.sap.com/saphelp_nwpi711/helpdata/en/43/951aceb1146353e10000000a11466f/frameset.htm
    http://help.sap.com/saphelp_nwpi711/helpdata/en/cd/5af7c0c994e24fb0d0088443513de2/frameset.htm
    Regards
    Suraj

  • Adapter Module for SOAP Sender

    Hi,
    Any alternative way to create adapter module for soap sender?
    Regards,
    Farooq

    But I just trying to know weather it will work for simple soap or not.
    Unfortunately it wont work for the normal SOAP protocol.
    Let me try my luck.
    If you are successful, then I would waiting for a blog
    Regards,
    Abhishek.

  • Defalt VI Parameters in SOAP Sender Channel Config

    Hi all,
    I have configured soap sender channel with Default XI Parameters as * for both Interface name space and Interface name.
    SOAP adapter sends the message with * as the interface namespace and interface and fails with the error "No receiver could be determined".
    Why is SOAP adapter is using the default XI parameters from the channel instead of the parameters passed with the SOAP message.
    I could make this work specifying the Default XI parameters with correct name space and interface, but my problem is I have 2 different interfaces from the same service and cannel, I don't want to create a separate channel for each of the interfaces.
    Please help.

    Hi Pratat,
    you have to set the
    Use Query String to true and the adapter will take the service/interface data from the query string instead of the Default XI Parameters
    Regards,
    Nicolá

  • Connection problem in SOAP Sender Channel

    Dear All,
    I have created two SOAP Sender channel with the following specification:
    Transport Protocol - HTTP
    Message Protocol - SOAP 1.1
    HTTP Security Level - HTTP
    But while sending a message from a Java client, I am getting the following error :
    The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'Basic realm="XISOAPApps"'.
    Please suggest if you find any way out.
    Thanks and Regards,
    Rana Brata De

    Hi Rana
    Looks like you have used authentication scheme as 'anonymous'. But you have chosen the option 'HTTP' in soap adapter.
    So you have to pass the user id and password during the call.
    Sample Code:
    ICalcCTCWebService calcCTCWebService = calcCTCWebServiceImplServiceLocator.getCalcCTCWebServiceImplPort();
    Stub stub = (Stub)calcCTCWebService;
    stub._setProperty(Stub.USERNAME_PROPERTY, "abc");
    stub._setProperty(Stub.PASSWORD_PROPERTY, "xyz");
    You can also test the WSDL from SOAP UI and provide user name and password in the header section in SOAP UI and see if the message goes to PI or not.
    You can also try the below option in the sender soap adapter and see if it works or not.

  • Need Help in Creating adapter module for SFTP Sender in NWDS

    Hi experts,
    I have a scenario where i should write an adapter module for SFTP sender in NWDS.. need your help in achieving this..

    Hello,
    >>i have followed the procedure of FTP but, adapter is not picking the file
    Make sure u have written proper expression to pick file.
    >>do we have any different adapter parameters for SFTP... the input file is .csv..
    I don't think there are any specific parameters needed for SFTP (but in case u are reading file name in AM then u might have to adjust SFTP namespace)
    Thanks
    Amit Srivastava

  • Specifying queue name in SOAP sender channel

    Hi
      We are on XI 3.0 SP18 - I have a requirement in which a soap webservice exposed out of the XI box - is to be called in an asynchronous mode - the webservice posts - document onto R/3 using an ABAP server proxy.
    Now, there is also a need to post documents onto R3 - by serializing through an object key - material number ( say updates to a material ). I saw that there is a queue name in the soap sender channel setting when I choose eoio - qos . Is this queue name static ?
    Also, any suggestions on how I can serialize the calls to the webservice based on an object key ( material number is supplied by the soap client ) all the way to R3 ( I am using a ABAP server proxy on the R3 side )

    Ravi
           I am looking for way to specify a non-static queue name here - so that I could establish a queue based on an object key from the source - web service client all the way to R3 - I wanted to know the options available on specifying the queue name in the communication channel -
    Thanks...

  • HTTP Error 501 with SOAP Sender channel

    Hello,
    i've am simple Question:
    I want to call the following SAP XI SOAP Sender channel "MySoapSenderChannel":
    XI-Parameters:
    namespace: <myInterfaceNamespace>
    Interface:   <myAsynchInterface>
    QoS: Exactly Once in Order
    Queue: MY_QUEUE
    We do not care about the Response - so the processing is asynchron.
    Thus my interface mapping maps to asynch interfaces. The desitnation
    is an ABAP Proxy. The configuration has been done and tested.
    Here my question:
    according the documentation, the URL has the following syntax:
    http://host:port/XISOAPAdapter/MessageServlet?channel=party:service:channel.
    In our case:
    http://<myHost>:8002/XISOAPAdapter/MessageServlet?channel=:MyService:MySoapSenderChannel.
    But when i generate a WSDL for the interface out of the Configuration, the address is:
    <soap:address location="http://<myHost>:8002/sap/xi/engine?type=entry&amp;version=3.0&amp;Sender.Service=MyService&amp;Interface=...
    and so forth.
    But was is the difference between these 2 possibilities?
    Why do i get HTTP Error 501 when i use the URL from the documentation (the first one)?
    Thanx in advance
    Gunnar

    Gunnar,
    I will suggest you to go through it once to check all your connection.
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    Regards,
    Sarvesh

  • Soap Sender Channel Config

    While configurting Soap Sender channel, what should we use for "Deafult XI Parameters" section values for
    'Default Interface Namespace' and 'Default Interface Name' ?
    Thanks

    HI,
    Input Message Interface name and Namespace of the interface created (NameSpace of the object)
    Just to cross check-
    http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/5ad93f130f9215e10000000a155106/content.htm
    blog e.g-
    /people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
    Regards,
    Moorthy

  • How to re-use one SOAP Sender Channel for two different messages?

    Hi!
    I have an XI Proxy to SOAP Sync Scenario. 5 messages uses only 2 channels - cc_XI_Sender and cc_SOAP_Receiver. All messages comes from one Sender Channel and goes to one Receiver channel, and it works fine.
    When I make the same for SOAP to XI Proxy Sync Scenario, I've got a problem. For example I have 2 different messages (mi_so_MSG_ONE and mi_so_MSG_TWO), so it works, if I had a two different sender channels (cc_SOAP_R1 and cc_SOAP_R2).
    If I set the same Sender Channel in both Sender Agreements (cc_SOAP_R1), only one message (mi_so_MSG_ONE) goes without errors. When I send a second message (mi_so_MSG_TWO), in SXMB_MONI this message comes from Business System (BS_TEST) as message type one (mi_so_MSG_ONE), and then in stage of transformation in Interface Determination goes to message mapping program for other kind of messages (MM_MSG_ONE_to_XI_PROXY). And then - error in message mapping.
    I try many URLs for both messages:
    1) http://host:port/XISOAPAdapter/MessageServlet?channel=:BS_TEST:cc_SOAP_R1&version=3.0&Sender.Service=&Interface=
    2) http://host:port/XISOAPAdapter/MessageServlet?channel=:BS_TEST:cc_SOAP_R1&version=3.0&Sender.Service=BS_TEST&Interface=*
    3) http://host:port/XISOAPAdapter/MessageServlet?channel=:BS_TEST:cc_SOAP_R1&version=3.0&Sender.Service=BS_TEST&Interface=...MyNameSpace...mi_so_MSG_TWO
    Message in payload:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    <!--  Inbound Message   -->
    <MSG_TWO xmlns="urn:xxx:yyy:MyNameSpace" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">... some fields... </MSG_TWO>
    But in SOAP Header I see that is NOT second message!
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    < !--  Inbound Message   -->
    <SAP:Main>
      <SAP:MessageClass>ApplicationMessage</SAP:MessageClass>
      <SAP:ProcessingMode>synchronous</SAP:ProcessingMode>
      <SAP:MessageId>93233F70-3E2F-11DF-8CD3-00237D301CD6</SAP:MessageId>
      <SAP:TimeSent>2010-04-02T08:13:09Z</SAP:TimeSent>
      <SAP:Sender>
        <SAP:Service>BS_TEST</SAP:Service>
        <SAP:Interface namespace="urn:xxx:yyy:MyNameSpace">mi_so_MSG_ONE</SAP:Interface>
      </SAP:Sender>
      <SAP:Interface namespace="urn:xxx:yyy:MyNameSpace">mi_so_MSG_ONE</SAP:Interface>
      </SAP:Main>
    Is it correct that many kinds of messages cannot goes through one Sender Channel ? If not... How can I reuse one SOAP Sender Channel for both this messages?
    Thanks for helping.

    Thanks for answers!
    It means a webservice application will be deployed and exposed in PI using the associated Message Interface and its namespace information in the SOAP Sender channel.
    It means only one Sender Channel per one pair of names (name of Message Interface and name of namespace). And it will fail if I change something. And question is: why URL for sending SOAP message contains parameter "Interface"?
    "backward compatibility" or "for future use only"?
    Nothing happens when I change this parameter, seems that name of Interface comes from first of founded Sender Agreements.
    If the structures are the same
    No. Structures are different.
    Making one structure per all SOAP incoming messages looks workable, but... looks strange (in fact I have a lot of SOAP messages, more than 100 Sender channels).
    I found an information, that I can use one Sender channel per many messages with different structures only if I make this messages like different Operations in one Service Interface (in PI 7.1).
    But in this case in list of messages in SXMB_MONI I will see only a one name of Service Interface for all my messages and it's not so comfortably for supporting: to take a name of operation that fails I need to goes inside.
    In older version of XI (prior 7.1) using one sender channel per many messages allowed without any hints.

  • Can Soap sender channel be directed to Soap reciever channel

    Hi
    I have a three layer architecture on the target side. First layer is Web AS, Second layer is Web AS asd third is PI server.
    Now i am recieving Soap messages from a source PI. Its a SSL communication. I have to terminate SSL on the first Web AS and pass on the same soap message to third layer that is PI server.
    Do i  have to configure a Soap sender channel on Web AS to terminate SSL?
    If i do configure Soap sender channel on Web AS , how do i send the same soap message to third layer that is PI server. I dont want to write the incoming file at any location and then pick it up and send it through SOAP reciever channel. Is there a way to direct the same SOAP message from SOAP sender channel to SOAP reciver channel.

    >>pass on the same soap message to third layer that is PI server.
    If you simply want to pass on the same messages,why not use configure multiple receiver/interface for it.
    Thanx
    Aamir

  • Use Moduls with SOAP Sender Adapter

    Hi Experts,
    I have a question regarding the use of modules in the soap sender adapter / communication channel. Is it correct that the use of modules in the soap sender adapter is not possible?
    the background of my question is that we use modules from SEEBURGER in our Communication channels for archiving incoming and outgoing documents. the use of modules in the soap receiver adapter is possible. why not in the soap sender???
    according to the sap help it is possible to use the axis framwork in the soap adapter. then it should be possible to use modules. Is that correct? I tested it but it is not working. If I send a soap message (with the soap reveicer adapter) to the axis soap sender adapter there occure internal server errors. it is only working if I write my own modules for the axis soap sender adapter? is it not possible to use external modules like in other channels (File/FTP, soap receiver etc.)???
    thanks and best regards!
    Christopher

    we have moduls from SEEBURGER. so I have to test it. but before I need a scenario with which I can test it.
    We have a customer who sends xml-files per soap to us. these files we receive succussfully with the soap sender adapter. now we want to use some modules. so we have to use the axis soap sender adapter. I tried to send an xml file with the soap receiver adapter to the axis soap sender adapter, but this was not working. http 500 internal server errors occurred. is it possible that this scenario (soap-to-axis-soap) is not working? need I a specific configuration for this?
    thanks and regards
    Christopher

  • PI Soap receiver channel calling a Soap Sender channel

    Hi,
    I had  scenario where One pi711 interface need to be called by another interface in PI711.
    whole designed is like.
    file ->  PI1 ->Soap  ->  Soap ->PI2 ->  file.
    P1 and P2 are two different interfaces in one PI711 box.
    could  Soap receiver communication channel  can call a Soap sender communcation channel  of another interface.
    does HTTP or Soap (XI3.0 protocal) is helpful......
    regards,
    Swat

    Hi,
    I am receiving an error as :-
    400 Bad HTTP request
    Error: -21
    Version: 7011
    Component: HTTP_PLG
    Date/Time: Mon May 24 06:58:32 2010 
    Module: http_plg_mt.c
    Line: 5417
    Server: xxx_XD2_02
    Error Tag:
    Detail: illegal request version
    This details error log is taken using TCPgw application downloaded from service marketplace, since in CC monitering error details was too short to investigate..
    refered :
    /people/stefan.grube/blog/2007/03/29/troubleshooting-soap-http-and-mail-adapter-scenarios-with-tcpgateway
    the url which i used in P1 receiver Soap channel  to connect to soap sender cc is  :-
    http://xxx:51000/XISOAPAdapter/MessageServlet?senderParty=&senderService=BCSender2&interface=OutS_SI&receiverParty=&receiverService=BC_Receiver2&interfaceNamespace=http://icc/Test1
    Regards,
    Swati

  • Retrieving the file name in the adapter module in the sender file adapter

    hi,
    i need to retrieve the file name, in the adapter module. This module is placed in the sender file channel.
    After the file adapter has picked up the file from the file directory, the file is placed in the archived directory.Custom adapter mofule is place in the file shanel. i need to retrieve the file name of the file in the adapter module. Is it possible to retrieve the file name?
    Also is it possible to retrieve the archive directory path in module?
    Regards,
    Meenkashi

    Hi Meenakshi,
    I guess you are looking for this
    /people/daniel.graversen/blog/2006/10/05/dynamic-configuration-in-adapter-modules
    Regards
    Suraj

Maybe you are looking for