Reg. SOAP sender adpter

Hi,
I am using XML spy to test my SOAP to XI scenario.
while testing it is asking for SAP username and password in XML SPY.
I want to make my XI settings such u way that while WSDL message to XI server, it should not ask username and password in XML spy.
one more thing:
in SOAP CC as a sender,
HTTPS with out client authentication and with client authentication.
what is those means?
plz give some inputs these issues.
Thanks
Raja

> I want to make my XI settings such u way that while WSDL message to XI server, it should not ask username and password in XML spy.
Hi,
you cannot avoid the user name password prompt in xml spy when u are posting a soap message to xi.
there are 2 ways of doing this.
define a custom api for soap client where in you hardcode the user name password.
or change the metadata of the sender soap adapter from SAP BASIS software component in IR.
Extract the metadata xml from IR, here you comment the soap adapter authentication details and reload the metadata...
remember this approach is not recomended by SAP
> HTTPS with out client authentication and with client authentication.
> what is those means?
these come into picture when u are using ssl certificates.
hope this helps...
cheers!!
sidharth

Similar Messages

  • WS Addressing elements in a SOAP request sent via SOAP sender adapter

    Hi guys,
    I have a requirement (Proxy->PI->SOAP) for sending a soap request using the WS addressing elements in the request header. As I went through a documentation to SOAP sender adpter there is no option for this. WS-A is supported in the WS adapter, but the target web service does not support WS-RM, so this is not an option.
    Do you have any hint?
    Thanks,
    Peter

    You can create your own SOAP header in mapping or use Axis framework for this.
    Regards
    Stefan

  • How to use SOAP sender adapter

    Hi all
    i have configured the SOAP sender adapter. Now my 3rd party needs to send me a soap message. 
    I have checked that the status at the following URL is OK:
    http://host:port/XISOAPAdapter/MessageServlet?channel=:MXII_Web_Service:SOAP_MXII_Sender.
    This is fine, however
    I am unsure of the following:
    1. Does XI make a wsdl available to the 3rd party?
    2. Where does my 3rd party send the soap message to?
    3. Is the SOAP message sent via a query string?
    4. Do I need to create a web service?
    Thanks for all your help in advance
    Clinton

    Hi Moorthy
    Thanks for your answer.
    The problem was solved, we used .Net to write a webservice to our wsdl.
    I have now another problem.... When the message comes into XI it shows that no receiver found(RCVR_DETERMINATION">NO_RECEIVER_CASE_ASYNC). If I just test the scenario with a file adpter as Sender, and Receiver it is fine, but when using the SOAP adapter as Sender, it gives me the no receiver found message.
    Any help with this issue will be appreciated.
    Thanks again
    Clinton

  • Compress SOAP sender messages

    Hello experts,
    I have a SOAP sender in place receiving 5MB messages from an external partner.
    As the charge model with this partner is per mb transfered I am looking for a way to reduce these messages.
    Does anyone know if there is a way to ask my partner to compress the messages? And at the same time XI needs to be able to read compressed that and follow the processing.
    Thanks in advance,
    Diego.

    Hi Diego -
    Does SOAPUI send the message in compressed format ? You can do a trace using TCPGW. Check the blog -
    /people/stefan.grube/blog/2007/03/29/troubleshooting-soap-http-and-mail-adapter-scenarios-with-tcpgateway
    Add the following parameter as well to the XISOAPAdapterBean in the Module Configuration tab of the SOAP adpter channel -
    XMBWS.AcceptEncoding compress, gzip
    Refer to the document -
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/40611dd6-e66e-2910-f383-e80fb44f9cd4
    Regards,
    TK
    Edited by: Sameej T.K. on Oct 18, 2010 8:17 PM

  • Use of variable header XHeaderName1 in SOAP sender adapter

    Hi all,
    I have a doubt regarding the use of adapter-specific attributes in SOAP sender adapter. In specific:
    the SOAP client should be able to pass a variable with the SOAP request (XHeaderName1 header variable) and this should be available in mapping (Dynamic configuration)
    I've already checked the [help page|http://help.sap.com/saphelp_nw04/helpdata/en/fc/5ad93f130f9215e10000000a155106/frameset.htm] but it seems I'm doing something wrong.
    I tried with those settings in SOAP adapter configuration:
    Keep headers checked
    XHeaderName1 = Test
    I try to call the SOAP adapters in the following 2 ways, but none works (the value is not available in message mapping with Dynamic configuration)
    1. Pass "Test" value xxxx in SOAP Header as a tag
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
         <SOAP-ENV:Header>
              *<Test>xxxx</Test>*
         </SOAP-ENV:Header>
         <SOAP-ENV:Body>
         </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    2. Pass "Test" value xxxx in SOAP URL
    http://host:50000/XISOAPAdapter/MessageServlet?channel=p:s:c&version=3.0&Sender.Service=...&Interface=...&Test=xxxx
    Could anyone give me a hint about how to pass those values in the SOAP call and eventually the correct config. of SOAP sender ?
    Thanks a lot,
    Manuel

    Hi Manuel,
    Could you give a bit more detail on how you handled the SOAP message yourself.
    I have a similar issue. I am consuming a non SAP Web Service which requires a non-standard token element to be passed back. I have created a an RFC sender to SOAP reciever scenario which works fine for the inital logon and returns the token it expects in the follow up messages.
    At present I'm at a loss so your help would be much appreciated. We have got round the immediate issue by creating and sending the SOAP message directly from SAP WAS.
    Could we use the XI Adapter and ABAP proxy in a similar way?
    Thanks,
    Tim J.

  • Error while posting messages to SOAP sender adapter SP 13

    Hi Friends,
                    I have configured a SOAP sender adapter in XI 3.0 and is using the URL
    http://host:port/XISOAPAdapter/MessageServlet?channel=:BS_WEBSERVICE:CC_WEBSERVICE_SOAP to post the messages. When I open the URL in the browser I am getting the error.
    Message Servlet is in Status ERROR
    Status information:
    Servlet com.sap.aii.af.mp.soap.web.MessageServlet (Version $Id: //tc/aii/30_VAL_REL/src/_adapters/_soap/java/com/sap/aii/af/mp/soap/web/MessageServlet.java#5 $) bound to /MessageServlet
    Classname ModuleProcessor: null
    Lookupname for localModuleProcessorLookupName: localejbs/ModuleProcessorBean
    Lookupname for remoteModuleProcessorLookupName: null
    ModuleProcessorClass not instantiated
    ModuleProcessorLocal not instantiated
    ModuleProcessorRemote not instantiated
    But when I test the URL http://host:port/XISOAPAdapter/HelperServlet?action=FindChannel&channel=:BS_WEBSERVICE:CC_WEBSERVICE_SOAP to check the communication channel I am getting the right response as below.
    <?xml version="1.0" ?>
    <http://host:port/XISOAPAdapter/HelperServlet?action=FindChannel&channel=:BS_EBTR_WEBSERVICE:CC_EBTR_WEBSERVICE_SOAP> <s:ChannelInfo xmlns:s="http://sap.com/xi/WebService/xi30">
      <channelID>e7ac884596ea3d088cbfd8b434f942f2</channelID>
      <name>CC_WEBSERVICE_SOAP</name>
      <type xmlns:st="http://sap.com/xi/XI/System">st:SOAP</type>
      <direction>INBOUND</direction>
      <party />
      <service>BS_WEBSERVICE</service>
      </s:ChannelInfo
    I used the http capture to debug, In the 1st case though I am getting "Message Servlet in status error" I am seeing a 200 OK code in the http capture tool. When the message is posted from .net client proxy we are getting a 500 internal server error.
    Am not sure what causes the error ? I saw two notes in SDN related to SOAP - J2EE SP13. We are in SP13. Is this the issue ? Wanted to know your opinion before applying the notes.
    Thanks & Regards,
    Mathew

    ABAP & Java stack was on different SP levels.

  • Variable Transport Binding - Soap Sender

    Hello all,
    I'm trying to retrieve a parameter from the HTTP header of a SOAP request.
    I have created a SOAP sender communication channel, checked "Set Adapter-Specific Message Attributes" and "Variable Transport Binding", and entered the name of the parameter in Variable Header (XHeaderName1).
    When I send the SOAP request, DynamicConfiguration exists with all standard parameters, but there is no XHeaderName1...
    If I try the same with sender HTTP adapter, it works fine.
    In the other way, if the dynamic configuration parameter XHeaderName1 already exists, and I try to add it in a HTTP header parameter in a receiver SOAP CC, that works.
    Does somebody know why this doesn't work in the sender one?
    Thanks,
    Greg
    PS: I'm using PI7.0 SP14

    Hello,
    I can see in dynamic configuration, with the namespace http://sap.com/xi/XI/System/SOAP, the standard HTTP parameters like SServerHost, SRemoteUser, etc...
    But if I add a HTTP header parameter in the SOAP request, and I try to retrieve it with the SOAP sender CC, the parameter is not added in the dynamic configuration. If the name of the added HTTP header parameter is "TestParam", I put "TestParam" in the XHeaderName1 field of the sender CC, but the value is not added in the dynamic configuration. This is my problem.
    Thanks,
    Greg

  • Variable Transport binding - SOAP Sender Adapter

    Hi All
    have a scenarion where Sender System is sending Custom SOAP Header as below into P through SOAP Sender ChannelI.
    And the requirement is to access the values coming in Header fields, example within Message Mapping need to Map Headername1 value to Outgoing structure.
    <soapenv:Header>
         <Header1>S1</Header1>
         <Header2>S2</Header2>
         <Header3>S3</Header3>
    </soapenv:Header>
       <soapenv:Body>
         u2026..
       </soapenv:Body>
    Have checked the Paramter KEEP Headers in SOAP Adapter and in Adapter Specific Message Attributes have defined the following
    Variable Header (XHeaderName1) = Header1
    Variable Header (XHeaderName2) = Header2
    Variable Header (XHeaderName1) = Header3
    Now need to know what should be mentioned in the UDF in the Message Mapping for accessing Dynamic Configuration. Will these headers mentioned will be a part of Dynamic Configuration or not ?
    Using the below UDF and its failing in Message Mapping - kindly suggest the corect way of achieving the same
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key1 = DynamicConfigurationKey.create( "http://sap.com/xi/XI/System/SOAP", "XHeaderName1");
    String value = conf.get(key1);
    return  value  ;
    Appreciate response in this regard
    //Swetank

    Hi Abhishek
    Its failing at runtime at Message Mapping stage. The real problem is that I can't see the Header1 in my Dynamic Configuration header - it has all the other fields like SServerHost, SRemoteUser, but not my Header1 (S1) field. Thus either the UDF is wrong or any configuration in SOAP Sender Channel needs to be adjusted.
    Further I am not sure whether Custom SOAP Header fields can be a part of Dynamic Configuration or they only show fields which are part of HTTP header.
    //Swetank

  • 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

  • Default namespace in the SOAP sender adapter

    Hi All!
    Sorry for the following really easy question but what is the default interface name and default namespace in the SOAP sender Adapater? The name of the interface to where the adapter should forward the received SAOP message?
    it means that for every soap message a new communication channel should be created. Or only one channel is enough?
    And in the receiving case only one is enough or for every web services a new receiving communication channel need to be created?
    Thank you for your answer.

    Hi,
    q) what is the default interface name and default namespace in the SOAP sender Adapater?
    Ans) Soap Sender does not have any default namespace and interface.  That can be set at Sender Agreement. 
    q) The name of the interface to where the adapter should forward the received SAOP message?
    Ans : That message is forwarded to Adapter Engine and then to integration Engine. That takes interface in sender agrement and Namespace.
    it means that for every soap message a new communication channel should be created. Or only one channel is enough?
    Ans:  For sender, 1 communication channel is enough. For Receiver, if you have 10 different systeems, then  you need to create those many receiver communication channels .
    And in the receiving case only one is enough or for every web services a new receiving communication channel need to be created?
    Ans : Same as above
    Note  Soap message is not criteria for creating channels....  Please note that .. soap communication channels creates soap messagae.
    -Subbu

  • SAP PI 7.1 SOAP sender 500 internal server error

    Hello!
    We would like to receive messages from our business partner. As the partner sends EDIFACT we have to use the conversion from EDIFACT-text to EDIFACT-xml. That's why we have to use SOAP instead of plain HTTP.
    As the partner already sent messages over X.400 we just added a SOAP communication channel and used this channel in the sender agreement instead of the X.400 communication channel.
    We sent the following link to the customer:
    http://<server>:<j2ee port>/XISOAPAdapter/MessageServlet?channel=<party>:<service>:<SOAP sender communication channel>
    One question: is the <service> the communication component used for the partner?
    At the moment the partner receives a 500 error message. Due to our network partner the message reaches the PI system.
    Due to the information I found that also a message parsing error can cause a 500 error message I would like to add the processing sequence:
    Does anyone have an idea how to solve this problem?
    Thanks a lot!
    Regards
    Christian

    Hi Christian
    You can refer to the following SAP Library link on how to configure the SOAP sender.
    Configuring the Sender SOAP Adapter - Configuring the SOAP Adapter in the Integration Directory/PCK - SAP Library
    For the URL, the <service> is the Communication Component that the SOAP channel belongs to.
    Using the example below, the value would be P_B2B_:BC_:CC_S_SOAP_
    Actually SAP recommends a new alternative for the URL. If you scroll right to the end of the library link above.
    You have configured the sender SOAP adapter. You can trigger a call to the sender SOAP adapter using either of the following URLs. However, SAP recommends you to use the second option.
    http://hostname:portname/XISOAPAdapter/MessageServlet?channel=partyname:service name:channelnameIf you have not created a party, enter channel=servicename:channelname.
    http://hostname:port name/XISOAPAdapter/MessageServlet?senderParty=name of the sender party<&senderService>=name of the sender service<&interface>=name of the interface<&receiverParty>=name of the receiver party<&receiverService>=name of the receiver service<&interfaceNamespace>=name of the interface namespace
    You can get this by generating the WSDL from the Sender Agreement object (Sender Agreement -> Display WSDL). The generated URL will be at the last section of the WSDL.
    Also, please note that modules cannot be added to the SOAP sender adapter, also mentioned in the link.
    You cannot add your own modules to this adapter.
    An alternative would be to receive the EDIFACT Flat file as it is, and write it to at temporary File/FTP location. Then have a second channel pick it up, you can configure the second channel with module to convert it to EDIFACT XML.
    Lastly, regarding the issue about the partner getting HTTP 500 error. Please check if you are able to see any error logs in the communication channel. It might give you some pointers as to what might be wrong - invalid sender agreement, etc, etc.
    Rgds
    Eng Swee

  • SOAP sender adapter and XI adapter reusablity

    Hi,
    We are having good amount of interfaces using SOAP sender and XI Adapters (WS to Proxy scenarios).
    My question is :
    we can make reuse of Sender SOAP and Rcvr XI adapters in all scenarios.
    If we reuse these adapters in all our interfaces what are the limitations and any problems we may face in future?
    Replies will be highly helpful.
    Thanks
    Kishore
    Edited by: kishore kumar on Jan 21, 2010 7:23 PM

    SOAP sender depends on the Sender Message Interface and Namespace (in versions lower than SAP PI7.1) so if your scenarios satisfy these parameters then you can (rather should) re-use the channels.
    Similarly for the PROXY receiver channel....if the proxy is being hosted on one particular receiver SAP ECC system then the details in all the channels that you create will be the same and wont be recommended....hence even this can be re-used.
    There is no issue in re-using the channels....just that you should closely monitor these channels to ensure that they do not stop/ fail causing all the involved interfaces to stuck.
    Regards,
    Abhishek.

  • 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...

  • Problem: Original Attachment Name from SOAP Sender changes to attachment-1

    Hi everybody,
    we have a scenario where a SOAP sender receives a xml message describing several documents. Each document has a mime type and a file name, size, md5 checksums etc as attributes.
    The documents are send as attachments with the same Web service in SWA(SOAP with attachment style).
    The web service calls an ABAP proxy provider class in a R/3 backend.
    The ABAP proxy class will save the attached documents for further processing and must use the original document names.
    At the soap communication channel monitoring(Java Stack) we still see the original attachment names in the message content tab.
    At the Integration Server(sxmb_moni) the attachment name changes to attachment-1, attachment-2 and so on.
    Using the method
    IF_AI_ATTACHMENT ->GET_DOCUMENT_NAME
      in the provider ABAP proxy class returns the name attachment-1.
    We can see that there is a mapping of the new attachment-1 name to the old, original name in the manifest section of this message on the Integration server.
    Is there a way to access the manifest section at a provider ABAP proxy class?  Or otherwise a PI configuration setting to preserve the original attachment names.
    Thanks a lot,
    Heiko
    => PI 7.1 SP9

    Hi Stefan,
    (I was hoping you would find that thread ...)
    I see a good reason why the attachment names are changed as the PI message protocol sends the main document as an attachment as well. So no problem with that because the information of the mapping old to new names still exists in the manifest part and is visible at the sxmb_moni.
    We see a manifest part like this (Sorry cant post the whole xml doc as the formatting for longer messages isn't working in the forum)
    <SAP:Payload xlink:href="cid:4cc43edd-839f-423f-b7c6-7e44294d663a_sig.p7m">
      <SAP:Name>attachment-1</SAP:Name>
      <SAP:Description>attachment</SAP:Description>
      <SAP:Type>ApplicationAttachment</SAP:Type>
    </SAP:Payload>
    The (red) cid entry is the original file name. This manifest is from the sxmb_moni in the r/3 backend. So all the information is there..  The question is how to retrieve this information .. Any idea?
    Best Regards,
    Heiko Bergmann

  • Help Need on SOAP (Sender) to RFC Scenario(Synchronous Communication)

    Hi All
    I have a requirement of <b>SOAP(Sender) to RFC</b> scenario(Syncronous Communication).  The scenaio goes like this........
    I have a web service through which I have to create a SAP Notification in SAP system and the Notification ID created and other details have to be returned back to the webservice from the BAPI.  I have identified the relevant BAPI for the scenario.
    I have a wsdl file which I have uploaded it.  What are the next steps to be done?
    Please let me know what all(e.g., Data types, Message Types, Message Interface)  I have to create in Integration Repository and what all configurations I have to make in Integraion Directory.
    FYI, I have a gone through a list of Blogs, but didn't get enough info.
    Please help me out in providing your valuable answers.
    Thanks,
    Vijay
    P.S. Rewards points are sure .....

    Hi Vijay,
       If at all you have uploded wsdl file for the webservice you no need to create data types for the same even for the same as RFC also.
         Create message mapping and drag the wsdl file which you have imported as External Definiations and there you will be having request and response parameters..Do the mapping accordingly(according to your requirement).
    Mapping like:
        Wsdl(Request)---->RFC (Input parametrs)
        RFC (out parameters)------>wsdl(Response)
    Create message interface with Synchronous for outbound
        No need of DT,MT if at all if you import the wsdl file.
       Hope i am clear.
      Please let me know if you have any queries..!
      Thanks and Regards,
      Chandu.
    null
    null

Maybe you are looking for

  • ITunes Video Sorting Issue

    I recently purchased a MacBook Pro and am in the process of moving all of my music and videos from my PC to an external hard drive that I purchased. When I import some of the video into iTunes they are completely out of order. The videos in question

  • Why can't iphone 4s find location or restaurants in ireland ???and

    i can't understand why can't siri find places and restaurants in ireland  ?? whenever i ask her its just replying i can't find places in ireland ..... wats the point having a iphone 4s when it cant find places or anything . can anyone please tell me

  • OSB JMS Proxy

    Hi , can i use a Proxy service with out a Business service to write a messge onto a queue.I jus tried a sample on my local and i am able to write a message on to a queue using a proxy service . Flow :- PS1(http) using publish action invokes -> PS2 (j

  • HT4807 anyone ever get this message? "The application Logic Pro can't be opened - 1712"

    anyone ever get this message? "The application Logic Pro can't be opened - 1712"

  • Audio Sync Issues

    I've found other posts addressing this, but none of them solved my problem...I've got a whole slew of clips logged, which I logged on the camera they were shot on. I'm now attempting to capture these clips via firewire using an old camcorder(to prese