Webservice Standalone Proxy Jars

Hi,
does anybody know which jars to provide for a standalone client proxy and where these can be found?
Thank you in advance and kind regards,
Heiko

Hi William,
I have included the following libs in my classpath and it works:
activation.jar
boot.jar
exception.jar
iq-lib.jar
jaxm-api.jar
jaxrpc-api.jar
jnet.jar
jsse.jar
logging.jar
mail.jar
saaj-api.jar
sapxmltoolkit.jar
tc_sec_wssec_lib.jar
util.jar
webservices.jar
webservices_api.jar
webservices_lib.jar
Cheers,
Heiko

Similar Messages

  • Integrate Standalone Proxy into EJB-Module

    Hello,
    I want to integrate a webservice-call into a standalone EJB-Method.
    Therefore I have created a standalone proxy DC and added public parts of type "assembly" and of type "compilation".
    After creating a DC of type EJB-Module I reference the standalone proxy as used dc in my new EJB-Module project.
    I CAN build the new EJB-Module DC. However when I look at the generated jar-file, the classes of the standalone proxy ARE NOT included.
    Therefore (after generating a DC of Type EAR-Project) the deployment process returns with an error as referenced classes of the webservice proxy cannot be loaded. All EJB-Classes are included
    in the EAR-File, but classes of the standalone proxy are missing.
    Does anybody know in which way have to reference the webservice libraries (=the webservice standalone-proxy) so that they are included in my EJB-JAR-File?
    PS: I don't want to replace the standalone proxy by a deployable proxy, if that is possible!
    Thanks for your help!
    Andreas

    Hi Andreas,
    here a link for more information:
    <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/87/5305adc23540b8ac7bce08dbe96bd5/frameset.htm">http://help.sap.com/saphelp_nw2004s/helpdata/en/87/5305adc23540b8ac7bce08dbe96bd5/frameset.htm</a>
    Regards,
    Boris

  • Unable to create standalone proxy(webservice) in SAP NWDS 7.3

    I have to consume webservice from third party system.
    1. I have imported the WSDL.
    2. I selected the Java DC and trying to generate client , but getting message like "Specified project is a java project"
    From Hook DC i have to call webservice that's why going for standalone proxy.

    Hi Akhilesh,
    Were you able to resolve this issue. If yes, please let us know as we are also facing the same issue.
    We've even tried with J2ee DC, but in that case we are getting some other issue.
    BR,
    Anurag

  • Got error when trying to generate Java proxy jar file for webservice

    Hi,
    I am having a warning message when trying to generate java proxy jar file on weblogic8.1
    webservice test web app, the message is as follows:
    "Warning Failed to generate client proxy from WSDL definition for this service.
    Prescription Please verify the <types> section of the WSDL."
    in the mean time, on weblogic starting terminal, I saw the following exceptions,
    C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
    t\schema\modifypnr\AlphaLength4Deserializer.java:36: cannot resolve symbol
    symbol : class FacetUtils
    location: package binding
    weblogic.xml.schema.binding.FacetUtils.checkLengthFacet(__typed_obj,4L);
    ^
    C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
    t\schema\modifypnr\OSIFieldAnonTypeDeserializer.java:36: cannot resolve symbol
    symbol : class FacetUtils
    location: package binding
    weblogic.xml.schema.binding.FacetUtils.checkMaxLengthFacet(__typed_obj,69L);
    ^
    C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
    t\schema\modifypnr\AlphaLength2Deserializer.java:36: cannot resolve symbol
    symbol : class FacetUtils
    location: package binding
    weblogic.xml.schema.binding.FacetUtils.checkLengthFacet(__typed_obj,2L);
    ^
    C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
    t\schema\modifypnr\FreeFormAnonTypeDeserializer.java:36: cannot resolve symbol
    symbol : class FacetUtils"
    Can anybody help me about this issue? I attached WSDL file, also United Airlines
    got an enterprise weblogic license deal with BEA, any help will be highly appreciated.
    Thanks!!!
    Naichen
    [ModifyPNRWSContract.wsdl]

    Hi Naichen,
    I was able to successfully run both the autotype and clientgen Ant task, on the
    WSDL you provided. The code behind those Ant tasks are pretty much what the WebLogic
    Web Services test page run. Are you using WLS 8.1 SP2? If not, you might want
    to try with that version.
    Regards,
    Mike Wooten
    "Naichen Liu" <[email protected]> wrote:
    >
    >
    >
    Hi,
    I am having a warning message when trying to generate java proxy jar
    file on weblogic8.1
    webservice test web app, the message is as follows:
    "Warning Failed to generate client proxy from WSDL definition for this
    service.
    Prescription Please verify the <types> section of the WSDL."
    in the mean time, on weblogic starting terminal, I saw the following
    exceptions,
    C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
    t\schema\modifypnr\AlphaLength4Deserializer.java:36: cannot resolve symbol
    symbol : class FacetUtils
    location: package binding
    weblogic.xml.schema.binding.FacetUtils.checkLengthFacet(__typed_obj,4L);
    ^
    C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
    t\schema\modifypnr\OSIFieldAnonTypeDeserializer.java:36: cannot resolve
    symbol
    symbol : class FacetUtils
    location: package binding
    weblogic.xml.schema.binding.FacetUtils.checkMaxLengthFacet(__typed_obj,69L);
    ^
    C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
    t\schema\modifypnr\AlphaLength2Deserializer.java:36: cannot resolve symbol
    symbol : class FacetUtils
    location: package binding
    weblogic.xml.schema.binding.FacetUtils.checkLengthFacet(__typed_obj,2L);
    ^
    C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
    t\schema\modifypnr\FreeFormAnonTypeDeserializer.java:36: cannot resolve
    symbol
    symbol : class FacetUtils"
    Can anybody help me about this issue? I attached WSDL file, also United
    Airlines
    got an enterprise weblogic license deal with BEA, any help will be highly
    appreciated.
    Thanks!!!
    Naichen

  • WebService: The difference between Deployable proxy & Standalone proxy

    Hi all,
    The help document tell me the difference between Deployable proxy & Standalone is the former can be deploy while the latter can not.
    Now I know how to use a standalone proxy, but now I would like to call a ws in web application, I need a deployable one.
    After autogenerate, to my surprise, there's no implementation class in SEI!
    As know to all, if this proxy we call it 'zHello'
    as a standalone proxy, we have four files in SEI
    ZHellows.java
    ZHellowsService.java
    ZHellowsServiceImpl.java
    ZHellowsSoapBindingStub.java
    use the follow segment can do the job.
    ZhellowsService service = new ZhellowsServiceImpl();
    Zhellows hello = service.getLogicalPort();
    System.out.println(hello.zHello("testit"));
    but what I found in the SEI of a deplyable proxy is just 2 interface of them:
    ZHellows.java
    ZHellowsService.java
    This time I do not know how to use this proxy, shall I implement it first?

    Hi William,
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/45/f957507cb343f78e818c50620ed5ca/frameset.htm">Deployable versus Standalone Proxies</a>
    Best regards, Maksim Rashhcynski.

  • Including helper classes in java proxy jar file

    I must not be using the right header search criteria because I'm sure this question
    has been asked before. In a Web Service File (.jws) I've imported a couple of
    helper classes that function as data transfer objects. I did this to maintain
    consistency with other portions of the application. The Java Proxy jar file generated
    by Workshop does not include these files. Is there a way of including these dependencies
    or do I need to distribute another jar file with my helper classes?

    Hi Naichen,
    I was able to successfully run both the autotype and clientgen Ant task, on the
    WSDL you provided. The code behind those Ant tasks are pretty much what the WebLogic
    Web Services test page run. Are you using WLS 8.1 SP2? If not, you might want
    to try with that version.
    Regards,
    Mike Wooten
    "Naichen Liu" <[email protected]> wrote:
    >
    >
    >
    Hi,
    I am having a warning message when trying to generate java proxy jar
    file on weblogic8.1
    webservice test web app, the message is as follows:
    "Warning Failed to generate client proxy from WSDL definition for this
    service.
    Prescription Please verify the <types> section of the WSDL."
    in the mean time, on weblogic starting terminal, I saw the following
    exceptions,
    C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
    t\schema\modifypnr\AlphaLength4Deserializer.java:36: cannot resolve symbol
    symbol : class FacetUtils
    location: package binding
    weblogic.xml.schema.binding.FacetUtils.checkLengthFacet(__typed_obj,4L);
    ^
    C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
    t\schema\modifypnr\OSIFieldAnonTypeDeserializer.java:36: cannot resolve
    symbol
    symbol : class FacetUtils
    location: package binding
    weblogic.xml.schema.binding.FacetUtils.checkMaxLengthFacet(__typed_obj,69L);
    ^
    C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
    t\schema\modifypnr\AlphaLength2Deserializer.java:36: cannot resolve symbol
    symbol : class FacetUtils
    location: package binding
    weblogic.xml.schema.binding.FacetUtils.checkLengthFacet(__typed_obj,2L);
    ^
    C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
    t\schema\modifypnr\FreeFormAnonTypeDeserializer.java:36: cannot resolve
    symbol
    symbol : class FacetUtils"
    Can anybody help me about this issue? I attached WSDL file, also United
    Airlines
    got an enterprise weblogic license deal with BEA, any help will be highly
    appreciated.
    Thanks!!!
    Naichen

  • Error calling[Standalone proxy]uFF1Aexternal web service(SSL + anonymous)

    hi SDNer
          I use Standalone proxy to call external web service(SSL + anonymous)
    web service Endpoint is : https://localhost:8443/HelloWorldService/services/HelloWorld
    NWDS VERSION: NWDS-IDE-700SP12
    Standalone SEI is :
    HelloWorld
    HelloWorldHttpBindingStub
    HelloWorldImpl
    HelloWorldPortType
    Calling Code as following:
                   //1. Access the implementation class of the service interface
                   HelloWorldImpl ws = new HelloWorldImpl();
                   //2. Create the instance of a logical port
                   Remote remote = ws.getLogicalPort();
                   HelloWorldHttpBindingStub stub = (HelloWorldHttpBindingStub) remote;
                   //3.
                   SecurityProtocol securityProtocol =
                        (SecurityProtocol) stub._getGlobalProtocols().getProtocol(
                             "SecurityProtocol");
                   AuthenticationContext ac =
                        securityProtocol.getAuthenticationContext();
                   ac.setIgnoreSSLServerCertificate(true);
                   //4. invoke the business methods
                   String ver = stub.example(str1, str2);
    Exception is :
    java.rmi.RemoteException: Service call exception; nested exception is:
         iaik.security.ssl.SSLException: Peer sent alert: Alert Fatal: handshake failure
         at com.sap.ws.HelloWorldHttpBindingStub.example(HelloWorldHttpBindingStub.java:84)
         at com.sap.ws.HelloWorldHttpBindingStub.example(HelloWorldHttpBindingStub.java:94)
         at TestHelloWorld.wsHelloWorld(TestHelloWorld.java:55)
         at TestHelloWorld.main(TestHelloWorld.java:24)
    Caused by: iaik.security.ssl.SSLException: Peer sent alert: Alert Fatal: handshake failure
         at iaik.security.ssl.r.f(Unknown Source)
         at iaik.security.ssl.x.b(Unknown Source)
         at iaik.security.ssl.x.a(Unknown Source)
         at iaik.security.ssl.r.d(Unknown Source)
         at iaik.security.ssl.SSLTransport.startHandshake(Unknown Source)
         at iaik.security.ssl.SSLTransport.getOutputStream(Unknown Source)
         at iaik.security.ssl.SSLSocket.getOutputStream(Unknown Source)
         at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.initStreamsFromSocket(HTTPSocket.java:669)
         at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.initializeStreams(HTTPSocket.java:470)
         at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.getOutputStream(HTTPSocket.java:427)
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.HTTPTransport.getRequestStream(HTTPTransport.java:355)
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.outputMessage(MimeHttpBinding.java:550)
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1432)
         at com.sap.ws.HelloWorldHttpBindingStub.example(HelloWorldHttpBindingStub.java:77)
         ... 3 more

    Hi
    Answer is pure assumption
    The error "iaik.security.ssl.SSLException: Peer sent alert: Alert Fatal: handshake failure" is mentioned in the the OSS note
    Note 1157248 - SAP Business Connector with SSL / Common Problems
    Pls take opinion from SAP / Basis before implementing the note
    Regards
    Madhan D

  • Configuring Standalone Proxy with Enterprise Portal Application

    Hi All,
    I am attempting to set up a standalone proxy DC for use inside of an enterprise portal application DC (deployable).  I successfully created the standalone proxy and I created an API public part as well as an SDA public part, both of which contain all of the classes from the standalone proxy.  In my deployable portal application, I have included both of these public parts in the Used DCs.  At compilation, everything is fine, and NWDS recognizes the API and does not give any errors with references to the proxy classes while coding or building the application.  However, after deploying and running the application, I receive a NoClassDefFound error for the proxy classes at runtime.  I have worked with using APIs/SDAs a lot in other types of DCs (EARs, WebDynpro, etc.), and simply including the SDA as part of the used DCs has always worked fairly simply, however I am still relatively new to using Portal Application DCs, so I am not sure if I am doing something incorrectly in this situation.  Any light you could shed on the situation would be a great help.  Thanks.

    Hello-
    I believe you need to do the following.  In your standalone DC, create two public parts, one for compiliationand one for assembly (the two radio buttons on the first screen when you create public part wizard).
    Then in your PAR Standalone DC, reference both public parts as used DCs.  The jar file from the Standalone Proxy DC will be packaged into the EP Build results and deployed with the PAR file.
    Let me know if this works for you.
    Thanks,
    Marty

  • Error while activating webservice-consumer-proxy

    Hi,
    I'm trying to generate a webservice-consumer-proxy from a Salesforce.com-WSDL-File. When trying to activate the proxy I receive an error-message from class CX_ESD_EXCEPTION stating "Beim Aktivieren des Proxys ist ein Fehler aufgetreten." (in english: "Error occured when activating the proxy"). The WSDL-File is SOAP-Version 1.1, Document/Literal.
    Thank you very much in advance,
    Olli
    [SAP Consulting by mindsquare|http://mindsquare.de]

    I have a similar issue and it says that the reason is one of the exception classes in XML  in not derived from either cx_static_check or cx_dynamic_check.  
    Please let me know if anyone have ideas how to resolve this

  • Error in soap header when use webservice consumer proxy

    Hi all,
    I create a webservice consumer proxy to external server. the webservice provider is .Net  and it required a message level security.
    The soap message should include a soap header, like this:
    <SOAP-ENV:Header>
    <m:AuthHeader xmlns:m="http://tempuri.org/">
    <m:Username>test1</m:Username>
    <m:Password>test</m:Password>
    </m:AuthHeader>
    </SOAP-ENV:Header>
    I have found many information from here. Now I used  IF_WSPROTOCOL_WS_HEADER in my program, like this:
    REPORT  zws_jp_test01.
    DATA: lo_zws_jp_co_service_soap TYPE REF TO zws_jp_co_service_soap .
    DATA: lo_fault TYPE REF TO cx_ai_system_fault.
    DATA: lo_appl_fault TYPE REF TO cx_ai_application_fault.
    TRY.
        CREATE OBJECT lo_zws_jp_co_service_soap
          EXPORTING
            logical_port_name = 'ZWS_JP_LP4'.
      CATCH cx_ai_system_fault INTO lo_fault.
        MESSAGE lo_fault TYPE 'I'.
    ENDTRY.
    DATA: output TYPE zws_jp_create_job_ad_soap_out .
    DATA: input TYPE zws_jp_create_job_ad_soap_in .
    DATA: lr_ws_header TYPE REF TO if_wsprotocol_ws_header.
    DATA: lv_name TYPE string,
          lv_namespace TYPE string.
    DATA l_xstring TYPE xstring.
    DATA l_string TYPE string.
    DATA: ixml TYPE REF TO if_ixml,
         xml_document TYPE REF TO if_ixml_document,
         xml_root TYPE REF TO if_ixml_element,
         xml_element TYPE REF TO if_ixml_element,
         xml_node TYPE REF TO if_ixml_node.
    lr_ws_header ?= lo_zws_jp_co_service_soap->get_protocol(
                                               if_wsprotocol=>ws_header ).
    CONCATENATE
      '<SOAP-ENV:Header>'
        '<m:AuthHeader xmlns:m="http://tempuri.org/">'
          '<m:Username>test1</m:Username>'
          '<m:Password>test</m:Password>'
        '</m:AuthHeader>'
      '</SOAP-ENV:Header>'
    INTO l_string.
    l_xstring = cl_proxy_service=>cstring2xstring( l_string ).
    CALL FUNCTION 'SDIXML_XML_TO_DOM'
      EXPORTING
        xml           = l_xstring
      IMPORTING
        document      = xml_document
      EXCEPTIONS
        invalid_input = 1
        OTHERS        = 2.
    IF sy-subrc = 0 AND NOT xml_document IS INITIAL.
      xml_root = xml_document->get_root_element( ).
      xml_element ?= xml_root->get_first_child( ).
      WHILE NOT xml_element IS INITIAL.
        lv_name = xml_element->get_name( ).
        lv_namespace = xml_element->get_namespace_uri( ).
        lr_ws_header->set_request_header(
            name            = lv_name
            namespace       = lv_namespace
            dom             = xml_element
            must_understand = SPACE
        xml_element ?= xml_element->get_next( ).
      ENDWHILE.
    ENDIF.
    input-job_ad-id = 0.
    input-job_ad_text-id = 0.
    input-job_ad-publish_location = 1.
    TRY.
        CALL METHOD lo_zws_jp_co_service_soap->create_job_ad
          EXPORTING
            input  = input
          IMPORTING
            output = output.
      CATCH cx_ai_system_fault INTO lo_fault .
        MESSAGE lo_fault TYPE 'I'.
      CATCH cx_ai_application_fault INTO lo_appl_fault.
        MESSAGE lo_appl_fault TYPE 'I'.
        WRITE: output-create_job_ad_result-id.
    ENDTRY.
    But there is error when I run this program. the error is "SoapFaultCode:1"
    In tcode ST11, I see this log:
    E SOAP_RUNTIME 20100624004837.9280000 : CL_SOAP_RUNTIME_CLIENT
    ->EXEC_PROCESSING SOAP Fault Exception caught: : SOAP header To
    was not understood.
    btw the release is  701.
    Any one can navigate me to solved the problem?

    Hi,
      I have the same problem as you did before and I posted my code in this [thread|Change SOAP Header: Consuming Webservice;.
      In order to to solve your problem, I need to know what is the header that you want to add into the header, what is WSDL, and have you try testing that web service using other tool such as SOAPUI or XMLSPY and what is the result of testing tool?
    Regards,
    Chaiphon

  • Webservice to proxy - response back to webservice

    Hello expert,
    I am working on webservice to proxy scenario. When request to create purchase order received by PI thru webservice, PI will do proxy call to create purchase order in ECC and send response back.
    We don't want to send ECC response back to Webservice, but we would like to send positive response back as soon as PI recieve the message irrespective of what happens in ECC.
    Need some advise.
    thanks.

    >We don't want to send ECC response back to Webservice, but we would like to send positive response back as soon as PI recieve the message irrespective of what happens in ECC.
    One way of doing is after sending request to ecc, you can code in proxy as response in the same interface with single field element like mesg receiveed and map that response to soap response on the sender side. (in this case you dont really process the soap request in ecc directly. you do it at later or convenient time or after sending success transfer message).  Basically you handle logic in abap proxy side.
    Mapping 1 soap request to proxy request (Per business requirement)
    Mapping 2  proxy response (status : messg received ) to soap response
    Rest are all same. Basically you do SOAP (sender) to PRoxy (receiver)   synchronous mode
    If you dont want to pass the soap request message directly to ECC and within that timeframe want to send successful mesg from pI itself then you have to design to store the mesg temporarily. What will happen if your ecc is down? How do you handle that situation.

  • Webservice to proxy

    Hi all,
    I am doing webservice to proxy scenario, the message was suucessfully came from webservice but the message is not reaching to application system.
    in sxmb_moni i can see the error like this:
    The URL http://sapqec.sap.lonmin.net:8011/sap/xi/engine was not called due to an error
    Can any one please help me what was the wong?
    Kind Regards,
    kiran

    kiran,
    when doing webservice to proxy, you must ensure that the message which is going out from XI engine to the R/3 must be exactly the same as the R/3 is needed.
    Check your proxy in SOAP tester and then check the message which is coming out from XI ( you can use any TCPmonitoring tools) or the message in Receiver.
    Try Document Style WSDL instead of RPC style would make it run
    regards,
    nikhil

  • Modify Messages Generated by Deployable/Standalone Proxy

    In our project, our application sends out SOAP message via deployable or standalone proxy to call a web service. However, the web service provider requries some non-standard requirements to the message. E.g. the namespace prefix of an element must be "abc" instead of arbitrary
    value. So we hope to intercept the SOAP message and modify it. Is there any "handler" or "hook" mechanism for web service proxy to achieve this goal? Or could we get some other workarounds?
    Best Regards
    Jerome

    Hi Andreas,
    here a link for more information:
    <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/87/5305adc23540b8ac7bce08dbe96bd5/frameset.htm">http://help.sap.com/saphelp_nw2004s/helpdata/en/87/5305adc23540b8ac7bce08dbe96bd5/frameset.htm</a>
    Regards,
    Boris

  • Standalone proxy client, uknown source!

    Hello experts,
    I am working on a simple standalone java client to test a web service. When I run, I get following stack trace:
    at $Proxy18.salesOrderCreateOut(Unknown Source)
         at test.StandaloneClient.main(StandaloneClient.java:58)
    Caused by: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file:  java.naming.factory.initial
         at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
         at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
         at javax.naming.InitialContext.getURLOrDefaultInitCtx(Unknown Source)
         at javax.naming.InitialContext.lookup(Unknown Source)Here is the code:
         public static void main(String[] args) {
              // TODO Auto-generated method stub
              try {
                   SalesOrderCreateOutService service = new SalesOrderCreateOutService();
                   SalesOrderCreateOut servicePort = service.getSalesOrderCreate_Out_Port();
                   javax.xml.ws.BindingProvider bp = (javax.xml.ws.BindingProvider) servicePort;
                   Map<String, Object> context = bp.getRequestContext();
    //               context.put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, "<URL>.wsdl");
                   context.put(BindingProvider.USERNAME_PROPERTY, "USER");
                   context.put(BindingProvider.PASSWORD_PROPERTY, "PWD");
                   SalesOrderResponse response = null;
                   Project salesOrderCreateRequest = new Project();
                   Header header = new Header();
                   header.setTitle("EAST COAST SHEET METAL MOTOR WARRANTY");          
                   salesOrderCreateRequest.setHeader(header);
                   try {
                        response = servicePort.salesOrderCreateOut(salesOrderCreateRequest);
                   } catch (SalesOrderError_Exception e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                   TRETURN treturn = response.getTRETURN();
                   Iterator ls = treturn.getItem().iterator();
                   while(ls.hasNext()){
                        TRETURN.Item tempItem = (TRETURN.Item)ls.next();
                        System.out.println(tempItem.getMESSAGE());
                        break;
              } catch (MalformedURLException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
    Exception is at the bold line.
    Any clues, how to fix this...

    Hi,
    Deployable versus Standalone Proxies
    SAP Web AS Java provides two types of Web service proxies:
    deployable proxy u2013 a Web service client that must be deployed on the J2EE Engine as an application.
    standalone proxy u2013 a Web service client that generates stubs and runs without the J2EE Engine. This proxy can be used only with the release for which it has been generated.
    Although both proxies have similar functions, there are some fundamental differences.
    For the standalone proxy, a stub must be generated and the names and class names of the transport bindings, protocols, and transports that are used must be provided. The drawbacks of this approach are that if a name of a component is changed or requires some modifications, the stub is no longer valid and the whole proxy needs to be regenerated.
    On the other hand, with the deployable proxy all information is either generated during deployment or is retrieved at runtime. Therefore, the deployable proxies are to a certain degree protected from runtime changes.
    For both types of proxies, ServiceInterface and ServiceImpl classes are generated. Their names are derived from the service name of the WSDL that is used to generate the particular proxy.
    For the deployable proxies, only the ServiceInterface is generated at the design time. The client assigns a JNDI name under which the ServiceImpl instace is bound at runtime. The JNDI name is relative to the java:comp/env/ context, which is the default for all J2EE components.
    // for Deployed WS Clients
    import javax.naming.InitialContext;
    InitialContext ctx = new InitialContext();
    FooServiceInterface fsi = (FooServiceInterface)ctx.lookup(u201Cjava:comp/env/FooServiceu201D);
    At deployment, the service implementation and the service stub are generated. To take the service implementation for the standalone proxy, the generated class must be instantiated:
    FooServiceInterface fsi = new FooServiceInterfaceImpl();
    Regards
    Surender Dahiya

  • Error: C:\jdevstudio10133\webservices\lib\jaxr_api.jar

    Hi all,
    I newly creating asynchronous web service using jdeveloper editor and then bpel process with pl/sql web service but my system given following error
    Error: C:\jdevstudio10133\webservices\lib\jaxr_api.jar (The system cannot find the file specified)
    any bodies know how solve this problem i need jaxr_api, jaxr_impl jar files how can download this files.

    Creating a WS client in a BPEL project breaks BPEL compilatiopn, that's easy to reproduce.
    I dont' know how you can fix this without getting rid of the WS client, but if you want to keep the BPEL and are happy to remove the WS client, then proceed as follows:
    - delete the src directory
    - remove the "oracle.jdevimpl.config.JProjectLibraries" and "ownerMap" sections in the *.jpr.
    - restart JDev
    After this you should be able to compile the BPEL again.

Maybe you are looking for

  • Handling events in javascript which are generated by embedded applet

    I am having an tipical requirement , In my HTML page there is an embedded applet . This applet is going to generate custom events . I would like to handle that events in javascript which are generated from applet . I mean that javascript has to get a

  • The first DVD menu doesn't support "clicking" with the cursor

    I just created a disc image of my iDVD project and I have found that when I run it using the DVD Player, I can't navigate the first DVD menu with the cursor. The only way I can move through it is by using the arrow keys and then pressing "return" or

  • Custom fields in ME21n ,step by step procedure/weblog ?

    I need to add a custom field zz1 to ME21N transaction at header level and make it available for input in the screen. Is there any step by step proceurec/approach which is generic for adding this functionality to any standard transaction? Rgds, Ajay

  • IMovie to iPhoto

    A simple question? How do you create a still frame or photo from iMovie "08" and import it into iPhoto? I am using iLife 08. Thanks for listening...

  • Loading icons from a jar

    Hi all, I've got my application that loads icons from a relative path, such as "img/tree/menu.png". While running outside the jar it works fine, but when I create a jar of my filesystem I cannot load the icon (i.e., it is not found). The jar of cours