SOAPHeader doesn't correspond to web service executed

Hi experts,
I'm developing a set of services that use the same business service as sender.
When testing with SOAPUI and others this situation happens:
1) The first time I execute a web service, for example XPTO1, the execution is successful
2) When, after that, I execute another web service, for example XPTO2, it gives an error:
"<SOAP:Fault>
         <faultcode>SOAP:Server</faultcode>
         <faultstring>Server Error</faultstring>
         <detail>
            <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
               <context>XIAdapter</context>
               <code>ADAPTER.JAVA_EXCEPTION</code>
               <text>com.sap.aii.af.ra.ms.api.DeliveryException: Application:EXCEPTION_DURING_EXECUTE:
     at com.sap.aii.adapter.xi.ms.XIEventHandler.onTransmit(XIEventHandler.java:455)
     at com.sap.aii.af.ra.ms.impl.core.queue.consumer.CallConsumer.onMessage(CallConsumer.java:134)
     at com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java:910)
     at com.sap.aii.af.ra.ms.runtime.MSWorkWrapper.run(MSWorkWrapper.java:56)
     at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
     at java.security.AccessController.doPrivileged(AccessController.java:219)
     at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
     at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)</text>
            </s:SystemError>
         </detail>
  </SOAP:Fault>"
When I analyze the SOAPHeader and the Payload, the SOAPHeader has as sender and receiver the message interfaces of service XPTO1 (which is wrong, should be XPTO2) and the Payload is correct (has reference to service XPTO2).
3) If I execute a second time the first web service (XPTO1) it is successful.
Can anyone help me? I already have clear cache with transaction SXI_CACHE and also have executed the Clear SLD Data Cache but the problem maintains.
Thanks,
Diana Pinto

Which PI and SP version do you use?
You should look for a patch.

Similar Messages

  • Web Service Execute Activity

    Using the Web Service Execute activity, I get the following error when I try to load the methods using wsdl https://srm-app-003:9007/srm.wsdl
    When I try to run the workflow, I get the following error:
        Error attempting to discover web service
         There was an error downloading 'https://srm-app-003:9007/srm.wsdl'.
         The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
         The remote certificate is invalid according to the validation procedure.
    To try to fix the issue, I went to the Target tab, then Web Target properties and checked "Ignore Certificate Errors" checkbox under Connection Tab.
    Then I tried running it again and this time I get the following error:
         Exception has been thrown by the target of an invocation.
         Unable to generate a temporary class (result=1).
         error CS0001: Internal compiler error (0xc00000fd)
         error CS0003: Out of memory
    Have you seen this error before and how do I can I circumvent this issue?
    Thank you in advance for your help.
    Regards,
    Mary Jane Cofino

    Hi Mary Jane,
    What version of CPO are you using? I was able to load this WSDL up in 2.3 and see the methods. It took a few moments to load fully as it appears to be a large WSDL but it loaded.
    How much memory is on your VM/server you are using with CPO?
    If you want more in-depth help, please open a TAC case and someone from my team can help you.
    thanks,
    Shaun Roberts
    CPO/CIAC Support Team Lead
    [email protected]

  • Web Service executing multiple times

    We are noticing an ongoing problem with web services both consumed in SAP as well as web services published in SAP and consumed via .NET applications.  In both cases, we are occasionally seeing examples of a single web service method calls executing multiple times.  For example, one of our methods in our SAP generated web services inserts records into a custom Z table.  We are noticing that for a single invocation of the web service, data records are appearing multiple times in the custom table.  We have placed code inside of the function in SAP to catch these multiple executions, but the code does not recognize the duplicates because most likely, the commit from the previous execution has not yet occurred.  We have time stamped the inserts into the table and can see that they do not have the same time.  Our web services are being created in SE80.  My guess is this is some sort of caching issue.  Has anyone run into a similar problem?  We are using NetWeaver 7.0 and SAP ECC 6.0.
    Edited by: Joseph Sciacca on Sep 9, 2008 4:10 PM
    Edited by: Joseph Sciacca on Sep 9, 2008 7:34 PM

    Hi Developers,
    I have the same question, is it possible to have multiple outgoing parameters?
    When not, does SAP Netweaver knows a IN-OUT parameter? Because I found on the internet that it is possible to have a IN-OUT parameter. But that was with the BEA Weblogic 8.x.
    When not, is then the only solution to return a object? With in this object all the parameters you want.
    Or otherwise is there a other workaround?
    Thanks in advance,
    Marinus Geuze

  • NullPonterException while executing web service

    Hello, all.
    I have a strange problem with web services created via workshop 8.1beta. If I
    try to use JMS-XML method of invoking web service, the whole process seems ok.
    My code in method of a web service executes without problems, but the service
    response is as follows:
    Service Response Submitted at Fri Jul 11 14:20:11 CEST 2003 <error> <faultcode>JWSError</faultcode>
    <faultstring>java.lang.NullPointerException</faultstring> <detail> com.bea.wlw.runtime.core.dispatcher.ResponseValidationException:
    java.lang.NullPointerException at com.bea.wlw.runtime.jws.dispatcher.MimeXmlResponse.setReturnValue(MimeXmlResponse.java:37)
    at com.bea.wlw.runtime.core.bean.BaseDispatcherBean.runAsInvoke(BaseDispatcherBean.java:185)
    at com.bea.wlw.runtime.core.bean.BaseDispatcherBean.invoke(BaseDispatcherBean.java:45)
    at com.bea.wlw.runtime.core.bean.SyncDispatcherBean.invoke(SyncDispatcherBean.java:124)
    at com.bea.wlw.runtime.core.bean.SyncInput_l1w9sx_EOImpl.invoke(SyncInput_l1w9sx_EOImpl.java:46)
    at com.bea.wlw.runtime.core.bean.SyncInput_l1w9sx_EOImpl_WLSkel.invoke(Unknown
    Source) at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:166)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:291)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:244)
    at com.bea.wlw.runtime.core.bean.SyncInput_l1w9sx_EOImpl_WLStub.invoke(Unknown
    Source) at com.bea.wlw.runtime.core.dispatcher.Dispatcher.remoteDispatch(Dispatcher.java:143)
    at com.bea.wlw.runtime.jws.bean.JMSTransportBean.onMessage(JMSTransportBean.java:113)
    at weblogic.ejb20.internal.MDListener.execute(MDListener.java:364) at weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.java:298)
    at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:263) at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2514)
    at weblogic.jms.client.JMSSession.execute(JMSSession.java:2442) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151) Caused by: java.lang.NullPointerException
    at com.bea.xml.marshal.MarshalContext.init(MarshalContext.java:38) at com.bea.wlw.runtime.core.dispatcher.DispMessage.marshalXml(DispMessage.java:408)
    at com.bea.wlw.runtime.jws.dispatcher.MimeXmlResponse.writePart(MimeXmlResponse.java:108)
    at com.bea.wlw.runtime.jws.dispatcher.MimeXmlResponse.writeOutputPart(MimeXmlResponse.java:98)
    at com.bea.wlw.runtime.jws.dispatcher.MimeXmlResponse.setReturnValue(MimeXmlResponse.java:33)
    .. 18 more
    </detail> </error>
    The next problem is that if I create a web service with JMS-XML method and test/deploy
    it on platform domain of weblogic 8.1 beta, it invokes normaly (and it ends with
    the response given above), but if I use a workshop platform, web service never
    starts. If I look at the jws.queue monitoring on weblogic console, I can see the
    messages there, but no consumer is present.
    This is not the last problem I am facing. The next problem is that my weblogic
    domain doesn't accept the system property weblogic.webservice.verbose. When I
    try to start weblogic, the console says:
    <2003.7.14 17:36:32 CEST> <Warning> <Management> <BEA-141087> <Unrecognized property:
    webservice.verbose.>
    I get the same message for jws.logging and jws.ProductionMode, which were put
    there into my start script by configuration wizard. The server runs in development
    mode and it is a platform domain server.
    Help in advance for all the answers.
    Best regards, Srecko Mandelj.

    Please post this on the Workshop (WLW) newsgroup.
    Regards
    Shridhar
    "Srecko Mandelj" <[email protected]> wrote:
    >
    Hello, all.
    I have a strange problem with web services created via workshop 8.1beta.
    If I
    try to use JMS-XML method of invoking web service, the whole process
    seems ok.
    My code in method of a web service executes without problems, but the
    service
    response is as follows:
    Service Response Submitted at Fri Jul 11 14:20:11 CEST 2003 <error> <faultcode>JWSError</faultcode>
    <faultstring>java.lang.NullPointerException</faultstring> <detail> com.bea.wlw.runtime.core.dispatcher.ResponseValidationException:
    java.lang.NullPointerException at com.bea.wlw.runtime.jws.dispatcher.MimeXmlResponse.setReturnValue(MimeXmlResponse.java:37)
    at com.bea.wlw.runtime.core.bean.BaseDispatcherBean.runAsInvoke(BaseDispatcherBean.java:185)
    at com.bea.wlw.runtime.core.bean.BaseDispatcherBean.invoke(BaseDispatcherBean.java:45)
    at com.bea.wlw.runtime.core.bean.SyncDispatcherBean.invoke(SyncDispatcherBean.java:124)
    at com.bea.wlw.runtime.core.bean.SyncInput_l1w9sx_EOImpl.invoke(SyncInput_l1w9sx_EOImpl.java:46)
    at com.bea.wlw.runtime.core.bean.SyncInput_l1w9sx_EOImpl_WLSkel.invoke(Unknown
    Source) at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:166)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:291)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:244)
    at com.bea.wlw.runtime.core.bean.SyncInput_l1w9sx_EOImpl_WLStub.invoke(Unknown
    Source) at com.bea.wlw.runtime.core.dispatcher.Dispatcher.remoteDispatch(Dispatcher.java:143)
    at com.bea.wlw.runtime.jws.bean.JMSTransportBean.onMessage(JMSTransportBean.java:113)
    at weblogic.ejb20.internal.MDListener.execute(MDListener.java:364) at
    weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.java:298)
    at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:263)
    at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2514)
    at weblogic.jms.client.JMSSession.execute(JMSSession.java:2442) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151) Caused by:
    java.lang.NullPointerException
    at com.bea.xml.marshal.MarshalContext.init(MarshalContext.java:38) at
    com.bea.wlw.runtime.core.dispatcher.DispMessage.marshalXml(DispMessage.java:408)
    at com.bea.wlw.runtime.jws.dispatcher.MimeXmlResponse.writePart(MimeXmlResponse.java:108)
    at com.bea.wlw.runtime.jws.dispatcher.MimeXmlResponse.writeOutputPart(MimeXmlResponse.java:98)
    at com.bea.wlw.runtime.jws.dispatcher.MimeXmlResponse.setReturnValue(MimeXmlResponse.java:33)
    ... 18 more
    </detail> </error>
    The next problem is that if I create a web service with JMS-XML method
    and test/deploy
    it on platform domain of weblogic 8.1 beta, it invokes normaly (and it
    ends with
    the response given above), but if I use a workshop platform, web service
    never
    starts. If I look at the jws.queue monitoring on weblogic console, I
    can see the
    messages there, but no consumer is present.
    This is not the last problem I am facing. The next problem is that my
    weblogic
    domain doesn't accept the system property weblogic.webservice.verbose.
    When I
    try to start weblogic, the console says:
    <2003.7.14 17:36:32 CEST> <Warning> <Management> <BEA-141087> <Unrecognized
    property:
    webservice.verbose.>
    I get the same message for jws.logging and jws.ProductionMode, which
    were put
    there into my start script by configuration wizard. The server runs in
    development
    mode and it is a platform domain server.
    Help in advance for all the answers.
    Best regards, Srecko Mandelj.

  • Issues in Web service created for updating the Sales Order

    Hi All,
    We created a Web service using the Web service tool in CRM 7.0 ( Using the Component WS_DESIGN_TOOLS )
    Web service was created for three modes such as READ, CREATE and CHANGE Modes.
    READ Web Service we tested and its working fine as we were able to see the data for an existing Sales Order in the Web Service.
    We expect that the Change Web Service will update the data of an existing Sales Order.
    Through our Web service we are passing the Order GUID ,Order ID and some Header Fields as well as Item Fields but  the in the Web Service we are getting a message that Web service executed successfully but the CRMD_ORDERADM_H Table isnot getting updated.
    What could be problem.
    Any suugestions will be highly appreciated.
    Regards,
    Sijo

    Hi Gourav,
    I checked in SICF for the Webservice name created.
    this is the service path
    /default_host/sap/bc/srt/rfc/sap/ for the corresponding Web Service created in DEV 200 Client.
    I checked in SOAMANAGER and saw  that the  endpoitnts were zero.
    the Search Operation for Webservice have got three query fields mainly
    Object Id, Posting Date,Procees Type
    If we give Process Type
    sign - blank
    option - blank
    low - YPO ( Custom )
    High - blank we are getting 126 entries.
    and if we check for the Process Type YPO (Custom ) in CRMD_ORDERADM_H Tbale also we are getting the same no of entries.
    but only for option BT , for Posting Date issue is thr..
    Any inputs to move forward will be highly appreciated.
    Regards,
    Sijo.
    Edited by: sijokjohn85 on Mar 5, 2010 10:52 PM

  • Need clarifications on NB Web services

    Hi All,
    We are trying to utilize the web services exposed by the CPO 3.0. However we are stuck with following topics/questions and not able to move forward. The intention of this, is basically to trigger/observe/stop/review activities from a custom portal similar to Cisco Prime catalog. We have referred NB Web Services guide, but it doesn't explain in detail
    Process Level - How to accomplish a custom web service (Our definition of custom is a feature offered as part of CPO but not available as a web service) along with the guidelines of parameterizing techniques which is not been elaborated in the NB_Web Services Guide (available online along with WSDL).Example - Guidelines to create a new web service Process by name startUpdateDatabase(parameter1, parameter2,…... parameter n)
    Instance Level - Development documentation of web service which can give the exact node status of the current instance runningAnticipated return statement similar to currentExecutionNode - (node n) where n is the node ID/name of the requested instance
    Tasks Level - Lifecycle documentation associated to tasksExample - ItilStatus(ItilTaskStatus) - Status of Task (New, assigned, pending, InProgress ….. Etc.,) - Understanding of the complete lifecycle but not just parameters. How to obtain?
    Sample code to perform tasks like InputTask and ApprovalTask which involves user effort (say, approving an action) using web services and when the task is performed by an user, the status of the flow of information changes from assigned to completed.
    Are there any Web Services development guide with examples(Apart from NB Web Services Guide)?
    Any help would be much appreciated . 
    Thank you!
    Regards,
    Eswar

    ok... I'll give it a whirl.
    As a side note, you should be able to use something like SOAP UI if you are trying to easily form the calls. You can use SOAP UI and connect to whatever WSDL in the NBWS you want and it will give you all the methods and you can create sample calls and try them out. This is shown quite a bit in my blogs. For web service work, my blogs are a great place to start.
    Process Level - I believe what you are asking here is how to get something to start via NBWS? In 3.0 you must add the trigger "Started by Web Service". There you can configure the exposed name/method for that web service. After saving your process you must refresh/bounce the web services and then your process will show up in the process WSDL (by default: http://host:port/WS/Process?WSDL). You can then make calls to it.
    I believe you are asking how to find the status of a current process? Or are you asking about the exact status of a CPO node in the cluster? If it's the process, you can use the process instance WSDL @ http://hostname:port/WS/ProcessInstance?WSDL. If you are asking about finding the status of a CPO node, then you can query the DB for that or you could just use the windows activity "Query Service" and query for the CPO Service to be running. You would have to write this yourself but it's quite easy. (in fact I probably have a blog showing it somewhere) There is *NO* webservice to give back the status of a CPO node's service
    Not sure what you are asking about tasks. You can use the NBWS for them in http://host:port/WS/Task?WSDL . The lifecycle of a tasks should meet that of the ITIL model as that is what CPO is patterned after. We do not offer training on this lifecycle, that would be something you would fine with ITIL training. Many of the customers (who are not ITIL trained) only use a couple of status and go with it because it means something to them. IE. Some only used CLOSED to close out tasks, but some used RESOLVED. It's really up to end user determination.
    I would create the task via web service and then update it with the proper information. Again, like I mentioned above, if you need to see samples or the layout of one, then use SOAP UI. It will give you a template layout and then you can fill in the required information. We do not have a sample of every single web call we produce. (since SOAP UI does such a great job) You can also use the WEB SERVICE EXECUTE activity inside of CPO and this gives you inputs to do it directly (although does not give you the soap message like SOAP UI does)
    No. The NBWS guide is it. Use SOAP UI as per above. I have done a numerous amount of blogs that have some information in them and have some examples, but I have not done everything because the use case has not crossed my desk.
    If you have more pointed use case and what exactly you are trying to do we can go into further detail maybe, but the above is a good start.
    --Shaun

  • Localhost and external IP for web services?

    I've developed a web service using NetBean5.5 (JAX-WS 2.0) and deployed it to Tomcat 5.5. To access the WSDL and XSD I use the following URLs respectively (where SERVER and PORT is the server name and port on our local network):
    http://SERVER:PORT/SampleWS/SampleService?wsdl
    http://SERVER:PORT/SampleWS/SampleService?xsd=1
    However, for external customers to access this they use an IP mapped to SERVER:PORT by our sys admin.
    They can successfully access the WSDL using this external IP in the above URL but the schemaLocation port binding elements still refer to the local machine name and port. This means they cannot execute calls on the web service.
    How do I get round this? Is this a Tomcat config setting? Or can something be done on the JAX-WS side such as dynamically generate the URLs within the WSDL?
    Any help would be much appreciated.

    This is the exact problem I've been trying to find a solution to.
    By default I create a web service a a standard class in my war project using the @WebService annotation.
    When it gets deployed and I look at the WSDL it has a schemaLocation listed that cannot be reached by clients (a hostname that is only valid on that box). In one case its localhost.localdomain and in another case it is just some name that cannot be found via dns (it probably has an entry in the host file). I'm not really in a position for changes to be made to those boxes, but I need to deploy web services to them and be able to create clients that can talk to them.
    In either case I get an error (with localhost.localdomain) I often get a connection refused as it is pointing to the client's machine which doesn't have the web services running. In the case of the server name it is a host not found.
    I tried this with JAX-WS 2.1 and it seems to work fine, but I think I'm going to be stuck with 2.0 and sjsas 9.0 u1 p1.
    How can I fix this in the war application? Can I do this via annotations? Is there info about a deployment descriptor? Any help would be greatly appreciated.
    Thanks,
    Geoff

  • Failure to deploy Multiple Web Services per EAR deployment

    Hi,
    I am developing web services using EJB 3.0 beans using annotations. The deployment of EAR fails when I have more than ONE Web services in a single EAR file. The exception I get is as below. Can anybody tell me if it is not possible to package more than one service in a single EAR and each web service and its supporting classes have to go in separate EAR file.
    When I deploy One Service per EAR, the deployment works fine.
    Regards,
    Vikrant.
    ##0#0#Error##Plain###com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Exception occured during web services deployment. Unable to extract web services deployment data for archive Pem1101EJB.jar, application sap.com/Pem1101EAR.
         at com.sap.engine.services.webservices.server.deploy.ws.WSDeployProcess.extractWebServicesJ2EEEngineDescriptors(WSDeployProcess.java:304)
         at com.sap.engine.services.webservices.server.deploy.ws.WSDeployProcess.extractWebServicesJ2EEEngineDescriptors(WSDeployProcess.java:272)
         at com.sap.engine.services.webservices.server.deploy.ws.WSDeployProcess.init(WSDeployProcess.java:166)
         at com.sap.engine.services.webservices.server.deploy.WSBaseAbstractDProcess.makeProcess(WSBaseAbstractDProcess.java:307)
         at com.sap.engine.services.webservices.server.deploy.WebServicesDeployManager.deployWebServices(WebServicesDeployManager.java:1051)
         at com.sap.engine.services.webservices.server.deploy.WebServicesDeployManager.deploy(WebServicesDeployManager.java:248)
         at com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:506)
         at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:249)
         at com.sap.engine.services.deploy.server.application.DeploymentTransaction.begin(DeploymentTransaction.java:215)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:384)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:418)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:2194)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:318)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:275)
         at com.sap.engine.services.dc.gd.impl.ApplicationDeployer.deploy(ApplicationDeployer.java:109)
         at com.sap.engine.services.dc.gd.impl.InitialApplicationDeployer.performDeployment(InitialApplicationDeployer.java:113)
         at com.sap.engine.services.dc.gd.impl.InitialGenericDeliveryImpl.deploy(InitialGenericDeliveryImpl.java:55)
         at com.sap.engine.services.dc.cm.deploy.impl.OnlineDeployProcessor.performDelivery(OnlineDeployProcessor.java:160)
         at com.sap.engine.services.dc.cm.deploy.impl.BulkOnlineDeployProcessor.deploy(BulkOnlineDeployProcessor.java:48)
         at com.sap.engine.services.dc.cm.deploy.impl.AbstractDeployProcessor$DeployProcessorHelper.visit(AbstractDeployProcessor.java:178)
         at com.sap.engine.services.dc.cm.deploy.impl.DeploymentItemImpl.accept(DeploymentItemImpl.java:83)
         at com.sap.engine.services.dc.cm.deploy.impl.AbstractDeployProcessor.deploy(AbstractDeployProcessor.java:77)
         at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.performDeploy(DeployerImpl.java:631)
         at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.doDeploy(DeployerImpl.java:488)
         at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.deploy(DeployerImpl.java:209)
         at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.deploy(DeployerImpl.java:154)
         at com.sap.engine.services.dc.cm.deploy.impl.DeployerImplp4_Skel.dispatch(DeployerImplp4_Skel.java:875)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:351)
         at com.sap.engine.services.rmi_p4.server.ServerDispatchImpl.run(ServerDispatchImpl.java:70)
         at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:61)
         at com.sap.engine.services.rmi_p4.P4Message.execute(P4Message.java:36)
         at com.sap.engine.services.cross.fca.FCAConnectorImpl.executeRequest(FCAConnectorImpl.java:882)
         at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:52)
         at com.sap.engine.services.cross.fca.MessageReader.run(MessageReader.java:59)
         at com.sap.engine.core.thread.execution.Executable.run(Executable.java:108)
         at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:287)
    Caused by: java.lang.NullPointerException
         at com.sap.engine.services.webservices.server.deploy.j2ee.ws.J2EE14Convertor.convert(J2EE14Convertor.java:650)
         at com.sap.engine.services.webservices.server.deploy.j2ee.ws.J2EE14Convertor.convert(J2EE14Convertor.java:460)
         at com.sap.engine.services.webservices.server.deploy.j2ee.ws.J2EE14Convertor.convertJ2EEModule(J2EE14Convertor.java:297)
         at com.sap.engine.services.webservices.server.deploy.j2ee.ws.J2EE14Convertor.convertJ2EEModule(J2EE14Convertor.java:219)
         at com.sap.engine.services.webservices.server.deploy.ws.WSDeployProcess.extractWebServicesJ2EEEngineDescriptors(WSDeployProcess.java:289)
         ... 35 more

    Hi,
    Is the problem solved?
    I am also facing a similar issues and getting the following error
    "Unable to extract web services deployment data for archive ".
    Further, its a Java EE application and it doesn't contain any web service. Why am i getting this error while deploying?
    Any body can help me out in this?
    Thanks in advance,
    Venkat.

  • How to restrict only one instance of web service running at a time

    Hi All,
    Have a requirement to ensure that only one instance of java web service is active at any point of time.
    Using Application Server 10.1.3.4. Not the soa suite.
    Thanks
    Saikrishna

    Thanks for the reply..
    I have a java web service that pulls up some files produced periodically from remote machine and uploads them to some doc mgmt system and then update the database that what files are uplaoded successfully so that during next run it will ignore those files.
    so, if my web service executes second time before completion of first run. It would pick files that were already processed by first run since the first run might have not updated the databse yet.
    Thanks
    Saikrishna

  • EJB 3.0 Web Service

    Hi!
    I tried to create a Web Service (through wizard) from existing EJB 3.0 Session Bean. Basicly, the wizard just added @WebService annotation to my existing code...
    Now, the problem is that simple methods like:
    @WebMethod
    public String helloWorld() {
      return "Hello World!";
    }works fine. Expect that if I use Local Interface for this Session Bean, the WSDL shows two helloWorld methods (and one is with exclamation icon showing some kind of problem with multiple methods with same name - but it is not true, I have one and the other one is just interface).
    But, when I want to expose my real business service methods like:
    @WebMethod
    public List<Employee> getEmployees() {
      return (List<Employee>)q.getResultList();
    }it doesn't work (the Web Service create wizard finishes ok but service doesn't work)! When I try "Test Web Service" (from Session Bean context-menu) or "Show WSDL for Web Service annotations" the error is thrown (Null pointer exception in WSDL).
    Basically, it looks to me that Web Service cannot use EJB Entities as parameters or results. Is this correct? I saw some examples on EJB 3.0 web services and there are entities routinely used as both input and output parameters.
    Can someone, please, explain me what I'm doing wrong here.
    Thanks in advance,
    Pedja
    P.S. In Web Service wizard, only SOAP 1.1 is enabled. How can I choose SOAP 1.2? And what EJB 3.0 bindings are in same context (SOAP 1.2 or EJB 3.0 bindings?)?

    Hi Frank,
    Most of those problems are resolved (NPE was due to Timestamp field, and two methods with the same name in WSDL because of not choosing to generate SEI in wizard, so the generated WSDL had one method from the Session bean and the other from it's Local interface). But, the errors should DEFINITELY be more descriptive.
    Does the wizard work correctly? I noticed plenty of "bug like" details. For example, if I choose to create asynchronous web service, later when I go to Properties the "Asynchronous Web Service" checkbox isn't checked. Also, the @WebMethod annotations are sometimes generated and sometimes not (even if the method is checked to be exposed).
    I am also getting these exceptions when I create a proxy for the asynchronous web service (I selected "Generate asynchronous methods for all operations"), could be I'm doing something wrong:
    WARNING: The parameter/return type "java.util.concurrent.Future" in the method
    "public abstract java.util.concurrent.Future<?>
    view.proxy.MyAsyncWebService1.queryDepartmentFindAllAsync(javax.xml.ws.AsyncHandler<view.proxy.types.QueryDepartmentFindAllResponse>)"
    is not supported. This method will not be exposed.
    WARNING: The parameter/return type "java.util.concurrent.Future" in the method
    "public abstract java.util.concurrent.Future<?>
    view.proxy.MyAsyncWebService1.returnEmployeeAsync(javax.xml.ws.AsyncHandler<view.proxy.types.ReturnEmployeeResponse>)"
    is not supported. This method will not be exposed.
    Exception in thread "main" java.lang.NullPointerException
         at com.sun.xml.bind.v2.runtime.Coordinator.popCoordinator(Coordinator.java:122)
         at com.sun.xml.bind.v2.runtime.XMLSerializer.close(XMLSerializer.java:823)
         at com.sun.xml.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:310)
         at com.sun.xml.bind.v2.runtime.MarshallerImpl.marshal(MarshallerImpl.java:230)
         at javax.xml.bind.helpers.AbstractMarshallerImpl.marshal(AbstractMarshallerImpl.java:87)
         at oracle.j2ee.ws.common.databinding.runtime.jaxb20.Jaxb20Serializer.serialize(Jaxb20Serializer.java:218)
         at oracle.j2ee.ws.common.databinding.runtime.SerializerBase.serializeSequenceWrapper(SerializerBase.java:80)
         at oracle.j2ee.ws.client.jaxws.SoapRequestorSerializer.populateSoapMessage(SoapRequestorSerializer.java:89)
         at oracle.j2ee.ws.client.jaxws.WsClientProxyInvocationHandler.invoke(WsClientProxyInvocationHandler.java:184)
         at $Proxy11.returnEmployee(Unknown Source)
         at MyAsyncWebService1SoapHttpPortClient.main(MyAsyncWebService1SoapHttpPortClient.java:22)
    Process exited with exit code 1.Can anyone throw some light on this?
    Thanks,
    Pedja

  • How to pass .txt file as an attachment to the web service (SOAP Attachment)

    Hi,
    I am creating web service using NetBeans 6.5 IDE and JAX-WS. I create a web application and then create web service using provided interface. I want to add .txt file as an attachment/parameter to the web service operation using "Add operation" interface. Don't want to add as an attachment to the SOAP message by creating it explicitly. IDE generates SOAP request and response automatically when the service is tested using "Test Web service" option. How can I add attcahment when I add operation so that it will appear in the generated SOAP message ?
    TIA.

    Hi AnitaDP,
    Attachment doesn't work in web service. You have to pass the content of the text file as a String or as an array of bytes to a method of your web service. From there, you may save the passed data in a file.

  • ITunes App Store Web Service available?

    Hi there,
    appshopper.com has great lists and rankings about iPhone apps in the App Store. Does anybody happen to know which interface the folks at appshopper use? I am not aware of any official interface (and I don't believe, they do it all manually...).
    Hints are welcome.
    -Ralf

    Apple doesn't publish a web service interface to the App Store. However the iTunes Music (and App) Store is simply a web app and you can actually access iTunes URLs from outside of iTunes.
    There are many examples on the Internet of scripts and programs that scrape information from iTMS for various purposes. Search for "iTunes scrape" and you will find some.

  • How to test swaref web service method

    My simple web service method:
         @WebMethod
         @XmlAttachmentRef
         public DataHandler getFile() {
              FileDataSource file = new FileDataSource("c:\\1.gif");
              DataHandler handler = new DataHandler(file);
              return handler;
    the generated wsdl codes:
    *<xs:complexType name="getFileResponse">*
    *<xs:sequence>*
    *<xs:element minOccurs="0" name="file" type="swaRef:swaRef" />*
    *</xs:sequence>*
    *</xs:complexType>*
    I always use Eclipse web service explorer to test web service, but it doesn't support swaref web service method.
    Then I use axis WSDL2JAVA to generate web service client, but the generated "getFile" return type is not "DataHandler", but "org.apache.axis.types.URI".
    How to test swaref web service method?
    Thanks
    Edited by: tomsonxu on Jan 8, 2008 7:40 AM
    Edited by: tomsonxu on Jan 8, 2008 7:41 AM

    Hello..
    How did u develop the webservice?
    I mean did u develop the Webservice using Enter prise Java Bean....
    Wrap EJB in ear and deploy to the Server and now u can test the EJB method
    whether it is working fine or not
    Try these -
    http://help.sap.com/saphelp_nw04s/helpdata/de/f7/af60f2e04d0848888675a800623a81/frameset.htm
    Inorder to use the webservice in the Webdynpro, normally we will use the WSDL of webservice
    and Import  the model using any one of them
    After importing as model we can use the EJB methods!
    Try it !!
    Thanks
    Shravan

  • OTN Mobile Web Service and Cingular Wireless

    Has anybody gotten the SMS message service to work with Cingular Wireless? It doesn't seem to work for me. Cingular's format is "[email protected]" and messages are received fine if I email to this address. Doesn't the OTN Web Service need to be updated on the server side, Oracle?

    OTN Mobile web service is down due to some security concerns. It will be brought back later sometimes.
    check this posting
    OTN Mobile Web Services - Live Web Services on OTN
    Chandar

  • Does OVM 3.0x provides management web service or API?

    Hi
    I thought OVM 2.20 provided Oracle VM Manager Web Services API Reference.
    Where can we find the same thing for OVM 3.0x?
    Thanks.

    J.S.Park wrote:
    Where can we find the same thing for OVM 3.0x?Oracle VM 3.0 doesn't have a Web Services API. The full Java/Python API and programmers documentation is still being developed and has not been released yet.

Maybe you are looking for

  • Do I need to refill even if I have a balance in my account?

    I am on the 10 cents/minute plan.  I have $23 in my account and am getting a message saying I need to refill by July 10.  Must I add money to my account in order to not lose the $23 I already have in the account? If so, what is the minimum I can add?

  • ITunes update  bad signature

    iTunes 9.01 on XP SP3, suggests upgrade with quicktime bundle but download reports an invalid signature (occurs multiple times on multiple XP computers) Download of iTunes 8.02 direct will not install, installer jsut says it has encountered an error

  • REMOVE Documents and Data... HOW!?

    No, seriously... HOW. I have tried every **** thing I could find via a google search, and I've read countless threads with countless "well, it worked for me" stories. Nothing is fixing it. I have done everything except a master reset. I have gone to

  • Conditional Display of Report Columns

    I'm trying to hide a vertical list column, but it is either permanently off or permanently on. Any ideas! For example:- Display Department name if not null

  • Applescript Save As PNG without dialogs

    Does anyone know how to force the dialogs that sometimes appear when applescripting a save as PNG to never ever appear? The Photoshop CS4 Applescript ref doc doesn't mention any options about this. Thanks in advance, - Alex Zavatone