Message based webservice

Hi all,
Is there any way to write message based webservice in weblogic like in AXIS(not
JMS based)

Hello,
JAXM is not part of J2EE and not supported.
SAAJ [1] provides much of the same functionality (javax.xml.soap
package) and is supported by WLS.
Regards,
Bruce
[1]
http://java.sun.com/xml/saaj/
santosh wrote:
>
Hi all,
Is there any way to write message based webservice in weblogic like in AXIS(not
JMS based)

Similar Messages

  • REST BASED  WEBSERVICES

    Hi,
    We Have a Legacy System based  on  REST BASED  WEBSERVICES, that  legacy  system  can  understand  only  HTTP  format(it does n't  support  SOAP ) our scenario  is  HTTP TO  RFC  SYNCHRONOUS.
    And   we  have  to  connect PI   with  REST BASED  WEBSERVICES     ?
    1---->How  can  we connect  PI  with  REST BASED  WEBSERVICES ?
    2---->and  how  to test  those    REST BASED  WEBSERVICES ?any  tool  for  that?
    Thanks,
    Nagaraju.

    Hi Nagaraju,
    you can sent message from PI via [http receiver adapter|http://help.sap.com/saphelp_nw2004s/helpdata/en/43/64dbb0af9f30b4e10000000a11466f/content.htm].
    For message from legacy to PI use a simple address, what is explained in [SAP help http sender adapter|http://help.sap.com/saphelp_nw2004s/helpdata/en/43/64db4daf9f30b4e10000000a11466f/content.htm]
    You can test http messages with Microsoft's tool [Wfetch|http://www.microsoft.com/download/en/details.aspx?id=21625] (in the net are hundreds of free ware http test tool available).
    Regards,
    Udo

  • Content and message based routing

    Hi Experts,
    How to do Content and message based routing for webservices through Enterprise Portal?
    Regards
    Sara

    hi
    Content based routing in XI can be done during
    1) Receiver Determinations (Integration Directory) --- Used for entering a condition for
    forwarding a message to one or more receivers
    http://help.sap.com/saphelp_nw04/helpdata/en/26/5ccd3bb4560f01e10000000a11402f/content.htm
    2)Interface Determinations (Integration Directory) --- Used for entering a condition for forwarding a message to multiple inbound interfaces
    3) Designing Integration Processes (ccBPM) (Integration Repository) --- Used for entering a condition for processing process steps (see Step Types)
    At all the 3 places u will use the Condition editor,
    http://help.sap.com/saphelp_nw04/helpdata/en/67/49767669963545a071a190b77a9a23/content.htm
    rgds,
    Arun

  • Message Based Trigger

    Hello
    I am creating a message based trigger to trigger my process with webservice operation. While creating the trigger, the EndPoint Name field is uneditable. So I cannot edit the host name and port.
    When I deploy the process I am getting an exception saying WSDL port bindings are not present. My WSDL is working fine.
    Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.ProxyGeneratorException: Proxy Generator Error. The passed WSDL is not supported by the proxy generator. It does not contain any WSDL bindings. 
         at com.sap.engine.services.webservices.espbase.client.ProxyGeneratorNew.initInterfaceMappings(ProxyGeneratorNew.java:915)
         at com.sap.engine.services.webservices.espbase.client.ProxyGeneratorNew.generateAll(ProxyGeneratorNew.java:342)
         at com.sap.engine.services.webservices.server.deploy.ws.WSAltConvertor.convertServiceAltDescriptor(WSAltConvertor.java:228)
         at com.sap.engine.services.webservices.server.deploy.ws.WSAltConvertor.convertServiceAltDescriptors(WSAltConvertor.java:202)
         at com.sap.engine.services.webservices.server.deploy.ws.WSAltConvertor.convertWebServicesJ2EEEngineAltDescriptors(WSAltConvertor.java:182)
         at com.sap.engine.services.webservices.server.deploy.ws.WSAltConvertor.convert(WSAltConvertor.java:128)
         at com.sap.engine.services.webservices.server.deploy.ws.WSDeployProcess.extractWebServicesJ2EEEngineDescriptors(WSDeployProcess.java:276)
         ... 27 more
    atcom.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException.writeReplace(WSDeploymentException.java:60)
    What could be cause of the issue?
    Is there any other way to pass an input parameter to a process?
    Thanks
    Vidyadhar

    Hi Mireille,
    I don't think this can be done using Default data. You need to implement BADI /SAPSLL/PRN_DET. You will find method MSG_DET_RESULT_MODIFY, where you need to write your conditions to activate or deactivate a message. But please note this is not going to bypass the standard Activity sequence flows unless and until you do something related to that.
    Regards
    Dhilipan

  • WSDL Parser [Is anyone else testing WCF-based webservices?]

    I'm encountering the following message when attempting to force the use of the .NET parser when interrogating the WSDL of a new webservice:
    Parsing specified wsdl...
    Connecting to https://BLAH-BLAH/MobileTerminated.svc?wsdl
    Validating https://BLAH-BLAH/MobileTerminated.svc?wsdl
    .NET Parser could not parse https://BLAH-BLAH/MobileTerminated.svc?wsdl
    Warning:Selected .NET Parser is invalid.
    Must installed the .net sdk Framework.
    Failed to parse https://BLAH-BLAH/MobileTerminated.svc?wsdl
    Am I correct in interpreting this as "you need the .NET SDK installed in order to use the .NET Parser within OATS"?
    I already have .NET framework 3.5(SP1) but not the SDK.
    [UPDATE] It is probably significant that the webservice I need to test is WCF-based.
    Edited by: IHodgetts on May 21, 2010 5:45 PM
    Edited by: IHodgetts on Jun 21, 2010 12:07 PM

    I know I'm answering my own post here, but a lot of work has gone into this and someone else may as well benefit from my findings...
    It would appear that OATSv9.10 does NOT support WCF-based webservices. The problem is apparently down to OpenScript not supporting WS-Addressing (part of Windows Communication Foundation) and this isn't currently scheduled for inclusion in v9.20 (much to my disappointment).
    However, I have in the meantime found a workaround. Basically IGNORE what OpenScript populates the request with!
    1) Use the OpenScript parser (the .NET parser will not work) to parse the WSDL.
    2) Add the method(s) you require to the script.
    3) The script will at this stage have two problems but can be used as a starting point.
    Problem #1 - The content-type will need to be manually changed from "text/xml;charset=UTF-8" to "application/soap+xml; charset=utf-8". Edit this by right-clicking on the request and selecting "Headers" then "Content-Type".
    Problem #2 - The contents of the request will not include the WS-Addressing information. One workaround is to obtain a working packet to replace this e.g. from a test harness for your WCF-webservice. Edit this by right-clicking on the request and selecting "Post Data". Replace the WHOLE string with a valid packet from your test harness.
    Hopefully this will assist anyone else trying to get this working :-)

  • How to develop Asynchronous Document Based WebServices?

    Hi gurus,
    The scenario is, We are developing an architecture where Asynchronous Document Based WebServices are desired.
    As per my knowledge, This architecture includes some
    work at JMS side.
    Meaning,
    Client -
    > Calling [WebService] -
    > Deletgate --
    >JMQ (Java Message Queue)
    Would appreciate ur thoughts here...
    Regards,
    Arvind Kugasia [[email protected]]

    Hi Arvind,
    this "pattern" - sending JMS message and performing some long asynchronous tasks in MDB is a standard J2EE way.
    That should be supported by any j2ee server that at least covers J2EE 1.3 (where MDB-s are introduced). That includes the SAP Web AS as well and its JSM and EJB implementation as well.
    The message can be sent from a servlet, web service, etc.
    In fact the classic petstore application released from sun as a model for developing J2EE applications uses MDB-s for that purposes :
    http://java.sun.com/blueprints/guidelines/designing_enterprise_applications_2e/sample-app/sample-app1.3.1.html
    Once you buy the parrot from the petstore, you will see the response page while the MDB will perform asynchonously the sending of the mail, charging of the account, etc.
    It doesn't matter if the front end is a web service or a HTTP UI.
    In addition you can google for any J2EE tutorial and MDB explanation.
    However please note that I am speaking how your application will gather the parameters from the web service call, put them in a JMS message and send the message via several lines of java code.
    Perhaps some other frameworks (Apache-Axis, etc.) are doing this automatically for you or are generating the code that sends the message via some wizard.
    That up to my knowledge is not supported for SAP WebAS, but that is only a 10 lines of code inside the web service body, that can be easily created.
    HTH
    Peter

  • CI based webservices

    Hi ,
    I have some doubts regarding the CI based webservices.Can I use the URL
    http://your.peoplesoft.server/PSIGW/HttpListeningConnector?Operation=YOUR_OPERATION_NAME.v1&OperationType=Sync
    for the CI Based webservice to post the data from the html page.
    I am trying to append the emplid and descr field to the above URL as http://your.peoplesoft.server/PSIGW/HttpListeningConnector?Operation=YOUR_OPERATION_NAME.v1&OperationType=Sync&EMPLID=10&DESCR=TEST.
    I am getting an error message like
    The request string ( data ) is not properly formed. (158,16005)
    Please suggest me how to call a CI based webservice from HTML or javascript.
    Thanks in advance

    I mean we did a workaround in current dev environment -
    to rename the node to HRPRD and renaming it back to HRDEV , bouncing the web server did the trick for us.
    thanks

  • Securing REST based Webservices using OSB

    Can anyone please lead me to any pointers on securing the REST based webservices.
    Thanks,
    KC

    REST is more or less, a pure HTTP service so it is as secure as that. From my perspective transport security (basic authentication, SSL) is the basic security requirement for a REST based web-service. As far as message security is concerned, you may use custom HTTP headers to pass the tokens/digest but again it requires transmission over SSL to become an effective solution.
    If you really have tight requirement from message security perspective, then I would suggest going to SOAP rather than using REST.
    Regards,
    Anuj

  • Developing SOAP based Webservice using Axis 2 Eclipse plugin

    Hi,
    I want to develop a SOAP based Webservice which connects to the PostgreSQL DB , by fetching the data for the employeeId entered and display the results in the browser. I'm using using JDK 1.6, Tomcat 6.0, Axis 2.0 , with Axis 2 Eclipse Plugin. Please send me a sample code of how to build it, i am able find some examples on the internet, but none of them are related to connecting to the DB and fetching the data. It will be great if you guys can provide the sample application which does have the same functionality as mine. Please do respond as this is urgent. Thanks in advance..
    Thanks,
    Rithu

    Thanks Adhir Mehtaji, This is what i have come up with, developing a webservices based on SAAJ and deploying that in Tomcat server, here is the Webservice and the other related files:-
    public class EmployeeService {
         * This method returns the Employee Name
         * @param empId String
         public void getEmployeeName(SOAPEnvelope req, SOAPEnvelope resp) throws javax.xml.soap.SOAPException {
              System.out.println("Inside the getEmployeeName in Employee Service");
              IEmployeeDAO employeeDAO= null;
              employeeDAO = new EmployeeDAOImpl();
              SOAPBody body = resp.getBody();
              String empId = null;
              NodeList empIdNodeList = req.getBody().getElementsByTagName("empId");
              for( int i=0; i < empIdNodeList.getLength(); i++ ) {
                   Element empIdElementElement = (Element) empIdNodeList.item(i);
                   Node empIdNode = empIdElementElement.getChildNodes().item(0);
                   empId = empIdNode.getNodeValue();
                   System.out.println("the empId in the employee service is:::"+empId);
              addNode(body,"empName",employeeDAO.getEmployeeName(empId));
              //addNode(body,"segmentName1",custSegmentDAO.getSegmentName(ZipCode));
         private static void addNode(SOAPBody body,String nodeName,String nodeValue) throws SOAPException{
              body.addChildElement(nodeName).addTextNode(nodeValue);
         This Service is exposed as a Webservice which connects to the DAO and get the response for the EmpId.
         This is the client file:-
         public class GetEmployeeNameClient {
              public static void main(String[] args) throws Exception {
                   // Invoking the Webservice endpoint which is hosted (deployed) in Tomcat by passing the SOAP Message request
                   // Get the SOAP Message response , which contains the employee name for the empId 100
                   // Parse the SOAP Message response to get the employee name (response from the WS)
                   String[] nodeNames = { "empId" };
                   String[] nodeValues = { "100" };
                   SOAPMessage message = GetEmployeeNameClient.getMessageFactory(
                             "getEmployeeName", nodeNames, nodeValues);
                   SOAPConnection conn = SOAPConnectionFactory.newInstance()
                             .createConnection();
                   SOAPMessage response = conn.call(message,
                             "http://localhost:8080/axis/services/EmployeeService");
                   // If the response is not null then everything is fine with the WS.
                   System.out.println("the response is what???"+response);
                   System.out.println("\n Soap response:\n");
                   System.out.println("\nXML response\n");
                   // Create transformer
                   TransformerFactory tff = TransformerFactory.newInstance();
                   Transformer tf = tff.newTransformer();
                   // Get reply content
                   Source sc = response.getSOAPPart().getContent();
                   // Set output transformation
                   StreamResult result = new StreamResult(System.out);
                   tf.transform(sc, result);
                   System.out.println();
                   // For these to work we need to connect to the DB - jdbc:oracle:thin:@ora-b2cd:6473:b2cd to get the segment name
                   SOAPBody soapBody = response.getSOAPBody();
                   System.out.println("the soapBody is what???"+soapBody);
                   NodeList empNameNodeList = soapBody.getElementsByTagName("empName");
                   System.out.println("the empNameNodeList.getLength is::"+empNameNodeList.getLength());
                   for (int i = 0; i < empNameNodeList.getLength(); i++) {
                        System.out.println("inside the loop");
                        Element empNameElement = (Element) empNameNodeList.item(i);
                        System.out.println("the empNameElement is what???"+empNameElement);
                        Node empNameNode = empNameElement.getChildNodes().item(0);
                        System.out.println("the empNameNode is what???"+empNameNode);
                        System.out.println("Employee Name For empId is ...... "
                                  + empNameNode.getNodeValue());
              // Construct the SOAP Message request by passing the empId 100(should come from UI)
              private static SOAPMessage getMessageFactory(String methodName,
                        String[] nodeNames, String[] nodeValues) throws SOAPException {
                   SOAPMessage message = null;
                   try {
                        System.out.println("Inside the getMessageFactory");
                        MessageFactory messageFactory = MessageFactory.newInstance();
                        message = messageFactory.createMessage();
                        SOAPPart soapPart = message.getSOAPPart();
                        SOAPEnvelope envelope = soapPart.getEnvelope();
                        SOAPBody body = envelope.getBody();
                        SOAPElement bodyElement = body.addChildElement(envelope
                                  .createName(methodName));
                        for (int index = 0; index < nodeNames.length; index++) {
                             bodyElement.addChildElement(nodeNames[index]).addTextNode(
                                       nodeValues[index]);
                        message.saveChanges();
                        // View input
                        System.out.println("\n Soap request:\n");
                        message.writeTo(System.out);
                        System.out.println();
                   } catch (Exception e) {
                        e.printStackTrace();
                   return message;
         This client will send a SOAPMessage with EmpId (100) as a request and get the response from the Webservice as SOAPMessage , which
         contains the empname for the respective empid which is passed.
    I tested this service in the browser, it is up and running through the URL : http://localhost:8080/axis/services
    But when i try to access the webservice to get the response from my client program, i am getting the following SOAP Fault string:-
    <?xml version="1.0" encoding="UTF-8"?>
    <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>
    org.xml.sax.SAXNotRecognizedException: Feature: http://xml.org/sax/properties/lexical-handler
    </faultstring>
    <detail>
    <ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">
    user-15bbc0db6e
    </ns1:hostname>
    </detail>
    </soapenv:Fault>
    </soapenv:Body>
    </soapenv:Envelope>
    My client path contains :-
    axis.jar;
    jaxrpc.jar;
    saaj.jar;
    commons-logging.jar;
    commons-discovery.jar;
    wsdlj4.jar;
    axis-ant.jar;
    log4j-1.2.4.jar
    xerces.jar
    activation.jar
    mail.jar
    Similary the in the d:/tomcat/webapps/axis/WEB-INF/lib,contains the same as that in client path.
    I am using Tomcat 6.0 , JDK 1.6, I have googled and found that the expection is due to "Xerces.jar" not in Tomcat/webapps/axis/WEB-INF/lib.
    I have copied xerces.jar in the said path, still the error persists. Please do provide a solution to this. Where i have gone wrong.
    I have one more query, If i have to rest a "list" as a response from the server (webservice), how i can add the list into the SOAPMessage? Whether i need to parse it and add the values one by one in the SOAPMessage? like
    <empname> xxxx</empname> <empage>25</empage>
    <empname> yyyy</empname> <empage>26</empage>
    Please answer these queries.
    Thanks,
    Rithu

  • Message-based web service

    We are using CF 7.01 and have been successful in consuming
    web services in the past. We are unsuccessful however in consuming
    a web service where the client says is using a message-based (aka
    document style) web service. We are entering thier system but we
    error out in our attempt to access thier web service.
    In the cfcomponent I have even tried using style="document"
    but we are still erroring out. The nature of the error message at
    our end shows:
    -- start of error message...
    Message: Could not generate stub objects for web service
    invocation.
    Detail: Name:
    https://integrationdev.peopleclick.com/soap/echo. WSDL:
    https://integrationdev.peopleclick.com/soap/echo. WSDLException (at
    /SOAP-ENV:Envelope): faultCode=INVALID_WSDL: Expected element '{
    http://schemas.xmlsoap.org/wsdl/}definitions'.:
    It is recommended that you use a web browser to retrieve and
    examine the requested WSDL document for correctness. If the
    requested WSDL document can't be retrieved or it is dynamically
    generated, it is likely that the target web service has programming
    errors.
    -- ...end of error message.
    The message insinuates a WSDL problem. I understand
    message-based web services don't use a WSDL. Must I remove
    something from our standard RPC-based web service configuration?
    Thanks in advance.
    Dev

    hi all,
    UPDATE:
    i have some how managed to handle my error at both REQUEST MESSAGE peoplecode and at HANDLER peoplecode. Tested the webservice using SOAPUI tool. After passing all inputs required, the customer is not created and i am getting a blank response message which should contain the SETID and CUST_ID as response. Please help me out whether i am missing any Key part in creating a CUSTOMER. Note, i haven't written any Peoplecode for creation and i am also not aware how to do the same or where to write the logic for it.
    Kindly bare with me and do help me out as i m struck with it for long. Thanks in advance

  • Collecting Message based on Delivery Id

    Hi,
    We have an scenario to collect the messages based on delviery number, like customer sends the bulk order and SAP splits that order and create the delivery for each splitted orders .
    Eg.
    Sales Order     Batch Order
    PO#      1234
    This Batch order is split in to multiple orders as below
    Order_1     Order_2     Order_3
    1234_A_C     1234_B_C     1234_C_C
    Delivery_1     Delivery_2     Delivery_3
    1     2     3
    These deliveries are sent to PI as DESADV in differnet time frame.
    ->     DESADV# 1     DESADV# 2     DESADV# 3
    inbound time     10:30AM     11:00AM     11:20AM
    PO#     1234_A_C     1234_B_C     1234_C_C
    Outbound time     11:20AM     11:20AM     11:20AM
    Now we need to collect all the DESADV for a single batch order and send it to customer as a single DESADV .
    Can anyone help me how to handle this in PI.
    Is there any BPM process there to collect the messages based on PO number (1234_A_C,1234_B_C,1234_C_C) for particular partner.
    I know correleation id can be used but PO is not constant.
    Thanks
    Lakshmi S

    you can use the BPM Pattern to achieve this functionality.
    Also refer the following links:
    http://help.sap.com/saphelp_nwpi71/helpdata/EN/08/16163ff8519a06e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/41/e3d13f7fb44c21e10000000a1550b0/frameset.htm
    /people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure

  • Find Message based on Content

    Hi all
    Is it Possible in XI to find a message based on the Message Content.Like any value in Payload?
    Thanks and Regards
    Bhasker

    Hi Bhasker,
        Check this blog:
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417600)ID0547743150DB20098387303032179271End?blog=/pub/wlg/2675
    Regards,
    Ravi

  • Multipart message in Webservice.

    Hello,
    I am calling a webservice which is having multipart message as follows:
    - <wsdl:message name="PricingAndAvailabilityRequest">
      <wsdl:part name="PricingAndAvailabilityRequestBody" element="pa:PricingAndAvailability" />
      <wsdl:part name="header" element="ebxml:MessageHeader" />
      </wsdl:message>
    - <wsdl:message name="PricingAndAvailabilityResponse">
      <wsdl:part name="PricingAndAvailabilityResponseBody" element="par:PricingAndAvailabilityResponse" />
      <wsdl:part name="header" element="ebxml:MessageHeader" />
      </wsdl:message>
    - <wsdl:portType name="PricingAndAvailabilityServicePort">
    - <wsdl:operation name="PricingAndAvailability">
      <wsdl:input message="avl:PricingAndAvailabilityRequest" />
      <wsdl:output message="avl:PricingAndAvailabilityResponse" />
      </wsdl:operation>
      </wsdl:portType>
    - <wsdl:binding name="PricingAndAvailabilityServiceBinding" type="avl:PricingAndAvailabilityServicePort">
      <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
    - <wsdl:operation name="PricingAndAvailability">
      <soap:operation soapAction="" />
    - <wsdl:input>
      <soap:body parts="PricingAndAvailabilityRequestBody" use="literal" />
    - <soap:header message="avl:PricingAndAvailabilityRequest" part="header" use="literal">
      <soap:headerfault use="literal" part="header" message="avl:PricingAndAvailabilityRequest" />
      </soap:header>
      </wsdl:input>
    - <wsdl:output>
      <soap:body parts="PricingAndAvailabilityResponseBody" use="literal" />
    - <soap:header message="avl:PricingAndAvailabilityResponse" part="header" use="literal">
      <soap:headerfault use="literal" part="header" message="avl:PricingAndAvailabilityResponse" />
      </soap:header>
      </wsdl:output>
      </wsdl:operation>
      </wsdl:binding>
    When i am sending the message to Webservice, After mapping,Request message is having Header and body together.
    I would like to know whether  xi soap receiver adapter able to include Header in SOAP-HEADER and Body in SOAP-BODY as shown in wsdl definiton and will it support multipart messages.
    Thanks in Advace.
    Regards,
    Sreenivas.

    I would like to know whether xi soap receiver adapter able to include Header in SOAP-HEADER
    and Body in SOAP-BODY as shown in wsdl definiton and will it support multipart messages
    there is a piece of information given in SAP note for this....check if you can get some lead from it:
    https://service.sap.com/sap/support/notes/856597
    From the SAP note:
    My web service expects a SOAP with multiple elements in the SOAP body. How can I create such SOAP message?
    Regards,
    Abhishek.

  • SOURCING10: Passing parameters to a Query Based webservice using JAVA

    Hi Experts,
    I have been working on consuming a Query based webservice published in Souricng10 in a simple JAVA class. The query has a filter parameter which is not mandatory. I am able to consume the webservice using the GET method and display the content of the webservice. But when i try to POST a value to the filter parameter of the query i am getting the following error:
    java.io.IOException : Server returned HTTP response code: 415 for URL: http://sapcild9.web.bc:55000/sourcing/ngservices/rest/query/Z_TEST_WS_QUERY/execute/
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    Following is the code which i have used:
       URL url = new URL("http://sapcild9.web.bc:55000/sourcing/ngservices/rest/query/Z_TEST_WS_QUERY/execute/");
       HttpURLConnection connection = (HttpURLConnection)url.openConnection();
       connection.setRequestProperty("Authorization", "Basic " + authStringEnc);
       connection.setRequestProperty("Content-Type","application/x-www-form-urlencoded; charset=UTF-8");
       connection.setRequestProperty("Content-Length", "" +Integer.toString(urlParameters.getBytes().length));
       connection.setRequestProperty("Content-Language", "en-US");
       connection.setUseCaches (false);
       connection.setDoInput(true);
       connection.setDoOutput(true);
       connection.setAllowUserInteraction(true);
       connection.setInstanceFollowRedirects(false);
       connection.setRequestMethod("POST");
       connection.connect();
       //Send request
       OutputStream out = connection.getOutputStream();
       OutputStreamWriter wr= new OutputStreamWriter(out, "UTF-8");
       wr.write("EXTERNAL_ID");
       wr.write("=");
       wr.write(URLEncoder.encode("temp","UTF-8"));
       wr.close();
       out.close();
       is = connection.getInputStream();
       isr =new InputStreamReader(is);
       BufferedReader bufferReader = new BufferedReader(isr);
       String str; StringBuffer stringBuffer = new StringBuffer();
       while ((str = bufferReader.readLine()) != null) {
       stringBuffer.append(str);
       stringBuffer.append("\n");
       System.out.println(stringBuffer.toString());
       connection.disconnect();
       is.close();
    Please Advise how to proceed on this isssue?
    Thanks in advance.
    Srikanth Emani

    Hi Gael,
    your URL is made up of :
    [ProcedureName]?[parameter1]=[value1]&[parameter2]=[value2]
    creating URLs like this can have problems especially with spaces and punctuation.
    the answer is a FORM
    the following will create a hidden form :
    FORM ACTION="[ProcedureName]" METHOD="POST" name="F1"
    INPUT type="HIDDEN" name="[parameter1]" value="[value1]"
    INPUT type="HIDDEN" name="[parameter2]" value="[value2]"
    /FORM
    you can set the values in the form using:
    document.F1.[parameter1].value="abc123%%&&$$!";
    document.F1.submit();
    will submit the form and the PL/SQL procedure should receive the text as it was contained in the form.
    the only characters that can now cause problems are :
    " as it delimits the field.
    ' as it may cause problems in PL/SQL.
    \ as it is a special character.
    Regards Michael

  • Polling messages based on priority in BPEL using JMS adapter

    Hi All,
    Is it possible to poll the messages based on the priority in BPEL using JMS adapter?
    I could set the priority for the messages but while polling it is picking the messages in FIFO(First in First out) order. But I want the messages to be picked on priority.Any help is appreciated.

    Do you only want to pick up messeges with a certain priority? So anything larger than say priority 2?
    You can try this: Oracle JCA Adapter for JMS - 11g Release 1 (11.1.1.5.0)
    Message SelectorThis field is also optional. It filters messages based on header and property information. The message selector rule is a Boolean expression. If the expression is true, then the message is consumed. If the expression is false, then the message is rejected.For example, you can enter logic, such as:
    JMSPriority > 3. Based on this, messages with a priority greater than 3 are consumed; all other messages are rejected.
    JMSType = 'car' AND color = 'blue' AND weight > 2500
    Country in ('UK', 'US', 'France')

Maybe you are looking for

  • How to I get up to date information in Apple Maps?

    I just upgraded to Mavericks and was trying Apple Maps, but the maps are showing parks that haven't existed for 10 years, and are missing businesses that have been in my area for over 10 years? Is there a way to get more up to date information in App

  • Sony DCR-TRV140 with Macbook Pro and Final Cut Express 4

    OK all, I'm a Mac novice here. Just bought my first Mac last month and added Final Cut Express to it in order to have some nice advanced features when it comes time to edit all kinds of home video shot on the Sony DCR-TRV140 Digital8 Handycam... But

  • Should I upgrade sistem on S660

    I recently bought a Lenovo S660 from China. I live in Serbia, and this model is not sold in my country.  - Android version 4.2.2, - baseband version S660 V26, 02/28/2014 17:50 - Build number S660_S026_140228. In settings / about phone / no option to

  • Italy Payment Program for DME File

    HI , italy uses program RFFOIT_B, for Payment method 'B', to get the DME file to export to the local bank. The issue is according to the new CBI format, I dont have the SIA code and the IBAN details in the DME file. Where do i give the SIA code in SA

  • Why has the lyrics tab disappeared from songs' "Get Info" menu?

    I got a new laptop today with Windows 7, and downloaded the most recent version of iTunes. I am keeping all my music files on an external hard drive, but have dragged all of them into my iTunes library. This is how I've done it before and have never