Workflow : User Decision on Email using Web Services

Hi,
I have the requirement of sending User Decision on Email Using Web Services.
Eg : I have created one ECR Using T-Code "CC31" and on status change "CC32" of this ECR, My workflow triggers. Now what i want is to send the User Decision on maintain User Email ID  as URL link. This link will contain the ECR Nos. There will be "N" nos of Links send on email depending on Requirement. By clicking on that Particular Link , Action taken should be updated in sap.
URL Link is just like confirmation link send on our email id during user Registration on some Website or when we create our Gmail / Yahoo Account.

Why not use the extended notifications? - it has an option to send links to approve/reject or any other option in the decision task and use a standard web service. See the document attached to note 1646056 - Workflow Quick Start Guide to Extended Notifications.

Similar Messages

  • How to retrieve the username/password of logged user so to use web services

    Hi Experts,
    we are using web services from a web dynpro application, the web services we use are CAF web services; actually we are "hardcoding" username and password so to be able to execute these web services, using this code before calling the web service:
    wdContext.currentRequest_ReporteDeRendicionDetallada_RElement().modelObject().setInvokerProperty(javax.xml.rpc.Stub.USERNAME_PROPERTY,"testuser");
      wdContext.currentRequest_ReporteDeRendicionDetallada_RElement().modelObject().setInvokerProperty(javax.xml.rpc.Stub.PASSWORD_PROPERTY,"testpassword");
    but as this is not a very good practice, we want to replace the "testuser" with the logged user and, of course, retrieve the password and use it instead of "testpassword".
    How can we achieve this? I couldn´t find any tips on this.
    Best regards,
    Marco.

    Hello,
    thanks for your anwsers, although I´ve followed both links I couldn´t find the answer to my problem.
    I need to know how to retreive user and password from the UME of the portal so to be able to execute web services in the java stack, the UME is connected to a LDAP in our corporation.. so may be the passwords are not stored in the UME?
    If it is not possible to retrieve the passwords of the users , which is the best practice to deal with username/passwords to execute CAF webservices from web dynpro java? Hardcoding is not a very good practice..
    Best regards,
    Marco.

  • Adding a user using web services

    Is it possible to add a user using web services? I am trying to do this using .net but I am getting errors. I was able to search and delete users!

    I will look into this. The only thing is, I was able to update, remove and search users using web services in .net, but I don't understand why can't I add a user using the same web service? The method of creating a local user is available in the web service! I even tried adding a user and I get the following error:
    org.xml.sax.SAXException: Unable to create JavaBean of type com.adobe.idp.um.api.infomodel.User.  Missing default constructor?  Error was: java.lang.InstantiationException: com.adobe.idp.um.api.infomodel.User.
    doesn't this mean it is trying to create a user?
    web service:
    https://DomainName/soap/services/DirectoryManagerService?wsdl
    Web service function:
    public stringcreateLocalUser(UserlocalUser, string password);
    <xsd:element name="createLocalUser">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element minOccurs="0" maxOccurs="1" name="localUser" type="impl:User" />
    <xsd:element minOccurs="0" maxOccurs="1" name="password" type="xsd:string" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>

  • Re: Error while using Web services for working with Informatica workflow

    Hi All,
    I am getting below error when i am calling Informatica wokrflow using Web Services HUB.
    able to establish connection with the informatica server.
    please can any one help out me in this.
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: java.lang.NullPointerException
    faultActor:
    faultNode:
    faultDetail:
    {http://xml.apache.org/axis/}stackTrace:java.lang.NullPointerException
    at org.apache.axis.message.SOAPEnvelope.addHeader(SOAPEnvelope.java:230)
    at org.apache.axis.client.Call.invoke(Call.java:2789)
    at org.apache.axis.client.Call.invoke(Call.java:2501)
    at org.apache.axis.client.Call.invoke(Call.java:2424)
    at org.apache.axis.client.Call.invoke(Call.java:1835)
    at AI.Informatica.proxyclasses.DataIntegrationServiceSoapBindingStub.startWorkflow(DataIntegrationServiceSoapBindingStub.java:1101)
    at AI.Informatica.javasrc.GSS_Informatica.start_workflow(GSS_Informatica.java:745)
    at AI.Informatica.javasrc.GSS_Informatica.execute(GSS_Informatica.java:1384)
    at AI.Informatica.javasrc.GSS_Informatica.main(GSS_Informatica.java:382)
    {http://xml.apache.org/axis/}hostname:win2k3sami
    java.lang.NullPointerException
    at org.apache.axis.AxisFault.makeFault(AxisFault.java:104)
    at org.apache.axis.client.Call.invoke(Call.java:2504)
    at org.apache.axis.client.Call.invoke(Call.java:2424)
    at org.apache.axis.client.Call.invoke(Call.java:1835)
    at AI.Informatica.proxyclasses.DataIntegrationServiceSoapBindingStub.startWorkflow(DataIntegrationServiceSoapBindingStub.java:1101)
    at AI.Informatica.javasrc.GSS_Informatica.start_workflow(GSS_Informatica.java:745)
    at AI.Informatica.javasrc.GSS_Informatica.execute(GSS_Informatica.java:1384)
    at AI.Informatica.javasrc.GSS_Informatica.main(GSS_Informatica.java:382)
    Caused by: java.lang.NullPointerException
    at org.apache.axis.message.SOAPEnvelope.addHeader(SOAPEnvelope.java:230)
    at org.apache.axis.client.Call.invoke(Call.java:2789)
    at org.apache.axis.client.Call.invoke(Call.java:2501)
    ... 6 more
    Thanks in advance.
    Mahesh.

    Hi All,
    I am getting below error when i am calling Informatica wokrflow using Web Services HUB.
    able to establish connection with the informatica server.
    please can any one help out me in this.
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: java.lang.NullPointerException
    faultActor:
    faultNode:
    faultDetail:
    {http://xml.apache.org/axis/}stackTrace:java.lang.NullPointerException
    at org.apache.axis.message.SOAPEnvelope.addHeader(SOAPEnvelope.java:230)
    at org.apache.axis.client.Call.invoke(Call.java:2789)
    at org.apache.axis.client.Call.invoke(Call.java:2501)
    at org.apache.axis.client.Call.invoke(Call.java:2424)
    at org.apache.axis.client.Call.invoke(Call.java:1835)
    at AI.Informatica.proxyclasses.DataIntegrationServiceSoapBindingStub.startWorkflow(DataIntegrationServiceSoapBindingStub.java:1101)
    at AI.Informatica.javasrc.GSS_Informatica.start_workflow(GSS_Informatica.java:745)
    at AI.Informatica.javasrc.GSS_Informatica.execute(GSS_Informatica.java:1384)
    at AI.Informatica.javasrc.GSS_Informatica.main(GSS_Informatica.java:382)
    {http://xml.apache.org/axis/}hostname:win2k3sami
    java.lang.NullPointerException
    at org.apache.axis.AxisFault.makeFault(AxisFault.java:104)
    at org.apache.axis.client.Call.invoke(Call.java:2504)
    at org.apache.axis.client.Call.invoke(Call.java:2424)
    at org.apache.axis.client.Call.invoke(Call.java:1835)
    at AI.Informatica.proxyclasses.DataIntegrationServiceSoapBindingStub.startWorkflow(DataIntegrationServiceSoapBindingStub.java:1101)
    at AI.Informatica.javasrc.GSS_Informatica.start_workflow(GSS_Informatica.java:745)
    at AI.Informatica.javasrc.GSS_Informatica.execute(GSS_Informatica.java:1384)
    at AI.Informatica.javasrc.GSS_Informatica.main(GSS_Informatica.java:382)
    Caused by: java.lang.NullPointerException
    at org.apache.axis.message.SOAPEnvelope.addHeader(SOAPEnvelope.java:230)
    at org.apache.axis.client.Call.invoke(Call.java:2789)
    at org.apache.axis.client.Call.invoke(Call.java:2501)
    ... 6 more
    Thanks in advance.
    Mahesh.

  • Pre-requisites required for using web-services

    Hello all!
    please tell what are the things required to use siebel on demand web-services.
    i have a user-id, password and other than it what all should i have.
    i am planning to use web-services to track my leads via my web-site.. can any one please specify what steps should i follow to make it happen..
    regards,
    Sreekanth

    If it will help you, I can send you a small VB.net example program that demonstrates web services. It will be easy to translate into C#. Click on my name to find my email address if you're interested.

  • How to integrate Microsoft and SAP using Web Services?

    Hi All
    How to integrate Microsoft and SAP using Web Services? If any one has document please send it to me. My id is [email protected]... Please
    Help me
    Best Regards
    Ravi Shankar

    Hi Ravi,
    This is for Customizing Email and Other Web Services.
    Create addresses
    The address maintenance of R/3 users is carried out either via the R/3 User Maintenance (Transaction SU01) or the Private office settings (Transaction SO12):
    Address --> Other communication...
    Selection of the required communication service.
    Enter address.
    Copy or save.
    b) Configuration of SAPconnect (Transaction SCOT)
    Set communication method
    4.0 + 4.5: Goto --> Customizing --> Communication methods
    as of 4.6: Settings --> Communication methods
    Set the method of the required communication service to the value 'SAPCONNECT' and save the setting.
    Customized the same for Internet mailing.
    C) If you want to Transfer Table Structure Values from SAP R/3 to Web Services then
           1. Create BAPI and Transfer whichever things you want.(Note: The Structure
               of BAPI should be similar to Web Structure (Datatypes).
           2. Create a BDC and Schedule it in the Background.
    Hope it helps you, Awaiting for the Reward Points.
    Thanks
    Subrato Chowdhury

  • Siebel integration using Web Service

    Hi,
    We are in the process of integrating Siebel with external systems using web service. We also use the Virtual business component with customer business service. After web service call, it return Siebel property set in format of XML, we need parse the XML (property set) to populate data into VBC fields in order to display data in user interface.
    It seems that writing custom XML parsing script is not very desired as so many fields are involved in the integration object. We just wondering if there is any other better ways to populate data into VBC with out using escript since the integration object created by importing WSDL already listed all integration fields. Can data returned by Web service call directly populated the VBC fields through the integration object?
    Thanks
    Steve

    Effectively what you're looking at doing here is taking your external content (from the Web Service) and then converting that into the very specific Property Set format that a VBC requires.
    The EAI Data Transformation Engine is your friend here as it should let you perform the (hopefully simple) transformation between the two, although you'll also need to define the property set as an Integration Object (an External One to keep the additional envelopes created to a minimum) and then after the DTE has been called take a careful look to make sure everything is the way that it should be.
    Put all these parts into a workflow itself, and use the workflow to call the external web service and that should cut to a minimum the code you'll need in the VBC.
    Graham

  • 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

  • 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

  • Using Web Service from LiveCycle PDF Dynamic Form.

    I have developed Staff Attendance Sheet about 7 years ago using Microsoft Office Web Componenets Data Access Pages (OWC DAP).
    See image below of the current report using OWC DAP:
    http://bit.ly/cAfeYs
    Since we are moving our legacy systems to SAP, this report will have to be re-implemented using Adobe LiveCycle PDF which is connecting to Web Service over SAP Systems (since OWC does not connect to Web Service).
    The SAP development team have developed the initial webservice which generates the required data.
    I have developed the initial version of the LiveCycle PDF, which can be downloaded from this link:
    http://bit.ly/9KBgm0
    The following is a screen snapshot of the LC Desinger Form:http://bit.ly/cxMK62
    When the web service is executed from inside PDF the result looks as follows:
    http://bit.ly/cacbCg
    The webservice accepts the following required parameters:
    1. Period: YYYYMM. User Specified Value.
    2. Staff ID: 9999999. It must be supplied automatcially to the web service and it must be the Windows ID of the User Logged In to Windows
    Domain.
    Other parameters are optional.
    Assumptions:
    ==========
    1. I am not using any Adobe Forms Server Technology. I can use LiveCycle Desinger ES2 and LiveCycle Reader Extensions Server.
    2. I can alse develop using .NET to get the Logged In User ID (Windows), generate the XDP from ASPX Page and attach the XML to the XDP.
    3. We are using IE8 with Adobe Reader 9 Plugin (IE add-on) to display LiveCycle PDF inside IE.
    Questions:
    ========
    1. First time the webservice is executed, I will get a prompt to allow/deny execution of the webservice. This is a security issue here, becuase we do not want any user to know the link to the Web Service. How we can hide the link to the webservice and prevent any user from getting the link ?
    2. How I can stop the Prompt to Allow/Deny execution to the Web Service for good ? As you know, users will get confused, and when we launch this PDF, it will generate a lot of calls to the Service Desk (more than 1000 users).
    3. The Web Service uses Simple User Name/Password for authentication to run the webservice. I need to embed the User Name/Password inside
    the PDF, and also prevent any user for getting them, how ?
    4. I want to send the Staff ID Parameter to the Web Service Automatically which is the Logged In User ID (Windows). This is the same value of the "Login Name" which can be accessed using Acrobat JavaScript. But the problem, this script must be trusted, and it will be a long story. Any ideas how to implement this requirement using simple methods ?
    5. If I manage to send the Staff ID Parameter to the Webservice automatically (Logged In User ID), also, I want to prevent the user from sending a different user ID, ie, prevent him from using Import Data to Form to specify a Different User ID for the Webservice Parameter. How ?
    I appreciate your help if you have any ideas about the above.
    Tarek.

    Hi Tarek,
    First of all, Thank for your replying.
    I have developing Adobe LiveCycle xdp form with a button. The SAP Web Service will be called when the button is pressed.
    Before that, I ‘m able to call another ASP.NET web services by using SOAP.request call. However, when I apply the code to call SAP web service, it doesn’t work. I checked that the web service is valid. And I found that there is something wrong when implementing the SOAP.request call. But I have no idea what wrong is it. So, I beg your help
    The following is the code in the click event of the button:
    //mainData.sfMain.Button7[1]::click - (JavaScript, client)
        var webServiceEndPoint = "http://xxxxxxx.xxxxxxx.com:8000/sap/bc/srt/wsdl/bndg_DEDB492BB032E7F1B09F001CC4FBCEC9/wsdl11/allinone/ws_policy/document?s ap-client=300";
        var staffIDInput = "9999999";
        var oAuthenticator = {
        Username: "usr",
        Password: "pw"
    app.alert("1");
        var response = SOAP.request({
           bEncoded: false,
           cResponseStyle: SOAPMessageStyle.Message,
           cURL: webServiceEndPoint,
           oRequest: {"urn:Z_RFC_GET_STAFF_BANK_INFO":{A_STAFF_ID: staffIDInput}},
             cAction: "urn:sap-com:document:sap:rfc:functions",
            oAuthenticate: oAuthenticator
    app.alert("2");
    WSDL is shown as follow:
    <?xml version="1.0" encoding="utf-8" ?>
    - <wsdl:definitions targetNamespace="urn:sap-com:document:sap:rfc:functions" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="urn:sap-com:document:sap:rfc:functions" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
    - <wsdl:documentation>
    <sidl:sidl xmlns:sidl="http://www.sap.com/2007/03/sidl" />
    </wsdl:documentation>
    <wsp:UsingPolicy wsdl:required="true" />
    - <wsp:Policy wsu:Id="BN_ZWS_ALC_GET_STAFF_BANK_INFO">
    - <wsp:ExactlyOne xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:sapsp="http://www.sap.com/webas/630/soap/features/security/policy" xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility">
    - <wsp:All>
    - <sp:TransportBinding>
    - <wsp:Policy>
    - <sp:TransportToken>
    - <wsp:Policy>
    <sp:HttpsToken />
    </wsp:Policy>
    </sp:TransportToken>
    - <sp:AlgorithmSuite>
    - <wsp:Policy>
    <sp:TripleDesRsa15 />
    </wsp:Policy>
    </sp:AlgorithmSuite>
    - <sp:Layout>
    - <wsp:Policy>
    <sp:Strict />
    </wsp:Policy>
    </sp:Layout>
    </wsp:Policy>
    </sp:TransportBinding>
    </wsp:All>
    </wsp:ExactlyOne>
    <saptrnbnd:OptimizedXMLTransfer uri="http://xml.sap.com/2006/11/esi/esp/binxml" xmlns:saptrnbnd="http://www.sap.com/webas/710/soap/features/transportbinding/" wsp:Optional="true" />
    </wsp:Policy>
    - <wsp:Policy wsu:Id="IF_ZWS_ALC_GET_STAFF_BANK_INFO">
    - <sapsession:Session xmlns:sapsession="http://www.sap.com/webas/630/soap/features/session/">
    <sapsession:enableSession>false</sapsession:enableSession>
    </sapsession:Session>
    <wsp:ExactlyOne xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:sapsp="http://www.sap.com/webas/630/soap/features/security/policy" xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility" />
    </wsp:Policy>
    - <wsp:Policy wsu:Id="OP_Z_RFC_GET_STAFF_BANK_INFO">
    <sapcomhnd:enableCommit xmlns:sapcomhnd="http://www.sap.com/NW05/soap/features/commit/">false</sapcomhnd:enableCommit>
    <sapblock:enableBlocking xmlns:sapblock="http://www.sap.com/NW05/soap/features/blocking/">true</sapblock:enableBlocking>
    <saptrhnw05:required xmlns:saptrhnw05="http://www.sap.com/NW05/soap/features/transaction/">no</saptrhnw05:required>
    <saprmnw05:enableWSRM xmlns:saprmnw05="http://www.sap.com/NW05/soap/features/wsrm/">false</saprmnw05:enableWSRM>
    </wsp:Policy>
    - <wsdl:types>
    - <xsd:schema attributeFormDefault="qualified" targetNamespace="urn:sap-com:document:sap:rfc:functions">
    - <xsd:element name="Z_RFC_GET_STAFF_BANK_INFO">
    - <xsd:complexType>
    - <xsd:sequence>
    <xsd:element name="A_STAFF_ID" type="xsd:string" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    - <xsd:element name="Z_RFC_GET_STAFF_BANK_INFOResponse">
    - <xsd:complexType>
    - <xsd:sequence>
    <xsd:element name="L_BANK_ACC" type="xsd:string" />
    <xsd:element name="L_BANK_ACC_HOLDER" type="xsd:string" />
    <xsd:element name="L_BANK_NAME" type="xsd:string" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    </wsdl:types>
    - <wsdl:message name="Z_RFC_GET_STAFF_BANK_INFO">
    <wsdl:part name="parameters" element="tns:Z_RFC_GET_STAFF_BANK_INFO" />
    </wsdl:message>
    - <wsdl:message name="Z_RFC_GET_STAFF_BANK_INFOResponse">
    <wsdl:part name="parameter" element="tns:Z_RFC_GET_STAFF_BANK_INFOResponse" />
    </wsdl:message>
    - <wsdl:portType name="ZWS_ALC_GET_STAFF_BANK_INFO">
    - <wsp:Policy>
    <wsp:PolicyReference URI="#IF_ZWS_ALC_GET_STAFF_BANK_INFO" />
    </wsp:Policy>
    - <wsdl:operation name="Z_RFC_GET_STAFF_BANK_INFO">
    - <wsp:Policy>
    <wsp:PolicyReference URI="#OP_Z_RFC_GET_STAFF_BANK_INFO" />
    </wsp:Policy>
    <wsdl:input message="tns:Z_RFC_GET_STAFF_BANK_INFO" />
    <wsdl:output message="tns:Z_RFC_GET_STAFF_BANK_INFOResponse" />
    </wsdl:operation>
    </wsdl:portType>
    - <wsdl:binding name="ZWS_ALC_GET_STAFF_BANK_INFO" type="tns:ZWS_ALC_GET_STAFF_BANK_INFO">
    - <wsp:Policy>
    <wsp:PolicyReference URI="#BN_ZWS_ALC_GET_STAFF_BANK_INFO" />
    </wsp:Policy>
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
    - <wsdl:operation name="Z_RFC_GET_STAFF_BANK_INFO">
    <soap:operation soapAction="" style="document" />
    - <wsdl:input>
    <soap:body use="literal" />
    </wsdl:input>
    - <wsdl:output>
    <soap:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    - <wsdl:service name="service">
    - <wsdl:port name="ZWS_ALC_GET_STAFF_BANK_INFO" binding="tns:ZWS_ALC_GET_STAFF_BANK_INFO">
    <soap:address location="http://xxxxxxx.xxxxxxx.com:8000/sap/bc/srt/rfc/sap/zws_alc_get_staff_bank_info/300/zws_alc _get_staff_bank_info/zws_alc_get_staff_bank_info" />
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>

  • Attachment in workflow user decision

    Hi All,
    Can anybody let me know how to use attachment in workflow user decision box? My requirement is I have one internal table and I want to display the data of the internal table as an attachment.
    Thanks,
    Salil.

    HI,
    Go thru thi link
    http://help.sap.com/saphelp_nw04s/helpdata/en/8d/25f131454311d189430000e829fbbd/content.htm
    Thanks
    Sunil

  • Query for job status using Web Services in BODI

    Hello,
    I am starting a Batch job in DI using Web Services, getting the following response from DI:
    Code:
    <soapenv:Envelope
        xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
        xmlns:xsd="http://www.w3.org/2001/XMLSchema"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <soapenv:Body>
            <BatchJobResponse>
                <pid>704</pid>       
                <cid>26</cid>       
            </BatchJobResponse>
        </soapenv:Body>
    </soapenv:Envelope>
    How can I know the status of the started job?
    How can I know if the job execution finished with success or not?
    I did not find in WSDL file any method to query for job or service status...
    Thank you in advance,
    Adrian Mitrica

    Did you ever get this figured out?  I am having exactly the same problem in code generated by VS, with the BAPIRET2 structure.
    Any help you could provide would be greatly appreciated.
    Thanks!
    Leighton Wingerd
    Adirondack Solutions, Inc.
    [email protected]

  • Providing user id and password in web service model

    hi,
    i hv created a web dynpro application using web service model. The WSDL link had user id and password.
    even i had to provide the user id and password at the time of coding.
    what is the disadvantage of using userid and password at llink and also at runtime?
    hw can it be avoided?
    regards,
    ankita

    Hi
    you can give user name and password in coding
    wdContext.currentXXElement().modelObject()._setUserName(uid);
    wdContext.currentXXElement().modelObject()._setPassword(pwd);
    Regards,
    Naga

  • 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

Maybe you are looking for