Using the Axis Framework in the SOAP Adapter

Hello experts,
I am currenty checking how I can easily manipulate sender and receiver details and how I could get attachments into XI.
I saw in the sap help that it is possible to use the AXIS framework from the SOAP adapter:
http://help.sap.com/saphelp_nw04/helpdata/en/45/a39e244b030063e10000000a11466f/frameset.htm
As usual, the documentation is of the same quality SAP usually provides.
So my first question would be: This is a moduke to be used from the SOAP adapter right? I am asking because they also wirte about the AXIS adapter and its metadata.
In oder to get it working, I created in the NWDStudio a library project, added my libraries (to the root directory) and deployed it via SDM. Deployment is succesful but its not working.
SAPHelp says I should check for a MessageServlet - I ask myself how that could appear suddenly just by packaging some axis libraries...?
I am using for that the ESA box (NW04s SP6) - I was not able to see whether there are some dependencies to the SP - are they?
Thanks for your support!
Helge

Helge,
Axis is outdated and has some issues ..use Apache Soap instead its much better and easy to use.
http://ws.apache.org/soap/
Regards
Ravi

Similar Messages

  • How to create SDA file for using AXIS Framework in the SOAP Adapter

    Hi experts,
    I have the following question:
    How I can create the SDA file aii_af_axisprovider.sda for using the AXIS Framework in the SOAP Adpater described in http://help.sap.com/saphelp_nw04/helpdata/en/45/a4f8bbdfdc0d36e10000000a114a6b/content.htm ?
    I have downloaded the files axis.jar, commons-discovery-0.2.jar, commons-logging-1.0.4.jar, commons-net-1.0.0-dev.jar and wsdl4j-1.5.1.jar. But how to create the SDA file aii_af_axisprovider.sda? Which tool I have to use for this? It is enough to compress these 5 jar-files in the sda file or need I further files with further information (meta information etc.)?
    Thanks and best regards
    Christopher

    Hi Christopher,
        Check this discussion if you have not checked already.
    Re: NTLM Authentication dosent work with XI ?
    Regards,
    Ravi

  • Any one knows how to use Axis Framework in the SOAP Adapter Modules

    How to use Axis Framework in the SOAP Adapter?
    How to add custom handler modules?
    http://help.sap.com/saphelp_nw04/helpdata/en/45/a4f8bbdfdc0d36e10000000a114a6b/frameset.htm
    I went through the above link on help.sap.com. But still could not create a working example.
    I have created a wc on some 3ed party app server using apaches axis. I am trying to call that web service from XI using SOAP receiver? I need to add some security related headers to the soap message, SO I am trying to use a handler.  I want to know how to configure this handler in SOAP axis adapter module.
    Thank you
    Moni

    Ravi ,
    I am trying exactly the same. Hers is the scenario.
    ABAP Proxy --> PI (7.0) SP 12 ---> WebService.
    Since This is service is secured, means it is using OASIS web servie securyty user name token,
    I am trying to use AXIS adapter. and I want to configure HandlerBean in which I want to use apache wss4j api to add the userNameToken. I am looking for some documentation on this.
    I need to add SOAP action element too as I can not configure this one on the communication channel.
    Thanks for any inputs in this regard.
    Moni

  • What is the maximum size a sender SOAP adapter can handle?

    Hi,
    I am using sender SOAP adapter and receiver RFC adapter.
    What is the maximum size of request message it can handle efficiently.
    In the current scenario which I need to design , the request XML file could be up to 24 MB.
    Also if you could comment on which would be the best to use as the sender side - SOAP or File Adapter
    when the request message/file is of such size?
    regards
    Arun G

    hi,
    >What is the maximum size of request message it can handle efficiently.
    it totally depends on your hardware and flow design inside XI/PI
    >In the current scenario which I need to design , the request XML file could be up to 24 MB.
    this size is not a lot for a "normal" XI machine but it also depends on the
    volume of those messages - that is if you need to send
    one message like that per day or 1000 per half an hour...
    >Also if you could comment on which would be the best to use as the sender side - SOAP or File Adapter
    when the request message/file is of such size?
    SAP's general recommendation is to use messages around 5mb
    but it heavily depends on other factors so don't threat it as a must
    Regards,
    michal Krawczyk

  • Error when setting dynamically the target URL in receiver SOAP Adapter

    Hi,
    I'm setting dynamically (from the mapping) the target URL in the receiver SOAP adapter:
    String url = "http://mosxd30:50000/XISOAPAdapter/MessageServlet?senderParty=&senderService=DUM&receiverParty=&receiverService=&interface=SI_OA_CustomInvoiceData&interfaceNamespace=urn:repsol.com:laboratory:firma";
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/SOAP", "TServerLocation");
    conf.put(key, url);
    The receiver adapter fails with:
    "invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized"
    Reading weblogs, etc, the most probable cause for this is a wrong target URL, but then what I did was to set it as a fixed URL in the C.Channel, and it worked, so the URL is fine.
    In the communication channel, I'm using "Configure user authentication", with a user and password, and what I think it's happening is that if I use another different URL dynamically, the channel is ignoring the user authentication settings.
    Any ideas?
    Thanks

    I forgot to say that I've checked the SAP note "FAQ Soap adapter", and it says:
    Q: I get an authorization error "401 Unauthorized" from the adapter's servlet. What went wrong?
               A: The adapter's servlet is protected by default. You must use one of the user names assigned in security role xi_adapter_soap_message for component XISOAPAdapter. Please consult the documentation for Visual Administrator to view and change the security setting.
               The user authentication of the SOAP adapter is not part of the SOAP adapter but of the web container of the J2EE engine. The default authentication setting is defined in the web.xml descriptor file of the SOAP dapter web application. This setting may be modified from Visual Administrator with some restriction. Please refer to the security documentation for the J2EE engine.
               Please note that 710 onwards there is no Visual Administrator instead the Netweaver Administrator is to be used to assign the roles to the user to access the SOAP adater servlet.The user must be assigned one of the following roles SAP_XI_IS_SERV_USER, SAP_XI_APPL_SERV_USER, SAP_XI_DEVELOPER_J2EE, SAP_XI_ADMINISTRATOR_J2EE.
    The target URL is a sender soap adapter (the result of one interface is sent to another one via soap adapter), and it's this one which is complaining because of the authentication I think. But I don't know why it's ignoring the user authentication flag I'm using.

  • Where in the bc4j framework is the real implementation of interface methods

    I was going through a ADF for forms and 4 GL developers and came across following code.
    package devguide.examples.client;
    import oracle.jbo.client.Configuration;
    import oracle.jbo.*;
    import oracle.jbo.domain.Number;
    import oracle.jbo.domain.*;
    +public class TestClient {+
    +public static void main(String[] args) {+
    String amDef = "devguide.examples.UserService";
    String config = "UserServiceLocal";
    ApplicationModule am =
    Configuration.createRootApplicationModule(amDef,config);
    ViewObject vo = am.findViewObject("UserList");
    +while (vo.hasNext()) {+
    Row curUser = vo.next();
    System.out.println(vo.getCurrentRowIndex()". "++
    curUser.getAttribute("UserId")" "++
    curUser.getAttribute("Email"));
    Configuration.releaseRootApplicationModule(am,true);
    +}+
    +}+
    I wanted to understand that findViewObject returns an interface of type ViewObject.Since ViewObject is an interface so it does not have code implementation of any of its method like hasNext or next.Where in the framework is the actual implementation of these methods ?
    Thanks

    Are you asking to look at the code of the interface?
    For that you'll need an Oracle Support license and then you can request the actual source code of Oracle ADF from Oracle Support by opening an SR.
    If you just want to see the documentation for a method check the documentation API section for example:
    http://docs.oracle.com/cd/E35521_01/index.htm
    http://docs.oracle.com/cd/E35521_01/apirefs.111230/e17483/toc.htm
    http://docs.oracle.com/cd/E35521_01/apirefs.111230/e17483/oracle/jbo/ViewObject.html

  • How do I hide the axis but show the grid lines in CNiGraph?

    I'm trying to create an oscilloscope like view for real time display of multichannel data. Each channel is supposed to be presented in it's own graph. All graphs are vertically stacked in one column.
    How can I turn in the gridlines to give me ten divisions while having the axis hidden?
    When I hide the axis the gridlines are hidden as well. Furthermore, I cannot seem to get the coordinates for the plot area so that I can draw the grids myself.
    The view I'm trying to create will look similar to the NI BioBench acquisition software which can be seen at: http://sine.ni.com/apps/we/nioc.vp?cid=10435〈=US
    Thanks,
    Johnny Sundblom

    Try this:
    Bring up the property pages for the graph and go to the Ticks tab.
    Check the Major and Minor boxes in the Grid Lines section.
    Make sure that all check boxes in the Tick Marks section are unchecked.
    Make sure that all check boxes in the Labels section are unchecked.
    Make sure that the Axis Caption is cleared.
    I think this will do what you want.
    - Elton

  • AXIS framework in SOAP adapter

    Hi,
    I am working on PI 7.1. I need to understand about the use of AXIS framework in the SOAP adapter.
    Please throw some light on the what exactly is AXIS framework and why is it used while configuring the SOAP adapter.
    Also suggest scenarios where AXIS framework is used.
    Ihave gone through the SAP help documents and the following link already, but am unable to get the hang of it:
    [http://help.sap.com/saphelp_NW04/helpdata/en/45/a4f8bbdfdc0d36e10000000a114a6b/content.htm]
    How Tou2026 Set http-Header Parameters using the Axis Framework
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b092777b-ee47-2a10-17b3-c5f59380957f]
    Kindly Help

    Hi Yashaswee,
    Once you create the SDA archive ( SAP Note 1028961 - How to prepare axisproviderlib.sda for Adapter Framework) you have to deploy it on the J2EE engine of PI.
    To check it is correctly deployed or not use the following URL:
    http://<systemhost>:<systemport>/XIAxisAdapter/MessageServlet
    You will see a screen like this:
    An useful case that used the AXIS Framework in the SOAP Adapter to store cookie values is the blog post of Prabhat Sharma:
    http://scn.sap.com/community/pi-and-soa-middleware/blog/2013/08/02/pidoc-integration-between-non-sap-system-and-sfsf-bizx--part-i
    Regards.
    Rodrigo.

  • Axis Framework in SOAP Adapter in  PI 7.1

    Hi Experts,
    I am working on PI 7.1 . I just need to know all that I can about Axis Framework in SOAP Adapter
    All inputs are welcome.
    Many thanks,
    Neha

    Hi !
    have a look on these links
    Using the Axis Framework in the SOAP Adapter
    http://help.sap.com/saphelp_NW04/helpdata/en/45/a4f8bbdfdc0d36e10000000a114a6b/content.htm
    http://help.sap.com/saphelp_nwpi71/helpdata/en/69/a6fb3fea9df028e10000000a1550b0/frameset.htm
    Have a look at this Pdf
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b092777b-ee47-2a10-17b3-c5f59380957f
    Thanks !
    Abhishek

  • Real time scenario for AXIS framework in SOAP adapter

    Hello,
    Can anybody please suggest some real time scenario where AXIS framework can be used
    and what are the advanteges and disadvantages of using AXIS framework
    regards,
    Loveena

    Hi !
    have a look on these links
    Using the Axis Framework in the SOAP Adapter
    http://help.sap.com/saphelp_NW04/helpdata/en/45/a4f8bbdfdc0d36e10000000a114a6b/content.htm
    http://help.sap.com/saphelp_nwpi71/helpdata/en/69/a6fb3fea9df028e10000000a1550b0/frameset.htm
    Have a look at this Pdf
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b092777b-ee47-2a10-17b3-c5f59380957f
    Thanks !
    Abhishek

  • Issue on Deployment of AXIS framework in PI 7.0 Server.

    Hi Experts,
    We have a requirement of Using AXIS Framework in Receiver SOAP adapter in PI 7.0.Moreover we need USERNAME token with PasswordDigest.We have deployed aii_af_axisprovider.sda file in PI server with all relevant .jar files.However when we are checking the url http://host:port/XIAxisAdapter/MessageServlet its showing following optional components are missing.
    1)XML Security API
    2)Apache WSS4J
    3)Apache Addressing
    However we have used wsdl4j-1.5.1.jar file.We have added entry for wsdl4j-1.5.1.jar  in provider.xml as well.However it still showing warning that optional component is missing
    Could you please let us know which version we need to deploy for Apache WSS4J in PI server or do we need to do any other configuartion apart from above configuration so that to enable the UserNameToken security with passwordDigest.
    Thanks in advance.
    Regards
    Nilesh.

    Hi,
    Post the answer for your issue, so that others can have!

  • Deployment issue for Axis Framework in PI 7.0 server

    Hi Experts,
    I have one issue regarding the deployment of AXIS framework for Receiver SOAP adapter in PI 7.0 server.
    Moreover i have a requirement to use UserNameToken security with PasswordDigest.
    I have deployed aii_af_axisprovider.sda file into PI server with relevant .jar files.
    However when i am checking through url http://host:port/XIAxisAdapter/MessageServlet its giving that optional components are missing
    1)XMLSecurityAPI
    2)Apache WSS4j
    3)Apache Addressing
    In SAP Note 1039369 its mentioned about  to use wss4j-1.5.4.jar,xmlsec-1.4.0.jar,opensaml-1.0.1.jar files.
    Now my concern is to enable UserNameToken Security with PasswordDigest which version of Wss4j is required along with xmlsec version and do we need opensaml-1.0.jar file for same requirement.
    Is it sufficient if we deploy wss4j-1.5.4.jar and xmlsec-1.3.0.jar to enable the UserName Token secuiry.
    Request you all to please confirm the same.
    Thanks in advance
    Regards
    Nilesh

    I have the same requirement. Just wanted to know if opensaml-1.0.jar file is required to enable the UserName Token secuiry.

  • Missing components for AXIS framework in PI7.0

    Hi Experts,
    I have requirement to use AXIS framework in Receiver SOAP adapter.When i am creating receiver SOAP adapter in PI7.0 and  selecting Transport Protocol its showing as HTTP(AXIS) and message protocol as Axis.However my client wants UsernameToken security with digestpassword.
    Now the problem is whenever i am checking the following link http://hostname:50000/XIAxisAdapter/MessageServlet its showing 3 components are missing.
    Please do let me know what all steps i need to follow to install those missing components and how i will use Username token with digest password in receiver soap adapter.
    However i have gone through the SAP Note 1039369 (FAQ XI Axis Adapter) however i have still lot of confusion.
    Please provide more clarity on this.
    Your response will be highly appreciated.
    Regards
    nilesh

    Hi!
    These may be optional components. We have implemented Axis Framework successfully and the URL test still reports missing OPTIONAL components.
    The minimum components you need are all three REQUIRED components as well as OPTIONAL component
    Jakarta-Commons Net
    Found: org.apache.commons.net.SocketFactory at /usr/sap/EX1/DVEBMGS12/j2ee/cluster/bin/ext/com.sap.aii.af.axisproviderlib/lib/commons-net-1.0.0-dev.jar
    All others are only needed in special cases - like e.g.:
    Jakarta-Commons HttpClient
    Warning: optional component missing --- looking for org.apache.commons.httpclient.HttpClient in com.sap.aii.af.axisproviderlib/commons-httpclient.jar; see http://jakarta.apache.org/commons/httpclient/
    Apache WSS4J
    Warning: optional component missing --- looking for org.apache.ws.security.WSSConfig in com.sap.aii.af.axisproviderlib/wss4j.jar; see http://ws.apache.org/wss4j/
    Apache Addressing
    Warning: optional component missing --- looking for org.apache.axis.message.addressing.Constants in com.sap.aii.af.axisproviderlib/addressing.jar; see http://ws.apache.org/addressing/
    Apache Sandesha
    Warning: optional component missing --- looking for org.apache.sandesha.Constants in com.sap.aii.af.axisproviderlib/Sandesha.jar; see http://ws.apache.org/sandesha/
    Regards,
    Volker

  • Axis Framework

    Hello,
    I have following doubts related to the use of Axis Framework in conjuction with SOAP Adapter. Could you pls. clarify:
    1) Does it support SOAP 1.1 and 1.2 for both sender and receiver adapter (for receiver I can see the support of both SOAP 1.1 and 1.2).
    2) Does it support WS-Addressing features for both sender and receiver adapter.
    3) Does it support faults defined in the SOAP message WSDL definition.
    4) We have a scenario where we need to identify each SOAP message request, sent to PI uniquely. This can be achieved by adding a GUID/identifier in the SOAP message header. Also the reponse and request should be co-related by having the GUID/identifier of the request added in the response SOAP message header.
    Any inputs in this regard are appreciated.
    Regards,
    Gajendra.

    Hi,
    I exactly don't know answers..but check if the following helps..
    The Axis framework provides the following:
    ● Message protocols SOAP 1.1 and SOAP 1.2
    ● Transport protocols HTTP/S, SMTP, file
    ● Various user authentication procedures (Basic, Digest, NTLM, SAP Assertion Tickets)
    ● Various encapsulation formats (MIME, DIME, MTOM)
    ● You can add your own Axis handlers to the module chain by using the HandlerBean module
    Soap 1.2 message protocol is available for AXIS Soap Adapter.
    please visit the article
    /people/andre.stuij/blog/2008/04/23/principal-propagation-in-ccbpm-finally-made-possible
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b092777b-ee47-2a10-17b3-c5f59380957f
    http://help.sap.com/saphelp_nw70/helpdata/en/45/a4f8bbdfdc0d36e10000000a114a6b/frameset.htm
    Thanks,
    Vijaya.

  • HandlerBean - AXIS Framework

    Hello XI SDN'ers,
    Can any one tell me, How to use this HandlerBean to read the Set-Cookie from the header of the SOAP response message?
    Thanks & Regards,
    Satish.

    Hi,
    Handlers are important elements of the Axis framework. They are processing steps at runtime that process and forward a message. You can assemble them into processing chains like modules in the module processor.
    The following modules are provided for using the Axis framework in the SOAP adapter:
    ●      The HandlerBean module (AF_Adapters/axis/HandlerBean) calls an Axis handler.
    You use the module to call the Axis handler that you want to use.
    ●      The Adapter Framework module (AF_Adapters/axis/AFAdapterBean) converts the Axis message object to an Adapter Framework message object and the other way around.
    You use the module at the boundary between message processing in the Adapter Framework and in the Axis framework.
    To transfer the HTTP header parameter Set-Cookie to the XIu2019s Dynamic Configuration header called SetCookie add a module of type AF_Adapters/axis/HandlerBean to your processing sequence of the SOAP receiver Communication Channel created before. It has to be inserted just before the predefined module u201Cxiresu201D. You may choose an arbitrary name as module key.
    Have a look into this and refer to last 3 settings link
    http://help.sap.com/saphelp_nw04/helpdata/en/45/a4f8bbdfdc0d36e10000000a114a6b/content.htm
    Regards
    Aashish Sinha
    PS : reward points if helpful

Maybe you are looking for