FM to send Timestamp to Web Services

Hi Experts,
Ref:
Calling EP Web Services from BW 3.5
I need a small Function Module. Please check the above link for the requirement. Can any one provide me the code required for that function module.
Thanks in Advance.
Regards,
Prasad.

Hi,
As per your previous update this was working for the only one user i.e. agent B.
This should also work for the two user. Please check the authorizations with the basis team regarding this
( Authorization of user A, B and who executing the SAP_WAPI_FORWARD_WORKITEM )
Alternate Solution :
Make user B active substitute user of user A. Now whenever the user A receive the workitem user B also get the save workitem autometically.
You can use the following FM to maintain the substitition.
SAP_WAPI_SUBSTITUTE_MAINTAIN   ( for new substition )
SAP_WAPI_SUBSTITUTE_ACTIVATE  ( make active so that user B receive the workitem of user A at realtime )
SAP_WAPI_SUBSTITUTE_DEACTIVATE ( Deactive it, substitution will be there but User B will receive the workitem of user A )
SAP_WAPI_SUBSTITUTE_DELETE ( Delete substitution )
Thanks and regards,
SNJY

Similar Messages

  • How to send request to web service using .pem certificate.

    Dear All,
    I have a .pem, WSDL file and (Request and Response format), this files are provided by the customer, now I have generated the ServiceClass using WSDL file using wsdl.exe.
    Now when I send the request I am getting error as "The underlying connection was closed: An unexpected error
    occurred on a send" when I told my customer to remove the certificate validation from their web service the "Request
    and Response both are working fine".
    When I opened the .pem file in notepad the content was 
    -----BEGIN CERTIFICATE-----
    dfkhdfhsdfghgfjhAklajdaJHZKkjjHAKJhjkhkjhkjhkjhkjJKJHKJ......................................
    /R-----END CERTIFICATE-----
    and nothing else was there as per my client my code is proper for sending request to web service but the using of file i.e .pem file is not proper.
    I want to know what else I have to do my customer have given me only .pem file with -----BEGIN CERTIFICATE-----  and -----END CERTIFICATE----- nothing else in the file.
    Can anybody please help me in this, below is my code snapshot.
    try
    var pem = System.IO.File.ReadAllText(Application.StartupPath + "\\server_selfsigned.pem");
    byte[] certBuffer = GetBytesFromPEM(pem, "CERTIFICATE");
    SMSService sms = new SMSService(txtURL.Text.Trim());
    sms.ClientCertificates.Add(new System.Security.Cryptography.X509Certificates.X509Certificate2
    (certBuffer));
    SMSRequest smsReq = new SMSRequest();
    smsReq.UID = "2000";
    smsReq.SMSDetails = new SMSRequestSMSDetails { MessageText = txtMessage.Text.Trim(), MobileNumber = txtMobile.Text.Trim() };
    SMSReponse smsRes = sms.sendSMSOperation(smsReq);
    MessageBox.Show(smsRes.Code + " = " + smsRes.Message + " = " + smsRes.Status);
    catch (Exception ex)
    MessageBox.Show(ex.Message);
    Thanks in advance.
    Best Regards,
    Manoj Gupta.

    Hi,
    This issue might be due to the invalid .pem certificate file.
    Make sure to include the beginning and end tags on each certificate.                   
    The result should look like this:                
    -----BEGIN CERTIFICATE-----
    (Your Primary SSL certificate: your_domain_name.crt)
    -----END CERTIFICATE-----
    -----BEGIN CERTIFICATE-----
    (Your Intermediate certificate: DigiCertCA.crt)
    -----END CERTIFICATE-----
    For more detailed information, you could refer to:
    https://www.digicert.com/ssl-support/pem-ssl-creation.htm
    Regards

  • Need help in design the scenario sending data to web service

    Hello All,
    I need to send data to web service and get the response back.
    i want to use HTTP to soap Scenario.Please let me know the necessary steps in the scenario.
    Thanks and Regards,
    Chinna

    Hi Chinna,
    > i want to use HTTP to soap Scenario.Please let me know the necessary steps in the scenario.
    Split this into 2 scenarios
    1. HTTP to SOAP (Request) treated as Asynchronous.
    2. SOAP to HTTP (Responce) treated as Asynchronous.
    For HTTP to SOAP synchronous scenario
    Here the receiver side request and responce structures no need to create, the receiver client will provide you the XSD file, on that XSD file having the request and responce message structures, so you have to import that to XI server as External definition.
    For sender HTTP you have to create 2 data types, 2 message types as well as 2 message interfaces, 2 message mappings for request and responce messages and 2 service/Message interfaces (HTTP is outbound and SOAP is inbound).
    Configuration objects are same.
    Regards
    Ramesh

  • Connecting and sending data to web service

    Hi,
    I have to implement the functionality in PDF document to connect with the web service and send the form data in xml format on Click event of a button inside the form.
    During the initial development and testing I have found that document can only connect with the Web Service from within LiveCycle Designer or Adobe Pro. It doesn't work with the Reader.
    After surfing the internet I have come to know that Reader extensions are required along with Adobe Reader to communicate with the web services. Am I right?
    Furthermore, what I have to do is to distribute the PDF form to a number of people who will fill the form and submit the form data by clicking the Submit button (which will internally communicate with the web service to send data) on the form. So if extensions are required to communicate with web services from Reader, then what I am assuming is that all those people must have extensions installed on their machines along with Reader.
    On some forum I have also read that you only need to install the Extensions on the Designer machine and they are not compulsory to be on every client machine. i.e. Exntesions enable the web services communication features in the PDF form during design time. Is it true?
    Thanks in anticipation,
    Qarshi

    Be careful, your question should be posted in "LiveCycle Reader Extensions" forum. LiveCycle Data Services doesn't deal with these features.
    Nevertheless, to use webService calls from a PDF opened in the free Adobe Reader, you need to Reader extend your form.
    You can use Acrobat Pro to extend it if the PDF will not be used by more than 500 people.
    If you plan to reach more than 500 people, then you must consider LiveCycle Reader Extensions. This limitation is explained in the Acrobat EULA.
    The final users only need the Adobe Reader, they won't have to install any extension or plug-in.

  • Axis and Mime to send Images with Web Services

    Hi, I have been reading a lot of information about MIME and how I have to send images or attachaments with Web Services, and I am a little lost. I would to find a simple example to use MIME with AXIS 1.4 . Do anybody know where I can find some example to use attachements with AXIS???
    Thank you very much in advance

    Hi,
    When you are using JAX-WS, there is a tool wsimport, with which you are going to generate the artifacts required to implement the web service.
    When you pass the WSDL as a parameter to the wsimport tool, it will be create the required beans also(JAXB Objects).
    So need of any other external implementation of JAXB when you are working with JAXWS
    Thanks,

  • Sending Vectors Over Web Services?

    Can you transfer a Vector over WebLogic web services? I have been able to transfer
    an array of JavaBeans, but not a vector.
    Please advise,
    Dave

    The WLS web services documentation mentions the types you can exchange using RPC
    style web services. They are
    Java primitives
    Java primitive wrappers
    Java bean instances (nested beans as well)
    Arrays of the above except prmitive wrappers
    Document, Element and DocumentFragment
    This means you can't exchange vectors or collection. This may be for supporting
    inter-operabibility with other SOAP toolkit providers.
    Thanks
    Meeraj
    "David Mrozek" <[email protected]> wrote:
    >
    Can you transfer a Vector over WebLogic web services? I have been able
    to transfer
    an array of JavaBeans, but not a vector.
    Please advise,
    Dave

  • How to send Attachments vis web service response?

    Have created a custom plsql type webservice.
    How do we send a file(say a blob object) as an attachment?
    Cannot be sent as a blob object return parameter.
    Any body have encountered this requirement?

    Hi Abdullah,
    this is only possible if there is an extension scenario for the Query "Outbound" available. You added already the "Inbound" Query but I am pretty sure that there is a second scenario for the QueryCustomerIn for the "Outbound".
    Just check out the available options of the process extension scenario you are using already and you will find it. Check it, activate your xbo and the response should also have your field
    Cheers,
    Jens

  • Sending JMS messages as web services

    I am trying to read a JMS topic, retrieve an XMLBean from the queue, and send it
    via web services developed in Workshop. Everything seems to deploy fine, but
    when I post a message to the topic, it just disapears. No logging, no movement
    to the specified error queue, and println doesn't print. How do I do this?

    Hi Neil,
    Have you gone through the tutorial "how to" [1] on this subject? There
    is a basic JMS/webservice example [2], outside of WLW, that may be
    useful in validating your JMS/server configuration. Also, be sure to
    check the server log file for warning/error messages.
    Hope this is of some value,
    Bruce
    [1]
    http://edocs.bea.com/workshop/docs81/doc/en/workshop/guide/howdoi/howExchangeMessageswithaJMSQueueorTopicfromaWebService.html
    [2]
    http://webservice.bea.com/message.zip
    Neil Hornbeck wrote:
    >
    I am trying to read a JMS topic, retrieve an XMLBean from the queue, and send it
    via web services developed in Workshop. Everything seems to deploy fine, but
    when I post a message to the topic, it just disapears. No logging, no movement
    to the specified error queue, and println doesn't print. How do I do this?

  • Web Service Tester - ADF_FACES 60097 error

    Hi Mike / Everyone,
    I  created a very simple process to test it through Web Service Tester, however when clicking on "Send" button in Web Service Tester, i get the following error:
    java.lang.nullpointerexception
    ADF FACES - 60097: For more information, please see server's error log for an entry beginning with : ADF FACES-60096:ServerException during PPR #3.
    Screenshot attached - ADF_Faces_error.
    EDQ Process screen shot attached. What the process does is take a full name and breaks it down.
    Example: Web Service takes 1 input field (like full name) and give back 4 outputs
    input
    Mr. William Henry Gates
    output
    Mr
    William
    Henry
    Gates
    main0.log file
    WARNING: 16-Sep-2014 14:27:36: [EDQ-05100] Error in initialisation Loqate not installed, OAV Java API jar "../../edq-av/av-dist/loqate.jar" does not exist
    WARNING: 16-Sep-2014 14:27:37: [EDQ-03242] Error registering MBean "edq:type=Match Widget,name=Settings": edq:type=Match Widget,name=Settings
    WARNING: 16-Sep-2014 14:27:37: [EDQ-10108] Processor library: processor bean oracle.edq.pdqwidget.server.PDQBean reported as failed: Configuration file "edqp/edqp.properties" not present (Code: 247,500)
    SEVERE: 16-Sep-2014 14:27:37: [EDQ-10040] Web Services: error publishing endpoint: Cluster address must be set when clustering is enabled.
    java.lang.IllegalArgumentException: Cluster address must be set when clustering is enabled.
            at weblogic.wsee.server.ServerUtil.getClusterAddress(ServerUtil.java:491)
            at weblogic.wsee.server.ServerUtil.getHTTPServerURL(ServerUtil.java:196)
            at weblogic.wsee.server.ServerUtil.getServerURL(ServerUtil.java:147)
            at weblogic.wsee.server.ServerUtil.getServerURL(ServerUtil.java:136)
            at weblogic.wsee.jaxws.spi.WLSEndpoint.calculatePublicAddressFromEndpointAddress(WLSEndpoint.java:314)
            at weblogic.wsee.jaxws.spi.WLSEndpoint.publish(WLSEndpoint.java:186)
            at oracle.edq.webservices.services.platform.wls.JAXWSPublishedHTTPEndpoint.publish(JAXWSPublishedHTTPEndpoint.java:124)
            at com.datanomic.director.webservices.services.Services.publish(Services.java:95)
            at com.datanomic.director.webservices.manager.WebServicesManager.publish(WebServicesManager.java:718)
            at com.datanomic.director.webservices.manager.WebServicesManager.loadDB(WebServicesManager.java:851)
            at com.datanomic.director.webservices.manager.WebServicesManager.access$100(WebServicesManager.java:106)
            at com.datanomic.director.webservices.manager.WebServicesManager$1.run(WebServicesManager.java:263)
            at com.datanomic.utils.system.StartupActions.run(StartupActions.java:108)
            at com.datanomic.director.startup.WebApplicationContext.refresh(WebApplicationContext.java:126)
            at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
            at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
    INFO: 16-Sep-2014 14:27:37: [EDQ-05888] Mission scheduler executing startup schedules
    INFO: 16-Sep-2014 14:27:37: [EDQ-00314] AutoRun: has nothing to do!
    WARNING: 16-Sep-2014 14:29:38: [EDQ-03242] Error registering MBean "edq:type=Logging,name=Process Runtime": edq:type=Logging,name=Process Runtime
    WARNING: 16-Sep-2014 14:29:40: [EDQ-03242] Error registering MBean "edq:type=Logging,name=Process Model Server": edq:type=Logging,name=Process Model Server
    INFO: 16-Sep-2014 14:29:57: [EDQ-06917] [process JavaTest [5]/job:Job_JavaTester (7):[68]] : started execution
    SEVERE: 16-Sep-2014 14:36:55: [EDQ-06913] [process JavaTest [5]/job:Job_JavaTester (7):[68]] : [subprocess 1] batch 0 terminated by exception: Message read interrupted (Code: 201,103)
    com.datanomic.director.runtime.AbortedProcessException: Message read interrupted (Code: 201,103)
            at com.datanomic.director.runtime.reading.MessageRecordSource.read0(MessageRecordSource.java:58)
            at com.datanomic.director.runtime.reading.AbstractRecordSource.read(AbstractRecordSource.java:95)
            at com.datanomic.director.runtime.engine.RuntimeProcess.doTheStuff(RuntimeProcess.java:310)
            at com.datanomic.director.runtime.engine.RuntimeProcessGroup$ProcessExecutable.execute(RuntimeProcessGroup.java:1590)
            at com.datanomic.utils.execution.Parallelizer$Worker.run(Parallelizer.java:210)
            at com.datanomic.utils.execution.Parallelizer$Worker.runHere(Parallelizer.java:156)
            at com.datanomic.utils.execution.Parallelizer.run(Parallelizer.java:85)
            at com.datanomic.director.runtime.engine.RuntimeProcessGroup.execute(RuntimeProcessGroup.java:1040)
            at com.datanomic.utils.execution.Parallelizer$Worker.run(Parallelizer.java:210)
            at com.datanomic.utils.execution.Parallelizer$Worker.runHere(Parallelizer.java:156)
            at com.datanomic.utils.execution.Parallelizer.run(Parallelizer.java:85)
            at com.datanomic.director.runtime.engine.RuntimeProcessCloud.execute(RuntimeProcessCloud.java:937)
            at com.datanomic.director.runtime.coordination.BasicExecutionCoordinator.run(BasicExecutionCoordinator.java:119)
            at com.datanomic.director.runtime.coordination.AbstractExecutionCoordinator.execute(AbstractExecutionCoordinator.java:165)
            at com.datanomic.director.runtime.engine.jobs.RuntimeProcessJob.runTask(RuntimeProcessJob.java:474)
            at com.datanomic.director.missionmanager.executor.ThreadResources.ThreadConstrainedWorkUnit$TaskWrapper.run(ThreadConstrainedWorkUnit.java:402)
            at java.lang.Thread.run(Thread.java:682)
    Caused by: com.datanomic.director.runtime.data.InterruptedRecordReadException: 'ws' record read interrupted (Code: 206,065)
            at com.datanomic.director.runtime.data.realtime.Realtime$Reader.read(Realtime.java:1710)
            at com.datanomic.director.runtime.reading.MessageRecordSource.read0(MessageRecordSource.java:56)
            ... 16 more
    Caused by: com.datanomic.director.runtime.data.realtime.messengers.InterruptedMessengerException: Interrupted whilst waiting for next SOAP message (Code: 206,308)
            at com.datanomic.director.runtime.data.realtime.messengers.ws.WSMessenger$Receiver.receive(WSMessenger.java:324)
            at com.datanomic.director.runtime.data.realtime.Realtime$Reader.read(Realtime.java:1708)
            ... 17 more
    Caused by: java.lang.InterruptedException
            at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:1961)
            at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1996)
            at com.datanomic.director.runtime.data.realtime.messengers.ws.WSMessenger$Receiver.receive(WSMessenger.java:322)
            ... 18 more
    SEVERE: 16-Sep-2014 14:36:55: [EDQ-06913] [process JavaTest [5]/job:Job_JavaTester (7):[68]] : [subprocess 1] batch 1 terminated by exception: Message read interrupted (Code: 201,103)
    SEVERE: 16-Sep-2014 14:36:55: [EDQ-06919] [process JavaTest [5]/job:Job_JavaTester (7):[68]] : runtime process terminated uncleanly: Message read interrupted (Code: 201,103)
    INFO: 16-Sep-2014 14:37:37: [EDQ-06917] [process JavaTest [5]/job:Job_JavaTester (7):[69]] : started execution
    SEVERE: 16-Sep-2014 14:51:17: [EDQ-06913] [process JavaTest [5]/job:Job_JavaTester (7):[69]] : [subprocess 1] batch 0 terminated by exception: Message read interrupted (Code: 201,103)
    com.datanomic.director.runtime.AbortedProcessException: Message read interrupted (Code: 201,103)
            at com.datanomic.director.runtime.reading.MessageRecordSource.read0(MessageRecordSource.java:58)
            at com.datanomic.director.runtime.reading.AbstractRecordSource.read(AbstractRecordSource.java:95)
            at com.datanomic.director.runtime.engine.RuntimeProcess.doTheStuff(RuntimeProcess.java:310)
            at com.datanomic.director.runtime.engine.RuntimeProcessGroup$ProcessExecutable.execute(RuntimeProcessGroup.java:1590)
            at com.datanomic.utils.execution.Parallelizer$Worker.run(Parallelizer.java:210)
            at com.datanomic.utils.execution.Parallelizer$Worker.runHere(Parallelizer.java:156)
            at com.datanomic.utils.execution.Parallelizer.run(Parallelizer.java:85)
            at com.datanomic.director.runtime.engine.RuntimeProcessGroup.execute(RuntimeProcessGroup.java:1040)
            at com.datanomic.utils.execution.Parallelizer$Worker.run(Parallelizer.java:210)
            at com.datanomic.utils.execution.Parallelizer$Worker.runHere(Parallelizer.java:156)
            at com.datanomic.utils.execution.Parallelizer.run(Parallelizer.java:85)
            at com.datanomic.director.runtime.engine.RuntimeProcessCloud.execute(RuntimeProcessCloud.java:937)
            at com.datanomic.director.runtime.coordination.BasicExecutionCoordinator.run(BasicExecutionCoordinator.java:119)
            at com.datanomic.director.runtime.coordination.AbstractExecutionCoordinator.execute(AbstractExecutionCoordinator.java:165)
            at com.datanomic.director.runtime.engine.jobs.RuntimeProcessJob.runTask(RuntimeProcessJob.java:474)
            at com.datanomic.director.missionmanager.executor.ThreadResources.ThreadConstrainedWorkUnit$TaskWrapper.run(ThreadConstrainedWorkUnit.java:402)
            at java.lang.Thread.run(Thread.java:682)
    Caused by: com.datanomic.director.runtime.data.InterruptedRecordReadException: 'ws' record read interrupted (Code: 206,065)
            at com.datanomic.director.runtime.data.realtime.Realtime$Reader.read(Realtime.java:1710)
            at com.datanomic.director.runtime.reading.MessageRecordSource.read0(MessageRecordSource.java:56)
            ... 16 more
    Caused by: com.datanomic.director.runtime.data.realtime.messengers.InterruptedMessengerException: Interrupted whilst waiting for next SOAP message (Code: 206,308)
            at com.datanomic.director.runtime.data.realtime.messengers.ws.WSMessenger$Receiver.receive(WSMessenger.java:324)
            at com.datanomic.director.runtime.data.realtime.Realtime$Reader.read(Realtime.java:1708)
            ... 17 more
    Caused by: java.lang.InterruptedException
            at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:1961)
            at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1996)
            at com.datanomic.director.runtime.data.realtime.messengers.ws.WSMessenger$Receiver.receive(WSMessenger.java:322)
            ... 18 more
    SEVERE: 16-Sep-2014 14:51:17: [EDQ-06913] [process JavaTest [5]/job:Job_JavaTester (7):[69]] : [subprocess 1] batch 1 terminated by exception: Message read interrupted (Code: 201,103)
    SEVERE: 16-Sep-2014 14:51:17: [EDQ-06919] [process JavaTest [5]/job:Job_JavaTester (7):[69]] : runtime process terminated uncleanly: Message read interrupted (Code: 201,103)
    The whole purpose of this process is to try out web service tester.
    Thanks in advance,

    i did look in the following path and found:
    /ora/mw_etl/user_projects/domains/pbgc_etl/servers/edq_server2/logs
    <Sep 16, 2014 4:03:53 PM EDT> <Error> <oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator> <BEA-000000> <ADF_FACES-60096:Server Exception during PPR, #10
    javax.servlet.ServletException
            at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
            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:301)
            at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.edq.userauth.oam.PerimeterAuthFilter.doFilter(PerimeterAuthFilter.java:67)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:71)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:128)
            at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
            at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
            at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
            at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
            at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
            at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
            at java.security.AccessController.doPrivileged(Native Method)
            at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
            at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
            at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
            at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
            at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
            at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
            at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
            at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
            at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
            at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Caused By: java.lang.NullPointerException
            at oracle.edq.adf.web.webservices.TesterBean.send(TesterBean.java:510)
            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 com.sun.el.parser.AstValue.invoke(AstValue.java:187)
            at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)
            at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
            at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1415)
            at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
      at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:103)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
      at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:97)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
      at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:103)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
      at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:97)
      at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
      at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:957)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:427)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:207)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
      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:301)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.edq.userauth.oam.PerimeterAuthFilter.doFilter(PerimeterAuthFilter.java:67)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:71)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:128)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
      at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
      at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
      at java.security.AccessController.doPrivileged(Native Method)
      at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
      at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
      at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
      at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
      at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
            at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
            at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    >
    <Sep 16, 2014 4:05:51 PM EDT> <Error> <oracle.adfinternal.controller.application.AdfcExceptionHandler> <ADFC-50016> <ADFc: While handling an exception the application's exception handler threw a new exception
    javax.faces.el.EvaluationException: java.lang.NullPointerException
            at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:58)
            at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1415)
            at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
            at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:103)
            at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
            at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
            at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
            at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:97)
            at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
            at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
            at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
            at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:103)
            at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
            at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
            at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
            at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:97)
            at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
            at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
            at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:957)
            at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:427)
            at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:207)
            at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
            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:301)
            at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.edq.userauth.oam.PerimeterAuthFilter.doFilter(PerimeterAuthFilter.java:67)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:71)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:128)
            at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
            at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
            at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
            at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
            at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
            at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
            at java.security.AccessController.doPrivileged(Native Method)
            at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
            at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
            at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
    Thanks

  • Error while invoking web services from Proxy services in OSB

    I have a Proxy Service of message type in Oracel Service Bus 10gR3 and it passes the incoming messages from a JMS Queue to Business Service of Web Services type. This Web Service is hosted in Glass Fish v3 and it's binding style is RPC. The JRE used in both the servers are 1.6.0_20. The JMS message is of Text type. The Web Services at the Glass Fish throws MessageCreationException for any content of the JMS message. However, it works fine if Business Service's test client is invoked from the OSB'S Admin Console. However, the same will not work if Proxy Service's test client is called.
    The detailed exception stack is given below :
    Thanks for the help.
    - Raj
    com.sun.xml.ws.protocol.soap.MessageCreationException: Couldn't create SOAP message due to exception: XML reader error: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
    at [row,col {unknown-source}]: [1,0]
         at com.sun.xml.ws.encoding.SOAPBindingCodec.decode(SOAPBindingCodec.java:359)
         at com.sun.xml.ws.transport.http.HttpAdapter.decodePacket(HttpAdapter.java:318)
         at com.sun.xml.ws.transport.http.HttpAdapter.access$500(HttpAdapter.java:92)
         at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:501)
         at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:285)
         at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:143)
         at org.glassfish.webservices.Ejb3MessageDispatcher.handlePost(Ejb3MessageDispatcher.java:116)
         at org.glassfish.webservices.Ejb3MessageDispatcher.invoke(Ejb3MessageDispatcher.java:87)
         at org.glassfish.webservices.EjbWebServiceServlet.dispatchToEjbEndpoint(EjbWebServiceServlet.java:196)
         at org.glassfish.webservices.EjbWebServiceServlet.service(EjbWebServiceServlet.java:127)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
         at com.sun.grizzly.http.servlet.FilterChainImpl.doFilter(FilterChainImpl.java:195)
         at com.sun.grizzly.http.servlet.FilterChainImpl.invokeFilterChain(FilterChainImpl.java:139)
         at com.sun.grizzly.http.servlet.ServletAdapter.doService(ServletAdapter.java:376)
         at com.sun.grizzly.http.servlet.ServletAdapter.service(ServletAdapter.java:329)
         at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)
         at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
         at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:245)
         at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
         at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
         at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
         at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
         at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
         at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
         at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
         at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
         at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
         at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
         at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
         at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
         at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: com.sun.xml.ws.streaming.XMLStreamReaderException: XML reader error: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
    at [row,col {unknown-source}]: [1,0]
         at com.sun.xml.ws.streaming.XMLStreamReaderUtil.wrapException(XMLStreamReaderUtil.java:267)
         at com.sun.xml.ws.streaming.XMLStreamReaderUtil.next(XMLStreamReaderUtil.java:95)
         at com.sun.xml.ws.streaming.XMLStreamReaderUtil.nextContent(XMLStreamReaderUtil.java:110)
         at com.sun.xml.ws.streaming.XMLStreamReaderUtil.nextElementContent(XMLStreamReaderUtil.java:100)
         at com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:175)
         at com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:303)
         at com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:129)
         at com.sun.xml.ws.encoding.SOAPBindingCodec.decode(SOAPBindingCodec.java:354)

    Let me explain what I am trying to achieve. Our application receives data from multiple sources - from mainframe using FTP, JMS Queue and BPM application using Web Services. The data from all these sources are sending to a Web Service running in GlassFish V3. To handle this I have created three Proxy Services and one Business Service on OSB. The Business Service is of type Web Service using the same WSDL from the target Web Service.
    The Proxy Services are configured as follows:
    Proxy 1 (type - Messaging service) listens to the JMS Queue and receives JMS Text Message -> Business Service(B1) (Web Service).
    Proxy 2 (type - Messaging service Polls files from the FTP Server -> Business Service(B1) (Web Service).
    Proxy 3 (type - Web service) is invoked by the BPM application and sends a String -> Business Service(B1) (Web Service).
    All the Proxies route to the same Business Service - B1 which calls the Web Service in GlassFish. The only Proxy that works fine is Proxy 3 which is created using the same WSDL of the Web Service. In the other two proxies it thows the same exception in GlassFish as I mentioned before.
    com.sun.xml.ws.protocol.soap.MessageCreationException: Couldn't create SOAP message due to exception: XML reader error: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog at [row,col {unknown-source}]: [1,0] at com.sun.xml.ws.encoding.SOAPBindingCodec.decode(SOAPBindingCodec.java:359)
    Is this configuration correct to achieve my requirements?
    Once again thanks for the help.
    - Raj

  • Is there a way to get a dump of the raw request data of a web service call?

    Hello experts,
    on our SAP machine we provide a web service based on a normal SAP function module. The service is working fine, but one of the external systems (web service clients) does have a problem when using non-ASCII characters within the request XML data.
    Ok, so I thought I check whats going on in soapUI, but there the same request works fine, even with the non-ASCII characters. So it seems soapUI can correctly use the encoding as it should be, whereas the faulty client can't.
    Hence I wanted to check the payload trace in SOAMANGER, but unfortunately there is no trace if this error occured. It seems the error occurs in SAP even before any trace can be made (at least via SOAMANGER).
    So my question is: Do I have any other option to get a 1:1 copy of the whole request the client is sending to the web service on the SAP machine? Or is the only option we have to use a tcpdump on the OS level of the SAP machine?
    Thanks in advance for any ideas and help!
    Kind regards, Matthias

    Hi Matthias,
    You can try using the ICF Recorder in TCode SICF, steps below:
    [http://help.sap.com/saphelp_nw70/helpdata/en/12/adc54044ed7b2de10000000a155106/frameset.htm]
    That should at least catch the entire client request (1:1) before the error occurs. Remember to de-activate the recorder after you're done. There's also an option to activate a ICF trace using the similar menu path, this also should be de-activated once you're completed.
    Regarding the SOAMANAGER traces, it needs to be activated before anything is logged there. That might be why you're not seeing anything there.
    Regards, Trevor

  • Attachment in WLS 7 sp2 Web Service

    Hi, I'm trying to send to a Web Service in WLS7 sp2 SOAP message with attachments. My problem: when I don't add any attachment to SOAP message all go OK, but when I add an attachment with the "href" attribute in an element of the message (I need do it because I use the MM7 protocol of 3GPP), WLS7 don´t accept my message and tell me: "The ID referenced by ..... is unknow". The Content-ID of attachment is equal to value of the href attribute.
    Please, I need help with this!! If anyone knows any URL or sample code that can help me, please, reply to this post.
    Thanks and sorry, my english is not very well.

    Currently there is no option to turn off security check.
    I think you can use a servlet filter mapped to the URL
    of your service, instead of a proxy servlet?
    Regards,
    -manoj
    http://manojc.com
    "Toni Nykanen" <[email protected]> wrote in message
    news:3ef1577b$[email protected]..
    >
    Hi!
    We need to implement authentication using our own methods, and theauthentication
    information is provided to the web service implementation in a basicauthentication
    header. The problem is, that the servlet
    weblogic.webservice.server.servlet.WebServiceServlet, which handles webservices
    in
    wls 7.0.sp2, always attempts to perform authentication, if the header ispresent.
    Is there any way to circumvent this, because we want to implementauthentication
    on our own?
    I already know two workarounds:
    The best would of course be to implement a custom security realm for ourown
    authentication system. This is not an option, implementing an own security
    realm is overkill for this specific web service.
    The other way would be to route the requests by way of a custom servlet,which
    would
    remove the basic authentication header, and put the authentication info incustom
    headers, such as x-auth: <user:password>, or smthng similar, and aftersuccessful
    authentication, make a call to bea's servletweblogic.webservice.server.servlet.WebServiceServlet.
    >
    But still, I'd like to know if there is any way to tell bea's servlet toignore
    the basic
    authentication header?
    Oh yeah, by the way, this is URGENT, as always. (really!! ;)
    Toni Nykanen

  • Problem parsing xml(J2ME Web Service spec) containing image in cldc/midp

    Hi,
    I have created a restful web service that generates xml file in app server. I have created xml file using JAXB2.1 spec. This xml file has many elements starting from char data to image (binary data). I could successfully create xml file and developed another test client to read the same file using JAXB. However, I am finding a problem while getting the image in the java me client (cldc1.1 and midp2.0).
    I am using J2ME Web Services Specification, using javax.xml.parsers.SAXParser to parse the xml file. Parsing is successful and got the character data. But the image data is not accurate, so I am not getting the image. I suspect the problem is with encoding but not sure how to solve this. At the server end, I verified that xml file is encoded with "UTF-8" encoding, not sure how to decode at the client end.
    I am totally confused as how to get the accurate image data, not sure if I use kxml parser would solve my problem.
    I would really appreciate if somebody can get back to me as this is very very important.

    Try to send to your web service the byte array instead of string and then convert the byte array into an image
    using a method like the following one in your service:
    // C# code
    public Image ByteArrayToImage(byte[] byteArrayIn)
         MemoryStream ms = new MemoryStream(byteArrayIn);
         Image returnImage = Image.FromStream(ms);
         return returnImage;
    }There can be some problem between encoding in J2ME and .Net so try different encodings in gathering the image bytes in your j2ME application, but, instead of jpg which has more encodings, try png that is a more standardized image compression(open standard).

  • Web Services URI - How do we find it?

    Hi gurus
    What is Web Services URI? How does the link look like?
    Can someone navigate me after going in Web Services Navigator in http://<Server Name>:<Port Number>/index.html
    You need web services URI when you create connectors, fill  the Parameters values in connector, when you configure connector while configuring Training and Verification system.
    Can someone help?

    Chinmaya
    Can you send me the web service URI example
    for e.g http://<server name>/Port number/XXXXXX etc
    Maybe go in your CUP->connector and copy paste a connector you have configured for provisioning Portal. Just an example
    I have the following folders so its confusing. I don't have anything starting with AE. We are on 5.3 version
    AEWFRequestSubmissionService_5_2
    SAPGRC_AC_IDM_AUDITTRAIL
    SAPGRC_AC_IDM_PROVISININGLOG
    SAPGRC_AC_IDM_REQUESTSTATUS
    SAPGRC_AC_IDM_RISKANALYSIS
    SAPGRC_AC_IDM_ROLEDETAILS
    SAPGRC_AC_IDM_SEARCHROLES
    SAPGRC_AC_IDM_SELECTAPPLICATION
    SAPGRC_AC_IDM_SUBMITREQUESTUserRoleSearchForAEService_5_3
    Edited by: Robert2010 on Jan 26, 2011 10:29 PM
    Edited by: Robert2010 on Jan 26, 2011 10:35 PM

  • How to bind list data to XML Web service request

    How do I bind specific columns in a DataGrid to the Web
    service request? I'm having trouble finding any documentation that
    addresses that specific pattern, i.e. sending a complex list to the
    server via a Flex Web service send() command. I'm fairly new to
    Flex programming and don't know if what I want to do is possible.
    Here what I've been able to do so far.
    1. Using a Web service called a service on the server and
    retrieved a complex list.
    2. Poplulated a DataGrid with the result
    3. The user has selected multiple rows from the DataGrid
    using a checkbox column
    4. The user pressed a button that calls a Web service send().
    This Web service should only send data from only two columns and
    only for those rows the user has checked.
    5. I can loop over the DataGrid and find the selected rows
    and put them in another ArrayCollection called 'selectedRows'.
    The issue is that I don't know how to bind 'selectedRows' to
    the Web service. Right now I'm reading up on "Working with XML" in
    the Programming with ActionScript 3.0 chapter. But I'm just fishing
    here. No bites yet.

    Don't bind. Build the request object programatically, as you
    are doing with your selectedRows AC, and send(myObject) that.
    Tracy

Maybe you are looking for

  • Using UTL_FILE in NT with network drive

    I want to use utl_file for file handling and try to use util_file.fopen for opening file from a mapping network drive (say F with error "Invalid Operation". I've got no error when I handling file in local drive. Can anyone help ? Rgds, Edward (ps I'v

  • Database snapshot - usage of CPU

    Hi, I have a db and a snapshot for this db. I notice that the CPU time when a query is executed on snapshot is 8 times, in my case, greater than if the same query is executed on the original db. My question is: this behavior it's normal ? If I want t

  • Confirmations for Limit Orders in ECS

    In extended classic scenario when creating a limit order, there is an error in process in the local PO related to the follow-on documents for goods receipt with the following error message: 'Combination of GR/IR control not allowed for external servi

  • Is it possible to batch bounce audio files from markers?

    Archiving old DAT tapes, I'm wondering if it's possible to create and even name markers on the fly and later "batch bounce" the whole tape offline to audio files bearing the same name as the markers. I'm aware that you can split regions & batch bounc

  • How to maintain the state(opened/closed) of a Hierarchical expanding list

    Hi, I've created a list with template "hierarchical expanding". When I click on the list node to go to a page, page related to the node appears but the tree doesn't remain expanded. It always shrinks back to the highest level. Please suggest a soluti