Error while consuming Web service!!

Hi All,
1)I have created RFC enabled function module in R/3 back end
2)I want to use this Funtion module in webservice callacble object
3)I have created a callable object,but i am getting this error while testing
invocation failed: The host of endpoint URL "http://<host>:8001/sap/bc/soap/rfc" was not found. Check if the WS Client is configured correctly. Probably endpoint URL is not set or use of HTTP Proxy is required.; nested exception is:
java.net.UnknownHostException: proxy
Secondly i tried using external webservice and this is :
http://www.webservicex.net/WeatherForecast.asmx?WSDL
When i use this WSDL url, i am getting the error as : Could Not load WSDL URL:http://www.webservicex.net/WeatherForecast.asmx?WSDL :GenericServiceFactory initialization problem while calling WSDL model.
Can anybody guide me solving these two issue?
Any help will be highly apprecaited!!
Regards,
Ameya

Hi,
Does anybody have any idea about it ?Please suggest any solution.
Help will be highly appreciated.
Regards,
Ameya

Similar Messages

  • Authentication error while consuming web service published in SR of CE 7.1

    Hi,
    I am having this error while trying to consume a web service published in local services registry. Authentication level is set as Basic in the web service and in end point. I am receiving this error in security log files.
    Message:Authentication for web service ServicesRegistrySiService, configuration ServicesRegistrySiPort using security policy sap.com/tcesiuddisrws~earServicesRegistrySiServiceServicesRegistrySiPort*ws failed: Login failed.. (See SAP Note 880896 for further info).
    Category: /System/Security/WS/Authentication
    Location: com.sap.engine.services.wssec.authentication.authenticate
    Application: sap.com/tcesiuddisrws~ear
    Thread: HTTP Worker [1]
    Data Source: j2ee\cluster\server0\log\system\security_00.log
    Correlator ID: 33747500000034965
    Argument Objects: 
    Arguments: 
    DSR Component: 
    DSR Transaction: 72b226c009ed11dd9a3e000c29c818ce
    DSR User: 
    Message Code: 
    Session: 4196
    Transaction: 
    User: Guest
    Host: ########
    System: ###
    Instance: J00
    Node: server0
    following is the code in a C# .Net 2.0 from where the service is called.
                CnarService srv = new CnarService();
                NetworkCredential ic = new NetworkCredential("user", "password");
                CredentialCache cache = new CredentialCache();
                srv.UseDefaultCredentials = false;
                srv.PreAuthenticate = true;
                srv.Credentials = ic;
                try
                    srv.Timeout = 600;
                    cnarobject cnObj = srv.GetObject("1");
                    fnameTextBox.Text = cnObj.firstname;
                    lnameTextBox.Text = cnObj.lastname;
                    mnameTextBox.Text = cnObj.middlename;
                catch (WebException wex)
                    MessageBox.Show(wex.Message + wex.Response + wex.StackTrace);
    I tried to find the SAP Note 880896 but note doesn't exists. I am receiving similar error while trying to connect Enterprise Services explorer for .Net
    Please help.
    Regards
    Monty

    Hi,
    maybe you should see the settings for the ServicesRegistrySiService too. Under nwa->SOA.
    I am not sure, but the error seems like not able to use the ServicesRegistrySiPort, which is to be authenticated against.
    It is then used for retrieval of web services and publishing to the registry... i suppose.
    I am not sure though.
    Best regards,
    Vera

  • Error while consuming web service in portal component

    Hi All,
    I am working on a portal application which uses web services in portal component via web service.
    I have tested the web service and then creted a relevant portal service to it .When using this portal service in the portal component and running it Im getting the following run time error
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : Test_portal_service_app.Test_portal_service_app
    Component Name : Test_portal_service_app.Test_portal_service_app
    com.sap.portal.ivs.global.ume.UMECLient.
    Exception id: 11:17_03/07/08_0028_2739150
    See the details for the exception ID in the log file
    I did not use any ume attributes or ume api methods in the portal component .
    I have also added sharingreference= portalserviceapplication name  in deploymentdescriptor of the portal application which has the portal component.
    Please provide any suggestion for the possible cause of error .
    Urgent!!!!
    Thanks.

    Hi all,
    Please throw some light into this issue i am getting the following exception.
    com.sap.engine.services.webservices.jaxm.soap.accessor.NestedSOAPException: Problem in server response: Proxy Authentication Required.
    I have given the proxy settings in the com.sap.portal.ivs.httpservice  in the portal and also
    defined a proxy server in the Visual Administrator under Services -> Webservice Container -> HTTP Proxy Server
    I am calling service in the following manner.
    IPortalRuntimeResources runtime = PortalRuntime.getRuntimeResources();
       IService service = runtime.getService(IWS_P_Service.KEY);
       IWS_P_Service ws_service = (IWS_P_Service)service;
        Volumes from = new Volumes(Volumes.VOLUMES_KILOLITER_VALUE);
        Volumes to = new Volumes(Volumes.VOLUMES_LITER_VALUE);
        ChangeVolumeUnit cvu = new ChangeVolumeUnit(1200,from,to);
        // working upto here
         response.write("working");
         ChangeVolumeUnitResponse cvu_res = ws_service.ChangeVolumeUnit(cvu);
         double result = cvu_res.getChangeVolumeUnitResult();
         response.write(result+"");
    It is working upto "working".
    If any body has any solutions please post.
    Thanks

  • Authorization error while consuming web service in SOAP UI

    Hi,
    I am an ABAPer and do not have much knowledge about SOAMANAGER configuration.
    I have created a Web service and configured it using SOAMANAGER. I am trying to consume same web service using SOAP UI.
    But, I am getting an error HTTP-401 unauthorized.
    For authentication, I have selected "Transport level -User ID/Password" checkbox.
    What else, I have to configure, please let me know.
    Error log:
    Login failed
    What happened?
    calling the URL  <URL>.
    The application was running in the system <System> . Here, no credentials were provided.
    What can you do?
    If you still have a user ID , contact your system administrator.
    HTTP 401 - Unauthorized
    Your SAP Internet Communication Framework Team
    Regards,
    Sneha

    Hi Sneha,
    In SOAP UI, after importing WSDL, dig it till Request1, select it and go to Request property.
    Set Below things
    1. Authentication Type = Preemptive
    2. give username
    3 give password
    and send message.
    Regards,
    Mastan
    Message was edited by: mastan vali

  • Error while consuming Web Service (returning XML ) in ABAP

    Hi,
    i am trying to consume a web service in ABAP. ( webservice which takes a request and return a XML string back).
    I created a proxy class in SE80. and i tested it successfully.
    When i tried to use the class in my program, it is giving dump.
    i am not sure what is the problem. I guess it is not able to handle null values in XML.if that is the case. how to handle it..

    The dump says:
    Runtime Errors         OBJECTS_OBJREF_NOT_ASSIGNED
    Except.                CX_SY_REF_IS_INITIAL      
    Error analysis                                                              
        An exception occurred that is explained in detail below.                
        The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not
         caught and                                                             
        therefore caused a runtime error.                                       
        The reason for the exception is:                                        
        You attempted to use a 'NULL' object reference (points to 'nothing')    
        access a component (variable: "LO_CLIENTPROXY").                        
        An object reference must point to an object (an instance of a class)    
        before it can be used to access components.                             
        Either the reference was never set or it was set to 'NULL' using the    
        CLEAR statement.                                                        
    I think this dump is because of the default value ( space) in some elements. How to avoide that.
    wheni catch CX_SY_REF_IS_INITIAL it is not giving any dump. But this is not my requirement. Because it is not getting anything into  response string.

  • HELP: Error while consuming Web Service: ClassCastException

    Hi,
    I am trying to consume a web service that I deployed on Tomcat/Axis. Any guideline will be helpful. I generated stubs using WSDL2Java utility from Axis. The method I am trying to call is getFibo(), which returns an object FiboHolder. Unfortunately everytime it is throwing ClassCastException. I have couple of other methods in the service that returns int and int[] and both works fine. Could anyone please help why I am not able to consume the service when it is returning the object FiboHolder but works fine when I consume other methods of the service that returns int or int[]?
    Following is my client code:
        FibonacciService service =  new FibonacciServiceLocator();
        FibonacciSoapBindingStub stub = (FibonacciSoapBindingStub) service.getfibonacci(new URL("http://localhost:8080/axis/services/fibonacci"));
        // Now use the service to get a stub to the service
        FiboHolder fibHold = stub.getFibo();  //code errors out at runtime here
        System.out.println(fibHold.getFibo1());Following is the error message I get:
    org.apache.axis.AxisFault: java.lang.ClassCastException
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: java.lang.ClassCastException
    faultActor:
    faultNode:
    faultDetail:
         {http://xml.apache.org/axis/}hostname:
    Thanks,

    Hi all,
    Please throw some light into this issue i am getting the following exception.
    com.sap.engine.services.webservices.jaxm.soap.accessor.NestedSOAPException: Problem in server response: Proxy Authentication Required.
    I have given the proxy settings in the com.sap.portal.ivs.httpservice  in the portal and also
    defined a proxy server in the Visual Administrator under Services -> Webservice Container -> HTTP Proxy Server
    I am calling service in the following manner.
    IPortalRuntimeResources runtime = PortalRuntime.getRuntimeResources();
       IService service = runtime.getService(IWS_P_Service.KEY);
       IWS_P_Service ws_service = (IWS_P_Service)service;
        Volumes from = new Volumes(Volumes.VOLUMES_KILOLITER_VALUE);
        Volumes to = new Volumes(Volumes.VOLUMES_LITER_VALUE);
        ChangeVolumeUnit cvu = new ChangeVolumeUnit(1200,from,to);
        // working upto here
         response.write("working");
         ChangeVolumeUnitResponse cvu_res = ws_service.ChangeVolumeUnit(cvu);
         double result = cvu_res.getChangeVolumeUnitResult();
         response.write(result+"");
    It is working upto "working".
    If any body has any solutions please post.
    Thanks

  • XML Parser Error while creating Web service Client using JAX RPC

    hello evryone,
    Im facing XML Parser Error while creating web service client using JAX RPC. Im using Net Beans IDE for development purpose. I have wrote configuration file for client. Now i want to create Client stub. However i dont know how to do this in Net Beans. So i tried to do it from Command promt using command :
    wscompile -gen:client -d build -classpath build config-wsdl.xml
    here im getting Error:
    error parsing configuration file: XML parsing error: com.sun.xml.rpc.sp.ParseException:10: XML declaration may only begin entities
    Please help me out.
    Many thanks in advance,
    Kacee

    Can i use the client generated using jdeveloper 11g to import into the oracle forms 10g, i.e., form builder 10g. Currently this is the version we have in our office.

  • Error while consuming Odata service from Gateway client i.e /iwfnd/gw_client

    Hello Experts.
       I am facing below an error while consuming the Odata service from GW client... The error is "No service found for the namespace /IWFND/,name ZTEST_STOREROOM_SRV,version 001". Even i have tried to deep dive in /IWFND/Error_log but no use..
      Actually what I was doing :- My aim is to connect multiple back end systems in the same server with the help of Aliasing concept.. I have created multiple aliases and added in the /IWFND/MAINT_Service transaction.. but i am not getting how to consume the service..
       I have followed the solution upto some extent in the link => Multiple Origin Composition - SAP NetWeaver Gateway Foundation (SAP_GWFND) - SAP Library
      Can you please let me know how to resolve this.. Also please let me know, the syntax for the URI...
      Your help is highly appreciated..
      Please find the screenshot attached.
    Thanks,
    Srinivas.

    Hello @Nrisimhanadh_Yandamuri
      Thanks for your reply..
      I have got all the required authorization.. But still I am not able to hit the service.. Please let me know what could be the solution..
    Thanks,
    Srinivas.

  • Windows authentification while consuming web service from ABAP

    Hi All,
    We are consuming web service from ABAP, we have created client proxy in SE80 and configured logical port in LPCONFIG.
    This one was working fine. Now we have added  windows user authentification to access this service.
    Now when I'm trying to regenerate this proxy in R/3 it is asking for user and password. When I enter these details this one is not working.
    If I access this service direcly from internet explorer and I enter same user and password then I would able to access this service.
    Could you please let me know how to handle this.
    Regards
    Vikram

    The dialog that is produced by HTTP Destination object of the logical port is designed only for use within Classic Dynpro applications.  There is no prompt produced when running in Web Dynpro.  If possible assign a generic user within the logical port definition and this will be used automatically by all users.

  • 500 Error code while consuming web service using HTTPURLConnection

    Hi,
    I am getting an HTTP response code 500 and an IOException when I run a web service client to invoke a BMC Remedy web service (document based). I am using XML over HTTP to hit the web service as follows:
    // For Remedy
    soapAddress = "http://www.test-sislhelpdesk.siemens.co.in/arsys/services/ARService?server=bomw041a&webService=WebService_Test";
    soapEnvelope = "<SOAP-ENV:Envelope xmlns:SOAP-ENV=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"><SOAP-ENV:Header><AuthenticationInfo><userName>webservice</userName><password>*******</password></AuthenticationInfo></SOAP-ENV:Header><SOAP-ENV:Body><Q1:OpGetList xmlns:Q1=\"urn:WebService_Test\"><Q1:Qualification></Q1:Qualification></Q1:OpGetList></SOAP-ENV:Body></SOAP-ENV:Envelope>";
    soapAction = "urn:WebService_Test/OpGetList";
         URL url = new URL(soapAddress);
         HttpURLConnection connection = (HttpURLConnection) url.openConnection();
         System.out.println ("Connection got");
         connection.setDoOutput(true);
         connection.setRequestProperty("Content-Type","text/xml");
         connection.setRequestProperty ("soapAction", "\"" + soapAction + "\"");
         OutputStreamWriter outputStream = new OutputStreamWriter(connection.getOutputStream());
         System.out.println ("outputstream got");
         outputStream.write(soapEnvelope);
         outputStream.flush();
         BufferedReader reader = new BufferedReader(new InputStreamReader(connection.getInputStream()));
         String line = null;
         while ((line = reader.readLine()) != null)
              writer.write(line);
              writer.write("\n");
         System.out.println (writer);
         catch(Exception e){
              e.printStackTrace();
    I have created a .NET client proxy which seems to work well.
    I am not able to figure out as to why this code is not working. May be something wrong with the SOAP message request I am sending? But I have created this SOAP request message from the log generated for a successful hit. Any help in this regard will be highly appreciated.
    The web service is on the internet and hance is accessible to all :)
    Regards
    Vaibhav

    Tried "POST" request method, did not work.
    Actually when i hit other web services (created by me) , the code works.
    But when I hit a third party web service, it fails returning 500 error code.
    How can I extract the SOAP message returned, if any and see thinggs for myself.
    I guess there is something wrong with the request SOAP message which I am sending.

  • Error while pinging Web service in SUP.

    Hi all,
    I am trying to consume a Web Service through SUP.
    I have taken a sample Web service [http://www.webservicex.net/ConvertTemperature.asmx?WSDL] .
    But when I trying to establish a connection from sybase Wrokspace and ping the web service It is giving me an error.
    I have checked if the web service URL and it is working fine.
    The error  I recived while pinging is as follows
    com.sybase.sup.tooling.xml.XmlException: java.net.ConnectException: Connection timed out: connect
         at com.sybase.sup.tooling.wsdl.WsdlParser.parseURL(WsdlParser.java:573)
         at com.sybase.sup.tooling.wsdl.WsdlParser.parse(WsdlParser.java:68)
         at com.sybase.uep.tooling.eis.WsEISOperationBuilder.<init>(WsEISOperationBuilder.java:91)
         at com.sybase.uep.tooling.eis.WsEISOperationBuilder.<init>(WsEISOperationBuilder.java:66)
         at com.sybase.uep.datasources.ws.views.WSConnection.initialize(WSConnection.java:154)
         at com.sybase.uep.datasources.ws.views.WSConnection.<init>(WSConnection.java:38)
         at com.sybase.uep.datasources.ws.views.WSConnectionFactory.createConnection(WSConnectionFactory.java:28)
         at org.eclipse.datatools.connectivity.internal.ConnectionFactoryProvider.createConnection(Unknown Source)
         at org.eclipse.datatools.connectivity.internal.ConnectionProfile.createConnection(Unknown Source)
         at org.eclipse.datatools.connectivity.ui.PingJob.createTestConnection(Unknown Source)
         at org.eclipse.datatools.connectivity.ui.PingJob.run(Unknown Source)
         at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    Caused by: java.net.ConnectException: Connection timed out: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
         at java.net.Socket.connect(Socket.java:525)
         at java.net.Socket.connect(Socket.java:475)
         at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
         at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
         at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
         at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
         at sun.net.www.http.HttpClient.New(HttpClient.java:306)
         at sun.net.www.http.HttpClient.New(HttpClient.java:323)
         at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:860)
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:801)
         at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:726)
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1049)
         at com.sybase.sup.tooling.wsdl.WsdlParser.parseURL(WsdlParser.java:562)
         ... 11 more
    Please let me know what the problem might be.
    Thanks,
    Krutheeka.

    Hi,
    while you setup the webservice you can test the service and get the preview of the resultset. Did that work fine? If that works fine - check if you can simply copy and paste the webservice URL into a browser on the running PC. If you do not get a result in the browser, it is the landscape - if you get a result in your browser but not in the app it is the app.
    Well, could you try that step first?
    Regards,
    oliver

  • Error while invoking web service through weblogic 10

    While invoking a particular web service from other system it gives following error in instance finder
    exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Read timed out
    After that when it is invoked and run without error, we are getting double identical entiries in our database one for failed one and other for successful.
    suppose if it is failed 3 times and after that it succeeds then we are getting 4 identical entries in DB (3 failed and 1 success).
    Entries updated in DB as per API so we cant change logic.
    Can anyone suggest how it can be avoided.?
    what is the root cause of this error and how it can be handled?
    Edited by: 911694 on Mar 13, 2012 12:11 PM
    Edited by: 911694 on Mar 13, 2012 2:19 PM

    Which version/platform are you using?
    The thing you need to consider here is that the JDev proxy settings do not affect the BPEL server.
    So if the BPEL server cannot connect to your webservice, it will not be because of any Jdev setting.
    Check the proxy settings on your BPEL server (on 10.1.2 developer install it will be in obsetenv.bat, on 10.1.3 it will be a commandline property of the JVM - see AS Control administration page for the JVM)

  • Error while invoking web service over SSL

    While making a SSL Connections to web service i am getting the below mentioned error in spite of configuring the certificate provided by the client onto WLS.
    I tried adding the certificate to the default DemoTrust and DemoIdentity Keystores. The error still persisted.
    I also tried importing the certificate(into cacerts keystore) as Java Standard Trust as well as tried pointing it to the custom keystores. None of it worked :(
    Could somebody please give a solution to resolve this error ASAP.
    The error is:
    Message:exception occured, due to org.apache.axis2.AxisFault: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    org.apache.axis2.AxisFault: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
         at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
         at org.apache.axis2.transport.http.SOAPMessageFormatter.writeTo(SOAPMessageFormatter.java:83)
         at org.apache.axis2.transport.http.AxisRequestEntity.writeRequest(AxisRequestEntity.java:84)
         at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:499)
         at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2114)
         at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096)
         at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
         at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
         at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
         at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
         at org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:542)
         at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:199)
         at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:76)
         at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:400)
         at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:225)
         at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:435)
         at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:402)
         at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
         at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
         at com.intel.services.warrantyservice.Get_Warranty_Details_OutServiceStub.get_Warranty_Details_Out(Get_Warranty_Details_OutServiceStub.java:184)
         at com.intel.www.PortalServices.PortalServicesSOAPImpl.getWarrantyDetails(PortalServicesSOAPImpl.java:1865)
         at com.intel.www.PortalServices.PortalServicesSOAPSkeleton.getWarrantyDetails(PortalServicesSOAPSkeleton.java:213)
         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:597)
         at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
         at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
         at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
         at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
         at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
         at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
         at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3590)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: javax.xml.stream.XMLStreamException: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
         at weblogic.xml.stax.XMLWriterBase.flush(XMLWriterBase.java:504)
         at org.apache.axiom.om.impl.MTOMXMLStreamWriter.flush(MTOMXMLStreamWriter.java:168)
         at org.apache.axis2.databinding.utils.writer.MTOMAwareXMLSerializer.flush(MTOMAwareXMLSerializer.java:79)
         at org.apache.axis2.databinding.ADBDataSource.serialize(ADBDataSource.java:94)
         at org.apache.axiom.om.impl.llom.OMSourcedElementImpl.internalSerializeAndConsume(OMSourcedElementImpl.java:738)
         at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:966)
         at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerializeAndConsume(OMElementImpl.java:995)
         at org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl.serializeInternally(SOAPEnvelopeImpl.java:254)
         at org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl.internalSerialize(SOAPEnvelopeImpl.java:242)
         at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerializeAndConsume(OMElementImpl.java:995)
         at org.apache.axiom.om.impl.llom.OMNodeImpl.serializeAndConsume(OMNodeImpl.java:486)
         at org.apache.axis2.transport.http.SOAPMessageFormatter.writeTo(SOAPMessageFormatter.java:79)
         ... 48 more
    Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
         at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1591)
         at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:187)
         at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:181)
         at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1035)
         at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:124)
         at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:516)
         at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:454)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:884)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1096)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:623)
         at com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:59)
         at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
         at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
         at org.apache.commons.httpclient.ChunkedOutputStream.flush(ChunkedOutputStream.java:191)
         at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:278)
         at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:122)
         at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:212)
         at java.io.BufferedWriter.flush(BufferedWriter.java:236)
         at weblogic.xml.stax.XMLWriterBase.flush(XMLWriterBase.java:502)
         ... 59 more
    Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
         at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:285)
         at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:191)
         at sun.security.validator.Validator.validate(Validator.java:218)
         at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:126)
         at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:209)
         at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:249)
         at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1014)
         ... 74 more
    Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
         at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:174)
         at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:238)
         at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:280)
         ... 80 more

    Which version/platform are you using?
    The thing you need to consider here is that the JDev proxy settings do not affect the BPEL server.
    So if the BPEL server cannot connect to your webservice, it will not be because of any Jdev setting.
    Check the proxy settings on your BPEL server (on 10.1.2 developer install it will be in obsetenv.bat, on 10.1.3 it will be a commandline property of the JVM - see AS Control administration page for the JVM)

  • Error while deploying web service in Netweaver application

    Hi,
    In my group, two members working in the development of a WebDynpro based application.  We have created a track and are using the same for development. For our application
    the team member 1 created a Dc say DC1 for EJBS(both
    entity and session) and another DC say DC2 for the application archieve 'ear'
    and activated the two DCS. When another member of
    the team is trying to create a webservice in the checked out DC, the
    webservice was created successfully but while deploying the
    application archive DC it gives an error (details furnished below).
    Error:
    :Caught exception during application deployment from SAP J2EE Engine's
    deploy service:java.rmi.RemoteException: Cannot deploy
    application asianpaints.com/pe_mgt_ear.. Reason: Webservices common
    deployment exception! The reason is: Error occurred,
    trying to update web services for application
    asianpaints.com/pe_mgt_ear. . Additional info: none; nested exception
    is:
    java.lang.Exception:
    com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices common deployment
    exception! The reason is: Error occurred, trying to update web services
    for application asianpaints.com/pe_mgt_ear.
    WSDeploymentException: Webservices common deployment exception! The
    reason is: Error occurred, trying to parse documentation
    for web service NewPEProcessorService. .
    So we created one more DC3(referring the entity beans of DC1) and
    created the required session bean and webservice in that
    DC. It got deployed successfully. Again when we are trying to create
    new webservice it got created but the deployment got
    aborted with the same error as mentioned above:
    The detailed error description we got in both the cases is given below:
    Mar 30, 2006 1:07:39 PM /userOut/deploy
    (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy
    Thread,5,main]] INFO:
    [005]Additional log information about the deployment
    <!LOGHEADER[START]/>
    <!HELP[Manual modification of the header may cause parsing problem!]/>
    <!LOGGINGVERSION[1.5.3.7185 - 630]/>
    <!NAME[/usr/sap/J2E/JC00/SDM/program/log/sdmcl20060330074205.log]/>
    <!PATTERN[sdmcl20060330074205.log]/>
    <!FORMATTER[com.sap.tc.logging.TraceFormatter(%24d %s: %m)]/>
    <!ENCODING[ISO8859_1]/>
    <!LOGHEADER[END]/>
    Mar 30, 2006 1:12:07 PM Info: -
    Starting deployment -
    Mar 30, 2006 1:12:07 PM Info: Loading selected archives...
    Mar 30, 2006 1:12:07 PM Info: Loading
    archive '/usr/sap/J2E/JC00/SDM/program/temp/temp35515asianpaints.com~pe_mgt_ear.ear'
    Mar 30, 2006 1:12:17 PM Info: Selected archives successfully loaded.
    Mar 30, 2006 1:12:17 PM Info: Actions per selected component:
    Mar 30, 2006 1:12:17 PM Info: Update: Selected development component
    'pe_mgt_ear'/'asianpaints.com'/'J2E_HSSPNEW_D'/'20060330130420' updates
    currently deployed development component
    'pe_mgt_ear'/'asianpaints.com'/'J2E_HSSPNEW_D'/'8008'.
    Mar 30, 2006 1:12:17 PM Info: The deployment prerequisites finished
    without any errors. All items are correct.
    Mar 30, 2006 1:12:17 PM Info: Saved current Engine state.
    Mar 30, 2006 1:12:17 PM Info: Error handling strategy: OnErrorStop
    Mar 30, 2006 1:12:17 PM Info: Update strategy: UpdateAllVersions
    Mar 30, 2006 1:12:17 PM Info: Starting: Update: Selected development
    component
    'pe_mgt_ear'/'asianpaints.com'/'J2E_HSSPNEW_D'/'20060330130420' updates
    currently deployed development component
    'pe_mgt_ear'/'asianpaints.com'/'J2E_HSSPNEW_D'/'8008'.
    Mar 30, 2006 1:12:17 PM Info: SDA to be deployed:
    /usr/sap/J2E/JC00/SDM/root/origin/asianpaints.com/pe_mgt_ear/J2E_HSSPNEW_D/20060330130420/temp35515asianpaints.com~pe_mgt_ear
    .ear
    Mar 30, 2006 1:12:17 PM Info: Software type of SDA: J2EE
    Mar 30, 2006 1:12:17 PM Info: ***** Begin of SAP J2EE Engine
    Deployment (J2EE Application) *****
    Mar 30, 2006 1:15:07 PM Info: Begin of log messages of the target
    system:
    06/03/30 13:12:17 -
    06/03/30 13:12:20 - Start updating EAR file...
    06/03/30 13:12:20 - start-up mode is lazy
    06/03/30 13:12:23 - EAR file updated successfully for 3161ms.
    06/03/30 13:12:23 - Start updating...
    06/03/30 13:12:24 - EAR file uploaded to server for 525ms.
    06/03/30 13:15:07 - ERROR: Not updated. Deploy Service returned ERROR:
    java.rmi.RemoteException: Cannot deploy
    application asianpaints.com/pe_mgt_ear..
    Reason: Webservices common deployment exception!
    The reason is: Error occurred, trying to update web
    services for application asianpaints.com/pe_mgt_ear. . Additional info:
    none; nested exception is:
    java.lang.Exception:
    com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException:
    Webservices common deployment exception! The reason is: Error occurred,
    trying to update web services for application
    asianpaints.com/pe_mgt_ear. . Additional info: none
    at
    com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.updateWebServices(WSUpdateProcessor.java:164)
    at
    com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.updateWebServices(WSUpdateProcessor.java:118)
    at
    com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.updateWebServices(WSUpdateProcessor.java:86)
    at
    com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateManager.makeUpdate(WSUpdateManager.java:52)
    at
    com.sap.engine.services.webservices.server.deploy.WSDeployer.makeUpdate
    (WSDeployer.java:274)
    at
    com.sap.engine.services.deploy.server.application.UpdateTransaction.makeComponents(UpdateTransaction.java:390)
    at
    com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:387)
    at
    com.sap.engine.services.deploy.server.application.UpdateTransaction.begin(UpdateTransaction.java:159)
    at
    com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java
    :290)
    at
    com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:323)
    at
    com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3027)
    at
    com.sap.engine.services.deploy.server.DeployServiceImpl.update
    (DeployServiceImpl.java:584)
    at
    com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch
    (DeployServiceImplp4_Skel.java:1278)
    at
    com.sap.engine.services.rmi_p4.DispatchImpl._runInternal
    (DispatchImpl.java:294)
    at
    com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183)
    at
    com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request
    (P4SessionProcessor.java:119)
    at
    com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageLis
    tener.java:33)
    at
    com.sap.engine.core.cluster.impl6.session.MessageRunner.run
    (MessageRunner.java:41)
    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:95)
    at
    com.sap.engine.core.thread.impl3.SingleThread.run
    (SingleThread.java:160) Caused by:
    com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices
    deployment exception! The reason is: Error occurred, trying to generate
    web services deployment files for application
    asianpaints.com/pe_mgt_ear. . The error refers to application: none,
    jar: , web service: .
    at
    com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.generateDeployFiles(WSUpdateProcessor.java:296)
    at
    com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.deployWebServices(WSUpdateProcessor.java:262)
    at
    com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.updateWebServices(WSUpdateProcessor.java:155)
    ... 21 more
    Caused by:
    com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices common
    deployment exception! The reason is: Error occurred, parsing
    com.sap.engine.services.webservices.server.deploy.descriptors.sapwebservices.WSDescriptor descriptor, application
    asianpaints.com/pe_mgt_ear, web service NewPEProcessorService, location
    message: type: jar file, location:
    /usr/sap/J2E/JC00/j2ee/cluster/server0/./temp/deploy/work/deploying/reader1143704544275/asianpaints.com~HSSPNEW_UserDetails.j
    ar . . Additional info:
    at
    com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.parseWSDescriptor(WSDefinitionFactory.java:907)
    at
    com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.loadWebService(WSDefinitionFactory.java:176)
    at
    com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.loadWebServices(WSDefinitionFactory.java:158)
    at
    com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.generateDeployFiles(WSUpdateProcessor.java:284)
    ... 23 more
    Caused by:
    com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices common
    deployment exception! The reason is: Error occurred, trying to parse
    documentation for web service NewPEProcessorService. .
    Additional info:
    at
    com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.parseDocumentation(WSDefinitionFactory.java:1586)
    at
    com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.parseWSDAndDocumentation(WSDefinitionFactory.java:15
    60)
    at
    com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.parseWSDescriptor(WSDefinitionFactory.java:814)
    ... 26 more
    Caused by: java.lang.NullPointerException
    at
    com.sap.engine.services.deploy.server.DeployServiceImpl.update
    (DeployServiceImpl.java:596)
    at
    com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch
    (DeployServiceImplp4_Skel.java:1278)
    at
    com.sap.engine.services.rmi_p4.DispatchImpl._runInternal
    (DispatchImpl.java:294)
    at
    com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183)
    at
    com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request
    (P4SessionProcessor.java:119)
    at
    com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageLis
    tener.java:33)
    at
    com.sap.engine.core.cluster.impl6.session.MessageRunner.run
    (MessageRunner.java:41)
    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:95)
    at
    com.sap.engine.core.thread.impl3.SingleThread.run
    (SingleThread.java:160) Caused by:
    java.lang.Exception:
    com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices common deployment exception! The
    reason is: Error occurred, trying to update web services for
    application asianpaints.com/pe_mgt_ear. . Additional info: none
    at
    com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.updateWebServices(WSUpdateProcessor.java:164)
    at
    com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.updateWebServices(WSUpdateProcessor.java:118)
    at
    com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.updateWebServices(WSUpdateProcessor.java:86)
    at
    com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateManager.makeUpdate(WSUpdateManager.java:52)
    at
    com.sap.engine.services.webservices.server.deploy.WSDeployer.makeUpdate
    (WSDeployer.java:274)
    at
    com.sap.engine.services.deploy.server.application.UpdateTransaction.makeComponents(UpdateTransaction.java:390)
    at
    com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:387)
    at
    com.sap.engine.services.deploy.server.application.UpdateTransaction.begin(UpdateTransaction.java:159)
    at
    com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java
    :290)
    at
    com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:323)
    at
    com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3027)
    at
    com.sap.engine.services.deploy.server.DeployServiceImpl.update
    (DeployServiceImpl.java:584)
    at
    com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch
    (DeployServiceImplp4_Skel.java:1278)
    at
    com.sap.engine.services.rmi_p4.DispatchImpl._runInternal
    (DispatchImpl.java:294)
    at
    com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183)
    at
    com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request
    (P4SessionProcessor.java:119)
    at
    com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageLis
    tener.java:33)
    at
    com.sap.engine.core.cluster.impl6.session.MessageRunner.run
    (MessageRunner.java:41)
    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:95)
    at
    com.sap.engine.core.thread.impl3.SingleThread.run
    (SingleThread.java:160) Caused by:
    com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices
    deployment exception! The reason is: Error occurred, trying to generate
    web services deployment files for application
    asianpaints.com/pe_mgt_ear. . The error refers to application: none,
    jar: , web service: .
    at
    com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.generateDeployFiles(WSUpdateProcessor.java:296)
    at
    com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.deployWebServices(WSUpdateProcessor.java:262)
    at
    com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.updateWebServices(WSUpdateProcessor.java:155)
    ... 21 more
    Caused by:
    com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices common
    deployment exception! The reason is: Error occurred, parsing
    com.sap.engine.services.webservices.server.deploy.descriptors.sapwebservices.WSDescriptor descriptor, application
    asianpaints.com/pe_mgt_ear, web service NewPEProcessorService, location
    message: type: jar file, location:
    /usr/sap/J2E/JC00/j2ee/cluster/server0/./temp/deploy/work/deploying/reader1143704544275/asianpaints.com~HSSPNEW_UserDetails.j
    ar . . Additional info:
    at
    com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.parseWSDescriptor(WSDefinitionFactory.java:907)
    at
    com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.loadWebService(WSDefinitionFactory.java:176)
    at
    com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.loadWebServices(WSDefinitionFactory.java:158)
    at
    com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.generateDeployFiles(WSUpdateProcessor.java:284)
    ... 23 more
    Caused by:
    com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices common
    deployment exception! The reason is: Error occurred, trying to parse
    documentation for web service NewPEProcessorService. .
    Additional info:
    at
    com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.parseDocumentation(WSDefinitionFactory.java:1586)
    at
    com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.parseWSDAndDocumentation(WSDefinitionFactory.java:15
    60)
    at
    com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.parseWSDescriptor(WSDefinitionFactory.java:814)
    ... 26 more
    Caused by: java.lang.NullPointerException
    at
    com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException.writeReplace(WSDeploymentException.java:64)
    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:324)
    at java.io.ObjectStreamClass.invokeWriteReplace
    (ObjectStreamClass.java:896)
    at java.io.ObjectOutputStream.writeObject0
    (ObjectOutputStream.java:1011)
    at java.io.ObjectOutputStream.defaultWriteFields
    (ObjectOutputStream.java:1332)
    at java.io.ObjectOutputStream.writeSerialData
    (ObjectOutputStream.java:1304)
    at
    java.io.ObjectOutputStream.writeOrdinaryObject
    (ObjectOutputStream.java:1247)
    at java.io.ObjectOutputStream.writeObject0
    (ObjectOutputStream.java:1052)
    at java.io.ObjectOutputStream.writeObject
    (ObjectOutputStream.java:278)
    at
    com.sap.engine.services.rmi_p4.DispatchImpl.throwException
    (DispatchImpl.java:135)
    at
    com.sap.engine.services.rmi_p4.DispatchImpl._runInternal
    (DispatchImpl.java:296)
    ... 8 more
    For detailed information see the log file of the
    Deploy Service.
    06/03/30 13:15:07 -
    Mar 30, 2006 1:15:07 PM Info: End of log messages of the target
    system.Mar 30, 2006 1:15:07 PM Info: ***** End of SAP J2EE Engine
    Deployment
    (J2EE Application) *****
    Mar 30, 2006 1:15:07 PM Error: Aborted: development component
    'pe_mgt_ear'/'asianpaints.com'/'J2E_HSSPNEW_D'/'20060330130420':
    Caught exception during application deployment from SAP J2EE Engine's
    deploy service:
    java.rmi.RemoteException: Cannot deploy application
    asianpaints.com/pe_mgt_ear..
    Reason: Webservices common deployment exception! The reason is: Error
    occurred, trying to update web services for application
    asianpaints.com/pe_mgt_ear. . Additional info: none; nested exception
    is:
    java.lang.Exception:
    com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices common
    deployment exception! The reason is: Error occurred, trying to update
    web services for application
    asianpaints.com/pe_mgt_ear. . Additional info: none
    at
    com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.updateWebServices(WSUpdateProcessor.java:164)
    at
    com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.updateWebServices(WSUpdateProcessor.java:118)
    at
    com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.updateWebServices(WSUpdateProcessor.java:86)
    at
    com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateManager.makeUpdate(WSUpdateManager.java:52)
    at
    com.sap.engine.services.webservices.server.deploy.WSDeployer.makeUpdate
    (WSDeployer.java:274)
    at
    com.sap.engine.services.deploy.server.application.UpdateTransaction.makeComponents(UpdateTransaction.java:390)
    at
    com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:387)
    at
    com.sap.engine.services.deploy.server.application.UpdateTransaction.begin(UpdateTransaction.java:159)
    at
    com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java
    :290)
    at
    com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:323)
    at
    com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3027)
    at
    com.sap.engine.services.deploy.server.DeployServiceImpl.update
    (DeployServiceImpl.java:584)
    at
    com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch
    (DeployServiceImplp4_Skel.java:1278)
    at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal
    (DispatchImpl.java:294)
    at com.sap.engine.services.rmi_p4.DispatchImpl._run
    (DispatchImpl.java:183)
    at
    com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request
    (P4SessionProcessor.java:119)
    at
    com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageLis
    tener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run
    (MessageRunner.java:41)
    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:95)
    at com.sap.engine.core.thread.impl3.SingleThread.run
    (SingleThread.java:160)
    Caused by:
    com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices deployment exception! The
    reason is: Error occurred, trying to generate web services deployment
    files for application asianpaints.com/pe_mgt_ear. . The
    error refers to application: none, jar: , web service: .
    at
    com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.generateDeployFiles(WSUpdateProcessor.java:296)
    at
    com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.deployWebServices(WSUpdateProcessor.java:262)
    at
    com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.updateWebServices(WSUpdateProcessor.java:155)
    ... 21 more
    Caused by:
    com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices common deployment
    exception! The reason is: Error occurred, parsing
    com.sap.engine.services.webservices.server.deploy.descriptors.sapwebservices.WSDescriptor descriptor, application
    asianpaints.com/pe_mgt_ear, web service NewPEProcessorService, location
    message: type: jar file, location:
    /usr/sap/J2E/JC00/j2ee/cluster/server0/./temp/deploy/work/deploying/reader1143704544275/asianpaints.com~HSSPNEW_UserDetails.j
    ar . . Additional info:
    at
    com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.parseWSDescriptor(WSDefinitionFactory.java:907)
    at
    com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.loadWebService(WSDefinitionFactory.java:176)
    at
    com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.loadWebServices(WSDefinitionFactory.java:158)
    at
    com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.generateDeployFiles(WSUpdateProcessor.java:284)
    ... 23 more
    Caused by:
    com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices common deployment
    exception! The reason is: Error occurred, trying to parse documentation
    for web service NewPEProcessorService. . Additional
    info:
    at
    com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.parseDocumentation(WSDefinitionFactory.java:1586)
    at
    com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.parseWSDAndDocumentation(WSDefinitionFactory.java:15
    60)
    at
    com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.parseWSDescriptor(WSDefinitionFactory.java:814)
    ... 26 more
    Caused by: java.lang.NullPointerException
    (message ID:
    com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    Mar 30, 2006 1:15:17 PM Info: J2EE Engine is in same state
    (online/offline) as it has been before this deployment process.
    Mar 30, 2006 1:15:17 PM Error: -
    At least one of the Deployments
    failed -
    Deployment failure happens only when the DC contains a web service; else, it goes through properly. 
    Can anyone of you indicate where we are going wrong and what should be done to resolve this issue?
    Thanks a lot in advance.
    Regards,
    Ravi

    Hi,
    You can go to the Visual Administrator -> <SID> -> Server -> Services -> Deploy -> Runtime tab -> option Container at the bottom and see if everything is correct and running in the webservices_container.
    If something necessary to the deployment is not started you can select it and click in start.
    I hope it helps.
    Thanks,
    Anderson

  • Getting the error while invoking Web services

    Hi,
    I am getting the error while invoking an webservive method *** follows
    {color:#3366ff}2009-01-28 04:49:38.994 Error Occured inMesage Now
    2009-01-28 04:49:38.994 javax.xml.rpc.ServiceException: Unable to create Service Factory: oracle.j2ee.ws.client.ServiceFactoryImpl
    2009-01-28 04:49:38.995 at javax.xml.rpc.ServiceFactory.newInstance(ServiceFactory.java:75)
    2009-01-28 04:49:38.995 at ccaproxy.proxy.ISessionClient.&lt;init&gt;(ISessionClient.java:25)
    2009-01-28 04:49:38.995 at oracle.apps.contactCenter.mct.model.connector.cca.CCAInternalConnImpl.cstaMonitorStart(CCAInternalConnImpl.java:86)
    2009-01-28 04:49:38.995 at oracle.apps.contactCenter.mct.model.connector.CCAMangConnImpl.cstaMonitorStart(CCAMangConnImpl.java:440)
    2009-01-28 04:49:38.995 at oracle.apps.contactCenter.mct.model.connector.CCAConnectionImpl.cstaMonitorStart(CCAConnectionImpl.java:107)
    2009-01-28 04:49:38.995 at testcca.Class1.GetConnection(Class1.java:54)
    2009-01-28 04:49:38.995 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2009-01-28 04:49:38.995 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    2009-01-28 04:49:38.995 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    2009-01-28 04:49:38.995 at java.lang.reflect.Method.invoke(Method.java:585)
    2009-01-28 04:49:38.995 at oracle.j2ee.ws.server.jaxws.ServiceEndpointRuntime.processMessage(ServiceEndpointRuntime.java:283)
    2009-01-28 04:49:38.995 at oracle.j2ee.ws.server.jaxws.ServiceEndpointRuntime.processMessage(ServiceEndpointRuntime.java:147)
    2009-01-28 04:49:38.995 at oracle.j2ee.ws.server.jaxws.JAXWSRuntimeDelegate.processMessage(JAXWSRuntimeDelegate.java:403)
    2009-01-28 04:49:38.995 at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:1055)
    2009-01-28 04:49:38.995 at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:763)
    2009-01-28 04:49:38.995 at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:528)
    2009-01-28 04:49:38.995 at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:212)
    2009-01-28 04:49:38.995 at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:176)
    2009-01-28 04:49:38.995 at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:311)
    2009-01-28 04:49:38.995 at javax.servlet.http.HttpServlet.service(HttpServlet.java:738)
    2009-01-28 04:49:38.995 at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
    2009-01-28 04:49:38.996 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:692)
    2009-01-28 04:49:38.996 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:351)
    2009-01-28 04:49:38.996 at com.evermind.server.http.HttpRequestHandler.doDispatchRequest(HttpRequestHandler.java:977)
    2009-01-28 04:49:38.996 at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:878)
    2009-01-28 04:49:38.996 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:676)
    2009-01-28 04:49:38.996 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:644)
    2009-01-28 04:49:38.996 at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:436)
    2009-01-28 04:49:38.996 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:185)
    2009-01-28 04:49:38.996 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:153)
    2009-01-28 04:49:38.996 at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:276)
    2009-01-28 04:49:38.996 at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:223)
    2009-01-28 04:49:38.996 at oracle.oc4j.network.ServerSocketAcceptHandler.access$900(ServerSocketAcceptHandler.java:39)
    2009-01-28 04:49:38.996 at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:841)
    2009-01-28 04:49:38.996 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
    2009-01-28 04:49:38.996 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
    2009-01-28 04:49:38.996 at java.lang.Thread.run(Thread.java:595)
    {color}{color:#000000}The Scenarios is as follows:
    I am having a JCA connector which is calling the CCA Method.
    CCA uses the web services for method invocation and i have created the jar file for the web service proxies. teh proxies are of RPC type. I have include the jar file in the connector project for reference.
    I have written a webservice client which will get the connection abject and invoke a method which internally invokes the CCA method.
    During this time it is giving this error.
    Please note that i have included the wsclient-extend.jar file ,wsclient jar file in both the connector project and the client project.
    Thanks
    Santosh{color}

    You have to add the jaxrpc library in the server.xml configuration of your embedded oc4j.
    Line:
    <import-shared-library name="oracle.ws.jaxrpc"/>
    You have to do this twice: in the adf.oracle.domain and the adf.generic.domain shared lib entries.
    Then, you have to do this again in the system-application.xml file (only once).
    Edited by: remcoscc on Aug 23, 2010 4:30 PM

Maybe you are looking for

  • Any preparation needed to reinstall DW CS 3?

    I have DW CS 3 on a MacBook Pro with a Snow Leopard upgrade, I have a monitor profiling problem that affects all adobe products and other third party imaging software as well as all browsers, but not Opera or mail??  In that the Snow Leopard upgrade

  • How to get the user name from Single Sign On Process?

    Post Author: sasikumar CA Forum: Authentication I am loging in Single Sign On Page. Then it goes to one JSP which lists out some links including InfoView link. While clicking InfoView link, I need to pass user name with the url for authentication. Ho

  • Flickr to web site

    how to add flickr to iweb page like it is done here: http://olavidaswimwear.com/collections.html

  • Default Access type is Open!

    The default Access type when uploading a file is "Open", which means anyone can access the file if they have the URL (or guess it). Surely this should be "Restricted" until you decide to open the file? Or at the very least, an option in the preferenc

  • Getting Flex App Path?

    I want to get the full path to where my Flex AIR application has been installed and is currently running. Back in the Windows SDK days there was a function called GetModuleFileName. How is this done in a Flex application? Thanks, Steve