Consume Enterprise Services in Java Application

Hey guys,
I'm very new in this field, maybe you can help me how to start....
I want to call Enterprise Services (asynchronous, provided by SAP) from an external java application. Therefore I want to configure a integration scenario between two business systems: java application (consumer) and sap application system (service provider). Maybe you can help me to answer the following questions.
1) What kind of adapter I have to use in communication channels?
2) Have I to define outbound/inbound interfaces for Communication Component "sender" (business system: java application)?
2) How does the communication between the java application and IS work? What kind of API I have to use - some kind of advanced adapter engine ... JCO, JCA ???
Is there any demo scenario from sap? Please help me to start
Kind regards,
Christian

Hello,
problem is you are using wsimport on web-service which uses RPC/encoding. Wsimport use JAX-WS so it is not able read it.
You should wscompile.bat instead it.
Here is example :
wscompile.bat -gen:client -d build/classes -s src -keep config.xml
(-gen:client -says to generate classes for client
-d - directory where to store classes
-s - directory where to store sources
-keep - to keep source file
xml file
Where config.xml looks like
<?xml version="1.0" encoding="UTF-8"?>
<configuration
xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
<wsdl location=
"http://something/yourws?wsdl"
packageName="org.your.package.client"/>
</configuration>
I hope it will help.
best regards

Similar Messages

  • XML Deserialization error while consuming Enterprise service in wd java..

    Hello,
    I am trying to build 2 webdynpro java webdynpro applications which consumes enterprise service for purchase order and another application for Busines partner.
    While i was able to successfully consume the PO service in webdynpro java and get the desired output for PO..i get XML Deserialization error while running appliation for Business Partner..
    These are the details/steps i followed for the Business Partner application:
    1. After creating the model using the enterprise service, i created a service controller from the model to the component controller..
    2. Out of many inputs/output attributes during mapping from model to component controller. i further mapped the context from CC to ViewC.
    3. In the wdDoInit() method, i added the follwing code:
        BPCreate model1 = new BPCreate();
        Request_BusinessPartnerERPCreateRequestConfirmation_In RequestC = new  Request_BusinessPartnerERPCreateRequestConfirmation_In(model1);
        BPERPCrteReqMsg_S CreateMessage = new BPERPCrteReqMsg_S(model1);
        BPERPCrteReq_SBP Cpartner = new BPERPCrteReq_SBP(model1);
    String Category = new String();
        String lf = new String();
        Cpartner.setInternalID(new String());
        Cpartner.setNumberRangeIntervalBusinessPartnerGroupCode(new String());
        Cpartner.setLifeCycleStatusCode(lf);
        Cpartner.setCategoryCode(Category);   
        CreateMessage.setBusinessPartner(Cpartner);
        RequestC.setBusinessPartnerERPCreateRequestMessage_Sync(CreateMessage);
        wdContext.nodeBusinessPartnerERPCreateRequestMessage_Sync().bind(CreateMessage);
    4. When i comment this code and run the application, the aplication comes up but the input fields are non-editable..
    5. If i place this code in wdDoInit() method, i get the Deserialization error..
    Any idea about why this error occurs and which areas in the application can lead to these errors?
    I checked that the service runs fine in soamanager.
    Thanks, JVR

    Hi Kishore,
    This error is majorly because while executing this Webdynpro application you are not entering all the mandatory fileds of WS.
    Please try to execute this WS from WS-Navigator, check which fileds are mandatory and then
    appropriately instantiate it in wdDoInit and pass all the fields required.
    Regards,
    Vaibhav Modi.

  • Consume Web Service in EJB Application

    Hi Experts,
    I have EJB Application with some Java Classes.My Requirement is to Consume Web Service in EJB Application.
    I am new to EJB Application.Please share if have any ideas regarding the same.
    Thanks & Regards,
    SatheshKumar R

    Hi Vijay,
    Thanks for the Reply.
    Please provide the JAR Files i need to add.
    I had tried to consume the web service by using the java class in Java Project ie EJB.
    After creating the Project i will import the WSDL file in that Project and create the Client Application.
    The Request and Response java class is created by importing the WSDL file.
    The Client Java Class is created to access the Request and Response objects.
    After this Main class is created and I have run the application to execute the Client Java Class. During this time its shows some error.
    The Error Message are:
    Exception in thread "main" java.lang.NoClassDefFoundError: com/sap/engine/interfaces/sca/logtrace/CallEntry$TraceLevel
    at com.sap.engine.services.webservices.espbase.client.bindings.ConfigurationUtil.getTransportBinding(ConfigurationUtil.java:249)
    at com.sap.engine.services.webservices.espbase.client.bindings.ConfigurationUtil.createClientConfiguration(ConfigurationUtil.java:109)
    at com.sap.engine.services.webservices.espbase.client.jaxws.metadata.InterfaceMetadata.createClientConfigurationContext(InterfaceMetadata.java:178)
    at com.sap.engine.services.webservices.espbase.client.jaxws.metadata.InterfaceMetadata.getProxy(InterfaceMetadata.java:70)
    at com.sap.engine.services.webservices.espbase.client.jaxws.core.SAPServiceDelegate.getPort(SAPServiceDelegate.java:258)
    at javax.xml.ws.Service.getPort(Service.java:92)
    at com.sap.tutorial.testwebser1ejb.TestAddService.getTestAddPort(TestAddService.java:38)
    at com.sap.tutorial.testwebser1ejb.TestAddClient.testAdd(TestAddClient.java:12)
    at com.sap.tutorial.testwebser1ejb.MainClass.main(MainClass.java:12)
    Caused by: java.lang.ClassNotFoundException: com.sap.engine.interfaces.sca.logtrace.CallEntry$TraceLevel
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    ... 9 more
    Thanks & Regards,
    SatheshKumar R

  • Consuming Web service : Sample ABAP application

    Hi Friends,
    I am trying to consume existing web service. I have few questions.
    --> Why do we need to create simple ABAP application while consuming Enterprise Service?
    --> How this ABAP application will be triggered? Will it be triggered automatically or this is just for      testing purpose?
    --> After consuming Enterprise Service , which URL my end user can use to execute the functionality ( i.e to craete PO )
    Waiting for your expert responses.
    Thanks,
    Rashmi Jain

    Hello,
    Please see the responses below:
    -->Why do we need to create simple ABAP application while consuming Enterprise Service?
    When you created consumer proxy, you have a proxy class autogenerated. The ABAP program is to provide input data and instantiate and call the method within the proxy class.
    --> How this ABAP application will be triggered? Will it be triggered automatically or this is just for testing purpose?
    The program can be triggered using a Transaction or can be scheduled through batch or event based.
    --> After consuming Enterprise Service , which URL my end user can use to execute the functionality ( i.e to craete PO )
    The end user does not have to know the URL. This is built into WSDL from which you created consumer proxy.
    Thanks,
    Venu

  • Error creating service consumer enterprise service

    Hi,
    I'm facing an error when creating a service consumer enterprise service using WSDL URL. I got the error message
    'Exception occurred in communication framework:Error in HTTP Framework:404Not foundhttp://localhost:8000/?wsdl=wsdl0'
    Does anyone have any idea of how may cause this problem ?
    I've looked in existing foruns questions for a long time, and I didn't get any answer to my problem.
    I'll apreciate any help.
    Thanks,
    Paulo Sousa

    Hi,
    The problem was in WSDL. It has an address 'http://localhost_8000/
    They replace it by the address where the service is installed and i was able to create the service consumer.
    Thanks,
    Paulo Sousa

  • How to consume an ABAP Enterprise Service in JAVA

    Dear colleagues:
    I'm kind of confused and need your help.
    I have already created a Enterpricse Service (for test) in SE80 and configured it through SOAMANAGER.
    Question1:
    Here is the WSDL URL I got from SOAMANAGER:
    http://ldcihri.wdf.sap.corp:50000/sap/bc/srt/wsdl/flv_10002A111AD1/srvc_url/sap/bc/srt/rfc/sap/z_ws2/000/z_ws2/z_binding?sap-client=000
    And here is the WSDL URL I got from SE80:
    http://ldcihri.wdf.sap.corp:50000/sap/bc/srt/wsdl/flv_10002P111AD1/sdef_url/Z_WS2?sap-client=000:
    The XML file I got from the two URL are different, the former is bigger.
    Which URL should I use? thanks.
    Question2:
    I have tested the 2 WSDL URL through Online SOAP Client - WSDLBrowser.com
    But both URL failed the test.
    I test the same URL in SOAMANAGER-TOOLS-WSDL Analyzer.
    Both URL were OK.
    Any idea? Is it because the authorization? I need to input user name and password for WSDL Analyzer.
    Question3:
    I'd like to consume the web service in JAVA.
    Is it possible to consume the service in Eclipse IDE?
    (I have tried several times by creating Web Service Client using the WSDL but it always say that the WSDL is invalid.
    Or I have to consume the Enterprise Service in NetWeaver Develop Studio?

    In addition.
    I have already activate the web service.

  • EP 7.0 Consuming Enterprise Services provided by PI 7.0

    Hello Community,
    A - Can we consume the Enterprise Services provided by PI 7.1 directly on EP 7.0 without using CE 7.1?
    B - Assumption - The above approach is not possible & we should use CE 7.1to create a consuming application using any UI/Composition tool eg WD, VC, Adobe etc and expose that in the Producer Portal (NWCE 7.1) which in turn would be consumed by the Consumer Portal (NW 7.0). Through federation, these composite applications are exposed to the central portal (7.0).
    Any thoughts/directions?
    Cheers - Dhanz

    Hi Siew,
    Windows Server or UNIX server ?
    If Windows Server u can give the full permissions to usr folder... User's <SID>ADM and SAPService<SID>.
    Regards,
    Suresh Kumar
    Edited by: Suresh Kalagarla on Dec 2, 2008 5:37 PM

  • Unable to consume Enterprise Service from SAP Service Registry

    Hi,
    I am trying to make use of a Enterprise Service available at the SAP's Service Registry (http://sr.esworkplace.sap.com/) in a Composite Application. I am using NWDS 7.1 for this purpose.
    The steps that I follow are as follows.
    1) I try importing the Web Service by right clicking the external node under the Composite Application and give the necessary login credentials for the SAP Service Registry.
    2) I click on the "Show Advanced" link under which I make following selection:
    BrowseByApplication->ERP Foundation->Business Partner Data Management->Employee
    Now my problem is after I select the Employee node, the 'Next' button is not enabled on the Service Registry wizard.
    Can anyone give an indication of why this might be the case. You may also want to know that at this stage I have still not installed NW AS CE 7.1.
    Any help would be much appreciated.
    Thanks,
    Shailesh

    Hi David,
    Yes I was able to consume the ESOA enterprise services from SAP's ES Workplace, although I am not inside the SAP network.
    As mentioned by me in my earlier post, the problem that I was facing was faced because I used to access internet through an internal proxy server which required me to pass my NT domain credentials.
    In order to access ES workplace from NWDS would mean that NWDS will have to access the internet, but this used to fail despite my specifying the proxy server settings in the Preferences menu of NWDS.
    I was able to overcome this problem by installing an ISA Firewall client on my m/c and in the proxy settings of the NWDS specifying a direct connection to the internet. This helped me to access the SAP's ES workplace inside NWDS, once you are able to select the available ES from the SAP workplace you will be able to utilize them in your application.
    Also, once you deploy the application, the runtime, i.e. WAS will also have to be configured to access the internet, this can be done by specifying proxy settings under Global System settings options.
    Hope this helps,
    Shailesh

  • Unable to consume Enterprise services from Visual Composer

    Hi,
    We have implemented ECC-SE 603 add-on in our ECC 6.0 system.
    We configured to set up a connection between our J2EE engine and the ES Workplace, to consume the Enterprise services from Visual Composer.
    But, we are unable to see the Enterprise Services in the Visual Composer.
    Kindly, let us know how to resolve this issue.

    Hi,
    please refer the following link
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a160392c-0e01-0010-7784-9cc564d871d2
    Regards
    Manohar

  • Run windows services from java application

    can java application run a windows server
    i have a web server that runing using tomcat and mysql
    can i make a icon in the systray
    that give me the option to (using a menu)
    run the server ,wicth means : tomcat and mysql are runing
    stop the server
    get tomcat stacktrace in a window
    i was thinking about runing tomcat and mysql as services
    and write the systray application using java,
    the systray application should acces window services ,
    and run/stop requierd services.
    what happend on a machine thar runs linux?
    thanks
    shay

    Ok .so it's will be a diffrent way under linux..
    for systray i will use http://systray.sourceforge.net/
    and for services i'll use the
    "net start <Service>" and "net stop service"
    i need to keep track on the service status
    so my Systray status will be updated
    what is the command for getting the status of the proccess
    thanks shay

  • Consuming Proxy Services from Java App

    Hello All,
    Does anyone have a sample code to consume Proxy Services of anySOAP and anyXML Type?
    Since WSDL for these types can't be generated, I am looking for some insight into how to consume these type of proxy services?
    Thx

    Quoting from other thread - "Depending on your type of proxy and type of transport, you have different options."
    I am looking for a options of calling anySOAP or anyXML type pf proxy service with http.
    Has anyone in the field implemeted this? Any insight?
    Thx.

  • Exception in consuming Enterprise Service in CE 7.1 SP5

    Hi all,
    The wsdl url given below in giving exception when I am consuming this wsdl in my web dynpro application for java .
    WsDL URL :
    http://sapecc6.patni.com:8004/sap/bc/srt/wsdl/bndg_DE24D6FF00C574F1934E0015C5F884EC/wsdl11/allinone/ws_policy/document?sap-client=001
    When I consumed this wsdl  and set the destination on  CE SP5 AS, its giving following error:
    "Exception on execution of web service on destination INV_WS_METADATA_DEST for operation InventoryKPIPresentationService in interface InventoryKPIPresentationService."
    I tried executing this wsdl in   WSNavigator, both by logical destination and using URL, there its working fine, that means destination setting is correct but when itu2019s consumed in web Dynpro application its gives Exception mentioned above.
    Can you please tell me what could be the probable reason for this exception .

    I think you should follow this guide:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50d70a19-45a3-2b10-bba0-807d819daf46
    or
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/301ff0bb-74ca-2910-fa99-eae392695aad
    regards
    gabriele

  • Authentication Web Services for Java applications

    Hi All,
    We are building Java based SAP applications for mobile devices such as Blackberry, iPhone etc. The applications are browser based (thin client) to be deployed on SAP Netweaver WAS and would interface with SAP backends such as SAP ECC, SAP BW using SAP Web Services (converted from BAPIs).
    For certain reasons we do not want to use Mobile Webdynpro Java using JCO/BAPIs as we would be using a Java based middleware which is built in-house for rendering on multiple devices and it does not go well with Mobile Webdynpro with Java. We are NOT using SAP Enterprise Portal as well.
    What I would like to know is are there any standard Authentication Web Services that can be used to authenticate the user, when he tries to login to the application through the mobile browser. Also does SAP Netweaver WAS provide authentication mechanism for a Java based web application by default.
    Any pointers would be appreciated and thanks in advance for the same.
    Suresh

    Hi All,
    We are building Java based SAP applications for mobile devices such as Blackberry, iPhone etc. The applications are browser based (thin client) to be deployed on SAP Netweaver WAS and would interface with SAP backends such as SAP ECC, SAP BW using SAP Web Services (converted from BAPIs).
    For certain reasons we do not want to use Mobile Webdynpro Java using JCO/BAPIs as we would be using a Java based middleware which is built in-house for rendering on multiple devices and it does not go well with Mobile Webdynpro with Java. We are NOT using SAP Enterprise Portal as well.
    What I would like to know is are there any standard Authentication Web Services that can be used to authenticate the user, when he tries to login to the application through the mobile browser. Also does SAP Netweaver WAS provide authentication mechanism for a Java based web application by default.
    Any pointers would be appreciated and thanks in advance for the same.
    Suresh

  • What kind of Cellphone supports for Web Services in Java Application?

    I have developed a software in J2ME integrated with Web Services!
    I am wondering what kind of Cellphone (Nokia, Samsung, ...) supported Web Services now?
    Any help is appreciate!

    Hi Shannon,
    The type of proxy I'm familiar with is at the http connection level and
    associated with the networking properties in the JDK, See:
    http://java.sun.com/j2se/1.4.2/docs/guide/net/properties.html
    Your question may be related to JWS proxies, See:
    http://edocs.bea.com/workshop/docs81/doc/en/workshop/guide/howdoi/howUseTheJavaProxyForAWebService.html
    You may want to ask this question in the workshop newsgroup.
    Hope this helps,
    Bruce
    shannon lee wrote:
    >
    Hi, all;
    I try to find out how the java proxy of web service in weblogic server 8.1
    works. Suppose I use the java Proxy of a WebSerice in a client application whatever
    whithin or outside the application of the web service, does the proxy actually:
    1. translate my java arguments objects in XML to create SOAP msg,
    2. then send the msg across the network, and web service also response SOAP msg,
    3. then proxy translate it into return value of the method call ?
    If that is true , the Java Proxy seems very inefficient, right?
    Can any body tell me how the proxy works ?
    regards,
    shannon

  • Java Code for using an Enterprise Service?

    Hi,
    I am new to CE , Can some one please provide the code for consuming an Enterprise Service inside my Application Service.
    I have Imprted the Inventory LookUp ES insid emy project, create the default mapping for the same inside an application service, created a method which calls the mapped ES method.
    But I got stuck at this juncture as I dont know how should I recieve the data from the user and through which object also how should I send this data to the ES to recieve the response.
    Please reply ASAP.
    Thanks,
    Manish

    Hi Dipankar,
    i as not aware of the steps which you just mentioned. Here I would like to ask that I should provide the Destination Name as the name of the Application Service or something else.
    Presently I have taken the name of the Aplication Service as the Destination Name and provided the WSDL of the Enterprise Service as the URL.
    And after that I mapped the application service with the Destination Created.
    The implementation code written is :
    public com.sap.xi.appl.global2.InventoryByLocationAndMaterialResponseMessage_SyncType findInventory(java.lang.String id, java.lang.String location) throws com.sap.caf.rt.exception.CAFServiceException {
              com.sap.xi.appl.global2.InventoryByLocationAndMaterialQueryMessage_SyncType request = new InventoryByLocationAndMaterialQueryMessage_SyncType();
              InventoryByLocationAndMaterialQueryMessage_SyncTypeCS1E data = new InventoryByLocationAndMaterialQueryMessage_SyncTypeCS1E();
              Material mat = new Material();
              Location loc = new Location();
              mat.setId(id);
              loc.setId(location);
              List locList = new ArrayList();
              List matList = new ArrayList();
              locList.add(loc);
              matList.add(mat);
              data.setLocation(locList);
              data.setMaterial(matList);
              request.setInventorySelectionByLocationAndMaterial(data);
              com.sap.xi.appl.global2.InventoryByLocationAndMaterialResponseMessage_SyncType response = this.InventoryByLocationAndMaterialQueryResponse_In(request);
              return response;
    I believe that when I test the application service in CAF runtime it will provide the Id and Location when I enter that in the UI to the Application Service and then I can use that to pass the data onto the Enterprise Service.
    Please correct me if I am wrong.
    But now I am getting the following error :
    "com.sap.engine.services.webservices.espbase.query.exceptions.TechnicalException: Deserializing WSDL stream http://iwdf0512.wdf.sap.corp:55080/sap/bc/srt/xip/sap/ECC_INVENTORY002QR?sap-client=800&wsdl=1.1 failed "
    The details are :
    Error Details
    com.sap.caf.rt.connectivity.exception.EngineException: com.sap.engine.services.webservices.espbase.query.exceptions.TechnicalException: Deserializing WSDL stream http://iwdf0512.wdf.sap.corp:55080/sap/bc/srt/xip/sap/ECC_INVENTORY002QR?sap-client=800&wsdl=1.1 failed
    at com.sap.caf.rt.connectivity.ws.WSExecuteManager.executeWS(WSExecuteManager.java:136)
    at com.sap.caf.rt.connectivity.ExecutionManager.executeWS(ExecutionManager.java:126)
    at com.sap.caf.rt.connectivity.ExternalOperationExecutor.execute(ExternalOperationExecutor.java:80)
    at com.sap.caf.rt.connectivity.ExternalOperationExecutor.execute(ExternalOperationExecutor.java:55)
    at com.sap.caf.rt.bol.da.remote.GenericOperationExecutor.execute(GenericOperationExecutor.java:53)
    at com.sap.inventory.modeled.appsrv.ecc_inventory002qr.ECC_INVENTORY002QRBean.InventoryByLocationAndMaterialQueryResponse_In(ECC_INVENTORY002QRBean.java:33)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:43)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext$InvocationContextImpl.proceed(AbstractInvocationContext.java:131)
    at com.sap.caf.rt.interceptors.LogInterceptor.aroundInvoke(LogInterceptor.java:61)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Application.invoke(Interceptors_Application.java:37)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:71)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:38)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:22)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:189)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke(Interceptors_StatelessInstanceGetter.java:16)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:21)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:16)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:133)
    at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:164)
    at $Proxy418_10002.InventoryByLocationAndMaterialQueryResponse_In(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.sap.caf.rt.services.serviceaccess.ServiceWrapper.findByDataObject(ServiceWrapper.java:330)
    at com.sap.caf.rt.services.serviceaccess.CAFServiceAccessBeanImpl.findByDataObject(CAFServiceAccessBeanImpl.java:230)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:43)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:71)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatefulTransactionAssociation.invoke(Interceptors_StatefulTransactionAssociation.java:43)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:189)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatefulSessionInstanceGetter.invoke(Interceptors_StatefulSessionInstanceGetter.java:37)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:38)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:22)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:21)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:16)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:133)
    at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:164)
    at com.sap.engine.services.ejb3.runtime.impl.StatefulBMProxyInvocationHandler.invoke(StatefulBMProxyInvocationHandler.java:55)
    at $Proxy123_10002.findByDataObject(Unknown Source)
    at com.sap.caf.rt.ui.esf.BONodeServiceAccess.findBy(BONodeServiceAccess.java:296)
    at com.sap.caf.rt.ui.esf.Query.execute(Query.java:222)
    at com.sap.caf.ui.servicebrowser.components.visualizer.controllers.TableViewCC.execute(TableViewCC.java:353)
    at com.sap.caf.ui.servicebrowser.components.visualizer.controllers.wdp.InternalTableViewCC.execute(InternalTableViewCC.java:181)
    at com.sap.caf.ui.servicebrowser.components.visualizer.views.TableViewCV.onActionExcuteQuery(TableViewCV.java:429)
    at com.sap.caf.ui.servicebrowser.components.visualizer.views.wdp.InternalTableViewCV.wdInvokeEventHandler(InternalTableViewCV.java:342)
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:131)
    at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:72)
    at com.sap.tc.webdynpro.clientserver.phases.ProcessingEventPhase.doHandleActionEvent(ProcessingEventPhase.java:156)
    at com.sap.tc.webdynpro.clientserver.phases.ProcessingEventPhase.execute(ProcessingEventPhase.java:91)
    at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequestPartly(WindowPhaseModel.java:161)
    at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doProcessRequest(WindowPhaseModel.java:109)
    at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:96)
    at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:469)
    at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:52)
    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doExecute(ClientApplication.java:1388)
    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doProcessing(ClientApplication.java:1208)
    at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.delegateToApplicationDoProcessing(AbstractExecutionContextDispatcher.java:145)
    at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.DispatchHandlerForAppProcessing.doService(DispatchHandlerForAppProcessing.java:35)
    at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.AbstractDispatchHandler.service(AbstractDispatchHandler.java:116)
    at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:93)
    at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.ExecutionContextDispatcher.dispatchToApplicationDoProcessing(ExecutionContextDispatcher.java:114)
    at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:80)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.dispatch(ApplicationSession.java:506)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.dispatch(ApplicationSession.java:526)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doApplicationProcessingStandalone(ApplicationSession.java:457)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:248)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:698)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:230)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:228)
    at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.delegateToRequestManager(AbstractExecutionContextDispatcher.java:192)
    at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.DispatchHandlerForRequestManager.doService(DispatchHandlerForRequestManager.java:38)
    at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.AbstractDispatchHandler.service(AbstractDispatchHandler.java:116)
    at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:93)
    at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.ExecutionContextDispatcher.dispatchToRequestManager(ExecutionContextDispatcher.java:140)
    at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:92)
    at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:104)
    at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doContent(AbstractDispatcherServlet.java:87)
    at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doPost(AbstractDispatcherServlet.java:61)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:66)
    at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:32)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:431)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:289)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:376)
    at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:85)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
    at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:160)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
    at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:67)
    at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
    at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
    at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
    at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
    at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
    at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:309)
    at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.run(Processor.java:222)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:152)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:247)
    Caused by: com.sap.esi.esp.service.server.query.discovery.ExtendedServiceException: com.sap.engine.services.webservices.espbase.query.exceptions.TechnicalException: Deserializing WSDL stream http://iwdf0512.wdf.sap.corp:55080/sap/bc/srt/xip/sap/ECC_INVENTORY002QR?sap-client=800&wsdl=1.1 failed
    at com.sap.esi.esp.service.server.query.discovery.DestinationsHelperImpl.getEndpointConfigurations(DestinationsHelperImpl.java:884)
    at com.sap.esi.esp.service.server.query.discovery.DestinationsHelperImpl.getWSDLUrl(DestinationsHelperImpl.java:401)
    at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.getWSDLUrl(GenericServiceFactory.java:222)
    at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService_NewInstance(GenericServiceFactory.java:192)
    at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:175)
    at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:160)
    at com.sap.caf.rt.connectivity.ws.WSExecuteManager.executeWS(WSExecuteManager.java:106)
    ... 137 more
    Caused by: com.sap.engine.services.webservices.espbase.query.exceptions.TechnicalException: Deserializing WSDL stream http://iwdf0512.wdf.sap.corp:55080/sap/bc/srt/xip/sap/ECC_INVENTORY002QR?sap-client=800&wsdl=1.1 failed
    at com.sap.engine.services.webservices.espbase.query.WSQueryImpl.getWSDLDefinitions(WSQueryImpl.java:509)
    at com.sap.engine.services.webservices.espbase.query.WSQueryImpl.initialize(WSQueryImpl.java:310)
    at com.sap.engine.services.webservices.espbase.query.WSQueryImpl.findWSEndpoints(WSQueryImpl.java:165)
    at com.sap.esi.esp.service.server.query.discovery.DestinationsHelperImpl.getEndpointConfigurations(DestinationsHelperImpl.java:873)
    ... 143 more
    Caused by: com.sap.engine.services.webservices.espbase.wsdl.exceptions.WSDLException: Invalid Response Code: (401) Unauthorized. The requested URL was:"http://iwdf0512.wdf.sap.corp:55080/sap/bc/srt/xip/sap/ECC_INVENTORY002QR?sap-client=800&wsdl=1.1"
    at com.sap.engine.services.webservices.espbase.wsdl.WSDLLoader.loadDOMDocument(WSDLLoader.java:140)
    at com.sap.engine.services.webservices.espbase.wsdl.WSDLLoader.load(WSDLLoader.java:91)
    at com.sap.engine.services.webservices.espbase.wsdl.WSDLLoader.load(WSDLLoader.java:80)
    at com.sap.engine.services.webservices.espbase.query.WSQueryImpl.getWSDLDefinitions(WSQueryImpl.java:507)
    ... 146 more
    Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized. The requested URL was:"http://iwdf0512.wdf.sap.corp:55080/sap/bc/srt/xip/sap/ECC_INVENTORY002QR?sap-client=800&wsdl=1.1"
    at com.sap.esi.esp.service.server.query.discovery.WSTransportSettingsResolver.resolveEntity(WSTransportSettingsResolver.java:362)
    at com.sap.engine.services.webservices.espbase.wsdl.WSDLLoader.loadDOMDocument(WSDLLoader.java:127)
    ... 149 more
    Close
    -Manish

Maybe you are looking for