Edit Web Service Created by WS_DESIGN_TOOL

Hi all,
I'm having a look at creating Web Services in CRM for Office/PDF integration. All has gone well and I have the ability to create attachments 'With Template'.
However, I now wish to add another field to the output and I see that I cannot Edit the Web Service, the Edit button is disabled. I figured it was probably because I'd marked the WS as Productive, so I marked it as Not Productive... this did not help.
I've had a look in to the code of the WS_DESIGN_TOOL component and in one of the Views for the wizard I've looked at the method IF_BSP_WD_TOOLBAR_CALLBACK~GET_BUTTONS. The following code defines the Edit button
ls_button-on_click = 'edit'.                              "#EC NOTEXT
  ls_button-page_id  = iv_page_id.
* allow edit of Level1 and Example Services only in SAP System
  IF iv_system_type = 'A' AND  iv_obj_usage <> 'S'.
    ls_button-enabled  = abap_false.
  ELSE.
    IF iv_obj_state = 'PROD' OR iv_obj_state = 'NPRD'.
      ls_button-enabled  = abap_false.
    ELSE.
      ls_button-enabled  = abap_true.
    ENDIF.
  ENDIF.
So, even non productive WS's cannot be edited.
So, is there any way to edit a WS after you've marked it as productive?
If not, it means that any small change in the future will require a new WS to be created, which will then require a new form to be created. This seems like a huge amount of work just to add a new field to a form.
Can WS's be edited? Perhaps from WinGUI?
Thanks for your time,
P.

Hello,
We've encountered exactly the same problem as you. I was also astonished by the fact that a webservice cannot be edited after it has been set to productive. If I recall correctly this was only the case for Productive webservice, in any other state they do were editable in the source system.
In the beginning I did the whole nine yards (copying the WS and re-create the template) but this was indeed quite time consuming.
Once I was fed up and forced the edit button to be enabled via debug. This worked and I was able to save and transport the WS successfully.
However, no standard SAP solution for this.
Hope this helps,
Kind regards,
Joost Stallaert

Similar Messages

  • Issues in Web service created for updating the Sales Order

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

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

  • Invoke web service created from workshop

    Hi,
    I am trying to write a stand alone java client to connect to web service created
    from workshop( please see the attached wsdl file), but can't get it work. Did
    somebody know why. Here is my java client code :
    import java.net.URL;
    import javax.xml.rpc.ServiceFactory;
    import javax.xml.rpc.Service;
    import javax.xml.rpc.Call;
    import javax.xml.namespace.QName;
    import weblogic.webservice.context.WebServiceContext;
    import weblogic.webservice.context.WebServiceSession;
    import weblogic.webservice.context.WebServiceHeader;
    public class OrderTestClient {
    public static void main(String[] args) {
    try {
    // Setup the global JAXM message factory
    System.setProperty("javax.xml.soap.MessageFactory",
    "weblogic.webservice.core.soap.MessageFactoryImpl");
    // Setup the global JAX-RPC service factory
    System.setProperty("javax.xml.rpc.ServiceFactory",
    "weblogic.webservice.core.rpc.ServiceFactoryImpl");
    // create service factory
    ServiceFactory factory = ServiceFactory.newInstance();
    // define qnames
    //String targetNamespace = "http://localhost/orderweb";
    String targetNamespace = "http://www.openuri.org/";
    QName serviceName = new QName(targetNamespace, "newsmlorder");
    QName portName = new QName(targetNamespace, "newsmlorderSoap");
    //QName operationName = new QName("tns:newsmlorderSoap", "getUserAddress");
    QName operationName = new QNam("http://localhost:7021/orderweb/", "getUserAddress");
    URL wsdlLocation = new URL("http://localhost:7021/orderweb/newsmlorder.jws?WSDL");
    // create service
    Service service = factory.createService(wsdlLocation, serviceName);
    // create call
    Call call = service.createCall(portName, operationName);
    WebServiceContext wsContext = WebServiceContext.currentContext();
    WebServiceSession session =(WebServiceSession)wsContext.getSession();
    System.out.println(" Session : " + session.toString() );
    System.out.println(" == step 11 ===");
    // invoke the remote web service
    System.out.println(" == step 12 ===");
    String result = (String) call.invoke(new Object[] {"testPing"});
    System.out.println("test result : " + result);
    catch (Exception e) {
    System.out.println("test result : " + e.getMessage());
    [order.wsdl]

    Hi,
    I did not get any error, however the service call is always return null even though
    I hard code return String, so I knew it failed.
    I tried your following code and it worked. You mention that I have to download
    proxy.jar from workshop overview page, but I can't find it. Would you please tell
    me where to find the download menu in workshop.
    If I want to build a dynamic stand alone client to invoke service created from
    workshop ( my original approach), what should I do?
    I am trying to use workshop to handle multipart soap message (soap message with
    attachments), could you please send me a example ?
    Very appreciate your help!
    Thanks again.
    Lina
    Vimala Ranganathan" <[email protected]> wrote:
    >
    >
    >
    Hi Lina,
    Are you getting any errors?
    Did you happen to try with a static client? Is that working?
    (For static client you have to download the proxy jar from the workshop
    overview
    page and have it in the classpath)
    I have attacjhed the proxy jar and here is a sample client. Let me know
    how this
    goes.
    public class Test
    public static void main(String [] args)
         Newsmlorder_Impl m_proxyImpl = null;
         NewsmlorderSoap m_proxy = null;
         try
              m_proxyImpl = new Newsmlorder_Impl();
              catch (IOException ex)
              System.out.println("Error getting proxy");
              ex.printStackTrace();
              m_proxy = m_proxyImpl.getnewsmlorderSoap();
              GetUserAddress p = m_proxy.getUserAddress();
    Thanks a lot,
    Vimala Ranganathan
    "Lina Li" <[email protected]> wrote:
    Hi,
    I am trying to write a stand alone java client to connect to web service
    created
    from workshop( please see the attached wsdl file), but can't get itwork.
    Did
    somebody know why. Here is my java client code :
    import java.net.URL;
    import javax.xml.rpc.ServiceFactory;
    import javax.xml.rpc.Service;
    import javax.xml.rpc.Call;
    import javax.xml.namespace.QName;
    import weblogic.webservice.context.WebServiceContext;
    import weblogic.webservice.context.WebServiceSession;
    import weblogic.webservice.context.WebServiceHeader;
    public class OrderTestClient {
    public static void main(String[] args) {
    try {
    // Setup the global JAXM message factory
    System.setProperty("javax.xml.soap.MessageFactory",
    "weblogic.webservice.core.soap.MessageFactoryImpl");
    // Setup the global JAX-RPC service factory
    System.setProperty("javax.xml.rpc.ServiceFactory",
    "weblogic.webservice.core.rpc.ServiceFactoryImpl");
    // create service factory
    ServiceFactory factory = ServiceFactory.newInstance();
    // define qnames
    //String targetNamespace = "http://localhost/orderweb";
    String targetNamespace = "http://www.openuri.org/";
    QName serviceName = new QName(targetNamespace, "newsmlorder");
    QName portName = new QName(targetNamespace, "newsmlorderSoap");
    //QName operationName = new QName("tns:newsmlorderSoap","getUserAddress");
    QName operationName = new QNam("http://localhost:7021/orderweb/",
    "getUserAddress");
    URL wsdlLocation = new URL("http://localhost:7021/orderweb/newsmlorder.jws?WSDL");
    // create service
    Service service = factory.createService(wsdlLocation, serviceName);
    // create call
    Call call = service.createCall(portName, operationName);
    WebServiceContext wsContext = WebServiceContext.currentContext();
    WebServiceSession session =(WebServiceSession)wsContext.getSession();
    System.out.println(" Session : " + session.toString() );
    System.out.println(" == step 11 ===");
    // invoke the remote web service
    System.out.println(" == step 12 ===");
    String result = (String) call.invoke(new Object[] {"testPing"});
    System.out.println("test result : " + result);
    catch (Exception e) {
    System.out.println("test result : " + e.getMessage());

  • Problem consuming web service created by ABAP via standalone java client

    I'm trying to consume web service created by ABAP in R3 system via standalone java client. I should be getting a string reply after consumed the web service (ZSMS_INBOUND), but so far i received null. I cant find any exception or log to trace the problem. Any help would be appreciated. Is there anything wrong with my client calling the web service?
    public void myMethod{
              // TODO : Implement
              try{
                   Stub stub = (Stub)new ZSMS_INBOUNDServiceImpl().getLogicalPort();
                   stub._setProperty(javax.xml.rpc.Stub.ENDPOINT_ADDRESS_PROPERTY,"http://mytest:8080/sap/bc/srt/rfc/sap/ZSMS_INBOUND?sap-               client=100&wsdl=1.1&mode=sap_wsdl");
                   inboundService = (ZSMS_INBOUND) stub;
                   BAPIRET2 str = inboundService.ZSMS_INBOUND(date, message, modemId, smsId, tel, time);
                   ackDeliveryArray<i> = str.toString();
              }catch (Exception e) {
                   e.printStackTrace();
    Generated following SAP help standalone proxy creation steps.
    ***files fr SEIs
    ZSMS_INBOUND.java   (interface)
    ZSMS_INBOUNDService.java  (interface)
    ZSMS_INBOUNDServiceImpl.java
    ZSMS_INBOUNDSoapBindingStub.java
    ***files fr Proxy classes
    ZSMS_INBOUND.java
    ZSMS_INBOUNDResponse.java
    BAPIRET2.java
    .... many more files
    the wsdl is as below (generated by ABAP):
    <?xml version="1.0" encoding="utf-8" ?>
    - <wsdl:definitions targetNamespace="urn:sap-com:document:sap:rfc:functions" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:n0="http://www.sap.com/webas/630/soap/features/authentication/" xmlns:sap="http://www.sap.com/webas/630/wsdl/features" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="urn:sap-com:document:sap:rfc:functions" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    - <wsdl:types>
    - <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="urn:sap-com:document:sap:rfc:functions" targetNamespace="urn:sap-com:document:sap:rfc:functions" elementFormDefault="unqualified" attributeFormDefault="qualified">
    - <xsd:simpleType name="char1">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="1" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="char10">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="10" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="char17">
    + <xsd:restriction base="xsd:string">
      <xsd:maxLength value="17" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="char170">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="170" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="char20">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="20" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="char220">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="220" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="char30">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="30" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="char32">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="32" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="char50">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="50" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="date">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="10" />
      <xsd:pattern value="\d\d\d\d-\d\d-\d\d" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="numeric3">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="3" />
      <xsd:pattern value="\d*" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="numeric6">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="6" />
      <xsd:pattern value="\d*" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="time">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="8" />
      <xsd:pattern value="\d\d:\d\d:\d\d" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:complexType name="BAPIRET2">
    - <xsd:sequence>
      <xsd:element name="TYPE" type="tns:char1" />
      <xsd:element name="ID" type="tns:char20" />
      <xsd:element name="NUMBER" type="tns:numeric3" />
      <xsd:element name="MESSAGE" type="tns:char220" />
      <xsd:element name="LOG_NO" type="tns:char20" />
      <xsd:element name="LOG_MSG_NO" type="tns:numeric6" />
      <xsd:element name="MESSAGE_V1" type="tns:char50" />
      <xsd:element name="MESSAGE_V2" type="tns:char50" />
      <xsd:element name="MESSAGE_V3" type="tns:char50" />
      <xsd:element name="MESSAGE_V4" type="tns:char50" />
      <xsd:element name="PARAMETER" type="tns:char32" />
      <xsd:element name="ROW" type="xsd:int" />
      <xsd:element name="FIELD" type="tns:char30" />
      <xsd:element name="SYSTEM" type="tns:char10" />
      </xsd:sequence>
      </xsd:complexType>
    - <xsd:element name="ZSMS_INBOUND">
    - <xsd:complexType>
    - <xsd:sequence>
      <xsd:element name="DATE" type="tns:date" />
      <xsd:element name="MESSAGE" type="tns:char170" />
      <xsd:element name="MODEMID" type="tns:char10" />
      <xsd:element name="SMSID" type="tns:char17" />
      <xsd:element name="TEL" type="tns:char20" />
      <xsd:element name="TIME" type="tns:time" />
      </xsd:sequence>
      </xsd:complexType>
      </xsd:element>
    - <xsd:element name="ZSMS_INBOUNDResponse">
    - <xsd:complexType>
    - <xsd:sequence>
      <xsd:element name="RETURN" type="tns:BAPIRET2" />
      </xsd:sequence>
      </xsd:complexType>
      </xsd:element>
      </xsd:schema>
      </wsdl:types>
    - <wsdl:message name="ZSMS_INBOUND">
      <wsdl:part name="parameters" element="tns:ZSMS_INBOUND" />
      </wsdl:message>
    - <wsdl:message name="ZSMS_INBOUNDResponse">
      <wsdl:part name="parameters" element="tns:ZSMS_INBOUNDResponse" />
      </wsdl:message>
    - <sap:Feature name="design_0" uri="http://www.sap.com/webas/630/soap/features/authentication/">
    - <sap:Property qname="n0:AuthenticationLevel">
      <sap:Option value="n0:None" />
      </sap:Property>
      </sap:Feature>
    - <wsdl:portType name="ZSMS_INBOUND">
      <sap:useFeature feature="tns:design_0" />
    - <wsdl:operation name="ZSMS_INBOUND">
      <wsdl:input message="tns:ZSMS_INBOUND" />
      <wsdl:output message="tns:ZSMS_INBOUNDResponse" />
      </wsdl:operation>
      </wsdl:portType>
    - <wsdl:binding name="ZSMS_INBOUNDSoapBinding" type="tns:ZSMS_INBOUND">
      <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
    - <wsdl:operation name="ZSMS_INBOUND">
      <soap:operation soapAction="" />
    - <wsdl:input>
      <soap:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
      </wsdl:binding>
    - <wsdl:service name="ZSMS_INBOUNDService">
    - <wsdl:port name="ZSMS_INBOUNDSoapBinding" binding="tns:ZSMS_INBOUNDSoapBinding">
      <soap:address location="http://mytest:8080/sap/bc/srt/rfc/sap/ZSMS_INBOUND?sap-client=100" />
      </wsdl:port>
      </wsdl:service>
      </wsdl:definitions>

    I'm now able to consume the web service, but with the error as below:
    Warning ! Protocol Implementation [com.sap.engine.services.webservices.jaxrpc.wsdl2java.features.builtin.MessageIdProtocol] could not be loaded (NoClassDefFoundError) !
    Error Message is :com/sap/guid/GUIDGeneratorFactory
    BAPIRET2 mappingInfo:
      TYPE   TYPE   false   false   11
      ID   ID   false   false   11
      NUMBER   NUMBER   false   false   11
      MESSAGE   MESSAGE   false   false   11
      LOG_NO   LOG_NO   false   false   11
      LOG_MSG_NO   LOG_MSG_NO   false   false   11
      MESSAGE_V1   MESSAGE_V1   false   false   11
      MESSAGE_V2   MESSAGE_V2   false   false   11
      MESSAGE_V3   MESSAGE_V3   false   false   11
      MESSAGE_V4   MESSAGE_V4   false   false   11
      PARAMETER   PARAMETER   false   false   11
      ROW   ROW   false   false   11
      FIELD   FIELD   false   false   11
      SYSTEM   SYSTEM   false   false   11
    My java code is :
    public class MyTest {
         public static void main(String[] args){
              try{
                             Stub stub = (Stub)new ZSMS_INBOUNDServiceImpl().getLogicalPort();
                             stub._setProperty(javax.xml.rpc.Stub.ENDPOINT_ADDRESS_PROPERTY,"http://mytest:8080/sap/bc/srt/rfc/sap/ZSMS_INBOUND?sap-client=100");
                             ZSMS_INBOUND inboundService = (ZSMS_INBOUND) stub;
                             BAPIRET2 str = inboundService.ZSMS_INBOUND(param1,param2,param3,param4,param5,param6);
                             System.out.println(str.toString());
                             }catch (Exception e) {
                                  e.printStackTrace();

  • Adding Faults to Web Services created from JCDs

    Is anyone aware of a way to add faults, other than the default JavaException, to the service definition of a web service created from a JCD?

    Hi
    You could use se80 and click "Repository Information system"->Enterprise Services->
    Service Definitions->search your WebService Defition->Delete it.

  • Getting complete WSDL for the web services created in J2EE

    Hi,
    I have created a web service using Netweaver developer studio for a J2EE project (complete EJB, WEB and Appln Project) similar to CAR rental application.
    I also have tested the web service in web service perspective and it is working fine. Now i want to call this web service from XI. Therefore i need the WSDL for the same. The testing screen also gives the WSDL for the web service. But it has got number of links inside in the forms of import.
    Editing all those documents and forming the complete wSDL is very difficult..
    How do i do it??
    Abhijeet

    Hi,
    When I opened the wsdl it has number has a wsdl:import location tag..which refers to binding.
    when opened this import location we have one more import location for porttypes.
    When combined all thhree e.g. service, binding and porttype we get the complete WSDL which i could comofortably import in XI and further process.
    This way i coudl succesfully call a web service from XI.
    I used Stylus studio for editing WSDL.
    Thanx

  • Error while Testing Web Service created through SICF.

    Hi,
    I have created a Web Service through SICF, Activated the service and now trying to test this service but am getting the following Error Msg in the Explorer.
    I have also maintained the Login Details in this Service.
    503 Service not available
    Error: -6
    Version: 7000
    Component: J2EE Server
    Date/Time: Fri May 27 11:00:30 2011 
    Module: http_j2ee_mt.c
    Line: 820
    Server: CRMQA_ECQ_08
    Error Tag:
    Detail: Cannot reach external Application Server on localhost:50800
    I have browsed through some of the threads related to this, but was unable to resolve this issue.
    Please Help.
    Thanks and Best Regards,
    Sunil.

    Hello Sunil
    The WS navigator that is for testing the ABAP services is a JAVA
    application.
    Do you have java stack installed along with your ABAP on this
    System?
    Is the J2EE running?
    Best Regards
    Luis Rivera

  • How to expose sort attributes in a web service created on a AM 11g TP4

    I'm using Jdeveloper 11g TP4 to create a web service on the application module.
    When I run the web service, it is working fine. Can someone tell me how to expose the sort attributes for the user to choose?
    How do I expose the sort Order for the user to select?
    These are the steps I followed:
    1) Created a new application.
    2) Created a view object in the Model project.
    Created one bind variable.
    Created new view Criteria and used the bind variable.
    3) Created a new jspx page.
    From the Data control dragged and dropped the Named Criteria on to the page and used "ADF Query Panel with Table..."
    4) Ran the Jspx page. It works fine.
    Double Click Application Module.
    Click on tab Service Interface.
    Hit New, this will open the Wizard to Create a new Service Interface.
    Followed instructions and selected all the applicable methods to expose as web service.
    At the end of the process, wsdl, xsd, java files are created.
    I'm able to run this web service.
    The field to query the data is exposed in the Web Service.
    Is there a way to expose the sorting attributes to be selected by the user? i.e. I want to expose the fields to the user.
    Thanks,
    Jagadish.

    Why bother with TP 4? JDev 11g is already production.
    --olaf                                                                                                                                                                                                   

  • Error when testing a web service created in XI

    Hi experts,
    I created a web service in XI to execute a RFC and return its result, but when the WSDL file is tested in XMLSpy, the below error is returned:
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
         <SOAP:Body>
              <SOAP:Fault>
                   <faultcode>SOAP:Server</faultcode>
                   <faultstring>System Error</faultstring>
                   <detail>
                        <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
                             <context></context>
                             <code>RCVR_DETERMINATION.MESSAGE_INCOMPLETE</code>
                             <text>Message is incomplete. No Sender found</text>
                        </s:SystemError>
                   </detail>
              </SOAP:Fault>
         </SOAP:Body>
    </SOAP:Envelope>
    It's the first time I use XI, so I've no idea of which extra details I should provide to give a better description of my problem.
    Thanks in advance,
    André Ramos Souza

    Souza,
    If you see the message
    <code>RCVR_DETERMINATION.MESSAGE_INCOMPLETE</code>
    <text>Message is incomplete. No Sender found</text>
    It is complaining baout recceiver determination incomplete or no sender agreement. So please check all your ID objects once again.
    ---Satish

  • Calling Web Service created in XI 3.0 from Web Dynpro

    i hv created a webservice in XI 3.0. Here im accessing a RFC through XI 3.0.
    Now, using java proxy generation facility of XI 3.0 i hv generated the code for tht web service. Then in web dynpro i developed a j2ee application using the generated code. my requirement begins now....... i hv my frontend as web dynpro n through this frontend i want to access that application so tht all the data present in tht j2ee application gets populated in a table on the corresponding view in web dynpro. i tried to use the web service model and written some code but still im unable to successfully do it. i get a message in the integration server of XI 3.0 but the table doesnt get populated. please help me out in this problem.

    Question is what technology of J2EE u are using!
    If it is EJB, then the fastest way would be to generate one more webservice and connect this one to WD.
    This way you also can check if the webservice delivers any data with the testing environment.
    Regards,
    Benny

  • Import jax-ws web service created in netbeans 6.5

    Hello,
    I have seen a few posts on this but without a result, so trying again in case there has been some progress. First of all I ran the UsWeather example, imported the webservices etc. and this works. I then tried the same for my web service, jax-ws create via netbeans and this doesn't work. It is a simple calc function that should accept two integer, i and j and return the sum. From what I can make out it is because the parameters are somehow wrapped and are not visible via the creates action scripts
    So when I run this sort of thing:
    private var calc:CalcWSService = new CalcWSService;
    var req:Add_request = new Add_request();
                    req.i = 2;
                    req.j = 3;
                    calc.add_request_var = req;
                    // Invoke the method
                    calc.add_send();
    I get the error message
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
        at Test/getMyCalc2()[Y:\FlexWorkspaces\TestWorkSpace\Test\src\Test.mxml:64]
        at Test/___Test_Button4_click()[Y:\FlexWorkspaces\TestWorkSpace\Test\src\Test.mxml:92]
    If I reference my web service as follows
    <mx:WebService id="webService" wsdl="http://localhost:8080/CalcWSProject/CalcWSService?wsdl" >     
             <mx:operation name="add" resultFormat="object" result="display(event);">                   
             <mx:request xmlns="" >         
                <i>2</i>  
                <j>4</j>         
              </mx:request>       
              </mx:operation>         
           </mx:WebService>
    and run
                webService.add.send();
    then it works
    The generated CalcWSService.as add function looks like this(i.e.the parameters appear to be hidden
           public function add(add:Add):AsyncToken
                   var _internal_token:AsyncToken = _baseService.add(add);
                _internal_token.addEventListener("result",_add_populate_results);
                _internal_token.addEventListener("fault",throwFault);
                return _internal_token;
    Any way to get around the problem when importing the web services via the wizard?

    Result after navigating to: http://localhost:8084/HelloWS/HelloWS?xsd=1
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://hi.me.org/" version="1.0">
      <xs:element xmlns:ns1="http://hi.me.org/" type="ns1:add" name="add"/>
      <xs:complexType name="add">
        <xs:sequence>
          <xs:element type="xs:int" minOccurs="0" name="arg0"/>
          <xs:element type="xs:int" minOccurs="0" name="arg1"/>
        </xs:sequence>
      </xs:complexType>
      <xs:element xmlns:ns2="http://hi.me.org/" type="ns2:addResponse" name="addResponse"/>
      <xs:complexType name="addResponse">
        <xs:sequence>
          <xs:element type="xs:int" minOccurs="0" name="return"/>
        </xs:sequence>
      </xs:complexType>
    </xs:schema>

  • Web Service - Create Purchase Order

    Hi,
    I'm about to start building a proof of concept around integrating an on premise system with cloud fusion.
    One of the requirements is to create a PO in Fusion on demand using data from the on premise system.
    I am fairly comfortable with the overall process having done similar with a Journal Entry.
    However, the Create PO web service is much more complex than Journals and I know that I am likely to spend an disproportionate amount of time trying to work out the SOAP payload.
    Does anyone have an example of the minimum SOAP Envelope required.  The WSDL states that all fields are optional, which is clearly not the case.
    Thanks

    Thanks for the help Richard and Oliver,
    I'm using Purchase Order Service Version 2 (11.1.9.0.0)
    The main thing I noticed was that the namespaces on the envelope are different (see below),  that's just a small section, but as you can see the namespace <pur: is used whereas in the examples I have seen it seems to be <ns1:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://xmlns.oracle.com/apps/prc/po/editDocument/purchaseOrderServiceV2/types/" xmlns:pur="http://xmlns.oracle.com/apps/prc/po/editDocument/purchaseOrderServiceV2/" xmlns:draf="http://xmlns.oracle.com/apps/prc/po/editDocument/flex/draftPurchaseOrderDistribution/" xmlns:pjc="http://xmlns.oracle.com/apps/prc/po/commonPo/flex/PJCPoDraftDistribution/" xmlns:draf1="http://xmlns.oracle.com/apps/prc/po/editDocument/flex/draftPurchasingDocumentSchedule/" xmlns:draf2="http://xmlns.oracle.com/apps/prc/po/editDocument/flex/draftPurchasingDocumentLine/" xmlns:draf3="http://xmlns.oracle.com/apps/prc/po/editDocument/flex/draftPurchasingDocumentHeader/">
       <soapenv:Header/>
       <soapenv:Body>
          <typ:createPurchaseOrder>
             <typ:createOrderEntry>
                <!--Optional:-->
                <pur:POHeaderId>?</pur:POHeaderId>
                <!--Optional:-->
                <pur:OrderNumber>?</pur:OrderNumber>
                <!--Optional:-->
                <pur:DocumentStyleId>?</pur:DocumentStyleId>
                <!--Optional:-->
                <pur:ConsignmentTermsEnabledFlag>?</pur:ConsignmentTermsEnabledFlag>
                <!--Optional:-->
                <pur:DocumentStyle>?</pur:DocumentStyle>
                <!--Optional:-->
                <pur:ProcurementBUId>?</pur:ProcurementBUId>
                <!--Optional:-->
                <pur:ProcurementBusinessUnit>?</pur:ProcurementBusinessUnit>
                <!--Optional:-->
                <pur:RequisitioningBUId>?</pur:RequisitioningBUId>
                <!--Optional:-->
                <pur:RequisitioningBusinessUnit>?</pur:RequisitioningBusinessUnit>
                <!--Optional:-->
                <pur:SoldToLegalEntityId>?</pur:SoldToLegalEntityId>
                <!--Optional:-->
                <pur:SoldToLegalEntity>?</pur:SoldToLegalEntity>
                <!--Optional:-->
                <pur:BillToBUId>?</pur:BillToBUId>
                <!--Optional:-->
                <pur:BillToBusinessUnit>?</pur:BillToBusinessUnit>
                <!--Optional:-->
                <pur:OrchestrationOrderFlag>?</pur:OrchestrationOrderFlag>
                <!--Optional:-->
                <pur:ApprovalActionCode>?</pur:ApprovalActionCode>
                <!--Optional:-->
                <pur:ApprovalAction>?</pur:ApprovalAction>
                <!--Optional:-->
                <pur:BuyerId>?</pur:BuyerId>

  • OIA Web Services - Create a Role

    I was looking through the API guide for OIA here:
    http://download.oracle.com/docs/cd/E24179_01/doc.1111/e23366/toc.htm
    I realized that there is no web service to create a role or policy (no policy methods at all). Am I missing something? Shouldn't this be one of the most basic functions? There is a call to create a user and you can read all the role and business unit information that you need but nothing is there to create a role. Can someone confirm this and possibly point me in the right direction if I did want to create a role programatically?

    Hi,
    It's because the role and policies require versioning through the workflows where as the ther OOTB API's are either queries, simple updates against 1 or more tables, or don't require OIA's workflow engine
    Regards,
    Daniel

  • Web Service created out of Business Object

    Hello All,
    Has anyone created a Web Service using a Business Object?
    When I am trying to create a Web Service, I can see the couple of options like Business Objects, Process Agents are disabled and rest like Consumer Group, Service Provider are enabled. Any idea why this is happening.
    Regards,
    Abhishek

    Hi Ansh,
    Thanks for your quick revert and suggestions, and sorry for the delay on my part to get back to you.
    Trouble with hosting the packaged app WS on local machine was that the packaged app is a big memory hog and would have been impossibe to host that along with my oracle db, jdeve, wls, mobile lite server etc on my 4 GB RAM thing.
    But what we did yesterday was to host the oracle demo web service (as mentioned in step 1 of part 4 of the tutorial of this mobile adf FOD demo) on another machine in the network, and we were successfully able to invoke it via the mobile adf client built and deployed on a BB simulator on my machine....so that definitely tells me that network and my packaged app WS being on another machine is not the problem.
    So now, the only reason, which is what i was guessing all along but confirmed for sure now, is that my action listener is not working or is unable to trigger the web service call at all.
    This explains why there is no movement on the MDS-CS window.
    And so as per your explanation, if I use a applicationscop variable in the "to" argument of my action listener, and I provide the same value in the binding property in # 19 of step 2 of part 4 of that tutorial right?
    One more query I had was that the single input argument of my WS is a varchar, similar to the dept id integer "arg0" of the demo pojo web service given by oracle in the tutorial, but while in this # 19 screenshot of the tutorial it shows the data type as integer, in my case it comes as java.lang.object.....is there something wrong in the way my WS input definition is created etc? Can that be preventing the WS from getting invoked?
    Appreciate all your help on this please!
    Regards,
    Hemant

  • How to trigger Web Service created by WebMethods

    Hello Experts,
    In our project WebMethods is using as middleware. We need to pass some XML files from SAP to some third party system using WebMethods (ESB).
    So, here WebMethods is creating a Web Service and from SAP we need to trigger the WebService and also I need to capture the response returned by the third party system using Web Service.
    Can anybody guide with step by step procedure.
    Thanks in advance.
    Krishna Yerram.

    To be able to consume a web service in your SAP system directly you need to generate a proxy-client for each web service you would like to consume.
    Workbench - Enterprise Services - Client Proxies
    The easiest way to generate a client proxy is by using the WSDL definition from the Web Service
    Enterprise Services - Create - Proxy Object - Service Consumer - Local File (this is your WSDL file) - put in package assignment and transport request and your proxy class will be generated.
    If you look into the generated proxy class you'll find a method you can call from anywhere in your ABAP code to consume the web service.
    Hope that helps,
    Michael

Maybe you are looking for

  • Running OSX and apps on a portable drive

    Hi all, I share an iMac with my family and I do heavy photo editing and takes tons of pictures for a website I'm doing in iWeb. My question is how to save hard drive space? I cannot figure a way to make iWeb only use pictures from a portable drive an

  • Mapping one to many

    I spoke about this in another thread. however, it was not the main topic of the thread so I thought I should start a thread dedicated to this issue. As you can see I have a loop connecting three fields on the left side of my map to the AMT parent on

  • Automatic closing of excel export of uwlCollaboration tasklist.

    Hi, I use the iView uwlCollaboration in one of my Room Template, and I face a problem when I use the "Export to excel" button. When I click on this button, I face 3 possibilities : - Open the xls file. - Save the xls file. - Cancel the action. When I

  • OS4  update and connect to itunes

    I have the latest version of itunes on my computer. I tried to update the software on my 3rd gen ipod touch to the OS4. Computer restarted automatically (presumably after install, but I wasn't watching it the whole time). Now my computer and itunes w

  • Cannot open emails for restraunts and other sites

    cannot navigate thru certain emails