Use web service to invoke a new process execution

Hello,
I'm using BPM 10g3, and i'm trying to invoke a fully automated process via a web service
I've setup my web service http://<host>:<port>/albpmServices/<engine name>/ws/<process name>ServiceListener?wsdl
I've accessed it from a C# application i wrote and visual studio did identify my functions and such.
I can successfully start a new session (startSession(string password ,string username) and i get a sessionID back) with the web process.
but when im trying to invoke my own function (which is defined in the Process web service as a Process Execution on my beginIn parameters) I get a response with a FaultException with no visible error code.
In the BPM log I can see the folloowing lines:
1) Invoking service with id:<Process Name>ServiceListener
2) Executing item: IMMEDIATE Inst [-1, -1,-1] Act [No activity] Proc [No Process] Due 1318860646000000]
3) TransactionAction: Rollback!
while the TransactionAction: Rollback! means that something bad happened, i cant see the reason.
any idea's?

OK i've got it working.
I did all the things you suggested before but when you said i need to see that the right activity is being started i understood what's wrong
The chosen activity must be in a lane with the same role as the user login in to the session.
So i added a role on Begin and created a participent for that role, logged in with it and now it works =)
Edit: I'm the same guy that opened the threqad, just needed to make a new user for enterprise support (didn't get to use that though)
Edited by: 891957 on 23:59 17/10/2011

Similar Messages

  • Invoking a scenario using web service

    Hi Experts,
    Could anyone pls suggest how to pass variables from SOAP to ODI 11g(11.1.1.6.3)
    Here we are using wsdl utility to invoke a scenario using web service and trying to pass a variable like the below
    The scenario is triggered successfully without passing a parameter.
    But when i try to pass a variable like the below,am getting error
    Variables name='PROJECT_CODE'
    Variables value='JI-2015'
    In ODI 11g, i have generated a scenario with a variable PROJECT_CODE as a declare variable and tried triggering from both the environments
    From ODI 11g:
    When I try to trigger the scenario from wsdl, in that variable step(in operator), I got error as ODI-17546: Specified variable not found in the Repository
    But in the work repository SNP_VAR table I could still see the variable name under VAR_NAME column.
    From ODI 10g:
    When i try to do the same from odi 10g, the scenario execution is success.
    But the variable had taken only NULL value instead of taking the value which i passed from wsdl.
    Could you pls advise where am going wrong

    variable should be passed in the soap message by adding variables elements. Refer to Note ID [1499852.1]
    <Variables>
    <Name>Project.Variable1</Name>
    <Value>Variable1Value</Value>
    </Variables>
    <Variables>
    <Name>Project.Variable2</Name>
    <Value>Variable2Value</Value>
    </Variables>
    <Variables>
    <Name>Project.Variable3</Name>
    <Value>Variable3Value</Value>
    </Variables>

  • Unique rollback in a BPEL process using web services

    We are a cellular communication company using Oracle DB (10g) and Oracle Forms to run our business applications (customer care and the like). We have planned a system migration using the SOA approach with the latest release of Oracle BPEL Suite (business logic), Oracle ADF BC (presentation level), Oracle OAS (application server) and JDeveloper (application development IDE).
    Within our current applications we have processes that perform several tasks (inserts, updates and/or deletes on the same DB) as part of one atomic DB transaction. Using the SOA approach we&rsquo;ve deemed those tasks as being &lsquo;services&rsquo; that we, let&rsquo;s say for the sake of argument, could implement either as web services (so as to be published for reuse) or as stored procedures encapsulated via DB adapters (BPEL lexicon).
    Our biggest challenge, and hence our question to the SOA world, is how to attain that same unique transaction. We understand that there is no one perfect approach, for the &lsquo;solution&rsquo; depends on too many factors and choices; what we&rsquo;d like to know are past experiences people had or, at best, what do people consider what the best practices in the industry are regarding this matter.
    <strong><u>Approach A:</u></strong> all services are implemented as DB adapters (stored procedures and the like).
    <strong><u>PROS</u><u>:</u></strong> one single DB rollback should any service fail to execute properly and so undo all changes made so far.
    <u><strong>CONS:</strong></u> highly coupled, non-visible components (via UDDI); impossibility to manage, control and audit (via WS Manager) components; weak/poor SOA Governance.
    <u><strong>Approach B:</strong></u> all services are implemented as web services.
    <u><strong>PROS:</strong></u> loosely coupled, self-contained, and web accessible visible components (via UDDI) besides the ease to manage, control and audit (via WS Manager); strong SOA Governance.
    <u><strong>CONS:</strong></u> since each web service is a &lsquo;different&rsquo; transaction with its own &lsquo;commit&rsquo;, a unique rollback transaction for the whole process will not be possible should a WS fail, for previous WSs will have already committed their data changes before doing the rollback.
    <u><strong>Approach C:</strong></u> services implemented as a mix of web services and DB Adapters.
    <strong><u>PROS:</u></strong> those of Approach B for web services.
    <strong><u>CONS:</u></strong> those of Approach A (DB adapters) + those of Approach B (web services).
    <hr />
    So, the 64,000 dollar question is how to attain a single transaction when you have web services as part of your process? Do we need to &rsquo;build/create&rsquo; a schema/functionality similar to the &lsquo;DB-undo-segment&rsquo; in order to obtain a single rollback transaction for the whole process or does the BPEL COMPENSATE delivers this functionality somehow?
    Are we not seeing the obvious? Are we not seeing the forest because we&rsquo;re looking at a tree? Please keep in mind that we are using Oracle BPEL.
    Thanks a bunch,
    --Sergio                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi Marinus,
    you are absolutely right and not missing anything. OWSM does not free you from taking additional measures to block direct interaction with the unsecure WebService from not "authorized" clients. You must restrict the http response to the OWSM host only (either in the Apache or the OC4J configuration). See the related documentation.
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Invoke a DS Job in One Unix server using Web Services

    Hi All,
    I would like to know- How we can invoke a Job in one Unix server from another Unix Server using Web services.
    Please provide some pointers.
    Regards,
    Mayank

    Hi Manoj,
    Thanks for your email. Could you provide with some example where this functionality was achieved.
    Regards,
    Mayank

  • What is the best way to deploy application that uses web services?

    Hi all,
    I'm having some problems figuring out the best way to deploy our app now that we've switched over to using web services.
    I'm fairly new to Java and web services. From what I understand, JNLP and WebStart are methods to deploy Java clients to users and not for creating war files and the like.
    Here's a little background:
    We have a large PowerBuilder/Oracle application. The db consists of over 500 tables and the client consists of several thousand PB components. A user creates "transactions" which contain a series of "sub-transactions" within. Most of the data is collected and stored locally in the client in a series of datastores. When the "finalize" happens, the records are validated and sent to the database.
    We are in the process of moving each of the subtransactions (currently in the PB client) into subPROCESSES on a java project. We are using the JAX-WS framework to develop the web services in Netbeans. These web services aren't much more than remote xml as the messaging technology. For writing data back to the database, we are using the Java Persistence API to function outside of an EJB container but will shortly be migrating to the Glassfish application server to use several of the EJB container frameworks including the EntityManager.
    We haven't attempted any type of deployment and are unsure of where to start. Any suggestions would be so helpful and appreciated!
    Thanks!
    Edited by: doubleEspresso on Jan 10, 2008 8:06 AM

    >
    I'm fairly new to Java and web services. From what I understand, JNLP and WebStart are methods to deploy Java clients to users and not for creating war files and the like. >Correct, while Java Web Start has 'web' in the name, it has little if anything to do with web applications - certainly not providing much toward their installation. It is for launching rich client GUI based (AWT, Swing, SWT..) applications onto the end-user's desktop.
    There are some parts of JWS that might seem peripherally useful to the installation of a web-app., but it is really not a 'good fit'.
    >
    ..Any suggestions would be so helpful and appreciated!>You might try the forums for the 'web tier' APIs.
    <http://forum.java.sun.com/category.jspa?categoryID=20>
    Or perhaps the forum 'Java Technologies for Web Services' (under 'enterprise technologies')
    <http://forum.java.sun.com/forum.jspa?forumID=331>
    This one in 'BigAdmin' seems particularly relevant, 'Set up and Deploy'
    <http://forum.java.sun.com/forum.jspa?forumID=550>

  • Novice Help with Creating Opportunities Using Web Services 2.0

    Hello,
    I recently took over our CRM integration services and was asked to push some data via our custom portal.
    We use our portal to automate the creation of new opportunities in our Oracle CRM System.
    The code was developed using Web Services 1.0
    I was recently asked to add data to the "Parent Opportunity" field upon creation of a new Opportunity. Now I may be mistaken and if I am I will be very pleased, but it seems to me this field isn't available in 1.0
    If I am mistaken and there IS a way to push data to the "parent opportunity" field using 1.0 Please completely disregard what I have typed below.
    Upon looking at the WSLD for 2.0 I see "ParentoptyID" as an available field.
    I took it upon myself to try and move this process over to 2.0 but I have hit a few major stumbling blocks. Here is the working code for 1.0:
    Public Function CRMAddFinalShipmentOpportunity2(ByVal Session As Session, ByVal Subject As String, ByVal Type As String, ByVal Priority As String, ByVal Account As String, ByVal DueDate As String, ByVal Status As String, ByVal Description As String, ByVal AnnBudget As String, ByVal oppType As String, ByVal partNumber As String, ByVal currency As String, ByVal Territory As String, ByVal Owner As String, ByVal Opp As String) As String
    Dim opportunity As nkkcrm.SiebelOpportunity20.Opportunity = New nkkcrm.SiebelOpportunity20.Opportunity
    Dim input As New nkkcrm.SiebelOpportunity20.OpportunityInsert_Input
    Dim results As New nkkcrm.SiebelOpportunity20.OpportunityInsert_Output
    Dim strPriority As String = "1-High,2-Medium,3-Low"
    Dim strType As String = "Call,Correspondence,Email,Event,Final Shipment - Book,Final Shipment - Special,Lead Follow-Up,Meeting,Opportunity Follow-Up,Other,Presentation,Quote Follow-Up,Sample Follow-Up,Service Request Follow-Up"
    Dim strStatus As String = "Completed,Deferred,Waiting For Someone Else,In Progress,Not Started,Assigned,In Call"
    CRMAddFinalShipmentOpportunity2 = ""
    ' Validate Data (CRM will validate if owner is valid)
    If Owner = "" Then
    AddError("Error: Missing Owner")
    Exit Function
    End If
    If Subject = "" Then
    AddError("Error: Missing Subject")
    Exit Function
    End If
    If strType.IndexOf(Type) < 0 Then
    AddError("Error: Invalid or Missing Type")
    Exit Function
    End If
    If strStatus.IndexOf(Status) < 0 Then
    AddError("Error: Invalid or Missing Status")
    Exit Function
    End If
    If strPriority.IndexOf(Priority) < 0 Then
    AddError("Error: Invalid or Missing Priority")
    Exit Function
    End If
    If Not IsDate(DueDate) Then
    AddError("Error: Invalid or Missing DueDate")
    Exit Function
    End If
    Try
    opportunity.Url = Session.GetURL()
    opportunity.CookieContainer = Session.GetCookieContainer()
    'Create the opportunity
    Dim tmpAry(0) As nkkcrm.SiebelOpportunity20.Opportunity
    input.ListOfOpportunity(0) = tmpAry
    input.ListOfOpportunity.SetValue(New nkkcrm.SiebelOpportunity20.Opportunity, 0)
    'Assign the opportunity Properties
    input.ListOfOpportunity(0).Owner = Owner
    input.ListOfOpportunity(0).OpportunityName = Subject
    input.ListOfOpportunity(0).AccountName = Account
    input.ListOfOpportunity(0).SalesStage = "Rebuy"
    input.ListOfOpportunity(0).CloseDate = Date.Today
    input.ListOfOpportunity(0).Territory = Territory
    input.ListOfOpportunity(0).stProject_Name = "FINAL SHIPMENT REBUY"
    input.ListOfOpportunity(0).SourceCampaign = "Rebuy"
    input.ListOfOpportunity(0).OpportunityType = oppType
    input.ListOfOpportunity(0).Revenue = AnnBudget
    input.ListOfOpportunity(0).Description = Description
    input.ListOfOpportunity(0).bRebuy = "Y"
    input.ListOfOpportunity(0).ProductInterest = partNumber
    input.ListOfOpportunity(0).plCurrency_Type = currency
    'input.ListOfOpportunity(0).ParentoptyId = Opp
    'insert the opportunity
    results = opportunity.OpportunityInsert(input)
    If results.ListOfOpportunity.Length > 0 Then
    CRMAddFinalShipmentOpportunity2 = results.ListOfOpportunity(0).OpportunityId
    End If
    Catch webex As WebException
    AddError(webex.Message)
    Catch ex As Exception
    AddError(ex.Message)
    End Try
    End Function
    What changes might I need to make in order to make this function correctly using Web Services 2.0?
    Currently I get the following errors- For every line of input.ListOfOpportunity(0) I get: '..cannot be indexed because it has no default property.'
    Another example of an issue I'm running into is: 'SetValue' is not a member of 'nkkcrm.SiebelOpportunity20.ListOfOpportunityData'

    We were able to make this work by re-modeling my code after a code sample I found that creates new Activities.
    Here's my code in case it helps someone scanning these forums in the future (Disregard the Opportunity entries that are missing when you compare this to my earlier code- Those weren't relevant to making this work or not work, I simply am not using them now.):
    Public Function CRMAddFinalShipmentOpportunity2(ByVal Session As Session, ByVal Owner As String, ByVal Subject As String, ByVal Type As String, ByVal Priority As String, ByVal DueDate As String, ByVal Status As String, ByVal Description As String, ByVal POValue As String, ByVal oppType As String, ByVal partNumber As String, ByVal currency As String, ByVal servername As String, ByVal pass As String, ByVal usrname As String) As String
    'Get SessionID
    Dim sessionId As String
    sessionId = getSessionLogin(usrname, pass, servername)
    Dim Opportunity As nkkcrm.SiebelOpportunity20.Opportunity = New nkkcrm.SiebelOpportunity20.Opportunity
    Dim OppInput As New nkkcrm.SiebelOpportunity20.OpportunityInsert_Input
    Dim OppOutput As New nkkcrm.SiebelOpportunity20.OpportunityInsert_Output
    Dim strPriority As String = "1-High,2-Medium,3-Low"
    Dim strType As String = "Call,Correspondence,Email,Event,Final Shipment - Book,Final Shipment - Special,Lead Follow-Up,Meeting,Opportunity Follow-Up,Other,Presentation,Quote Follow-Up,Sample Follow-Up,Service Request Follow-Up"
    Dim strStatus As String = "Completed,Deferred,Waiting For Someone Else,In Progress,Not Started,Assigned,In Call"
    'Validate Data (CRM will validate if owner is valid)
    If Owner = "" Then
    AddError("Error: Missing Owner")
    Exit Function
    End If
    If Subject = "" Then
    AddError("Error: Missing Subject")
    Exit Function
    End If
    If strType.IndexOf(Type) < 0 Then
    AddError("Error: Invalid or Missing Type")
    Exit Function
    End If
    If strStatus.IndexOf(Status) < 0 Then
    AddError("Error: Invalid or Missing Status")
    Exit Function
    End If
    If strPriority.IndexOf(Priority) < 0 Then
    AddError("Error: Invalid or Missing Priority")
    Exit Function
    End If
    If Not IsDate(DueDate) Then
    AddError("Error: Invalid or Missing DueDate")
    Exit Function
    End If
    'Instantiate OpportunityData
    Dim objListOfOpportunity As nkkcrm.SiebelOpportunity20.ListOfOpportunityData
    Dim objOpportunity As nkkcrm.SiebelOpportunity20.OpportunityData()
    Try
    objOpportunity = New nkkcrm.SiebelOpportunity20.OpportunityData(0) {}
    objListOfOpportunity = New nkkcrm.SiebelOpportunity20.ListOfOpportunityData()
    objOpportunity(0) = New nkkcrm.SiebelOpportunity20.OpportunityData
    'Assign the opportunity Properties
    objOpportunity(0).Owner = Owner
    objOpportunity(0).OpportunityName = Subject
    objOpportunity(0).AccountName = "UNKNOWN"
    objOpportunity(0).SalesStage = "Rebuy"
    objOpportunity(0).CloseDate = Date.Today
    objOpportunity(0).Territory = "North America"
    objOpportunity(0).stProject_Name = "FINAL SHIPMENT REBUY"
    objOpportunity(0).SourceCampaign = "Rebuy"
    objOpportunity(0).OpportunityType = oppType
    objOpportunity(0).Revenue = POValue
    objOpportunity(0).Description = Description
    objOpportunity(0).bRebuy = True
    objOpportunity(0).ProductInterest = partNumber
    objOpportunity(0).plCurrency_Type = currency
    'Connect the Opportunity to ListOfOpportunity
    objListOfOpportunity.Opportunity = objOpportunity
    'Connect ListofOpportunity to Input Parameter
    OppInput.ListOfOpportunity = objListOfOpportunity
    Opportunity.Url = servername & "/Services/Integration;jsessionid=" & sessionId
    'Opportunity.CookieContainer = Session.GetCookieContainer()
    Opportunity.OpportunityInsert(OppInput)
    Return "success"
    Catch webex As WebException
    AddError(webex.Message)
    Catch ex As Exception
    AddError(ex.Message)
    End Try
    End Function
    Public Function getSessionLogin(ByVal usrname As String, ByVal pass As String, ByVal servername As String)
    Dim loginurl As String = servername & "/Services/Integration?command=login"
    'MessageBox.Show(loginurl);
    Dim req As HttpWebRequest = DirectCast(WebRequest.Create(loginurl), HttpWebRequest)
    ' username and password are passed as HTTP headers
    req.Headers.Add("UserName", usrname)
    req.Headers.Add("Password", pass)
    ' cookie container has to be added to request in order to
    ' retrieve the cookie from the response.
    Dim cookie As Cookie
    req.CookieContainer = New CookieContainer()
    ' make the HTTP callby
    Dim resp As HttpWebResponse = DirectCast(req.GetResponse(), HttpWebResponse)
    If resp.StatusCode = System.Net.HttpStatusCode.OK Then
    ' store cookie for later...
    cookie = resp.Cookies("JSESSIONID")
    If cookie Is Nothing Then
    Return "invalid session"
    End If
    Return cookie.Value
    Else
    Return "invalid session"
    End If
    End Function

  • OutofMemory Error while sending file to database using Web services

    I have a file of 30MB to be written to the MySQL database. I am doing this in Axis web services and it gives me the following error:
    (I am using Tomcat as the application server and Apache as the web server, Axis 1.3 and MySQL standard 5.0.21 version. I have set the minimum and maximum heap size and it works well without using the web service (just uploading and downloading from the database using a simple java program). Another thing to notice is that I can send a file of almost 10MB size to the database using web service without any problem. But it doesn't work with the 30 MB .)
    java.lang.OutOfMemoryError: Java heap space; nested exception is:
         java.lang.OutOfMemoryError: Java heap space
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
    faultSubcode:
    faultString: java.lang.OutOfMemoryError: Java heap space; nested exception is:
         java.lang.OutOfMemoryError: Java heap space
    faultActor:
    faultNode:
    faultDetail:
         {http://xml.apache.org/axis/}hostname:dbr221d.dbr.louisville.edu
    java.lang.OutOfMemoryError: Java heap space; nested exception is:
         java.lang.OutOfMemoryError: Java heap space
         at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
         at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
         at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:633)
         at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanEndElement(XMLNSDocumentScannerImpl.java:719)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
         at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
         at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
         at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
         at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
         at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
         at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
         at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
         at org.apache.axis.client.Call.invoke(Call.java:2767)
         at org.apache.axis.client.Call.invoke(Call.java:2443)
         at org.apache.axis.client.Call.invoke(Call.java:2366)
         at org.apache.axis.client.Call.invoke(Call.java:1812)
         at edu.louisville.bcc_ma.ws.lab.LabServiceSoapBindingStub.storeGZIPFile(LabServiceSoapBindingStub.java:472)
         at edu.louisville.bcc_ma.lims.labclient.container.SendGZIPFile.sendFile(SendGZIPFile.java:69)
         at edu.louisville.bcc_ma.lims.labclient.container.LoginContainer.login(LoginContainer.java:58)
         at edu.louisville.bcc_ma.lims.labclient.container.LoginContainer.main(LoginContainer.java:44)

    Sorry for the delayed response here, forget to add it to my watchlist. I didn't catch if you were using Java 1.5 or not. Prior to 1.5 the default maximum heap space was 64MB which with the overhead of the appserver might be your problem.
    Take a look at http://java.sun.com/j2se/1.5.0/docs/guide/vm/gc-ergonomics.html and the java -Xmx <size> command line option to change the default (I believe the size argument is in bytes, but don't hold me to that). I think you can pass that as a command line option to the startup script, but you should check the doco to see if it needs to be wrapped in some other arg etc.,
    I seem to recall running into this same problem a few years back when I had a servlet doing some intense graphics processing on the fly and setting this option fixed the problem.

  • Exception thrown while trying to connect to Primavera using Web service.

    Dear all,
         We are trying to connect primavera from a .net application using Web service.It is working fine with P6 V7, but while trying to connect to V.8 there is an exception thrown by SoapHeaderException.
    The Contents in the Exception is like this
    System.Web.Services.Protocols.SoapHeaderException: This class does not support SAAJ 1.1
       at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
       at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
       at Primavera.AuthenticationService.AuthenticationService.Login(Login Login1) in E:\Manesh\Code\PROTOTYPES\PrimaveraAuthentrication\SampleDemo\Web References\AuthenticationService\Reference.cs:line 100
       at Primavera.Form1.TestConnection(String& sErr) in E:\Manesh\Code\PROTOTYPES\PrimaveraAuthentrication\SampleDemo\Form1.cs:line 66
    Here i am specifying the C# code which makes the above exception
    public int TestConnection(ref string sErr)
                try
                    AuthenticationService.AuthenticationService authService = new AuthenticationService.AuthenticationService();               
                    try
                        authService.Url = Url;
                        authService.CookieContainer = new CookieContainer();
                        AuthenticationService.Login lg = new AuthenticationService.Login();
                        lg.UserName = LoginName;
                        lg.Password = Password;
                        lg.DatabaseInstanceId = 1;
                        lg.DatabaseInstanceIdSpecified = true;
                       AuthenticationService.LoginResponse lp = authService.Login(lg);   //This line which makes the exception
                        cookieContainer = authService.CookieContainer;                  
                    finally
                        if (authService != null)
                            authService.Dispose();                  
                    return 1;               
                catch (Exception eX)
                    return -1;
    We are looking forward for a solution
    Thanks in Advance.
    Regards
    Jinosh

    http://otn.oracle.com/tech/java/sqlj_jdbc/htdocs/jdbc_faq.htm#_59_
    The thin drivers are classes12.zip/classes111.zip. classes12.zip being the most recent release. You can download it from
    http://otn.oracle.com/software/tech/java/sqlj_jdbc/htdocs/winsoft.html
    (the general download site is http://otn.oracle.com/software/tech/java/sqlj_jdbc/content.html )
    Jamie

  • Web Service Data Retrieval and Payment Processing

    We currently do all our processes including payments through the SQL query option in CCA, we'd like to use a web service instead and are new to doing the call this way, can someone please provide some input as to what is required to access our data from CCA via web server?

    Hi, Peter, this could be an issue with proxy server setting. Are you behind a firewall when you test this?
    iOS simulator would use Mac's proxy setting. Android Emulator has its own proxy setup - it's a bit complicated to get to and varies based on the Android emulator you are using. For 4.1 emulator (you should always use 4.x or above emulators), you would need to go into the emulator itself, and go to settings - Wireless & Networks - click More... - Mobile Networks - Access Point Names. You should see an Access point used by the emulator to simulate network connection. Mine says "T-Mobile US". You click on it, and then you can select the proxy attribute and set it according to your office's settings.
    Hope that resolves the issue.
    Thanks,
    Joe Huang

  • As400 performence issue using web services

    Performance degrade while accessing as400 using web services instead of MQ Connection. Any suggestion what might cause this ?
    Edited by: indubala on Dec 16, 2009 6:26 PM

    It is not just 1 node, you will need to do several things which I have outlined here.
    In the first node set your variables.
    Here the invocation class is defined.
    Set this to the standard Native Invocation Class used in CCA.
    If this was not defined, the Campaign should use a default invocation class but I'd advise you to specify just to be sure.
    The values are:
    $invocationClass
    com.taw.web.invocation.WebServiceInvocation
    Remember that when specifying the string value single quotes (ticks) should surround the value (as with any string in CCA Campaigns).
    Next in the same node set the values for the service name.
    Set this to the default of ‘invoke’ used in CCA.
    If this was not defined, the Campaign should use the default of ‘invoke’ but again I'd advise on setting it to be sure.
    The values are :
    $serviceName
    invoke
    Next you will need to set the values that will be passed as the input objects to the invocation class.
    Recall that the two required objects are WebServiceInvocationId and KeyValue.
    The next area that would need to be defined is the Invocation wait loop.
    This is done for both testing as well as operation reasons.
    For testing this provides simple troubleshooting.
    For production use, the loop is important to handle time outs and errors.
    If the timeout value is ever reached, the return value will be set to Fail.
    First set the loop counter, then in the child nodes define the Loop counter expressions to check for a specific time to wait value.
    The external web service will need to be prepared to receive the exact objects sent by the Invocation class.
    In addition it will also expect to be instructed to process the invoke method.
    That should be enough to get you going.

  • Using Web Service as Data source (Pluggable Data Source) in Oracle Reports

    Anyone using Webservice as a pluggable data source in oracle 10g reports.(Report builder version:10.1.2.0.2)? We need to be able to use web service as one of the data source to create reports.Tried the following and ran into issues:
    Imported the wspds.jar fle from oracle plugin exchage. When tried using it received the following error in oracle reports trace file.
    04/26 22:27:22 java.lang.NoSuchMethodError: oracle.xml.parser.schema.XSDBuilder.build([Loracle/xml/parser/v2/XMLDocument;Ljava/net/URL;)Ljava/lang/Object;
    By troubleshooting issue found out that xmlparserv2.jar in 10g is newer than xmlparserv2.jar in 9i. wspds.jar is using xmlparserv2.jar in 9i as it was developed and tested for 9i only. Believe there is no newer wspds.jar file developed specifically for 10g?
    Is there a better/standard solution to use webservice as data source in oracle 10g reports? Does later version of oracle reports supports webservice as a data source without any additional plugins? Any suggestion would be helpful.

    Please provide support for the above request.
    It appears that Oracle 10g reports doesn't support Web Service as pluggable data source. Is this option is available in Oracle 11g Reports or Oracle Discoverer Or OBIEE?

  • Ejbmodule error while building the external service app using web service

    Hi,
    I am new to SOA. I have developed an external service application using web service. While buiding the project i am getting the ejb module error which is mentioned below and the remaining five internal projects are getting deployed successfully. Can anyone help me out in resolving this issue.
    Apr 17, 2008 3:51:45 PM /userOut/Development Component (com.sap.ide.eclipse.component.provider.listener.DevConfListener) [Thread[ModalContext,5,main]] ERROR: user_example/ejbmodule: Build failed for sap.com/user_example/ejbmodule(MyComponents) in variant "default": Compile failed; see the compiler error output for details.
    Build log -
    Development Component Build (2008-04-17 15:51:39)
      Component name: user_example/ejbmodule
      Component vendor: sap.com
      SC compartment: MyComponents
      Configuration: LocalDevelopment
      Location: local
      Source code location: mzwrxw@w2mzwrxw01
      DC root folder: D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\
      DC type: J2EE
      DC subtype: EJBModule
      Host: w2mzwrxw01
    DC Model check:
       All used DCs are available locally
       validating dependency to build plugin "sap.com/tc/bi/bp/ejbmodule"
       validating dependency to  public part "default" of DC "sap.com/ejb20"
       validating dependency to  public part "default" of DC "sap.com/jdbc20"
       validating dependency to  public part "default" of DC "sap.com/jms"
       validating dependency to  public part "default" of DC "sap.com/tc/ddic/metamodel/content"
       validating dependency to  public part "CAFRuntimeAPI" of DC "sap.com/caf/runtime/impl"
       validating dependency to  public part "compilation" of DC "sap.com/caf/runtime/api"
       validating dependency to  public part "default" of DC "sap.com/bi/mmr/core"
       validating dependency to  public part "compilation" of DC "sap.com/caf/metamodel"
       validating dependency to  public part "default" of DC "sap.com/com.sap.security.api.sda"
       validating dependency to  public part "default" of DC "sap.com/tc/logging"
       validating dependency to  public part "default" of DC "sap.com/com.sap.exception"
       validating dependency to  public part "default" of DC "sap.com/com.sap.jdo"
       validating dependency to  public part "compilation" of DC "sap.com/bi/mmr/cwm_1.0_source"
       validating dependency to  public part "jmi" of DC "sap.com/bi/mmr/jmi"
       validating dependency to  public part "ClientApi" of DC "sap.com/caf/km.proxyjava"
       validating dependency to  public part "default" of DC "sap.com/bi/mmr/db"
       validating dependency to  public part "ClientAPI" of DC "sap.com/caf/runtime/security"
       validating dependency to  public part "ClientAPI" of DC "sap.com/caf/core/services"
       validating dependency to used DC "sap.com/caf/runtime/connectivity/base"
       validating dependency to used DC "sap.com/caf/runtime/connectivity"
       validating dependency to used DC "sap.com/applocking"
       validating dependency to  public part "default" of DC "sap.com/com.sap.engine.client.lib"
       validating dependency to  public part "default" of DC "sap.com/jta"
       DC model check OK
    Start build plugin:
       using build plugin: sap.com/tc/bi/bp/ejbmodule
       starting build plugin from : C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP_BUILDT\DCs\sap.com\tc\bi\bp\ejbmodule\_comp\gen\default\public\ejb\
    Build Plugin 'EJBModulePlugin', Version 7.00 SP 9 (NW04S_09_REL, built on 2006-10-25 22:26:50 CEST)
       development component:  user_example/ejbmodule (sap.com)
          software component:  MyComponents (demo.sap.com)
                    location:  local
                        type:  J2EE, subtype EJBModule
               build variant:  default
             source location:  mzwrxw@w2mzwrxw01
           plugin start time:  2008-04-17 15:51:39 GMT+05:30 (IST)
                     Java VM:  Java HotSpot(TM) Client VM, 1.4.2_09-b05 (Sun Microsystems Inc.)
    General options:
      convert *.xlf to *.properties: yes
      include sources for debugging: yes
    Source folder src exists but is empty.
    Plugin initialized in 0.187 seconds
    Preparing data context..
    No 'default' JDK defined, will use running VM.
    Data context prepared in 0.078 seconds
    Executing macro file..
      Using macro file:     C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP_BUILDT\DCs\sap.com\tc\bi\bp\ejbmodule\_comp\gen\default\public\ejb\macros\build.vm
      Creating output file: D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\gen\default\logs\build.xml
    Macro file executed in 0.141 seconds
    Starting Ant..
      Using build file:     D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\gen\default\logs\build.xml
      Using build target:   build
      Generation folder:    D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\t\0C4E7D6DF04F4534176A82AEB939F6DA
      Using Ant version:    1.6.2
    compile:
          [echo] Starting Java compiler
          [echo] Settings:
          [echo]   debug:       on
          [echo]   optimize:    off
          [echo]   deprecation: off
          [echo]   verbose:     default
          [echo]   encoding:    UTF8
          [echo]   source:      default
          [echo]   target:      default
          [echo]   source path: D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule
          [echo]   class path:
          [echo]     C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\tc\logging\_comp\gen\default\public\default\lib\java\logging.jar
          [echo]     C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\tc\logging\_comp\gen\default\public\default\lib\java\logging.perf.jar
          [echo]     C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP_JTECHS\DCs\sap.com\tc\ddic\metamodel\content\_comp\gen\default\public\default\lib\java\SapMetamodelDictionaryContent.zip
          [echo]     C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP_JTECHS\DCs\sap.com\com.sap.jdo\_comp\gen\default\public\default\lib\java\jdo.jar
          [echo]     C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP_JTECHS\DCs\sap.com\com.sap.jdo\_comp\gen\default\public\default\lib\java\sapjdoapi.jar
          [echo]     C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\BI_UDI\DCs\sap.com\bi\mmr\jmi\_comp\gen\default\public\jmi\lib\java\sap.combimmrjmijmi.jar
          [echo]     C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\BI_UDI\DCs\sap.com\bi\mmr\core\_comp\gen\default\public\default\lib\java\sap.combimmrcoredefault.jar
          [echo]     C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\CAF\DCs\sap.com\caf\km.proxyjava\_comp\gen\default\public\ClientApi\lib\java\sap.comcafkm.proxyjava~ClientApi.jar
          [echo]     C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\applocking\_comp\gen\default\public\default\lib\java\applocking.jar
          [echo]     C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\applocking\_comp\gen\default\public\default\lib\java\frame.jar
          [echo]     C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\applocking\_comp\gen\default\public\default\lib\java\jdbc.jar
          [echo]     C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\CAF\DCs\sap.com\caf\metamodel\_comp\gen\default\public\compilation\lib\java\sap.comcafmetamodel.jar
          [echo]     C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\CAF\DCs\sap.com\caf\metamodel\_comp\gen\default\public\compilation\lib\java\sap.comcafmetamodel_JMI.jar
          [echo]     C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\CAF\DCs\sap.com\caf\metamodel\_comp\gen\default\public\compilation\lib\java\sap.comcafmetamodel_JMI_src.jar
          [echo]     C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\com.sap.engine.client.lib\_comp\gen\default\public\default\lib\java\sapj2eeclient.jar
          [echo]     C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\CAF\DCs\sap.com\caf\runtime\connectivity\base\_comp\gen\default\public\com.sap.caf.mp.base\lib\java\sap.comcafruntimeconnectivitybase~com.sap.caf.mp.base.jar
          [echo]     C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\CAF\DCs\sap.com\caf\runtime\security\_comp\gen\default\public\ClientAPI\lib\java\sap.comcafruntimesecurityClientAPI.jar
          [echo]     C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\CAF\DCs\sap.com\caf\runtime\api\_comp\gen\default\public\compilation\lib\java\sap.comcafruntimeapicompilation.jar
          [echo]     C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\jdbc20\_comp\gen\default\public\default\lib\java\jdbc.jar
          [echo]     C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\BI_UDI\DCs\sap.com\bi\mmr\cwm_1.0_source\_comp\gen\default\public\compilation\lib\java\sap.combimmr~cwm_1.0_source.jar
          [echo]     C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\BI_UDI\DCs\sap.com\bi\mmr\cwm_1.0_source\_comp\gen\default\public\compilation\lib\java\sap.combimmr~cwm_1.0_source_JMI.jar
          [echo]     C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\BI_UDI\DCs\sap.com\bi\mmr\cwm_1.0_source\_comp\gen\default\public\compilation\lib\java\sap.combimmr~cwm_1.0_source_JMI_src.jar
          [echo]     C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\CAF\DCs\sap.com\caf\runtime\impl\_comp\gen\default\public\CAFRuntimeAPI\lib\java\sap.comcafruntimeimplCAFRuntimeAPI.jar
          [echo]     C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\ejb20\_comp\gen\default\public\default\lib\java\ejb20.jar
          [echo]     C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\jms\_comp\gen\default\public\default\lib\java\jms.jar
          [echo]     C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\com.sap.security.api.sda\_comp\gen\default\public\default\lib\java\com.sap.security.api.jar
          [echo]     C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\com.sap.security.api.sda\_comp\gen\default\public\default\lib\java\com.sap.security.api.perm.jar
          [echo]     C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\jta\_comp\gen\default\public\default\lib\java\jta.jar
          [echo]     C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\CAF\DCs\sap.com\caf\core\services\_comp\gen\default\public\ClientAPI\lib\java\sap.comcafcoreservicesClientAPI.jar
          [echo]     C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\com.sap.exception\_comp\gen\default\public\default\lib\java\exception.jar
          [echo]     C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\CAF\DCs\sap.com\caf\runtime\connectivity\_comp\gen\default\public\com.sap.caf.mp.core.api\lib\java\sap.comcafruntimeconnectivitycom.sap.caf.mp.core.api.jar
          [echo]     C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\BI_UDI\DCs\sap.com\bi\mmr\db\_comp\gen\default\public\default\lib\java\sap.combimmrdbdefault.jar
          [echo]   output dir:  D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\t\0C4E7D6DF04F4534176A82AEB939F6DA\classes
         [javac] Compiling 23 source files to D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\t\0C4E7D6DF04F4534176A82AEB939F6DA\classes
         [javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:51: cannot resolve symbol
         [javac] symbol  : variable JARM_REQUEST
         [javac] location: class java.lang.String
         [javac]         com.sap.caf.rt.util.CAFPublicLogger.entering(user, user.JARM_REQUEST, method, userServiceBean.location, new java.lang.Object[] , com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
         [javac]                                                                ^
         [javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:81: cannot resolve symbol
         [javac] symbol  : variable JARM_REQUEST
         [javac] location: class java.lang.String
         [javac]             com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
         [javac]                                                                   ^
         [javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:92: cannot resolve symbol
         [javac] symbol  : variable JARM_REQUEST
         [javac] location: class java.lang.String
         [javac]             com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
         [javac]                                                                   ^
         [javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:96: cannot resolve symbol
         [javac] symbol  : variable JARM_REQUEST
         [javac] location: class java.lang.String
         [javac]         com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, new java.lang.Object[] , com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
         [javac]                                                               ^
         [javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:105: cannot resolve symbol
         [javac] symbol  : variable JARM_REQUEST
         [javac] location: class java.lang.String
         [javac]           com.sap.caf.rt.util.CAFPublicLogger.entering(user, user.JARM_REQUEST, method, userServiceBean.location, new java.lang.Object[] , com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
         [javac]                                                                        ^
         [javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:115: cannot resolve symbol
         [javac] symbol  : variable JARM_REQUEST
         [javac] location: class java.lang.String
         [javac]                com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
         [javac]                                                                               ^
         [javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:126: cannot resolve symbol
         [javac] symbol  : variable JARM_REQUEST
         [javac] location: class java.lang.String
         [javac]                com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
         [javac]                                                                               ^
         [javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:131: cannot resolve symbol
         [javac] symbol  : variable JARM_REQUEST
         [javac] location: class java.lang.String
         [javac]           com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, new java.lang.Object[] , com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
         [javac]                                                                       ^
         [javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:139: cannot resolve symbol
         [javac] symbol  : variable JARM_REQUEST
         [javac] location: class java.lang.String
         [javac]           com.sap.caf.rt.util.CAFPublicLogger.entering(user, user.JARM_REQUEST, method, userServiceBean.location, new java.lang.Object[] , com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
         [javac]                                                                        ^
         [javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:154: cannot resolve symbol
         [javac] symbol  : variable JARM_REQUEST
         [javac] location: class java.lang.String
         [javac]                com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
         [javac]                                                                               ^
         [javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:159: cannot resolve symbol
         [javac] symbol  : variable JARM_REQUEST
         [javac] location: class java.lang.String
         [javac]           com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
         [javac]                                                                       ^
         [javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:165: cannot resolve symbol
         [javac] symbol  : variable JARM_REQUEST
         [javac] location: class java.lang.String
         [javac]           com.sap.caf.rt.util.CAFPublicLogger.entering(user, user.JARM_REQUEST, method, userServiceBean.location, new java.lang.Object[] , com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
         [javac]                                                                        ^
         [javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:186: cannot resolve symbol
         [javac] symbol  : variable JARM_REQUEST
         [javac] location: class java.lang.String
         [javac]                    com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
         [javac]                                                                                ^
         [javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:200: cannot resolve symbol
         [javac] symbol  : variable JARM_REQUEST
         [javac] location: class java.lang.String
         [javac]                    com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
         [javac]                                                                                ^
         [javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:206: cannot resolve symbol
         [javac] symbol  : variable JARM_REQUEST
         [javac] location: class java.lang.String
         [javac]           com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
         [javac]                                                                       ^
         [javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:213: cannot resolve symbol
         [javac] symbol  : variable JARM_REQUEST
         [javac] location: class java.lang.String
         [javac]           com.sap.caf.rt.util.CAFPublicLogger.entering(user, user.JARM_REQUEST, method, userServiceBean.location, new java.lang.Object[] , com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
         [javac]                                                                        ^
         [javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:233: cannot resolve symbol
         [javac] symbol  : variable JARM_REQUEST
         [javac] location: class java.lang.String
         [javac]             com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
         [javac]                                                                   ^
         [javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:244: cannot resolve symbol
         [javac] symbol  : variable JARM_REQUEST
         [javac] location: class java.lang.String
         [javac]             com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
         [javac]                                                                   ^
         [javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:254: cannot resolve symbol
         [javac] symbol  : variable JARM_REQUEST
         [javac] location: class java.lang.String
         [javac]         com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
         [javac]                                                               ^
         [javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:261: cannot resolve symbol
         [javac] symbol  : variable JARM_REQUEST
         [javac] location: class java.lang.String
         [javac]         com.sap.caf.rt.util.CAFPublicLogger.entering(user, user.JARM_REQUEST, method, userServiceBean.location, new java.lang.Object[] , com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
         [javac]                                                                ^
         [javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:270: cannot resolve symbol
         [javac] symbol  : variable JARM_REQUEST
         [javac] location: class java.lang.String
         [javac]                com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
         [javac]                                                                       ^
         [javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:281: cannot resolve symbol
         [javac] symbol  : variable JARM_REQUEST
         [javac] location: class java.lang.String
         [javac]                  com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
         [javac]                                                                               ^
         [javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:288: cannot resolve symbol
         [javac] symbol  : variable JARM_REQUEST
         [javac] location: class java.lang.String
         [javac]          com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, new java.lang.Object[] , com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
         [javac]                                                               ^
         [javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:295: cannot resolve symbol
         [javac] symbol  : variable JARM_REQUEST
         [javac] location: class java.lang.String
         [javac]         com.sap.caf.rt.util.CAFPublicLogger.entering(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
         [javac]                                                                ^
         [javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:300: cannot resolve symbol
         [javac] symbol  : variable JARM_REQUEST
         [javac] location: class java.lang.String
         [javac]           com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
         [javac]                                                                       ^
         [javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:308: cannot resolve symbol
         [javac] symbol  : variable JARM_REQUEST
         [javac] location: class java.lang.String
         [javac]           com.sap.caf.rt.util.CAFPublicLogger.entering(user, user.JARM_REQUEST, method, userServiceBean.location, new java.lang.Object[] , com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
         [javac]                                                                        ^
         [javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:370: cannot resolve symbol
         [javac] symbol  : variable JARM_REQUEST
         [javac] location: class java.lang.String
         [javac]                com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
         [javac]                                                                               ^
         [javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:462: cannot resolve symbol
         [javac] symbol  : variable JARM_REQUEST
         [javac] location: class java.lang.String
         [javac]           com.sap.caf.rt.util.CAFPublicLogger.entering(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
         [javac]                                                                        ^
         [javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:477: cannot resolve symbol
         [javac] symbol  : variable JARM_REQUEST
         [javac] location: class java.lang.String
         [javac]                com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
         [javac]                                                                               ^
         [javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:482: cannot resolve symbol
         [javac] symbol  : variable JARM_REQUEST
         [javac] location: class java.lang.String
         [javac]           com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
         [javac]                                                                       ^
         [javac] 30 errors
    Ant runtime 4.984 seconds
    Ant build finished with ERRORS
    Compile failed; see the compiler error output for details.
    Error: Build stopped due to an error: Compile failed; see the compiler error output for details.
    Build plugin finished at 2008-04-17 15:51:45 GMT+05:30 (IST)
    Total build plugin runtime: 5.515 seconds
    Build finished with ERROR
    Thanks,
    Madhavi

    HI
    i used the below line of code to log the info
    com.sap.caf.rt.util.CAFPublicLogger.entering(CAF_user, WTCServiceBean.JARM_REQUEST, CAF_methodHeader, WTCServiceBean.location, CAF_parameters);
    But , can anyone suggest ,where can i seee this log msg.
    Any pointers would be highly appreciated.
    Thanks

  • Exposing legacy-system's service using web services

    Hi everybody,
         I have questions about how web services can be used with legacy system.
    Let�s say I have a server serving stock data. The server is just POJO, it isn�t web module, doesn�t run on any J2EE container and client will request for data using my proprietary API which run over TCP/IP. My question is that what is the best practice or widely used pattern for exposing my stock service through web services.
         I�m not a web service expert so I think the easiest patter may be using web services as an adapter for my API. I�ll use jax-rpc to create web services StockWS.war and deploy it on a web server running on the same machine with my stock server. The web services will, in turn, internally use my proprietary API to request data.
    I can see 2 problems in the above approach.
    1. The need of web server. Administrator needs to start 2 processes; stock server and the web server containing StockWS.war. It would be great if I can get everything work in one process. Is there any framework or API that my stock server can internally use to intercept soap request over HTTP so that I don�t need a web server and everything is encapsulated in one process?
    2. Performance. There will be my API sit between web services runtime layer and my stock server which may cause performance issue. If I can find a framework I�ve mentioned in problem1 then I can get rid of the API layer.
    Please ignore my grammar mistakes.
    Any suggestion is welcome, and if you have experiences integrating web services with your legacy system, feel free to share it here.
    Thanks in advance.

    Hi,
    With regards to your statemetn "SDN downloaded document says to Generate Webservice URL through ABAP"   <- can you tell me more please? references/links/attachment?
    As far as I am aware, that the type of web service required for integration it a 'normal' Netweaver Web app server web service.
    There are limitations about the complexity of the WSDL - see Notes:
    1653655 - Limitations in Web Service WSDL URL usage in Xcelsius 4.0
    1703839 - Limitations of Web service usage in Xcelsius / Dashboard Design
    also , changes between SAP versions requires reworking the WSDL
    Note 1625091 - The WSDL URL for web service which generated in SAP Enterprise Central Component cannot be loaded into Xcelsius
    regards,
    H

  • How to use web services in Excelsius 2008

    I am new  to this tool. I have trial version on excelsius 2008 and i would like to build a dashboard that should query our corporate database (in oracle). I think web services is a option to do it.  Any samples available?.Please help me
    Edited by: AshishDatar on Jul 27, 2009 6:29 PM

    Hi AshishDatar:
        For you question you want to get data from data base using web service connection. Here I can give you some suggestions
    1.Write a web service to retrieve data from data base, then use Xcelsius u201Cweb service connectionu201D under u201CManage Connectionu201D section to consume the service and get the data from data base to spread sheet.
    2.Xcelsius also provide you a tool to generate web service with easy way (without coding). (Suggested)
    Using flynet, you can get flynet installation file under Xcelsius installation folder u201CXcelsius\Connectivity\Flynet Webservice Generatoru201D for more information about flynet please refer to
    http://myxcelsius.com/2008/11/07/generating-web-services-for-xcelsius-using-flynet-web-service-generator/
    Here is also a demo on how to use  web service conneciton with Xcelsius + Flynet
    https://businessobjects.webex.com/ec0600l/eventcenter/enroll/register.do?siteurl=businessobjects&formId=50213992&confId=50213992&formType=1&loadFlag=1&eventType=1&accessType=
    Hope it helps with your work! And let me know if you need any further help.
    Thanks!
    Bill
    Edited by: Bill Xu on Jul 28, 2009 8:02 AM

  • How can i records with date format using web services?

    Hello
    I can't record date records using web services. I get no message errors.
    I can import string values but no dates (YYYY-MM-DD). Do you have any clue about that?
    Regards
    Arturo

    hello,
    That's the code I'm using to update an opportunity. In the date fields (e.g. dFecha_de_entrega_al_cliente) I've tried to put an specific date in the correct format (If i put it in another format i've got an error message due the wrong format). The CRM accepted the code but it didn't update the values that are different of string.
    I don´t know if there is something missing in teh program or if the developer environment is not the adequate.
    Regards for your comments
    Arturo
    Private Sub ActualizarOportunidad(ByVal fila As Data.DataRow, ByVal TipoPersona As String)
    Dim oLog As New Log()
    Dim IdLog As Integer
    Dim NumSerie As String = ""
    Try
    oLog.Insert_Log("Activación Garantía - Crear Oportunidad", oLog.GetLastIdProceso())
    IdLog = oLog.GetLastId()
    Dim sr_input As Opportunity.OpportunityUpdate_Input
    Dim sr_output As Opportunity.OpportunityUpdate_Output
    sr_input = New Opportunity.OpportunityUpdate_Input
    Dim sr(1) As Opportunity.OpportunityData
    sr(0) = New Opportunity.OpportunityData
    NumSerie = fila("NumeroSerie").ToString().Trim()
    sr(0).ExternalSystemId = NumSerie
    sr(0).OpportunityName = fila("NumeroSerie").ToString().Trim()
    sr(0).SalesStage = "Deseo" '"Cerrada/Ganada"
    sr(0).dFecha_de_entrega_al_cliente = fila("FechaEmision").ToString().Trim()
    sr(0).dFecha_de_facturacin_al_cliente = fila("FechaCompra").ToString().Trim()
    sr(0).stNro_Factura = fila("NumeroFactura").ToString().Trim()
    sr(0).plActividad_Economica = fila("IdActividad").ToString().Trim()
    sr(0).plTipo_de_Venta = fila("TipoCompra").ToString().Trim()
    sr(0).CustomObject8ExternalSystemId = fila("ApellidoVendedor").ToString.Trim()
    'sr(0).CustomObject8ExternalSystemId = IIf(TipoPersona = "J", fila("DocumentoE").ToString().Trim(), fila("Documento").ToString.Trim())
    'sr(0).CustomObject7ExternalSystemId = fila("")
    Dim lofsr As Opportunity.ListOfOpportunityData
    lofsr = New Opportunity.ListOfOpportunityData
    lofsr.Opportunity = sr
    sr_input.ListOfOpportunity = lofsr
    sr_output = oOpportunity.OpportunityUpdate(sr_input)
    oLog.Update_Log(IdLog, "Si", NumSerie, "")
    Catch ex As SoapException
    Me.txtError.Text = ex.Detail.InnerText.ToString()
    oLog.Update_Log(IdLog, "No", NumSerie, ex.Detail.InnerText.ToString())
    End Try
    End Sub
    ************************************************************************

Maybe you are looking for