Problem calling SAP webservice ECC_SRVCREQCRTRC1

Hi,
I want to call an SAP webservice to create a service notification from an Adobe Flex application.
For this I use a standard SAP enterprise web service "ECC_SRVCREQCRTRC1".
The web servce call is working and the notification is created.
Now I also want to fill the description in the webservice. This is not working in the same way as filling the notification type parameter.
Notification parameter tag is just a tag:
<TypeCode>?</TypeCode>
The description tag has an attribute:
<Description languageCode="?">?</Description>
In my code I fille the tag TypeCode like this:
serviceRequest.TypeCode                      = "AB";
Now my question is: "How can I fill the description tag including the language attribute"?
I hope someone can help me with this.
Thanks in advance and kind regards,
Bart Elshout

Hi Pradeep,
Type code is a input/importing field of the header structure of this webservice. Type Code stands for the notification type.
The description is also a subfield of the same header structure (but this field has an attribute "language").
I hope you can help me,
Thanks in advance and kind regards,
Bart

Similar Messages

  • Problems calling a Webservice

    Hi All!
    I'm having some problems calling a Webservice. I've created a deployable proxy and a client bean and from this bean I've generated a Webservice. When I test this Webservice the actual webservice call is succesfull but I get the following response from the Webservice:
    HTTP/1.1 200 OK
    Connection: close
    Date: Fri, 13 May 2005 10:26:37 GMT
    Server: Microsoft-IIS/6.0
    P3P: CP="NOI DSP COR ADM DEV PSA PSD HIS OTP OUR IND STA"
    X-Powered-By: ASP.NET
    X-Powered-By: PHP/4.3.9
    Status: 200 OK
    Server: PEAR-SOAP 0.8.0RC2-devel
    Content-Type: text/xml; charset=UTF-8
    Content-Length: 1887
    X-Zend-WinEnabler: 1.2.0
    <br />
    <b>Notice</b>:  Undefined property:  actor in <b>C:Program FilesZendWinEnablerphppearSOAPServer.php</b> on line <b>318</b><br /> <br />
    <b>Notice</b>:  Undefined property:  mustunderstand in <b>C:Program FilesZendWinEnablerphppearSOAPServer.php</b> on line <b>322</b><br />
    <?xml version="1.0" encoding="UTF-8"?>
    <SOAP-ENV:Envelope  xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/ ....etc"
    As you can see there is some HTML code in the response. This HTML code causes problems for the SAP parser as it expects a SOAP:Envelope and not some HTML junk.
    I've looked up what the properties <i>mustunderstand</i> and <i>actor</i> do in a SOAP header and they seem to be optional properties. On the Webservice side the SOAP parser unfortunately seem to think these properties are mandatory.
    There's probably two ways to solve this problem. The first way is to ask the guys who host this Webservice to change it are their side. The other option is to add these properties to the SOAP header on the SAP side....which brings me to my question: Is there any way to add these two properties to the SOAP header before the deployable proxy calls the Webservice?

    Hi Arnouid,
    as far as I understand your post, the HTML code is the body of the response.
    If it is so, it is not a correct SOAP-message. A SOAP header  is inside of the envelope and not outside of it.
    So, it is not very a big surprise, that the parser don't like this.
    Aside from the form of a SOAP-message, it is not even a XML-message, which must begin with <?xml...
    tom

  • How to call SAP Webservice in standalone java program

    Hi,
    In our Java application, we want to use the SAP Webservices. I dont know much about authentication mechanism used by SAP. Can any one please help me with any sample code how to Call SAP webservice in Standalone Jave Program. I searched alot on the web regarding this, but helpless. Please help me.
    Thanks,
    Mohan

    Hi Mohan,
    You need an account for the ES Workplace. I'm afraid this is not free, e.g. check [SAP NetWeaver, Composition Subscription|https://www.sdn.sap.com/irj/sdn/subscriptions/composition].
    But I thought you wanted to play with a WSDL [you already had at hand|Sample code to access BAPI Web services from JAVA required;?

  • Error calling SAP webservice

    Hi,
    I have created a ZBAPI that is published as webservice via SE37 --> using the wizard, and I have created a flex web that invoke this webservice. When I runs the web in my local the call to webservice works perfect, but when I deploy the web in my Composite Environment and I execute the web I get the following error:
    [RPC Fault faultString="Security error accessing url" faultCode="Channel.Security.Error" faultDetail="Unable to load WSDL. If currently online, please verify the URI and/or format of the WSDL (http://xxxxxxxxxxxx:8000/sap/bc/srt/wsdl/bndg_4A02EE1AE83732C2E10000000AA51C62/wsdl11/allinone/standard/document?sap-client=330)"]
    I have been searching the solution and only I have found to deploy in the server (Composite Environmentt) the crossdomain.xml in the root, but it doesn't work.
    the crossdomain.xml content is:
    <?xml version="1.0"?>
    <!DOCTYPE cross-domain-policy SYSTEM
    "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
         <site-control permitted-cross-domain-policies="all"/>
         <allow-access-from domain="*" secure="false"/>
         <allow-http-request-headers-from domain="" headers="" secure="false"/>
    </cross-domain-policy>
    and the route where is deployed is:
    D:\usr\sap\XXXX\J00\j2ee\cluster\apps\sap.com\com.sap.engine.docs.examples\servlet_jsp\_default\root
    any idea?
    thanks in advance
    Jose Manuel

    Dear Vinay,
    Does your other FM are also using arrays.?
    Deserialization problem comes when xml parser is not able to convert XML schema or values to language specific elements.
    And this problem normally comes if you are using complex data types.
    Can you check once again and reply.
    Regards,
    Piyush

  • Call SAP WebService in Excel

    Hello,
    I want to call a WebService from a SAP-System in Excel. I created this WebService with the WebService Creation Wizard by using a RFC function. The WebService expects two parameters of string and it delivers a table.
    I'm using the MS SOAP Type Library v3.0 to call the WebService.
    Here's my code:
    01  Dim SOAPClient As SoapClient30
    02  Set SOAPClient = New SoapClient30
    03
    04  SOAPClient.mssoapinit "http://" & User & ":" & pswd & "@bcrsap27.de.emea.csc.com:8000/sap/bc/srt/wsdl/bndg_DE22AF411A745FF19F270014C25BCDE3/wsdl11/allinone/ws_policy/document?sap-client=800"
    05 
    06  With SOAPClient
    07         .ConnectorProperty("UseSSL") = True
    08  End With
    09
    10  Dim ret() As ZETT_DEFECT_T
    11
    12  ret = SOAPClient.ZETT_WS_READ_DEFECT("2009-01-01", "2009-04-07")
    At line 4 'User' and 'pswd' is needed to authenticate the user.
    But on line 12 I allways get an error:
        Run-time error '5419'
        Client: unspecifiedclient erro. HRESULT=0x800A152B
    I hope someone can help me.
    Thank you,
    Frank

    Hi,
    I have progressed upto a stage where it actully connects to R/3 and goes into class
    "CL_HTTP_EXT_SOAPHANDLER_RFC"
    but i always get a error
    <i><b>"SoapMapper:Restoring data into SoapMapper <obj> failed"</b></i>
    It looks like that it is to do with complex data type.
    But the function which i am using is just reutrning a result of type string.
    I will post more once i solve the issue.
    Regards
    Raja

  • Calling SAP Webservice from JAVA ME bad response time

    Hello together,
    I'm calling a SAP RFC as a Webservice from JAVA ME (Netbeans 6.8). The stub classes I've generated with the Sun Wireless Toolkit. The RFC function stores entries in a SAP database table. The call of the websevice with transmitting the data and the database update in SAP works fine, but I got the response message from SAP with a delay of 40 seconds.
    Does anyone know why there is so a long delay in the response and how to fix it?

    hi,
    is this reproducible or was it just the first call to that service?
    it usually occurs that once you call a webservice for the first time, some of the programs (be it your application programs or the even the SOAP runtime itself) required have not been compiled until that and so they are compiled during the webservice call.
    This leads to slow response times even time-outs. The effect vanishes once all sources are compiled (i.e. depending on the complexity of your calls after one to a few calls to that service).
    So, if the slow response times persist, you should turn on debugging in SICF and see where time is spent...
    my 2 cents,
    anton

  • Problem Calling a WebService multiple times

    Hi Guys,
    I am a relatively new user of DS 12.2 doing a proof-of-concept to call an in-house WebService for a batch of customer records - lets say 1000.
    The WS has an input schema where it's parameters are within a nested table such that it can be called for many customers in a single call if desired. WS input schema (made-up example)=
    -WS
    --$REQUEST_SCHEMA **added by DS on import
    ---CustVerification
    src_nr
    src_state
    I have successfully been able to create a Data-Flow that builds the input-schema such that 1 WS call is made with a nested input of all 1000 customers. This works and the output from the single call is correct (many records relating to the many inputs etc). Input schema =
    - <CustVerification>
    - <Details>
    <src_nr>1234<src_nr />
    <src_state>KY</src_state>
    </Details>
    - <Details>
    <src_nr>1234<src_nr />
    <src_state>KY</src_state>
    </Details>
    - <Details>
    <src_nr>1234<src_nr />
    <src_state>KY</src_state>
    </Details>
    </CustVerification>
    Now the problem - I am wanting to do this flow so that it calls the WS once PER customer i.e. 1 entry in many of the nested CustVerification structures.
    I have, again, been able to produce the correct XML schema (at least it looks correct) which repeats the Input Schema for each customer record. HOWEVER, when hooking this up to the function call of the WS as before, I either get only 1 single call like before with the last entry in the file run through it..... or, after playing with the query's input schema to add an extra root level and changing FROM clauses to map to the function call schema I then get a huge ACCESS_VIOLATION dump which mentions "LoadDFXML::put_string()+2427 byte(s)" and other such XML-related but non-helpful messages.
    New input schema is:
    - <CustVerification>
    - <Details>
    <src_nr>1234<src_nr />
    <src_state>KY</src_state>
    </Details>
    </CustVerification>
    - <CustVerification>
    - <Details>
    <src_nr>1234<src_nr />
    <src_state>KY</src_state>
    </Details>
    </CustVerification>
    - <CustVerification>
    - <Details>
    <src_nr>1234<src_nr />
    <src_state>KY</src_state>
    </Details>
    </CustVerification>
    So.... am I missing something simple in how I call a WS multiple times as opposed to once with multiple inputs? Could this be a setting/property somewhere? IS this linked with how I do a QueryTransform in a certain way to get the function called the right number of times? Anything else??
    Thanks for any advice/help.
    Flip.

    Thanks for the responses guys.... I actually got past the error with a change to the NRDM structure (as mentioned in the first reply, I think a small problem here really changes things).
    So - what I had to do to get this working properly was to add a new 'dummy' level into the structure - this kept it clean to denote that the 1 large bulk of messages were going to be sent through the WS many times. So - structure looks like this:
    Input_Query:
    - <ROOT>
    - <CustVerification>
    - <Details>
    <src_nr>1234<src_nr />
    <src_state>KY</src_state>
    </Details>
    </CustVerification>
    - <CustVerification>
    - <Details>
    <src_nr>1234<src_nr />
    <src_state>KY</src_state>
    </Details>
    </CustVerification>
    - <CustVerification>
    - <Details>
    <src_nr>1234<src_nr />
    <src_state>KY</src_state>
    </Details>
    </CustVerification>
    </ROOT>
    Then, in the Output schema for the function call, I had to create a dummy extra schema level also - say 'WS_Call', and put the function call within this structure. The FROM mapping has to be set so that both the input_query level AND the input_query.root level are mapped to the WS_Call schema.
    And then it works!
    Summary -- its a bugger.... but playing with the structure levels (and adding your own at times) and FROM clauses can work!
    Cheers,
    Flip.

  • Problem while calling a Webservice from a Stand alone java program

    Hello Everyone,
    I am using a java program to call a webservice as follows. For this I have generated the client proxy definition for Stand alone proxy using NWDS.
    Now when I call the method of the webservice I am getting the correct result but along with the result I am getting one error and one warning message in the output.
    The java code to call the webservice is as follows.
    public class ZMATRDESCProxyClient {
         public static void main(String[] args) throws Exception {
              Z_MATRDESC_WSDService ws = new Z_MATRDESC_WSDServiceImpl();
              Z_MATRDESC_WSD port = (Z_MATRDESC_WSD)ws.getLogicalPort("Z_MATRDESC_WSDSoapBinding",Z_MATRDESC_WSD.class);
              String res = port.zXiTestGetMatrDesc("ABCD134");
              System.out.print(res);
    The result I am getting is :
    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
    <b>Material Not Found</b> -
    > This is the output of webservice method and it is right.
    Can any one please let me know why I am getting the warning and error message and how can I fix this.
    Thanks
    Abinash

    Hi Abinash,
    I have the same problem. Have you solve that problem?
    I am using a java program to call a webservice too. And I have generated the client proxy definition for Stand alone proxy using NWDS. When I call the method of the webservice I am getting the correct result but along with the result I am getting one error and one warning message in the output.
    The java code to call the webservice is as follows.
    MIDadosPessoaisSyncService service = new MIDadosPessoaisSyncServiceImpl();
    MIDadosPessoaisSync port = service.getLogicalPort("MIDadosPessoaisSyncPort");
    port._setProperty("javax.xml.rpc.security.auth.username","xpto");
    port._setProperty("javax.xml.rpc.security.auth.password","xpto");
    String out = port.MIDadosPessoaisSync("xpto", "xpto");
    System.out.println(out);
    The result I am getting is :
    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
    <b>The result of the WS is correct!!!</b>
    The Java project does not have any warning. But the stand alone proxy project has following warnings associated with it.
    This method has a constructor name     MIDadosPessoaisSync.java     
    The import javax.xml.rpc.holders is never used     MIDadosPessoaisSyncBindingStub.java     
    The import javax.xml.rpc.encoding is never used     MIDadosPessoaisSyncBindingStub.java     
    The constructor BaseRuntimeException(ResourceAccessor, String, Throwable) is deprecated     MIDadosPessoaisSyncBindingStub.java
    It is very similar with your problem, could you help me?
    Thanks
    Gustavo Freitas

  • Deserialization Failed error when calling a SAP Webservice

    Hello,
    I'm trying to call an SAP Webservice from a .NET Mobile application, this particular BAPI expects an array of objects and when I make the call I get a deserialization problems.  I have tried make the array size to 0 but no luck, I have couple of other function modules which are working fine but have a problem with this BAPI BAPI_ALM_ORDEROPER_GET_LIST.
    any help is greatly appriciated.
    Thanks
    Vinay

    Dear Vinay,
    Does your other FM are also using arrays.?
    Deserialization problem comes when xml parser is not able to convert XML schema or values to language specific elements.
    And this problem normally comes if you are using complex data types.
    Can you check once again and reply.
    Regards,
    Piyush

  • Problems while calling the webservice published at XI end

    Hi ,
    I have published a webservice at the XI end and to test it I am calling the webservice from xmlspy .
    I do get the popup for username and password in the xmlspy for the adapter but it fails to send the data to the webservice .
    I even checked the SOAP adapter status in the RWB and its grey. and the installed and started option of adapter monitoring the soap adapter is not shown .
    Can anyone through some light as to what can be the reason behind this .
    is it the problem with the adapter or the webservice
    Thanks
    Nikhil

    HI Ricardo ,
    I have tried that but still I am getting the below error.
    <b>java.lang.Exception: Channel not found for :SIEBEL_DEV:SIEBEL_SOAP in SOAP
         at com.sap.aii.af.mp.soap.web.HelperServlet.processFindChannel(HelperServlet.java:420)
         at com.sap.aii.af.mp.soap.web.HelperServlet.doGet(HelperServlet.java:126)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    </b>
    any other Ideas.
    Thanks
    Nikhil

  • SAP PI calling the webservice generated through BRF+

    Hi All,
    The scenario is
    SAP ECC(IDoc) --> PI --> SAP MII
    . The data coming from ECC in the IDoc will be in a third party format, but we want MII to receive data in SAP format.
    For this we have decided to use BRF. I want to know that how can I use the webservice which we generate from BRF in SAP PI. Which adapter supports calling of webservice or if there is any other section of SAP PI where this transformation can be done using BRF+ webservice? Please help
    Thanks,
    NehaSingh

    Hi,
    The message coming from ECC has values in ISO format and MII needs values in SAP format.  For this conversion to happen I need to use the BRF+ and when I raised the same request on "Business Rule Management/BRF+" forum. I got the following reply.
    ht[Re: Calling web service generated through BRF+ in SAP PI|Re: Calling web service generated through BRF+ in SAP PI]
    Now, Can anyone please help me with answers to following question:
    Since my Source Message is an IDoc, I cannot directly use the RFC that will call the Function Module that I require for format conversion,
    Can I use RFC Lookup to satisfy the requirement. If yes how to go about it. Actually I am using RFC LookUp for the first time, so the basic steps that we need to follow for RFC Lookup are needed. I went through some Blogs but did not understand how it will be applicable in my case. Please Help
    Thanks and Regards,
    NehaSingh

  • SAP XI client calling axis webservice

    Hallo,
    i have the problem, that the sent xml-message from SAP XI will not be processed from my tomcat-webserver. In SOAP-Monitor the Status stays "active", allthough the requestdata doesn´t seem to be dirty. When i try it with my Java-Client, i have no problems. SAP XI is sending data of type String[] and String[][].
    I still tried out all kinds of webservice types(rpc,document,wrapped).
    So, has anybody a hint?
    Thanks!

    Cien dobre Andrzej,
    thank you for your answer. here is zhe way i did it:
    1. Implement busines method foo(String a[],String b[][],String c[][])
    2. generate wsdl with java2wsdl, several times with different styles
    3. generate classes with wsdl2java
    4. Deploy on tomcat
    Then i sent the wsdl to our XI-Specialist and he did all the work on SAP-side.
    When he send a request, i see the following on my SOAPMonitor:
    <SOAP:Envelope xmlns:SOAP='http://schemas.xmlsoap.org/soap/envelop/'>
    <SOAP:Header/>
    <SOAP:Body>
      <ns0:performSAPBestellanstossRequest xmlns:ns0='bestellanstoss'>
        <kopfdaten>
             <item>4500190535</item>
             <item>0000554132</item>
             <item>Wilhelm, Andreas</item>
             <item>2216</item>
        </kopfdaten>
        <positionen>
             <item>
                  <item>00010</item>
             </item>
        </positionen>
        <stueckliste>
             <item>
                  <item>00010</item>
             </item>
         </stueckliste>
       </ns0:performSAPBestellanstossRequest>
    </SOAP:Body>  
    </SOAP:Envelope>
    <SOAP:Envelope xmlns:SOAP='http://schemas.xmlsoap.org/soap/envelop/'>
    <SOAP:Header/>
    <SOAP:Body>
      <ns0:performSAPBestellanstossRequest xmlns:ns0='bestellanstoss'>
        <a>
             <item>4500190535</item>
             <item>0000554132</item>
             <item>Wilhelm, Andreas</item>
             <item>2216</item>
        </a>
        <b>
             <item>
                  <item>00010</item>
             </item>
        </b>
        <c>
             <item>
                  <item>00010</item>
             </item>
         </c>
       </ns0:performSAPBestellanstossRequest>
    </SOAP:Body>  
    </SOAP:Envelope>
    This request will not be processed:
    When i use my generated AXIS-Client i see the following request data, that will be processed:
    <?xml version="1.0" encoding="UTF-8"?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelop/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <soapenv:Body>
        <nsl:performSAPBestellanstoss soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:nsl="bestellanstoss">
          <a xsi:type="soapenc:Array" soapenc:arrayType="xsd:anyType[2]" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
             <item xsi:type="xsd:string">xxxxxx</item>
             <item xsi:type="xsd:string">xxxxxx</item>
          </a>
          <b xsi:type="soapenc:Array" soapenc:arrayType="xsd:anyType[][1]" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
             <item xsi:type="soapenc:Array" soapenc:arrayType="xsd:anyType[][2]">
                  <item xsi:type="xsd:string">xxxxxx</item>
                  <item xsi:type="xsd:string">xxxxxx</item>
             </item>
          </b>     
          <c xsi:type="soapenc:Array" soapenc:arrayType="xsd:anyType[][1]" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
             <item xsi:type="soapenc:Array" soapenc:arrayType="xsd:anyType[][2]">
                  <item xsi:type="xsd:string">xxxxxx</item>
                  <item xsi:type="xsd:string">xxxxxx</item>
             </item>
          </c>
        </nsl:performSAPBestellanstoss>    
      </soapenv:Body>   
    </soapenv:Envelope>
    So maybe you can give me more hints
    Regards Ralf

  • Can we call a webservice which is defined outside SAP system from ABAP

    Hi All,
      i am very new to the ABAP. i would like to know how we can call a webservice which is defined in some other system from the ABAP code. if you are providing any sample code then it will be very help ful for me.
    Thanks in advance.
    - Siva

    yes its possible. check out the weblog
    /people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap
    Regards
    Raja

  • Problem calling WebService from Oracle Forms created by JDeveloper

    Hi All,
    I am trying to call a Webservice from Oracle Form using JAVA Class created by Oracle JDeveloper.
    The Java Function (in JDeveloper) is as follows:
    public Vector GetPIValue(String TagName, String ReadingTime) throws Exception
    URL endpointURL = new URL(endpoint);
    Envelope requestEnv = new Envelope();
    Body requestBody = new Body();
    Vector requestBodyEntries = new Vector();
    requestBodyEntries.addElement(TagName);
    requestBodyEntries.addElement(ReadingTime);
    requestBody.setBodyEntries(requestBodyEntries);
    requestEnv.setBody(requestBody);
    Message msg = new Message();
    msg.send(endpointURL, "http://tempuri.org/GetPIValue", requestEnv);
    Envelope responseEnv = msg.receiveEnvelope();
    Body responseBody = responseEnv.getBody();
    return responseBody.getBodyEntries();
    When this Class is Imported into Oracle Forms the Function is converted into the following PL/SQL code:
    FUNCTION GetPIValue(
    obj ORA_JAVA.JOBJECT,
    a0 VARCHAR2,
    a1 VARCHAR2) RETURN ORA_JAVA.JOBJECT IS
    BEGIN
    Message('param passed: '||a0||' - '||a1);
    cls := JNI.GET_CLASS('oracle/forms/demos/webservice/ConnectToPIStub');
    mid := JNI.GET_METHOD(FALSE, cls, 'GetPIValue', '(Ljava/lang/String;Ljava/lang/String;)Ljava/util/Vector;');
    args := JNI.CREATE_ARG_LIST(2);
    JNI.ADD_STRING_ARG(args, a0);
    JNI.ADD_STRING_ARG(args, a1);
    Message('I am Here');
    RETURN JNI.CALL_OBJECT_METHOD(obj, mid, args);
    END;
    When I am calling this Function from Within Forms and Passing into it the Parameters, I am displaying some Debugging Messages. When the Code reaches "JNI.CALL_OBJECT_METHOD" there is NO RESPONSE from the Webservice and nothing is moving forward after this Point...
    A similar Webservice that can be Tested is:
    http://www.webservicex.com/CurrencyConvertor.asmx
    with WSDL file:
    http://www.webservicex.com/CurrencyConvertor.asmx?wsdl
    Kindly note that this Webservice is running properly from the Web Browser but the call from Oracle Forms is not Succeeding!!!! :-((
    Any help is much appreciated.
    Regards,
    Baz

    Hi,
    Yes, you need to compile your source files with JDK 1.3 (since JInit 1.3.x.x uses JDK 1.3).
    Other solution would be to use JRE 1.5 (instead of JInitiator).
    Check out [this thread|http://forums.oracle.com/forums/thread.jspa?threadID=550563] on how to use JRE1.5
    -Arun

  • Problem calling WebService from XI scenario

    Hi forum,
    i trued to make a scenario to call a webservice from my XI scenario, i made it using the following blog :
    /people/bhavesh.kantilal/blog/2006/11/20/webservice-calls-from-a-user-defined-function
    I have configured a receiver SOAP channel and has mentioned the Target URL as
    http://www.webservicex.net/CurrencyConvertor.asmx
    now the scenario gives the error in the communication channel monitoring in RWB as
    SOAP: call failed: java.net.UnknownHostException: www.webservicex.net
    but from my local machine i can access this URL, ....can u pls site the defect

    Hi sudeep,
         Specify the proxy address details like address and port. and also check the soap receiver channel properly configured or not.
    Regards,
    Deviprasad Pothireddi.

Maybe you are looking for

  • Print format problem in report

    I have a tabular reports with several repeating frames.For each record of the outer repeating frame, I have multiple records in the inner repeating frame. My problem is if the inner repeating frame cannot fit within a page , it does not overflow to t

  • Media Centre 3 Security Settings MEGA barebone

    Hi, I am having problems getting the MSI Media Centre Deluxe 3 to run properly my MEGA 865 on user accounts in Windows XP. It works fine in the Administrator account, however when it comes to the User account the program wouldn't start. I then gave t

  • Ho to make a read only / disabled input text mandatory?

    Hi All, I'm using ADF to display data for a human task. Part of my requirement is to display a payload attribute as an output text/ read only input text. If this is null, the form should compel the user to choose from a list of values. How do I make

  • Converting httpSession creation time to Date format

    I have the need to convert the value returned from httpSession.getCreationTime() to a Date format. The value returned from getCreationTime is long. I need to parse this value into 2 other fields. The first needs to be in year, month, day format. The

  • Any pointers to xml or xsd forums?

    Hi, R there any forums for xml and xsd?