Sender SOAP Axis adapter

Hello Experts,
my scenario is to pick the data from web service and pass it to ECC side.
as i need to pick XML file from web service i used SOAP Axis adapter. configured as given in michal's blog.
the channel in running no errors in RWB, still its not picking the data.
Michal's PI tips: Exchange Rates from an XML file on a web page - REST, AXIS
your inputs on this...
regards,
chinna

Hi ,
I have confifured the same folw, it's working for me. please provide if you are getting any error.
Regards
srinivas

Similar Messages

  • PI 7.11 Receiver SOAP (Axis) Adapter with MTOM (Attachments)

    Hello,
    Iu2019m trying to configure the Receiver SOAP (Axis) adapter for sending SOAP attachments via MTOM to a third-party webservice, but I'm not getting that PI transform the binary encode64 data in an payload element into a MTOM attachment (xop:include).
    The configuration looks like this:
    Transport Protocol: HTTP (Axis)
    SOAP Version: 1.2
    Encapsulation Format: MTOM
    Keep Attchments: enabled
    Payload Extraction: SOAP Body Child
    First of all, could you confirm if this is supported?
    Or Axis only supports MTOM for the transport protocol 'File (Axis)' like it seems refered in [Configuring the Receiver Axis SOAP Adapter|http://help.sap.com/saphelp_nwpi711/helpdata/en/45/a3c48c87cd0039e10000000a11466f/frameset.htm]
    Can you please provide me some guidance here?
    Thanks in advance!
    Kind Regards,
    Alexandre

    Hello,
    I am facing the exact same issue.
    I can't seem to set the cookie in the http header after following the guide.
    Cookie: WSL-credential=MyOwnCookie
    I managed to set the SOAPAction though.
    Anyone has any ideas?

  • Error while passing URL Dynamically in SOAP AXIS adapter..!!

    Hi ,
    Idoc> XI>SOAP-AXIS
    I am doing a scenario where I need to pass the URL dynamically in SOAP-AXIS adapter by taking the RCVPRN of Idoc.
    If
    RCVPRN = 100 , message has to go to http://10.190.25.16:8210/file/receiver
    RCVPRN = 200 , message has to go to    http://10.190.25.16:8210/file/receiver2
    RCVPRN = 300 , message has to go to    http://10.190.25.16:8210/file/receiver3
    I used the below UDF and it is working correctly and generating the URL dynamically .
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey keyHeader1 = DynamicConfigurationKey.create( "http://sap.com/xi/XI/System/SOAP", "TServerLocation");
    conf.put(keyHeader1, a);
    return "";
    The value is coming in SOAP document as expected like below.
    <sap:DynamicConfiguration xmlns:sap="http://sap.com/xi/XI/Message/30" SOAP:mustUnderstand="1">
      <sap:Record namespace="http://sap.com/xi/XI/System/SOAP" name="TServerLocation">http://10.190.25.16:8210/file/receiver3</sap:Record>
      </sap:DynamicConfiguration>
    I used the below Configuration modules in receiver SOAP-AXIS adapter as suggested in Note 1028961.
    AF_Adapters/axis/AFAdapterBean ---> afreq
    AF_Adapters/axis/HandlerBean ---> xireq
    AF_Adapters/axis/HandlerBean ---> dc
    AF_Adapters/axis/HandlerBean ---> remover
    AF_Adapters/axis/HandlerBean ---> trp
    AF_Adapters/axis/HandlerBean ---> xires
    AF_Adapters/axis/AFAdapterBean ---> afres
    xireq -> handler.type-> java:com.sap.aii.axis.xi.XI30OutboundHandler
    dc -> handler.type-> javasap.aii.axis.xi.XI30DynamicConfigurationHandler
    dc ---> key.1 ---> write http://sap.com/xi/XI/System/SOAP TServerLocation
    dc ---> location.1 ---> context
    dc ---> value.1 ---> transport.url
    remover ---> handler.type ---> java:com.sap.aii.axis.soap.HeaderRemovalHandler
    remover ---> namespace ---> http://sap.com/xi/XI/Message/30
    trp ---> handler.type ---> java:com.sap.aii.adapter.axis.ra.transport.http.HTTPSender
    trp ---> module.pivot ---> true
    xires ---> handler.type ---> java:com.sap.aii.axis.xi.XI30OutboundHandler
    and I am getting the below error in SOAP-AXIS channel at the point java:com.sap.aii.adapter.axis.ra.transport.http.HTTPSender.
    2009-03-02 15:23:44 Success Axis: getting handler trp of java:com.sap.aii.adapter.axis.ra.transport.http.HTTPSender
    2009-03-02 15:23:45 Error Axis: error in invocation: (500)internal server error
    2009-03-02 15:23:45 Error MP: Exception caught with cause (500)internal server error
    2009-03-02 15:23:45 Error Exception caught by adapter framework: (500)internal server error
    2009-03-02 15:23:46 Error Delivery of the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: (500)internal server error: (500)internal server error.
    2009-03-02 15:23:46 Error The message status set to NDLV.
    Kindly let me know if anyone has any idea what might be wrong?
    Note : The given URL is correct one because I cross checked by passing them normally by giving directly in adapter and they are all working and the message is going to receiver.
    Thanks
    Deepthi

    Hi Stefan,
    >> dc -> handler.type-> javasap.aii.axis.xi.XI30DynamicConfigurationHandler
    >> dc ---> key.1 ---> write http://sap.com/xi/XI/System/SOAP TServerLocation
    >> dc ---> location.1 ---> context
    >> dc ---> value.1 ---> transport.url
    >> Try read instead of write
    When I tried with this, I am getting the below error "Connection refused ".
    Success Axis: entering HandlerBean
    Success Axis: getting handler trp of java:com.sap.aii.adapter.axis.ra.transport.http.HTTPSender
    Error Axis: error in invocation: java.net.ConnectException: Connection refused
    Error MP: Exception caught with cause java.net.ConnectException: Connection refused
    Error Exception caught by adapter framework: ; nested exception is: java.net.ConnectException: Connection refused
    Error Delivery of the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: ; nested exception is: java.net.ConnectException: Connection refused: java.net.ConnectException: Connection refused.
    Success The message status set to WAIT.
    It is going successfully when I tried sending directly. Looks like Dynamic Configuration is not working for SOAP-AXIS.
    Any Suggestion?
    Thanks
    Deepthi.

  • Sender Soap Axis error in PI 7.31

    Hi Experts,
    We are using PI7.31
    We got a requirement to extract XML from a exchange rate URL on daily basis and send it to ECC from PI.
    I followed the below link to configure the sender SOAP Axis channel.
    http://scn.sap.com/community/pi-and-soa-middleware/blog/2012/01/05/michals-pi-tips-exchange-rates-from-an-xml-file-on-a-web-page--rest-axis
    Required class files for Axis are installed in the system.
    The channel is showing error as
    Channel Status : Administrator error
    Log: Adapter has not provided any status information about the channel
    faile to initilize: com.sap.aii.af.service.cpa.CPAObjectNotfoundException: Couldnt retrieve binding for the given channel id.
    Please help on the same.
    Thanks,
    Pavi

    Hi Pavi,
    Please check if the installed axis class files are installed properly.
    http://host:port/XIAxisAdapter/MessageServlet
    Please use above URL to check if axis class files are installed appropriately.
    Hope after installing axis class files u have restarted the java stack.
    hope this helps.
    thanks and regards,
    Praveen T

  • How to install SOAP Axis adapter and where is it available  ??

    Hi,
    I heard that SOAP Axis adapter was not initially available for PI 7.0 and was introduced in some later support pack.When I checked the below url I found that some of the components are missing.
    http://xi-dev.intranet.com:50000/XIAxisAdapter/MessageServlet
    Can anyone please suggest how I can get that pack and where it will be available?
    How to install it?
    Thanks
    Deepthi.

    Hi Sunil,
    Dont mind...one final question, they mentioned in the README file as below.. 
    // Open the SDA archive using some unzip tool and replace the following empty
    jar files with the those inclued in Axis 1.4 src package
    axis.jar
    commons-discovery-0.2.jar
    commons-logging-1.0.4.jar
    commons-net-1.0.0-dev.jar
    wsdl4j-1.5.1.jar
    When i checked in the Axis folder, I found so many files.
    Do I need to just add this Axis zip file into aii_af_axisprovider.sda Archive file.?
    If possible, It would be very helpful if you send the aii_af_axisprovider.sda file which you have deployed into your system?
    Thanks
    Deepthi

  • Problem with Dynamic Configuration in SOAP-AXIS adapter..!!!

    Hi ,
    Idoc> XI>SOAP-AXIS
    I am doing a scenario where I need to pass the URL dynamically in SOAP-AXIS adapter by taking the SNDPRN of Idoc.
    If SNDPRN = 100 , message has to go to  http://10.190.25.16:8210/file/receiver
       SNDPRN = 200 , message has to go to  http://20.180.26.16:8210/file/receiver
    It is working correctly when I tried for single receiver. When I' tried to use DynamicConfiguration, it is coming in SOAP document but it is not working and not passing to correct channel.  According to this note 1039369, I mentioned the following modules.
    AF_Adapters/axis/AFAdapterBean  --->                 afreq
    AF_Adapters/axis/HandlerBean      --->                  xireq 
    AF_Adapters/axis/HandlerBean      --->                  dc
    AF_Adapters/axis/HandlerBean       --->                 remover        
    AF_Adapters/axis/HandlerBean       --->                 trp
    AF_Adapters/axis/HandlerBean        --->                xires       
    AF_Adapters/axis/AFAdapterBean    --->               afres
    xireq ->  handler.type-> java:com.sap.aii.axis.xi.XI30OutboundHandler
    dc    ->  handler.type-> javasap.aii.axis.xi.XI30DynamicConfigurationHandler
    dc   --->   key.1 --->      write http://sap.com/xi/XI/System/SOAP TServerLocation
    dc    --->          location.1  --->         context
    dc     --->         value.1      --->        transport.url
    remover    --->  handler.type    --->   java:com.sap.aii.axis.soap.HeaderRemovalHandler
    remover     ---> namespace    --->      http://sap.com/xi/XI/Message/30
    trp         --->     handler.type   --->    java:com.sap.aii.adapter.axis.ra.transport.http.HTTPSender
    trp           --->  module.pivot  --->     true
    xires     --->    handler.type   --->    java:com.sap.aii.axis.xi.XI30OutboundHandler
    and I am getting the below error in SOAP-AXIS channel
    Error Axis:    error in invocation: java.lang.IllegalArgumentException: object type invalid: class com.sap.aii.adapter.xi.ms.XIMessage
    Error MP:     Exception caught with cause java.lang.IllegalArgumentException: object type invalid: class com.sap.aii.adapter.xi.ms.XIMessage
    Error           Exception caught by adapter framework: object type invalid: class com.sap.aii.adapter.xi.ms.XIMessage
    Error Delivery of the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: object type invalid: class com.sap.aii.adapter.xi.ms.XIMessage: java.lang.IllegalArgumentException: object type invalid: class com.sap.aii.adapter.xi.ms.XIMessage
    Kindly let me know if anyone has any idea what might be wrong?
    Thanks
    Deepthi

    I have a similar problem. I also like to add some header fields to my message und that's way I'm trying to use the AXIS adapter. (Axis adapter FAQ question 30) Unfortunately I'm getting exactly the same error message:
    com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.lang.IllegalArgumentException: object type invalid: class com.sap.aii.adapter.xi.ms.XIMessage
    Deepthi, you wrote that you have missed one jar file. Can you remember which file it was?

  • SOAP (Axis) Adapter

    Hello XI SDNers,
    I want to use SOAP (Axis) Adapter for my Webservice Scenario.
    According to the SAP Note 1028961, I deployed the "aii_af_axisprovider.sda" file with corresponding ".jar" files from Apache AXIS 1.4 and the deployement was successful.
    But now, If I want to use this SOAP (Axis) Adapter, I am unable to see this adapter in my list, for ex., If I create a new "Communication channel"  in Configuration and want to select the new SOAP (Axis) Adapter, I couldn't see this in my list.
    Am I still missing something?
    -Satish.

    dear ..
    My system is  PI7.0 sp15.
    With  "http://host:port/XIAxisAdapter/MessageServlet" checking , everything corrected.
    All jars from axis-bin-1_4.zip and axis-src-1_4.zip .
    under " aii_af_axisprovider.sda\META-INF " has a " primary-library-sda-dd.xml " , content :
    <?xml version="1.0" encoding="UTF-8"?>
    <SDA>
         <SoftwareType>primary-library</SoftwareType>
         <engine-deployment-descriptor version="2.0" />
    </SDA>
    I don't know, why didn't list...

  • SOAP Axis adapter - problem with XML formatting

    Hello All,
    We are using SOAP Axis adapter on our scenario (because of NTLM authenticatiom) and faced a problem that some module in a module chain is pretty-formatting XML message (inserting newlines and spaces).
    Receiving WebService is REALLY strict on format and doesn't allow spaces and newlines between XML elements.
    Formatting is for sure done already in adapter as in sxmb_moni message is still one-liner.
    After different tests this formatting is most likely done by XI30OutboundHandler.
    Are there any parameters to prevent this formatting?
    If there are no parameters, than maybe there is a standard module to remove this XML indentation?
    Where I can found source code for XI30OutboundHandler to check how it is extracting payload from XI message?
    Thanks in advance for your answers!
    Best Regards,
    Artsiom Anichenka

    Hi, have you find a solution for this problem?
    I've tried set the parameter “disablePrettyXML”, as mentioned in SAP note 1039369 (search for “disabling pretty XML”), but apparently it didn’t work too. Have you tried that?
    I still get linefeeds and carriage return in the post requisition to the WebService.
    Regards,
    Ronaldo Schork.

  • Sender SOAP CC - ADAPTER.JAVA_EXCEPTION

    Hi,
    We are using XI 2.0; This scenario is SOAP -> IDOC; I followed the steps in the document 'How Tou2026
    Use the XI 3.0 SOAP Adapter';
    I have created a sender soap communication channel and defined a web service from the ID; (SOAP adapter channel belongs to service without party, so I used the address as follows http://<host>:<j2ee-port>/XISOAPAdapter/MessageServlet?
    channel=:<service>:<channel> in the wizard to create the WSDL file)
    I could not use a third party software to test the interface.
    When the vendor send the test data to the URL he get the message as follows:
    <!see the documentation>
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
       <SOAP:Body>
          <SOAP:Fault>
             <faultcode>SOAP:Server</faultcode>
             <faultstring>Server Error</faultstring>
             <detail>
                <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
                   <context>XIAdapter</context>
                   <code>ADAPTER.JAVA_EXCEPTION</code>
                   <text>com.sap.aii.af.mp.module.ModuleException: either no channelID specified or no channel found for the specified party, service, and channel name, MessageServlet(Version $Id: //tc/xi/NW04S_19_REL/src/_adapters/_soap/java/com/sap/aii/af/mp/soap/web/MessageServlet.java#1 $)
                    at com.sap.aii.af.mp.soap.web.MessageServlet.doPost(MessageServlet.java:427)
                    at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
                    at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
                    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java(Compiled Code))
                    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java(Compiled Code))
                    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java(Inlined Compiled Code))
                    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java(Compiled Code))
                    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java(Compiled Code))
                    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java(Compiled Code))
                    at com.sap.engine.services.httpserver.server.Client.handle(Client.java(Inlined Compiled Code))
                    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java(Compiled Code))
                    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java(Compiled Code))
                    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java(Compiled Code))
                    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java(Compiled Code))
                    at java.security.AccessController.doPrivileged1(Native Method)
                    at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
                    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code))
                    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code))</text>
                </s:SystemError>
             </detail>
          </SOAP:Fault>
       </SOAP:Body>
    </SOAP:Envelope>
    Can anyone give me a hint on what to do to clear this error? Also any better help guide will be useful/helpful.
    Thanks

    Hi,
    I did the recommendation - I keep getting the same error.
    Additionally I wanted to let you know, when I test the URL in the Internet Browser, I get the following message
    Message Servlet is in Status OK
    Status information:
    Servlet com.sap.aii.af.mp.soap.web.MessageServlet (Version $Id: //tc/xi/NW04S_19_REL/src/_adapters/_soap/java/com/sap/aii/af/mp/soap/web/MessageServlet.java#1 $) bound to /MessageServlet
    Classname ModuleProcessor: null
    Lookupname for localModuleProcessorLookupName: localejbs/ModuleProcessorBean
    Lookupname for remoteModuleProcessorLookupName: null
    ModuleProcessorClass not instantiated
    ModuleProcessorLocal is Instance of com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0_0
    ModuleProcessorRemote not instantiated
    Thanks and Regards
    Kasee Palaniappan

  • Error in Receiver SOAP AXIS adapter.

    I have configured a receiver soap adapter and get the below error. Any help with this? Since I am able to see the Axis option in the adapter configuration, this means the axis framework is deployed or does it need to be delpoyed?
    Delivering the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to:
    com.sap.engine.interfaces.messaging.api.exception.MessagingException: javax.ejb.TransactionRolledbackLocalException:
    (Failed in component: sap.com/com.sap.aii.axis.app, BC-XI-CON-AFW-TAD) Exception raised from invocation of public
    com.sap.aii.af.lib.mp.module.ModuleData com.sap.aii.adapter.axis.modules.AFAdapterBean.process
    (com.sap.aii.af.lib.mp.module.ModuleContext,com.sap.aii.af.lib.mp.module.ModuleData) throws
    com.sap.aii.af.lib.mp.module.ModuleException method on bean instance
    com.sap.aii.adapter.axis.modules.AFAdapterBean@681b240 for bean

    Had to deploy the axis framework.

  • SAP PI 7.3 Receiver SOAP Axis adapter header Cookie

    Hello
    We are currently working a synchronous scenario like SAPERP --> PI --> WebService.
    The WebService requires cookie authentication.
    I have successfully tested SOAPUI <-->WebService Scenario.
    The Issue is when I try to put the Cookie in the SOAP header using Axis Frame work.
    1. I have followed the blog How to Set http-Header Parameters Using the Axis Framework (NW7.0)
         Guess the only one available on net.
    2. I have checked my http://<host>:<port>//XIAxisAdapter/MessageServle
         2.1 and the status of the mandatory components are in green.
    3. We are on SAP PI 7.3
    When I try to execute the scenario and capture the SOAP request in TCPGateway the following is the result.
    POST /ABC/ABCService_v1 HTTP/1.0
    Content-Type: text/xml; charset=utf-8
    Accept: application/soap+xml, application/dime, multipart/related, text/*
    User-Agent: Axis/1.4
    Host: MYIPaddress:54000
    Cache-Control: no-cache
    Pragma: no-cache
    SOAPAction: "urn:ABC/DEF/interface/v1.0/TEST/GetCalculation"
    Content-Length: 2228
    The below is the SOAP header from the soapUI application and I am expecting to achieve something similar/workable one with SAP PI.
    POST /ABC/ABCService_v1 HTTP/1.0
    Accept-Encoding: gzip,deflate
    Content-Type: text/xml;charset=UTF-8
    SOAPAction: "urn:ABC/DEF/interface/v1.0/TEST/GetCalculation"
    Cookie: WSL-credential=MyOwnCookie
    Content-Length: 2512
    Host: www.DEVTESTHOST.com
    Connection: Keep-Alive
    User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
    Can anyone pls let me know why I am not able to put the cookie in the SOAP header.
    Anyone who have already tried and was successful in this scenario pls do let me know what I am missing.
    Thanks in advance.
    Regards
    Prasanna

    Hello,
    I am facing the exact same issue.
    I can't seem to set the cookie in the http header after following the guide.
    Cookie: WSL-credential=MyOwnCookie
    I managed to set the SOAPAction though.
    Anyone has any ideas?

  • Sender SOAP AXIS message protocol

    Hello Experts,
    i am working on SOAP to Proxy scenario, i need to pull XML data from URL using AXIS message protocol.
    i have developed the scenario and in rwb channel show active with out error and its not pulling XML data from URL.
    when i open the URL in browser i can see the XML data?
    wer i came wrong as its not evening showing error, all are active and working but not pulling data.
    Please help.
    regards,
    chinna

    Hi,
    pls use this code.
    * Created on May 16, 2014
    * To change the template for this generated file go to
    * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
    package XXXXX;
    import java.util.HashMap;
    import com.sap.aii.mapping.api.AbstractTrace;
    import com.sap.aii.mapping.api.StreamTransformation;
    import com.sap.aii.mapping.api.StreamTransformationConstants;
    import com.sap.aii.mapping.api.StreamTransformationException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.util.*;
    import java.io.*;
    import java.net.*;
    * @author Srinu. Peram
    * To change the template for this generated type comment go to
    * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
    public class XXXXX implements StreamTransformation {
                private Map            param = null;
                private AbstractTrace  trace = null;
                /* (non-Javadoc)
                 * @see com.sap.aii.mapping.api.StreamTransformation#setParameter(java.util.Map)
                public void setParameter(Map param)
                            // TODO Auto-generated method stub
                            this.param = param;
                            if (param == null)
                                        this.param = new HashMap();
                /* (non-Javadoc)
                 * @see com.sap.aii.mapping.api.StreamTransformation#execute(java.io.InputStream, java.io.OutputStream)
                public void execute(InputStream inputstream, OutputStream outputstream)
                            throws StreamTransformationException {
                            // TODO Auto-generated method stub
                                                    try
                                                                trace =(AbstractTrace) param.get(StreamTransformationConstants.MAPPING_TRACE);
                                                                URL url = new URL("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");
                                                                trace.addInfo("******Srinu PI developer******");
                                                                URLConnection URLconnection = url.openConnection();
                                                                InputStream inputStream = URLconnection.getInputStream();
                                                                int available = inputStream.available();
                                                                trace.addInfo("Input Stream Available => " + available );
                                                                trace.addInfo("Trying to get txt file from URL  => XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ");
                                                                /*BufferedReader in = new BufferedReader(new InputStreamReader(url.openStream()));
                                                                String str;
                                                                while ((str = in.readLine()) != null)
                                                                trace.addInfo("Inside While loop");
                                                                trace.addInfo(str);      
                                                                in.close();*/
                                                    catch (Exception e)
                                                    trace.addInfo("Exception Occured => " + e.getMessage()) ;
                                                    trace.addInfo("Exception Occured => " + e.getStackTrace()) ;
    Regards
    srinivas

  • How to set content type in SOAP AXIS sender adapter

    Hi All,
    I am trying to fetch the data from an URL which has special characters(like Ä, ï) using SAP PI - SOAP AXIS adapter. I am facing the below error in the channel.
    “error during receive: java.io.UnsupportedEncodingException: charset: utf-8”
    I need to set the content type as ISO-9958-1 but there is no such option present in the SOAP AXIS sender Adapter. Please let me know if there is any way to set the content type and fetch the data successfully.
    Thanks,
    Konda

    Hi Sudha,
    I have tried textcodepageconversion, Message
    Transformation and Annomizer beans but didn't help and this error is in sender SOAP AXIS adapter.
    Thanks,
    Konda

  • SOAP AXIS sender adapter response message

    Hi all,
    In our scenario a 3rd party app. is sending a request to our Sender SOAP Axis adapter. The message contains attachments and uses MTOM features. When receiving I have no problems. BUT when I sent a response I the SOAP AXIS adapter sents the attachmnt I received back.
    Why does the AXIS adapter sents a response back with our attachment we received???? Any ideas? I tried to use a custom module to delete that part, but It cannot be edited. The modules input is just our normal message. Afterwards the attachment gets added...
    Thanks

    Not really sure about this, but have you tried to disable the Keep-Attachment option in the adapter (but if you're doing sync Axis comm., I don't think it would work as it would remove attachments when receiving them) ...
    Chris

  • Issue with SOAP receiver AXIS adapter

    Hi  All,
    We have a scenario  SOAP -- > PI -- > SOAP (axis)  using SOAP 1.2 version  synchnrous scenario.  Using Webservice navigator am trying to trigger a message to  PI .
    Message has reached to PI box and failing in the receiver SOAP(axis) channel as :
    Delivering to channel: Receive_SOAP_BulkFeedback 18.08.2014 10:33:24 Information MP: processing local module localejbs/AF_Adapters/axis/AFAdapterBean 18.08.2014 10:33:24 Error
    MP: processing local module localejbs/AF_Adapters/axis/AFAdapterBean
    MP: processing local module localejbs/AF_Adapters/axis/AFAdapterBean 18.08.2014 10:33:24 Error MP: exception caught with cause javax.ejb.EJBException: ASJ.ejb.005043 (Failed in component: sap.com/com.sap.aii.axis.app, BC-XI-CON-SOP) Exception raised from invocation of public com.sap.aii.af.lib.mp.module.ModuleData com.sap.aii.adapter.axis.modules.AFAdapterBean.process(com.sap.aii.af.lib.mp.module.ModuleContext,com.sap.aii.af.lib.mp.module.ModuleData) throws com.sap.aii.af.lib.mp.module.ModuleException method on bean instance com.sap.aii.adapter.axis.modules.AFAdapterBean@6bbad627 for bean sap.com/com.sap.aii.axis.app*xml|com.sap.aii.adapter.axis.ejb.jar*xml|AFAdapterBean in application sap.com/com.sap.aii.axis.app.; nested exception is: java.lang.NullPointerException: while trying to invoke the method com.sap.aii.af.lib.mp.module.SModule.process(com.sap.aii.af.lib.mp.module.ModuleContext, com.sap.aii.af.lib.mp.module.ModuleData) of an object loaded from field com.sap.aii.adapter.axis.modules.AFAdapterBean.core of an object
    Please help and suggest.

    Hi Raja,
    The end system is closing the communication. Try to reset your PI ICM instance. Also check if your PI system is affected by this note   1675953 - SSL Client Authentication failed with PI SOAP Axis Adapter
    Regards.

Maybe you are looking for