Miltiple operations  in webservice to webservice

is there miltiple operations possiable in webservice to webservice scenario in pi?
if possiable , can u exaplain .

Dear Solasu
We have similar scneario with my client.
Only in case of Soap Adapter you will have the need of multiple actions. This is also possible by using a udf which will dynamically detemine the soap action. You need to ensure in this case that the input should have criteria by which we are able to identify which action to invoke.
Else in this case even after creating multiple operations you will not get benefit. If you have proxy receiver it had worked
Regards
Monika

Similar Messages

  • Webservice to webservice scenario

    Dear Experts,
    Could you please help me in solving the below queries
    In SOAP TO SOAP Scenario Sender is one WSDL and Receiver is another WSDL,after completing Scenario we can generate a WSDL from XI Configuration->Define Webservices, if we test the WSDL then only the Data is getting transferred from Sender to Reciever.
    Queries
    My question is Without using XI System generated WSDL is there any way to trigger the Sender to send the data to Reciever
    Another query is if it is Possible only with XI WSDL then how to trigger the Sender (SAP and NON-SAP)

    I am not sure whether i get your question but Altova xml spy is a xmlpath and webservice tool which allows you to generate soap requests from your machine-
    follow the webservice to webservice tutorial at saptechnical
    The way it works is that the external webservice which is trying to access data from sap must connect to the xi webservice first, this service will have importing params and exporting params-
    external soap request -> Xi soap--> rfc/webservice of function module
    and then in return its vice versa- so your xi works as a middleware, it receives the request from external systems etc- and forwards it, it is not generating anything on its own-
    this is for the scenario where an external system needs to start the event and get something back- synchronous
    Now the case is when you wish to generate the starter event within sap- the starter event would be triggered through SPROXY- create  a rfc or etc and then generate the wsdl for it- Not create the define web service from the utilities within the repository-
    Sproxy allows you start the event and is based on the http adapter- alternatively like i said, you would have to use the webservice creation from utilities within SE37-I hope that clears up your question?
    Edited by: Zeeshan Shah on Dec 23, 2009 10:58 AM

  • Consuming a webservice using Webservice model in Webdynpro

    Hi all,
    I am working on a scenario where in XI is used for calling Remote Function Module of R3 system using SOAP
    My XI Consultant has implemented SOAP to RFC scenario in XI succesfully and generated the WSDL file in XI.
    I got that WSDL file and saved locally on my desktop.
    I created a Webservice model based on the local WSDL file and then gave necessary inputs and also included the following code for the SOAP call to happen
    wdContext.currentRequest_Soap2Rfc_Ob_MiElement().modelObject().execute();
      wdContext.nodeResponse().invalidate();
      wdContext.nodeRes_Mt().invalidate();
    When I tried to give input data and click on submit it is calling the model object execute method and is throwing the following exception
    Exception on execution of web service with WSDL URL 'C:\Documents and Settings\aljsed01\Desktop\soap2rfc_ob_mi.wsdl' with operation 'soap2rfc_ob_mi' in interface 'soap2rfc_ob_mi'
    Does any have any idea about this?
    Should I require some more steps to do?
    Anyhelp in this regard is highly appreciated
    Regards,
    Santhosh

    Hi Anil and Rahul,
    Thanks a lot for your help and time.
    I have created destinations one for metadata and the other for Execution.
    But I am not sure of what URL to be given
    I have my WSDL file locally on the system.If I give that path,it says wrong protocol.
    And if I give XI URL,it does not pick up metada shows some other error.
    What URL should I need to give for locally saved WSDL??Please suggest
    And Rahul,here is the WSDL file which my XI consultant gave
    Let me know if it is ok.
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions xmlns:p1="http://soap2rfcns" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" name="soap2rfc_ob_mi" targetNamespace="http://soap2rfcns">
    +     <wsdl:types>+
    +          <xsd:schema targetNamespace="http://soap2rfcns" xmlns="http://soap2rfcns" xmlns:xsd="http://www.w3.org/2001/XMLSchema">+
    +               <xsd:element name="res_mt" type="res_dt"/>+
    +               <xsd:element name="req_mt" type="req_dt"/>+
    +               <xsd:complexType name="req_dt">+
    +                    <xsd:annotation>+
    +                         <xsd:appinfo source="http://sap.com/xi/TextID">0f2ee199b2ce11dca877001a4bf038d4</xsd:appinfo>+
    +                    </xsd:annotation>+
    +                    <xsd:sequence>+
    +                         <xsd:element name="airlineid" type="xsd:string">+
    +                              <xsd:annotation>+
    +                                   <xsd:appinfo source="http://sap.com/xi/TextID">f17dde30b2cd11dcb5f6001b78b0798a</xsd:appinfo>+
    +                              </xsd:annotation>+
    +                         </xsd:element>+
    +                         <xsd:element name="connectid" type="xsd:string">+
    +                              <xsd:annotation>+
    +                                   <xsd:appinfo source="http://sap.com/xi/TextID">f17dde31b2cd11dcbcd8001b78b0798a</xsd:appinfo>+
    +                              </xsd:annotation>+
    +                         </xsd:element>+
    +                         <xsd:element name="fldate" type="xsd:date">+
    +                              <xsd:annotation>+
    +                                   <xsd:appinfo source="http://sap.com/xi/TextID">f17dde32b2cd11dc986c001b78b0798a</xsd:appinfo>+
    +                              </xsd:annotation>+
    +                         </xsd:element>+
    +                    </xsd:sequence>+
    +               </xsd:complexType>+
    +               <xsd:complexType name="res_dt">+
    +                    <xsd:sequence>+
    +                         <xsd:element name="econofree" type="xsd:integer">+
    +                              <xsd:annotation>+
    +                                   <xsd:appinfo source="http://sap.com/xi/TextID">6906c250b2ce11dca99e001b78b0798a</xsd:appinfo>+
    +                              </xsd:annotation>+
    +                         </xsd:element>+
    +                         <xsd:element name="bussfree" type="xsd:integer">+
    +                              <xsd:annotation>+
    +                                   <xsd:appinfo source="http://sap.com/xi/TextID">6906c251b2ce11dc9996001b78b0798a</xsd:appinfo>+
    +                              </xsd:annotation>+
    +                         </xsd:element>+
    +                         <xsd:element name="firstfree" type="xsd:integer">+
    +                              <xsd:annotation>+
    +                                   <xsd:appinfo source="http://sap.com/xi/TextID">6906c252b2ce11dc9c70001b78b0798a</xsd:appinfo>+
    +                              </xsd:annotation>+
    +                         </xsd:element>+
    +                    </xsd:sequence>+
    +               </xsd:complexType>+
    +          </xsd:schema>+
    +     </wsdl:types>+
    +     <wsdl:message name="req_mt">+
    +          <wsdl:part name="req_mt" element="p1:req_mt" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"/>+
    +     </wsdl:message>+
    +     <wsdl:message name="res_mt">+
    +          <wsdl:part name="res_mt" element="p1:res_mt" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"/>+
    +     </wsdl:message>+
    +     <wsdl:portType name="soap2rfc_ob_mi">+
    +          <wsdl:operation name="soap2rfc_ob_mi">+
    +               <wsdl:input message="p1:req_mt"/>+
    +               <wsdl:output message="p1:res_mt"/>+
    +          </wsdl:operation>+
    +     </wsdl:portType>+
    +     <wsdl:binding name="soap2rfc_ob_miBinding" type="p1:soap2rfc_ob_mi" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">+
    +          <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>+
    +          <wsdl:operation name="soap2rfc_ob_mi">+
    +               <soap:operation soapAction="http://sap.com/xi/WebService/soap1.1" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>+
    +               <wsdl:input>+
    +                    <soap:body use="literal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>+
    +               </wsdl:input>+
    +               <wsdl:output>+
    +                    <soap:body use="literal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>+
    +               </wsdl:output>+
    +          </wsdl:operation>+
    +     </wsdl:binding>+
    +     <wsdl:service name="soap2rfc_ob_miService">+
    +          <wsdl:port name="soap2rfc_ob_miPort" binding="p1:soap2rfc_ob_miBinding" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">+
    +               <soap:address location="http://sapxidev:50000/XISOAPAdapter/MessageServlet?channel=:BS_SS:req_cc&version=3.0&Sender.Service=BS_SS&Interface=http%3A%2F%2Fsoap2rfcns%5Esoap2rfc_ob_mi" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>+
    +          </wsdl:port>+
    +     </wsdl:service>+
    </wsdl:definitions>
    Rgds,
    Santhosh

  • Getting error when testing the webservice in webservice navigator

    hello experts,
    i created the rfc for to delete the calender appointments it was working fine and i created the webservice for this . when i'm trying to test the webservice  with ws navigator  i can insert the values on request screen , but result is this error.
    webservice response :  
    HTTP/1.1 200 OK
    Set-Cookie: <value is hidden>
    content-type: text/xml; charset=utf-8
    content-length: 481
    sap-srt_id: 20110721/115816/v1.00_final_6.40/D40C9E37E8642547AA79FB54A42976E7
    server: SAP Web Application Server (1.0;700)
    <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"><soap-env:Body><n0:YAPPT_DELETE_N_T2Response xmlns:n0="urn:sap-com:document:sap:rfc:functions"><ERROR_MSG><MSG_ID>BC</MSG_ID><MSG_TYPE>E</MSG_TYPE><MSG_NUMBER>020</MSG_NUMBER><MSG_VAR1>D</MSG_VAR1><MSG_VAR2></MSG_VAR2><MSG_VAR3></MSG_VAR3><MSG_VAR4></MSG_VAR4><FIELDNAME>MAINT_INDI</FIELDNAME><TABLEINDEX>000001</TABLEINDEX></ERROR_MSG></n0:YAPPT_DELETE_N_T2Response></soap-env:Body></soap-env:Envelope>
    can anybody guide me how to rectify this problem .help will be greately appreciated.
    thanks for coming help
    regards,
    sashi.

    hello madhu,
    i have got the sollution. in the webservice i'm giving the input (03D86AFB7EE7D14585EF515C59B5F559) same as in data base .while testing the webservice  internally the value should be converted into bytes bcoz  in the domain  the data type was RAW .
    so db didnt recognise that value thats why i got the error.
    so i use the fm  GUID_CONVERT and convert that as db format
    thanks for ur response .
    regards,
    sashi.

  • Triggering a published webservice using Webservice

    Hi All,
    I am presently trying to invoke an Oracle BPM webservice published on the Enterprise Server. I however, always get hit with "Process Access Denied" Soap Fault. I happened to create an participant in the enterprise with the same Role as the defined in my published process. I also added "Global Creation Activity" hoping that it would help me figure out the issue. None of which seems to help me resolve my issue.
    The same process seems to work fine while executing from Studio.
    The response message is posted below:
    <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>
    <soapenv:Fault>
    <faultcode>soapenv:Server.userException</faultcode>
    <faultstring/>
    <detail>
    <message>Process access denied.</message>
    </detail>
    </soapenv:Fault>
    </soapenv:Body>
    </soapenv:Envelope>
    Thanks in Advance,
    Rudraksh
    Edited by: rudraksh on Jun 25, 2009 3:09 PM
    Edited by: rudraksh on Jun 25, 2009 4:18 PM

    I figured this out myself.
    Rudraksh

  • Tool required to test webservice regarding  Webservice to IDoc

    Dear All,
    Iam dealing with Webservice to IDoc Scenario . I require a tool to test my Web service . Please Do the needful
    Thanks & Regards,
    Kalyan

    Hi kalyan,
    u can test using "Altova XML spy" or "Soapui".
    Download  "Altova XML spy"  from the below link.
    http://www.altova.com/download/xmlspy/xml_editor_enterprise.html
    <u><b>Using XML SPY:</b></u>
    Now open XML spy->go to FILE->OPEN->(select ur WSDL)->click on text(see below)->goto SOAP(see above)->create new SOAP request->ok->select MI->ok...
    now u will get soap request in XML format.Now again goto SOAP->send request to server.if evrything is correct ...wait smtime u will get ur desire output.
    Download SoapUi here below
    http://sourceforge.net/projects/soapui/
    <u><b>Using SoapUi:</b></u>
    Open SoapUi....goto FILE->New WSDL Project->give any suitable name and browse the WSDL->Now drill down ->u will see  "request1"->double click on that(here request gets create automatically.->click on the small green triange shape icon above.
    Regards
    biplab
    <i>**reward with points if helpful</i>

  • Webservice --- XI ---- webservice

    Hi,
        I'm trying out a synchrous sceanrio where i have a sender soap adapter and a receiver soap adapter.
    I want to create a employee record in MDM system and the record id in passed back to the 1st webservc.One of my outbound sync interface is exposed as webservice and i'm using another webservice to insert data into MDM, i'm also using BPM.
    My receiver determination is as follows:
    step 1:
    WS_CREATE_EMP_IDOC (Sender service using soap adpater) - IP_create_employee(BPM)
    step2:
    BPM - MDM_Create_Employee (receiver service using soap adapter).
    When i test this scenario in rwb, i get the following errors:
    in step 1 :
    errro at call adapter step (Timeout condition of pipeline reached)
    step 2:  Response  msg contains this error "com.sap.aii.af.ra.ms.api.DeliveryException: java.io.IOException: invalid content type for SOAP: TEXT/HTML"
    Help required.points will be awarded.

    Hi Pragati,
    go to SMICM transaction -> from menu choose Go To ->Services....select HTTP.. from menu choose edit service........give maximum processing time to 5000...save this service .....activate this service........then your this error - <i>errro at call adapter step (Timeout condition of pipeline reached)</i> - will be removed.
    <i>Response msg contains this error "com.sap.aii.af.ra.ms.api.DeliveryException: java.io.IOException: invalid content type for SOAP: TEXT/HTML</i> - for this error, just see what your web-service is returning....the content which web-service is returnig is not a proper SOAP/HTML msg...
    Thanks,
    Rajeev Gupta
    Message was edited by:
            RAJEEV GUPTA

  • WebService - RFC - WebService Scenario

    Hello All,
    I have the following scenario:
    An external program wants to send customer data to R/3. in R/3 I have to run an RFC that creates a customer with this data and return the new customer number back to the external program. The external program will be using a web service for communicating. I have done a lot of XI but never Web Service.
    1. Can I do this synchronously without BPM or do I need a "proxy" RFC for the response?
    2. I guess I have to prepare a wsdl with the "define web service" tool in the integration builder. What do I do with this file? Do I have to deploy it? where? how?
    3. If I can do it synchronously with RFC, do I need to define a message interface for the RFC?
    Any pointers will be greatly appreciated.
    Thanks,
    Yoni

    Hi Yoni,
    1. Can I do this synchronously without BPM or do I need a "proxy" RFC for the response?
    Yes, you dont need BPM
    2. I guess I have to prepare a wsdl with the "define web service" tool in the integration builder. What do I do with this file? Do I have to deploy it? where? how?
    Import WSDL from WebService or create an outbound interface
    3. If I can do it synchronously with RFC, do I need to define a message interface for the RFC?
    No, you can import the RFC from R/3. It will be used as inbound interface.
    Regards,
    Udo

  • How to add a webservice to webservice test interface?

    Hi,
    i have to deploy a webservice for LDAP lookup in the form. I have seen the Webservice test interface URL where already some webservices have been deployed.My question is how to upload or deploy my webservice in it so that i can use it in my form.
    Plz help me on this.
    Raghava Kumar V.S.S.

    Generally your GUI code might be in a class extending JFrame, for example. It is good practice to try to keep your GUI separate from the rest of your application. So you can control your application from the GUI by public methods in the main part of the code, calling them from the GUI.
    This is best done by passing an instance of the main application to the GUI when it is constructed. For example:
    public class Host {
      public static void main(String[] args) {
        new Host();
      public Host() {
        GUI iface = new GUI(this);
      public doSomething(int value) {
         // A method that does something,
         // called from the GUI
    public class GUI extends JFrame implements actionListener {
      private Host app;
      public GUI(Host parent) {
        app=parent;
        // Do more stuff here
      // Rest of the GUI here
      public void actionPerformed(ActionEvent ev) {
        // Method called as a result of a button press
        // or something...
        app.doSomething(42);
    }Hope this helps a bit. Look around on the web for good GUI tutorials.

  • Invoke webservice from webservice

    Hi All,
    I am a newbie of using JDeveloper and I have a few questions about web service. The call flow is shown as below:
    Caller(Machine C) -> web service (WS_B)(Machine B) -> web service(WS_A) (Machine A)
    In Machine A :
    I have deployed the web service called WS_A
    In Machine B :
    I have created a proxy service that points to the wsdl of WS_A. Also, I have created a webservice called WS_B that invokes the proxy service so that WS_B
    can communicate with WS_A
    When I check the webservice (WS_B) in the browser, it always says that "oracle.classloader.util.AnnotatedNoClassDefFoundError" . Thanks a lot.
    Best regards,
    David

    Hi David,
    If you are using JDeveloper to assemble your applications, and you have used the embedded version of oc4j, you may want to double check that all your bean have been included in the application module.
    Sometime the embedded version will be working, because the .class files are in the classpath used to execute the application, while they are not found in the context of the application, once deployed on a remote container.
    Check the list of classes included in your .ear. Select the node "WebServices.deploy" in the "resources" node of your project, and using right-click on the selection, select the Properties options. Under "Files Groups - WEB-INF/Classes - Filters", make sure all the classes have been selected.
    Hope it helps,
    -Eric

  • Unable to load webservice using webservice action block

    Hi,
    I am trying to call a webservice using xMII 11.5 .My webservice url is http://machinename/Test/Service1.asmx?wsdl.This webservice is invoked using internetexplorer.When I try to configure this using webservice action block I am getting the error message stating "SOAP service could not be loaded.White spaces are required between public id and system id".
    Can anyone help me on this issue.

    Hi,
    You go through the following threads:
    https://forums.sdn.sap.com/click.jspa?searchID=14545521&messageID=5310227
    https://forums.sdn.sap.com/click.jspa?searchID=14545521&messageID=5765282
    https://forums.sdn.sap.com/click.jspa?searchID=14545521&messageID=5803591
    Hope this will help you.
    Thanks,
    Manisha

  • Calling Webservices from Webservice client

    Hi Guyz,
    A RFC is published as a Webservice and I am trying to call the same thru a webservice cllient. I am using NWDS 7.1.1 for the same. I have generated the Java proxy classes and I developed a Main Java class with the following code -
    1) String wsdlURL = "http://localhost:8001/sap/bc/srt/rfc/sap/BAPIFlightList?sap-client=800&wsdl=1.1"
    2) String namespace = "urn:sap-com:document:sap:soap:functions:mc-style";
    3) String serviceName = "BAPIFlightList";
    4) QName serviceQN = new QName(namespace, serviceName);
    5) ServiceFactory serviceFactory = ServiceFactory.newInstance();
    6) Service service = serviceFactory.createService(new URL(wsdlURL), serviceQN);
    7) Service.createCall();
    At line# 6 i am getting following exception-:
    28 Jul, 2010 8:59:32 AM org.apache.axis.utils.JavaUtils isAttachmentSupported
    WARNING: Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled.
    javax.xml.rpc.ServiceException: Error processing WSDL document: 
    java.io.IOException: Server returned HTTP response code: 401 for URL: http://localhost:8001/sap/bc/srt/rfc/sap/BAPIFlightList?sap-client=800&wsdl=1.1
         at org.apache.axis.client.Service.initService(Service.java:250)
         at org.apache.axis.client.Service.<init>(Service.java:165)
         at org.apache.axis.client.ServiceFactory.createService(ServiceFactory.java:198)
         at com.abhi.checksso.CheckSSO.main(CheckSSO.java:36)
    Can Any one have any idea about the above exception and how to correct the same.
    Also,  is my approach to call a webservice from Java correct or are there any other approach. I am trying this First time and open to all kinds of suggesstions.
    Thanks
    Abhinav Sharma

    He Shyam,
    I have passed the Login Credentials. But it is still not finding the service. Also , when I created the Standalone Proxy, ServiceFactory Implementation Class is not genereated
    Abhinav

  • SAMLAssertionID error while invoking webservice through webservice proxy

    I have created a web service proxy client using service WSDL deployed to weblogic standalone server as per the Fusion Dev guide [http://fmwdocs.us.oracle.com/doclibs/fmw/E10285_01/appslib7/web.1111/b31974/web_services.htm#CJADCDBG]. When i try to invoke the web service through the proxy i am seeing this error
    Exception in thread "main" javax.xml.ws.soap.SOAPFaultException: Unable to add security token for identity, token uri =http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.0#SAMLAssertionID
         at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:197)
         at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:122)
         at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:125)
         at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:95)
         at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:136)
         at $Proxy42.findTerritoriesInPartition(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at weblogic.wsee.jaxws.spi.ClientInstanceInvocationHandler.invoke(ClientInstanceInvocationHandler.java:84)
         at $Proxy43.findTerritoriesInPartition(Unknown Source)
         at oracle.apps.sales.territoryMgmt.territories.serviceProxy.findTerritories.TerritoryServiceSoapHttpPortClient.main(TerritoryServiceSoapHttpPortClient.java:56)
    Please suggest how i can get rid of this error.
    I looked at the wsdl, i see that wss_saml_or_username_token_service_policy is added.
    <wsp:Policy orawsp:provides="{http://docs.oasis-open.org/ns/opencsa/sca/200903}authentication, {http://docs.oasis-open.org/ns/opencsa/sca/200903}clientAuthentication, {http://docs.oasis-open.org/ns/opencsa/sca/200903}clientAuthentication.message" wsu:Id="wss_saml_or_username_token_service_policy">
    Code in my proxy client:
    public class TerritoryServiceSoapHttpPortClient
    @WebServiceRef
    private static TerritoryService_Service territoryService_Service;
    private static final AddressingVersion WS_ADDR_VER = AddressingVersion.W3C;
    public static void main(String [] args)
    territoryService_Service = new TerritoryService_Service();
    TerritoryService territoryService = territoryService_Service.getTerritoryServiceSoapHttpPort();
    // Get the request context to set the outgoing addressing properties
    WSBindingProvider wsbp = (WSBindingProvider)territoryService;
    WSEndpointReference replyTo =
    new WSEndpointReference("http://adc60059fems.us.oracle.com:6035/salesTerrMgmtTerritories/TerritoryService", WS_ADDR_VER);
    String uuid = "uuid:" + UUID.randomUUID();
    wsbp.setOutboundHeaders( new StringHeader(WS_ADDR_VER.messageIDTag, uuid), replyTo.createHeader(WS_ADDR_VER.replyToTag));
    // Add your code to call the desired methods.
    try{
    wsbp.getRequestContext().put(WSBindingProvider.USERNAME_PROPERTY, "SALES_ADMIN");
    wsbp.getRequestContext().put(WSBindingProvider.PASSWORD_PROPERTY, "Welcome1");
    FindTerritoriesInPartition terr = new FindTerritoriesInPartition();
    terr.setPartitionType("PRODUCTION");
    terr.setTerritoryService(territory);
    territoryService.findTerritoriesInPartition(terr);
    catch(ServiceException se){
    Thanks,
    Sekar

    Hi Subramanyam,
    There is a very simple way to invoke web service through code using ServiceFactory classes. See if you can access this link[http://fmwdocs.us.oracle.com/doclibs/fmw/E10285_01/appslib7/doc.1111/e10308/uc_adf_to_adf.htm#BDCEDDDC]. Looks like creating proxy through Jdev and writing client code using ServiceDelegateImpl is a very costly approach, it creates lot of files and it fails to invoke service when SAML is enabled in the server side.
    If you could not access this link, follow these steps
    1. In connections.xml
    <Reference name="{http://xmlns.oracle.com/apps/sales/territoryMgmt/territories/territoryService/}TerritoryService" className="oracle.jbo.client.svc.Service" xmlns="">
    <Factory className="oracle.jbo.client.svc.ServiceFactory"/>
    <RefAddresses>
    <StringRefAddr addrType="serviceInterfaceName">
    <Contents>oracle.apps.sales.territoryMgmt.territories.territoryService.TerritoryService</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="serviceEndpointProvider">
    <Contents>ADFBC</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="jndiName">
    <Contents>TerritoryServiceBean#oracle.apps.sales.territoryMgmt.territories.territoryService.TerritoryService</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="serviceSchemaName">
    <Contents>TerritoryService.xsd</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="serviceSchemaLocation">
    <Contents>oracle/apps/sales/territoryMgmt/territories/territoryService/</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="jndiFactoryInitial">
    <Contents>weblogic.jndi.WLInitialContextFactory</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="jndiProviderURL">
    <Contents>t3://adc60108fems.us.oracle.com:6046</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="jndiSecurityPrincipal">
    <Contents>SALES_ADMIN</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="jndiSecurityCredentials">
    <Contents>Welcome1</Contents>
    </StringRefAddr>
    </RefAddresses>
    </Reference>
    2. Create a java file with a main method, sample code to invoke service
    import commonj.sdo.helper.DataFactory;
    import oracle.jbo.client.svc.ServiceFactory;
    public static void territoryGet(){
    String TERRITORY_SERVICE_NAME = "{http://xmlns.oracle.com/apps/sales/territoryMgmt/territories/territoryService/}TerritoryService";
    TerritoryService terrService = (TerritoryService)ServiceFactory.getServiceProxy(TERRITORY_SERVICE_NAME);
    DataFactory dataFactory = ServiceFactory.getDataFactory(terrService);
    // Create Territory
    Territory territory = (Territory)dataFactory.create(Territory.class);
    territory.setTerritoryLevel(1L);
    territory.setStatusCode("FINALIZED");
    java.util.Date currentDate = new java.util.Date();
    Calendar cal = Calendar.getInstance();
    cal.setTime(currentDate);
    territory.setEffectiveEndDate(new java.sql.Date(cal.getTimeInMillis()));
    territory.setEffectiveStartDate(new java.sql.Date(cal.getTimeInMillis()));
    List<Territory> lst = terrService.findTerritoriesInPartition(territory, "PRODUCTION");
    System.out.println("Size: " + lst.size());
    I also had succeeded using ServiceDeleteImpl, but i prefer ServiceFactory which is very simple. I can also share how to achieve using the proxy which jdev generates.
    ~Sekar

  • Webservice-pi-webservice approach needed with authentication.

    Hi all,
    In our scenario, we need to propagate user context from a .net web service to another .net web service via PI 7.3. Please suggest some options to achieve this. (multiple users have muliple logon credentials)..this is actually 3 level check .. suppose  sender service one check  ,PI side one check and reciever side one check. suggesions are required  for approach.
    thanks,
    Allamudi Loordh.

    The below document gives idea about principal propagation in 7.1 and 7.0. I dont know what we have in 7.3.
    I think it is possible non sap or sap inbound to sap outbound scenarios using Prinicipal Propagation.  At PI inbound side any authentication mechanism is possible whereas on the PI outbound side only SAP Logon TIcket supported. This is the case for PI 7.1
    Please refer this for understanding:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/808d3048-638c-2a10-35a6-faa48e50ad59?QuickLink=index&overridelayout=true

  • Define multiple operations in one WebService recommended or bad idea?

    If I have the choice
    1 operation in 1 webService = n WebServices
    or
    n operations in 1 WebService
    which one is preferable?
    What are the pros and cons of putting multiple operations into ONE webservice?
    Peter

    Not sure why you would have a lot of different stylesheets applied to various pages  :-)
    Why not just one stylesheet to cover *all* the styling for *every* page... that makes mroe sense to me.  In this way, you only have stylesheet you need to edit whenever you make *any* changes.
    The more stylesheets you have the more fiddly it becomes in my opinion.
    Saying that, there is no reason why you can't link to multiple stylesheets, just remembering that the last one in the list is the one that takes precedence.
    So if you have a style for a paragraph for example in 2 stylesheets, then the lowest on the ladder will be the one that the paragrah is styled from.
    Nadia
    Adobe® Community Expert : Dreamweaver
    Unique CSS Templates |Tutorials |SEO Articles
    http://www.DreamweaverResources.com
    http://csstemplates.com.au/
    http://twitter.com/nadiap

Maybe you are looking for

  • Insert Tab character in a string

    I'm trying to create a string that will eventually be written to a text file that has to be tab delimited. I can't figure out how to insert a tab in the string. Here's an example: <cfset headerline = 'H' & TAB & #FORM.order_ID#> Obviously, 'TAB' does

  • Why can't mail import email from thunderbird?

    I just for a MacBook Pro with LION. I exported my Windows Live Mail to Thunderbird for PC to Thunderbird for MAC. Now when I try to import from Apple/Mac Mail I only get 1 file per local folder. I'm using Thunderbird OK but want to go to Mac Mail ent

  • What happened to Alt + Scroll Wheel Zooming while using Polygonal Lasso Tool?

    My issue is that when I am working with the Polygonal Lasso tool I am no longer able to use Alt + Mouse Scroll wheel to zoom in and out while making my selection. I have found other ways to zoom in/out, but none are as efficient and fast as the metho

  • Substr/Instr/analytics question

    I have a table like this on 9i (soon to be 10g) CREATE TABLE BASELINE_TESTRUN RUNID VARCHAR2(42 BYTE) NOT NULL with data like this: insert into BASELINE_TESTRUN values ('DEV1-XXX-01'); insert into BASELINE_TESTRUN values ('DEV1-XXX-03'); insert into

  • Stopped emailing Notes - now all notes gone.

    I wanted my iPod to stop automatically emailing me Notes. I took "notes" off the list of settings for my email, and now all my notes are gone. How can I get them back? They're in my email, but not on my iPod! Can't I have notes without them getting m