Web Services change

Hi friends,
I am trying to develop a web service which has read and change operations. The web service is for activity documents.
I am able to create and test the web service.
For read, it is working fine. When I enter the object ID as a starting parameter I can see the details in response part.
But for change I couldn't manage to see a meaningful response.
In request for change there are three parameters ActionCode, Controller and webservice name as a tree with more details. When I enter the object ID under webservice name, it returns nothing.
What parameters should I enter for testing change web services?
How should I fill ActionCode and Controller parameters?
Regards.

Hello Digvijay,
Web service tool provided in CRM 2007 is an exact replica of the transaction GENIL_BOL_BROWSER. What ever is supported by your Component set will be supported. But the test tool used for web service is not so intelligent that it cannot disable or enable the attributes on the field attribute values that are defined by the application developer.
Since it is activity component , the component set would be BT or ONEORDER. Try, create/read/search/modfiy from the BOL browser passing the exact values. If it works there, then it should exactly beahve the same in web service.
I guess you may not be passing all the attributes. when ever there is nothing in the response section of the web service testing tool, it means that the request did not even reach the core business logic. There might be cookie problems as well sometimes. Try clearing your cookies and pass the necessary details, it should work fine.
Regarding the action, check the data elemenet CRMT_MODE. It has the possible codes.
A     Create
B     Change
C     Display
D     Delete
Hope this helps.
Regards,
Vinay

Similar Messages

  • Web service - change - test

    Hi friends,
    I am trying to develop a web service which has read and change operations. The web service is for activity documents.
    I am able to create and test the web service.
    For read, it is working fine. When I enter the object ID as a starting parameter I can see the details in response part.
    But for change I couldn't manage to see a meaningful response.
    In request for change there are three parameters ActionCode, Controller and webservice name as a tree with more details. When I enter the object ID under webservice name, it returns nothing.
    What parameters should I enter for testing change web services?
    How should I fill ActionCode and Controller parameters?
    Regards.

    Any ideas?

  • Problem when WSDL changes for a Web Service Reference

    Hi
    I have a Web Service Reference that is accessed by several reports and processes within APEX.
    The problem that I am experiencing is that, when the Web Service changes, as it has been doing quite often due to development, I can find no way of updating the Web Service Reference in order that the additional input and output parameters become available to the associated reports and processes. The only solution that I have found is to recreate the Web Service Reference going through the same wizard process and giving the Web Service Reference the same name as previously.
    However when the Web Service Reference has been recreated all reports and processes that accessed the old web service have blank values for source, input and output parameters. This means that I have to build the reports and processes again from scratch.
    Does anyone know of a better method of “refreshing” a web service in order to expose any new inputs or outputs defined with the WSDL without breaking existing functionality?
    Regards
    Ian

    Hi,
    My solution is simple: add new service reference, then new methods can be atached to the old service refernce with the followind block
    begin
    update WWV_FLOW_WS_OPERATIONS fo
    set
    FO.WS_ID = (select ws.ID from WWV_FLOW_SHARED_WEB_SERVICES ws where ws.FLOW_ID = 117 and ws.NAME= 'WebHINSSvc')
    where
    FO.NAME not in
    (select
    FOO.NAME
    from WWV_FLOW_WS_OPERATIONS foo
    where FOO.WS_ID = (select ws.ID from WWV_FLOW_SHARED_WEB_SERVICES ws where ws.FLOW_ID = 117 and ws.NAME= 'WebHINSSvc')
    and FO.WS_ID = (select ws.ID from WWV_FLOW_SHARED_WEB_SERVICES ws where ws.FLOW_ID = 117 and ws.NAME= 'WebHINSSvcNEW')
    delete from WWV_FLOW_SHARED_WEB_SERVICES ws where ws.FLOW_ID = 117 and ws.NAME= 'WebHINSSvcNEW';
    end;
    If you change only params it wont help. Ypu have to recreate the code that breaks again.
    I hope this helps.

  • Generate web service model in web dynpro

    Hi,
    I have a web service which I generated a model in web dynpro and working fine.
    But the problem is that when I update my web service(change in method prototype, number of parameters, data type changes) I need to regenerate the model again and need to map to context elements.
    So, is there any way so that I can update my model instead of regenerating entire model to reflect to new changes in web service.
    Thanks for your time and effort.
    Regards,
    Shiva.

    Hi Shiva,
    Please look at this weblog for reimporting web service model.
    /people/bertram.ganz/blog/2005/10/10/how-to-reimport-web-service-models-in-web-dynpro-for-java
    There is no direct method available for that. But u can do by following this method.
    Regards,
    Bhavik

  • Consuming Client Web Service at Different Servers

    We are consuming a third party web service using the following steps :
    Third party vendor gave the link of their web service
    Created a proxy class using the link.
    Called their method through a program.
    We are giving some input and getting the corresponding output - We are able to consume the external WS absolutely fine.
    If the server location of the above web service changes do we have to follow the above steps all over again that is create new PROXY CLASS??
    What if the third party application also have a landscape just like SAP  for ex - DEV, QA, PRD -  the IP of the web service is different on each system.
    The user(who is not a technical person) wants something very simple where they just want to put the web service's new link and system should function as it was with old link.

    No reply, hope my question is clear to the experts.

  • Data Federator - Changing Web Service Datasource URL

    Hi,
    I am using Data Federator XI 3.0.
    I have a few web service datasources with their WSDL URL set to the location of the web service on my development machine. If I deploy the web service on the production server, is there a way to simply update WSDL URL of the datasources in Data Federator without recreating them (copy to draft, update operations, reselect operations, etc.) ?
    I tried putting the URL in a deployment context parameter, but it did not work. The datasources still reference the old URL even when I changed the URL in the parameter.
    Thanks,
    Chih Hui

    Hi,
    If you want to configure Connections post deployment, it is required for your application to be configured with a Writable MDS Repository.As I had mentioned in the blog also, for this you need a entry in adf-config.xml and that your server should have a registered MDS store. Unless you will do this, the connection endpoint changes that you are doing will not be saved.
    To give an example, at the application end, in adf-config.xml, you need an entry like the following:
    <adf-mds-config xmlns="http://xmlns.oracle.com/adf/mds/config">
    <mds-config xmlns="http://xmlns.oracle.com/mds/config" version="11.1.1.000">
    <persistence-config>
    <metadata-store-usages>
    <metadata-store-usage default-cust-store="true" deploy-target="true" id="myRepos">
    </metadata-store-usage>
    </metadata-store-usages>
    </persistence-config>
    </mds-config>
    </adf-mds-config>
    When you will deploy this app to a server with a registered MDS repository, the deployment will bring up a dialog where you will need to set(select/create) a partition for this app in the mds repository. Once, your deployment is done, now if you will change the endpoint using EM, it will save your changes.
    -Vishal

  • How to change Auto-generated web service's URL

    Hi,
    is it possible to change/edit the auto-generated url of a web services created with the wizard in SE80 transaction?
    Example:
    Now the wizard generates a URL as following:
    http://<host name>:8080/sap/bc/srt/wsdl/bndg_4BC67655E5155680E10000000A7B0410/wsdl11/allinone/standard/document?sap-client=001
    where the alfa-numeric code 4BC67655E5155680E10000000A7B0410 changes every time I create the service. at the same time and for the reason above, I have to change the LOGICAL DESTINATION with "visual administrator" application to consume the service in SAP Netweaver environment.
    Thanks in advance.
    Luca

    Hi Luca,
    Please refer the below link . it is described that URLs and its Namespaces  . Please check whether its useful.
    [http://help.sap.com/saphelp_nw70/helpdata/EN/8c/780741375cf16fe10000000a1550b0/frameset.htm] .

  • Java web service -- how to re-generate Java sources when WSDL changes?

    I created a new web service using the "Java Web Service from WSDL" wizard.
    Some time later I changed the WSDL and now I need to rebuild the Java sources. What is the best way to do this? I can't re-run the wizard, it returns an error: "The name of this web service is already used by another web service in this project."
    Using Jdeveloper 11.1.1.3.0 on Linux.
    Thanks.

    These links may helpful for you.
    http://download.oracle.com/docs/cd/E14004_01/books/SSDev/SSDev_CustomizingModel22.html
    http://download.oracle.com/docs/cd/B31017_01/core.1013/b28764/web_services003.htm

  • Web service in LV2013: Change answer for "Bad Request", "Access Error"...

    Hi there,
    I am building a large application in LabVIEW 2013. I use a Web Service Server in LabVIEW to communicate to other systems. All in all the new Web Service functions in LV2013 work pretty fine and Web Services are easy to implement. In case any Web Service is unknown or parameters (in the URL) are wrong, it returnsto the client a default error message (like: "Access Error: 404 -- Not Found" or "Access Error: 400 -- Bad Request"). Is there a possibility to change this default messages and its format (all answers in my application are in JSON, but errors appear in HTML)? I really need this feature.
    I spent a lot of time in the internet for finding an answer - but it seems that I am the first who need this feature. Thank you very much for any ideas.
    Attachments:
    AnswerOk.PNG ‏4 KB
    BadRequest.PNG ‏6 KB

    Hi Andy,
    I found a workaround: I added some additional resources using a link "http://localhost:8079/"NAME"/:x/:x/:x/:x/:x/:x/:x​/:x/:x/:x/:x/:x/:x/:x/:x/:x" for each type (PUT, GET, POST, DELETE) where I handle the error message with the "Set HTTP Response Code VI"
    Attachments:
    ws_error.PNG ‏9 KB

  • Cannot connect to Web Service to change IP address

    Already said, I have a LaserJet Professional P1606dn printer, had it for a while now. Someone sent a print job to it, nothing out of the ordinary, and all of a sudden, it printed that print job over and over. I checked in the print queue, nothing was there (not even on the server where the printer is stored). We save the printer settings and the driver on the print server and install it on machines through the server. We turned it off and waited a few minutes, then plugged it back in. It was okay until someone else sent a different print job. Started spitting out the print job from before (then one printing over and over). I did a factory reset on the printer. Needless to say, it changed the IP address (but did not change it to 192.168.x.x). It kept our domain's IP but the last number in the IP address changed. I figured the IP address would change and I was okay with that. Here's the problem: I printed a Configuration page with no issue and it gave me the IP address. However, when I try to log on to the printer via the Web Service (putting the IP address in a web browser), the page times out and says it can't be displayed. All I need to do is go in and change the IP address to a static IP address (back to the original IP address).  Under "Network Information," the status says "An unknown error has occurr" but the rest of the sentence/error is cut off. I'm not sure if it gives an error code or just stops with "occurred" or what. And unfortunately, the printer does not have a display screen so the only way I can change it is through the Web Services via a web browser. I've tried Google Chrome (my default browser) and Internet Explorer. Both browsers timed out and said that the page couldn't be displayed.

    Could be your network.  What I would do is connect the printer directly to a computer using a crossover cable.  I would recheck the ip address on the printer and make sure the computer has an address with the first 3 sets of number the same and the last digit on the computer 1 off from the one on the printer.  Then use the web browser on the computer to see if you can attach to the printer.  If you can you can then change the ip address to what you want.  Keep in mind most times when you have the issue you are having the issue is the driver and the computer sending the print job.  In other words the q may be empty but the printjob file in the windows subdirectory has not cleared.  Sometimes you have to go in and physically delete the printer.  It could be on the server, but sometimes it is on the local machine.

  • How to change the web service address of NetBeans generated WS client

    I am currently experimenting with web services using netbeans and Sun Application Server.
    Basically I am creating simple web services using net beans and then deploy them on the app server and then create another pfoject with web service reference to that web service to invoke the service.
    My problem is when a project is deliverd to the production site the the client applications web service reference will need to be configured to refer to the production web service address. But when I looked at the generated web service client code the address is hard coded.
    How can I change the address to the web service of a web service reference created in net beans either using some configuration file (without having to recompile the client) or at runtime.
    Thanks in advance

    bump...

  • VC Change username and password for web services

    Hi everybody
    I need to change the username and password into the portal of some web services that   have already been created portal is consuming these web services  a XI
    Thansk
    Ivan

    it is ok ....
    thank you....
    i have now this issue:
    i need to add new E1 to be in the same trunk for previous E1 which is for Abdali. new E1 will not have signal it depeneds at old one timeslot.
    i used this for new E1:
    prov-add:nailedtrnk:name="1033",srcsvc="ss7p-jtc-abdali",dstsvc="naspath1-abdali",srcspan="ffff",dstspan="0",srctimeslot="33",dsttimeslot="33",spansize=31
    for old one this:
    prov-add:nailedtrnk:name="1002",srcsvc="ss7p-jtc-abdali",dstsvc="naspath1-abdali",srcspan="ffff",dstspan="0",srctimeslot="2",dsttimeslot="2",spansize=30
    ============================
    at AS5400 i used to add new E1:
    controller E1 7/2
    framing NO-CRC4
    pri-group timeslots 1-31 nfas_d primary nfas_int 1 nfas_group 0
    Is this true or there are other commands i should use?
    OLD E1 is configured as:
    controller E1 7/0
    framing NO-CRC4
    channel-group 0 timeslots 1
    pri-group timeslots 2-31 nfas_d primary nfas_int 0 nfas_group 0
    description Connection to Abdali
    interface Serial7/0:0
    no ip address
    encapsulation ss7
    channel-id 0
    interface Serial7/0:15
    no ip address
    encapsulation hdlc
    isdn switch-type primary-ni2c
    isdn incoming-voice modem
    isdn map address . plan isdn type network
    isdn rlm-group 0
    no isdn send-status-enquiry
    isdn negotiate-bchan resend-setup
    isdn bchan-number-order ascending
    no cdp enable
    any help please for correct commands i shall use? please see attached file for details.

  • What are the changes in GRC Web Services in 10.1 from 10.0

    Hi
    We are planning to move to 10.1 from 10.0 and we have connector applications which use the following APIs. We would like to know whether there is any changes was done to the attributes or functionality of these web services. Is there any official document  which lists out the changes in APIs available?
    APIs used
    GRAC_SELECT_APPL_WS
    GRAC_LOOKUP_WS
    GRAC_RISK_ANALYSIS_WOUT_NO_WS
    GRAC_REQUEST_STATUS_WS
    GRAC_AUDIT_LOGS_WS
    GRAC_USER_ACCESS_WS
    Thanks in advance
    Fareez

    This was discussed many times in the forum before, please see old threads for details -- https://forums.oracle.com/forums/search.jspa?threadID=&q=Upgrade+11i+to+R12&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Change Web Service Endpoint dynamically in CE 7.2

    Hi experts.
    Is it possible to change endpoint of web services in CE 7.2?
    There are 2 ECC clients for test, so I want to change the endpoint of AWS model dynamically, for example,
    application parameters.
    Thanks for your time.

    hi,
    at design time, are you also using http://jbxsd292:50900/sapws/sap.com/WSCreateMDM_ENTAPP_com.sap.mdm.ws.gen.ejbs_WSCreateMDMVi/WSCreateMDMVi_SAP_DEFAULT_PROFILE_Service/HTTPAuthOverHTTP_1?wsdl?
    Best regards,
    john

  • How to change Module Jar path for web services

    I got an error when I did -> Generate Web Service Files to create Web Service.
    Error is C:\Document and Settings\user\.jstudio\..\xmlservices.jar doesn't exsit.
    I know I put these jar files in my D:\Sun\...\modules directory. I went to Tools->Options->IDE Configuration->System->Modules->Web Service.
    Look the properties Module JAR. The path value in this property is wrong. It uses c:\Document and Settings\user... I want to change this value to D:\Sun\... But it doesn't allow me to change this value. The field is not editable. Anybody knows where I can change this directory path value?
    Thanks

    I got an error when I did -> Generate Web Service
    Files to create Web Service.
    Error is C:\Document and
    Settings\user\.jstudio\..\xmlservices.jar doesn't
    exsit.
    I know I put these jar files in my D:\Sun\...\modules
    directory. I went to Tools->Options->IDE
    Configuration->System->Modules->Web Service.
    Look the properties Module JAR. The path value in
    this property is wrong. It uses c:\Document and
    Settings\user... I want to change this value to
    D:\Sun\... But it doesn't allow me to change this
    value. The field is not editable. Anybody knows where
    I can change this directory path value?
    ThanksI seem to be getting the same error when clicking on "Generate Web Service Files":
    "Error is C:\Document and Settings\user\.jstudio\..\xmlservices.jar doesn't exsit."
    I am following the example below and I'm just out of ideas. Can anyone help.
    Thanks.
    http://swforum.sun.com/jive/thread.jspa?threadID=53040&tstart=30

Maybe you are looking for