I need an example of CXF webservice to deploy on Weblogic 10.3.2 Portal Server

Hi All,
I was struggling to deploy a simple CXF Webservice over WeblogicPortal 10.3.2. Can someone give steps using maven?
Regards,
Swaroop Kunduru.

Hi,
Reproducing this issue is very easy.....
1). Just Create a Admin and Managed Server
2). Start AdminServer then from Admin Console Disable the normal listen-port for admin Server (suppose it was 7001 disable it)....AND enable only the SSL port for Admin Server (example 7002).
Managed Server (Listen Port=7003 and SSL ListenPort=7004)
3). Now Try Start Managed Server.
you wil get the Exact same exception
<Jan 20, 2010 6:03:19 PM CST> <Error> <Configuration Management> <BEA-150000> <An error occurred while establishing a connection back to the adminstration server t3://140.126.24.25:6001 during startup. Since bootstrap succeeded check that t3://140.126.24.25:6001 uniquely identifies the administration server.
javax.naming.ServiceUnavailableException [Root exception is java.rmi.NoSuchObjectException: The object identified by: '31' could not be found. Either it was has not been exported or it has been collected by the distributed garbage collector.]
And
<Emergency> <Management> <BEA-141151> <The admin server could not be reached at http://140.126.24.25:6001.>
Now it will be easy for us to find out where is the issue actually.
Thanks
Jay SenSharma
http://jaysensharma.wordpress.com (WebLogic Wonders Are Here)
Edited by: Jay SenSharma on Feb 24, 2010 4:15 PM

Similar Messages

  • Example web service will not deploy in WebLogic Server 9.2

    This example:
    http://e-docs.bea.com/wls/docs92/webserv/use_cases.html#wp210789
    fails to deploy the war with the following exception:
    BUILD FAILED
    D:\dev\user_projects\webServiceDomain\myExamples\hello_world\build.xml:52: weblogic.Deployer$DeployerException: weblogic.deploy.api.tools.de
    ployer.DeployerException: Task 0 failed: [Deployer:149026]deploy application helloWorldEar on AdminServer.
    Target state: deploy failed on Server AdminServer
    com.bea.xml.XmlException: failed to load java type corresponding to e=application@http://java.sun.com/xml/ns/javaee
    Does anyone know of a workaround?

    This works with WLS 10.0. Make sure you use the same version of the domain wizard as your 'setenv' command $WLS_HOME env var references (eg, wls 10.0)

  • Any examples on Adaptive Webservice Models?

    RequestDetailsData is the node to which I need to set values and execute it.
    Example :
    wdContext.currentRequestDetailsDataElement().setRequestReason(wdContext.currentContextElement().getReqReason());
    I have debugged and found that wdContext.currentRequestDetailsDataElement() is null
    Before setting values to this node do i need to write any code like create new node or new element
    Can any provide sample examples on Adaptive Webservice Models
    Thanks

    hi
    check this SAP document on Webservice
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/900bbf94-a7a8-2910-e298-a651b4706c1e&overridelayout=true
    also check this link  on abap to webservice links
    Adaptive web service model : tutorial ?
    /people/bertram.ganz/blog/2005/10/10/how-to-reimport-web-service-models-in-web-dynpro-for-java
    /people/anilkumar.vippagunta2/blog/2006/12/13/secured-webservices-ii
    /people/kumar.prashant4/blog/2006/07/14/using-rfc-as-webservice-in-webdynpro
    http://www.sdn.sap.com/irj/scn/advancedsearch?query=adaptivewebservicemodel+

  • How to authenticate CXF-Webservice against external LDAP in WebLogic?

    Hi there,
    I'm trying to integrate our Camel-application into WebLogic 12c. All the incoming endpoints are CXF-based webservices. These are secured by "UsernameToken Timestamp" with the WSS4JInInterceptor configured like this:
    <bean id="wss4jInInterceptor" class="org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor">
              <constructor-arg>
                   <map>
                        <entry key="action" value="UsernameToken Timestamp" />
                        <entry key="passwordType" value="PasswordDigest" />
                        <entry key="passwordCallbackClass"
                             value="de.mycompany.camel.cxf.UserTokenCallbackHandler" />
                   </map>
              </constructor-arg>     
    </bean>
    My problem is: WSS4JInInterceptor expects the UserTokenCallbackHandler to return the password of the user delivered in the header <wsse:Username>. Is there any way to retrieve this from an external LDAP configured in WebLogic? I've already managed to retrieve the users, groups etc with JMX (javax.management.MBeanServerConnection and weblogic.security.providers.authentication.LDAPAuthenticatorMBean), but I can't figure out how to authenticate the user against the LDAP, i. e. retrieve the password.
    Or am I heading in a completely wrong direction and this is not the way to achieve authentication for CXF-Webservices in WebLogic?
    Please give me a hint (code-snippets preferred ;-) ) how to solve this.
    Regards,
    Frank

    I have run into the exact same situation ? Did you ever get around this ? If so, how ? Please let me know.

  • Need help about setting timeout webservice client.

    Hi,
    I trying to set timeout before make call to the webservices, my target webservice is deployed on WebLgic server 8.14 (service pack 4). Nothing just Thread.sleep for 1 min. then return some string. Here is my client code. I use the proxy generated by the workshop testing browser, "Java proxy" button.
    public static void main(String a[]) {
    try {
    EjbTimeout_Impl proxy = new EjbTimeout_Impl();
    EjbTimeoutSoap_Stub myStub = (EjbTimeoutSoap_Stub)proxy.getEjbTimeoutSoap();
    BindingInfo bInfo = (BindingInfo)myStub._getProperty("weblogic.webservice.bindinginfo");
    System.out.println(bInfo.getTimeout()); // print out '-1' no timeout I guess
    bInfo.setTimeout(5); //secs
    System.out.println(bInfo.getTimeout()); // print out '5', value change accepted
    myStub._setProperty("weblogic.webservice.rpc.timeoutsecs", "5");
    System.out.println(myStub._getProperty
    ("weblogic.webservice.rpc.timeoutsecs")); // also print '5'
    String ss = myStub.sayHello("WEBLOGIC");
    System.out.println(ss);
    } catch (Exception e) {
    System.out.println(e.toString());
    As you see the timeout value is changed but when I call webservice from this client everything is fine. The output string ruturn from webservice is printed out after Thread.sleep(60000).
    Are there any missing things about this client code, my webservice code is quite simple, or if there is some way else to achieve this ???
    Many thanks.

    Before you use the JMS, you need to deploy some drivers related to specific MQseries, Kindly ensure that proper driver are deployed....
    If you use MQSeries 53x.xxx, you must enter the following JAR files in aii_af_jmsproviderlib.sda.
    com.ibm.mq.jar, com.ibm.mqbind.jar, com.ibm.mqjms.jar, connector.jar (use the JAR file from the J2EE client directory)
    check this link it will give you more inofmration
    http://help.sap.com/saphelp_nw04/helpdata/en/cd/d85a9d6fab7d4dbb7ae421f710626c/content.htm
    check this to get the condifuration the JMS
    How to use conversion modules in JMS - https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f02d12a7-0201-0010-5780-8bfc7d12f891
    Ref How To Use the Content Conversion Module in JMS Adapter - https://websmp106.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000582377&

  • Need an example for work flow based on multistep activity

    hi,
    i need an example for work flow based on multistep activity for practicing.please do the need.
    thanks

    Hi,
    Workflow document information:
    Check these links.
    http://www.sapgenie.com/workflow/index.htm
    /people/ginger.gatling/blog/2005/12/01/link-workflow-business-objects-to-your-collaboration-tasks
    http://help.sap.com/saphelp_nw04/helpdata/en/92/bc26a6ec2b11d2b4b5006094b9ea0d/content.htm
    http://help.sap.com/saphelp_bw33/helpdata/en/92/bc26a6ec2b11d2b4b5006094b9ea0d/content.htm
    http://help.sap.com/saphelp_bw31/helpdata/en/8d/25f94b454311d189430000e829fbbd/content.htm
    http://www.sap-press.com/product.cfm?account=&product=H950
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
    http://www.workflowing.com/id18.htm
    http://www.e-workflow.org/
    http://www.sap-img.com/workflow/sap-workflow.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/a5/172437130e0d09e10000009b38f839/frameset.htm
    http://www.sap-img.com/workflow/sap-workflow.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/a5/172437130e0d09e10000009b38f839/frameset.htm
    &**********Reward points if helpful**************&

  • Need an example code for IMAP

    Hello friends,
    I need an example of IMAP using Javamail to retieve new mails from an INBOX .Pls send me an example if u have any .Or suggest me the site where i can get an example on it.

    Hi,
    I suggest to look at the demo files in the javamail package.
    I think msgshow.java is a good example.

  • Need some example of  'SET DATE MASK'.

    Hi Gurus,
    I need come example of 'SET DATE MASK ' & 'SET TIME MASK'.
    Thanking you.
    Subash

    Hi Subasha,
    / : SET DATE MASK = 'MMMM DD, YY'
    This displays the date as : September 26, 07.
    YY Year (2 digits)
    YYYY Year (4 Digits)
    MM Month (2 Digits)
    MMM Month Name (Abbreviated)
    MMMM Month Name (Full)
    DD Day as two digits
    DDD Day name (Abbreviated)
    DDDD Day name
    Using the SET DATE MASK causes the subsequent date fields to be displayed using the same formatting. To return to the default formatting use the following command:
    /: SET DATE MASK = ' '
    /: SET TIME MASK = 'HH hrs MM min SS sec'
    This displays the time as : 11 hrs 43 min 37 sec'
    The following are the codes that can be used in the time mask:
    HH Hours
    MM Minutes
    SS Seconds
    The time formatting can be reset to the default setting using:
    /: SET TIME MASK = ' '

  • Need JNDI example for THIN CLIENT

    I ned a JNDI example for a thin client (as opposed to a java program connecting on the same machine as the server).
    1> Specifically, I need an example of a JNDI Provider URL
    Would it be <b>corbaloc.iiop:<host>:5004   ???</b>
    2> Also, how do I create a Queue Connection factory from within the GUI (Visual Administrator), so I can find out what to use on the THIN CLIENT Program?
    Thanks

    Hi,
    Please find the answers below.
    > I ned a JNDI example for a thin client (as opposed to
    > a java program connecting on the same machine as the
    > server).
    >
    > 1> Specifically, I need an example of a JNDI Provider
    > URL
    >
    > Would it be <b>corbaloc.iiop:<host>:5004   ???</b>
    Have a look at <a href="http://help.sap.com/saphelp_nw04/helpdata/en/08/8f633e0084e946e10000000a114084/frameset.htm">this</a> link.
    > 2> Also, how do I create a Queue Connection factory
    > from within the GUI (Visual Administrator), so I can
    > find out what to use on the THIN CLIENT Program?
    Have a look at <a href="http://help.sap.com/saphelp_nw04/helpdata/en/26/9b569f525445b0b3d66474b7569d39/frameset.htm">this</a> link.
    > Thanks
    Hope that helps,
    Vladimir

  • I need an example of JSR179 implementation for CDC based device

    Actually i am trying to develop an LBS(Location based Service) application for Pocket PC that is a CDC based Device,
    I searched a lot on internet for any example that could help me but could't found anything usefull information.
    I found a lot of stuff for MIDP, i found JSR179 implementation for MIDP but could't found anything for CDC(Connected Device Configuration).
    So i need an example of JSR179 implementation for CDC based device. I really need it.
    waiting for your help....
    thanx
    Vivek Mishra

    What is it from a business perspective that you are trying to accomplish?
    What are you going to do with this data once you get it into the format you're envisioning?
    Are you anticipating creating a collection of REC_SET records? Is there a reason that you're not using an associative array keyed on the c2 value (assuming collections are even appropriate to the problem you're trying to solve)?
    Justin

  • Unable to deploy CXF WebService WAR to Weblogic

    Hi,
    I tried creating a web service using Apache CXF library and deploying it to the weblogic server. Deployment failed with the following exception:
    java.lang.NoSuchMethodError: portName
    at org.apache.cxf.jaxws.support.JaxWsImplementorInfo.getEndpointName(Jax
    WsImplementorInfo.java:154)
    at org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java:290)
    at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:259)
    at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:209)
    at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:404)
    This seems to be because of the older version of geronimo jar ported with Weblogic 9.2.This has a work around to load the web-inf/lib classes rather than from the application server. This is placed in the WEB-INF/weblogic.xml of my WAR.
    <container-descriptor>
              <prefer-web-inf-classes>true</prefer-web-inf-classes>
         </container-descriptor>
    Even then I get the same error. Suggestions are welcome. How should I get rid of this error.
    - Arvind

    Arvind,
    Please add the following in the weblogic-application.xml under EAR/META-INF directory.
    I am not sure which apache package needs to be added. I presume geronimo class package
    <wls:prefer-application-packages>
        <wls:package-name>antlr.*</wls:package-name>
        <wls:package-name>org.apache.xml.security.*</wls:package-name>
      </wls:prefer-application-packages>Thanks and regards,
    Pazhanikanthan. P

  • Need some examples for smartforms and scripts

    hi
    now i am working in scripts and smartforms. so i need some examples and some information for scripts and smartforms. where i can find that information.

    hi jyothsna,
    i have given below a simple example
    this is the report program,
    *& Report  ZSCRIPT1                                                    *
    REPORT  ZSCRIPT1                                .
    TABLES : EKKO,
             EKPO,
             KNA1,
             USR01,
             MARA,
             MAKT.
    DATA : BEGIN OF ZOPTION.
            INCLUDE STRUCTURE ITCPO.
    DATA : END OF ZOPTION.
    PARAMETERS: P_EBELN LIKE EKKO-EBELN,
                P_EBELP LIKE EKPO-EBELP.
    CLEAR EKPO.
    SELECT SINGLE * FROM EKPO
           WHERE EBELN = P_EBELN AND
                 EBELP = P_EBELP.
    CLEAR KNA1.
    SELECT SINGLE NAME1 FROM KNA1
                  INTO KNA1-NAME1
                  WHERE KUNNR = EKPO-KUNNR.
    CLEAR MAKT.
    SELECT SINGLE MAKTX FROM MAKT
                  INTO MAKT-MAKTX
                  WHERE MATNR = EKPO-MATNR AND
                        SPRAS = SY-LANGU.
    CLEAR USR01.
    SELECT SINGLE * FROM USR01 WHERE BNAME = SY-UNAME.
    ZOPTION-TDDEST    = USR01-SPLD.        "Output device (printer)
    ZOPTION-TDIMMED   = 'X'.               "Print immediately
    ZOPTION-TDDELETE  = 'X'.               "Delete after printing
    ZOPTION-TDPROGRAM = 'ZPQRPRNT'.        "Program Name
    CALL FUNCTION 'OPEN_FORM'
         EXPORTING
             APPLICATION        = 'TX'
            ARCHIVE_INDEX      = ' '
            ARCHIVE_PARAMS     = ' '
             DEVICE             = 'PRINTER'
             DIALOG             = ' '
             FORM               = 'ZFORM1'
             LANGUAGE           = SY-LANGU
             OPTIONS            = ZOPTION
         IMPORTING
              LANGUAGE           = SY-LANGU
           EXCEPTIONS
             OTHERS     = 1.
    CALL FUNCTION 'WRITE_FORM'
         EXPORTING
             ELEMENT       = 'HEADER'
            FUNCTION      = 'SET'
            TYPE          = 'BODY'
             WINDOW        = 'HEADER'
         EXCEPTIONS
              ELEMENT       = 1.
    CALL FUNCTION 'WRITE_FORM'
         EXPORTING
             ELEMENT       = 'MAIN'
            FUNCTION      = 'SET'
            TYPE          = 'BODY'
             WINDOW        = 'MAIN'
         EXCEPTIONS
              ELEMENT       = 1.
    CALL FUNCTION 'WRITE_FORM'
         EXPORTING
             ELEMENT       = 'FOOTER'
            FUNCTION      = 'SET'
            TYPE          = 'BODY'
             WINDOW        = 'FOOTER'
         EXCEPTIONS
              ELEMENT       = 1.
    CALL FUNCTION 'CLOSE_FORM'
         EXCEPTIONS
              UNOPENED = 1
              OTHERS   = 2.
    This is the layout Set
    Layout set           Z_TESTSCRIPT
    Description          Test SAP script
    Standard attributes
      First page          FIRST
      Default paragraph   P1
      Tab-stop            1.00 CH
      Page format         DINA4
      Orientation         Landscape
      Lines/inch            6.00
      Characters/inch      10.00
    Font attributes
      Font family         COURIER
      Font size           12.0 Point
      Bold                No
      Italic              No
      Underlined          No
    Characters    Attributes
      B           Character String Bold
                  Standard attributes
                  Marker            No
                  Font attributes
                  Bold              Yes
    Paragraphs    Attributes
      P1          Default Paragraph
                  Standard attributes
                  Line spacing      1.00 LN
                  Left margin       1.00 CM
                  Alignment         Left-aligned
                  Font attributes
                  Font family       TIMES
                  Font size         12.0 Point
      P2          Header Paragraph
                  Standard attributes
                  Line spacing      1.00 LN
                  Left margin       4.50 CM
                  Alignment         Left-aligned
                  Font attributes
                  Font family       TIMES
                  Font size         18.0 Point
                  Bold              Yes
      P3          Undelined paragraph
                  Standard attributes
                  Line spacing      1.00 LN
                  Alignment         Left-aligned
                  Font attributes
                  Font family       TIMES
                  Font size         12.0 Point
                  Underlined        Yes
    Windows       Attributes
      MAIN        Main window
                  Window type       MAIN
      HEADER      Main window
                  Window type       CONSTANT
      FOOTER      Main window
                  Window type       CONSTANT
    Pages         Attributes
      FIRST       First Page
                  Standard attributes
                  Next page         FIRST
                  Page counter
                  Mode              START
                  Numbering type    Arabic numerals
                  Page window
                  HEADER               Left margin          00.00 CM
                                       Upper margin         00.00 CM
                                       Window width         20.00 CM
                                       Window height        04.00 CM
                  MAIN                 Left margin          00.00 CM
                                       Upper margin         05.00 CM
                                       Window width         20.00 CM
                                       Window height        20.00 CM
                  FOOTER               Left margin          00.00 CM
                                       Upper margin         25.00 CM
                                       Window width         20.00 CM
                                       Window height        04.00 CM
    Text elements for following windows:
    HEADER
    Element HEADER
    /: POSITION XORIGIN 2 CM YORIGIN '-0.5 CM'
    /: BOX XPOS 1 CM YPOS 1 CM WIDTH 18 CM HEIGHT 1 CM FRAME 10 TW INTENSITY 10
    P2     ,,<B>TEST PURCHASE ORDER</>
    MAIN
    Element MAIN
    P1  <B>Customer/Supplier:</>,,&KNA1-NAME1&
    P1  <B>PO No:</>,,&EKPO-EBELN&
    P1  <B>Part No:</>,,&MAKT-MATNR&
    P1  <B>Description:</>,,&MAKT-MAKTX&
    P1  <B>Quantity:,,</>&EKPO-MENGE&
    P1  <B>Sign:</>&uline(81)&
    P1  <B>Date:</>&EKKO-AEDAT&
    FOOTER
    Element FOOTER
    /: POSITION XORIGIN 2 CM YORIGIN '-0.5 CM'
    /: BOX XPOS 1 CM YPOS 1 CM WIDTH 18 CM HEIGHT 1 CM FRAME 10 TW INTENSITY 10
    P2     ,,<B>PLEASE SIGN THE PO BEFORE DISPATCH</>
    <b>reward if useful :)</b>

  • Can not build the client example of the webservices/rpc-example

    Hi!
    I have some problems with building the client example of the webservices rpc example.
    I followed the instructions of the readme and was able to build the weatherejb,
    after I saved the client.jar in %WL_HOME%\samples\examples\webservices\rpc\javaClient
    I put the cleint.jar into the classpath of the setExamplesEnv.cmd:
    set CLASSPATH=%JAVA_HOME%\lib\tools.jar;%WL_HOME%\lib\weblogic_sp.jar;%WL_HOME%\lib\weblogic.jar;%WL_HOME%\lib\xmlx.jar;%WL_HOME%\samples\eval\cloudscape\lib\cloudscape.jar;%WL_HOME%\samples\examples\webservices\rpc\javaClient\client.jar;%CLIENT_CLASSES%;%SERVER_CLASSES%;%EX_WEBAPP_CLASSES%;C:\bea
    but if I now change to
    $ cd %WL_HOME%\samples\examples\webservices\rpc\javaClient
    and try to build the ear -files by typing:
    ant
    I get the message:
    C:\bea\samples\examples\webservices\rpc\javaClient>ant
    Buildfile: build.xml
    compile:
    [javac] Compiling 3 source files to C:\bea\config\examples\clientclasses
    [javac] C:\bea\samples\examples\webservices\rpc\javaClient\Client.java:8:
    ca
    nnot resolve symbol
    [javac] symbol : class Weather
    [javac] location: package weatherEJB
    [javac] import examples.webservices.rpc.weatherEJB.Weather;
    [javac] ^
    [javac] C:\bea\samples\examples\webservices\rpc\javaClient\Client.java:28:
    c
    annot resolve symbol
    [javac] symbol : class Weather
    [javac] location: class examples.webservices.rpc.javaClient.Client
    [javac] Weather.class.getName() );
    [javac] ^
    [javac] C:\bea\samples\examples\webservices\rpc\javaClient\Client.java:34:
    c
    annot resolve symbol
    [javac] symbol : class Weather
    [javac] location: class examples.webservices.rpc.javaClient.Client
    [javac] Weather service = (Weather)context.lookup("http://localhost:7001
    /weather/statelessSession.WeatherHome/statelessSession.WeatherHome.wsdl");
    [javac] ^
    [javac] C:\bea\samples\examples\webservices\rpc\javaClient\Client.java:34:
    c
    annot resolve symbol
    [javac] symbol : class Weather
    [javac] location: class examples.webservices.rpc.javaClient.Client
    [javac] Weather service = (Weather)context.lookup("http://localhost:7001
    /weather/statelessSession.WeatherHome/statelessSession.WeatherHome.wsdl");
    [javac] ^
    [javac] 4 errors
    BUILD FAILED
    C:\bea\samples\examples\webservices\rpc\javaClient\build.xml:13: Compile failed,
    messages should have been provided.
    Total time: 3 seconds
    thanx

    Well, Remember(you might have done this) u have to run the
    setExamplesEnv.cmd after u add the client.jar in the classpath. Also, the
    ant command will work only in the window where u ran the setExamplesEnv.cmd.
    Thats what i didnt and it works perfect for me.
    Hope this helps u.
    Regards
    Elangovan
    Naz wrote in message <[email protected]>...
    >
    Hi!
    I have some problems with building the client example of the webservicesrpc example.
    I followed the instructions of the readme and was able to build theweatherejb,
    after I saved the client.jar in%WL_HOME%\samples\examples\webservices\rpc\javaClient
    I put the cleint.jar into the classpath of the setExamplesEnv.cmd:
    setCLASSPATH=%JAVA_HOME%\lib\tools.jar;%WL_HOME%\lib\weblogic_sp.jar;%WL_HOME%\
    lib\weblogic.jar;%WL_HOME%\lib\xmlx.jar;%WL_HOME%\samples\eval\cloudscape\li
    b\cloudscape.jar;%WL_HOME%\samples\examples\webservices\rpc\javaClient\clien
    t.jar;%CLIENT_CLASSES%;%SERVER_CLASSES%;%EX_WEBAPP_CLASSES%;C:\bea
    >
    but if I now change to
    $ cd %WL_HOME%\samples\examples\webservices\rpc\javaClient
    and try to build the ear -files by typing:
    ant
    I get the message:
    C:\bea\samples\examples\webservices\rpc\javaClient>ant
    Buildfile: build.xml
    compile:
    [javac] Compiling 3 source files toC:\bea\config\examples\clientclasses
    [javac]C:\bea\samples\examples\webservices\rpc\javaClient\Client.java:8:
    ca
    nnot resolve symbol
    [javac] symbol : class Weather
    [javac] location: package weatherEJB
    [javac] import examples.webservices.rpc.weatherEJB.Weather;
    [javac] ^
    [javac]C:\bea\samples\examples\webservices\rpc\javaClient\Client.java:28:
    c
    annot resolve symbol
    [javac] symbol : class Weather
    [javac] location: class examples.webservices.rpc.javaClient.Client
    [javac] Weather.class.getName() );
    [javac] ^
    [javac]C:\bea\samples\examples\webservices\rpc\javaClient\Client.java:34:
    c
    annot resolve symbol
    [javac] symbol : class Weather
    [javac] location: class examples.webservices.rpc.javaClient.Client
    [javac] Weather service =(Weather)context.lookup("http://localhost:7001
    /weather/statelessSession.WeatherHome/statelessSession.WeatherHome.wsdl");
    [javac] ^
    [javac]C:\bea\samples\examples\webservices\rpc\javaClient\Client.java:34:
    c
    annot resolve symbol
    [javac] symbol : class Weather
    [javac] location: class examples.webservices.rpc.javaClient.Client
    [javac] Weather service =(Weather)context.lookup("http://localhost:7001
    /weather/statelessSession.WeatherHome/statelessSession.WeatherHome.wsdl");
    [javac] ^
    [javac] 4 errors
    BUILD FAILED
    C:\bea\samples\examples\webservices\rpc\javaClient\build.xml:13: Compilefailed,
    messages should have been provided.
    Total time: 3 seconds
    thanx

  • Enadling Security for the cxf webservice

    I have created a CXF webservice and exposed it through a Secured (HTTPS) webdomain. From my client directly i access the webservice without even using the SSL certificate of that webdomain.
    In my client code i am explicitly setting to trust all the certificates due to which, it not even checks the authenticity of the client. This should not ideally happen for me.
    On doing some analysis, I see it is possible to do it using the tag <httpj:engine-factory bus="cxf"> (http://fusesource.com/docs/framework/2.1/security/HTTPCompatible.html#i488847). even after adding those entries to my wsdl, i am unable to secure my webservice through my webdomain cert.
    Could some one please advice ?

    More info:
    By specifying the header properties in the bpel.xml BPEL generates the following header data in the SOAP message (obtained using obtunnel):
    <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:Header>
    <wsse:Security soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next"
    soapenv:mustUnderstand="1"
    xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    <wsse:UsernameToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
    <wsse:Username>username</wsse:Username>
    <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">clearTextPassword</wsse:Password>
    </wsse:UsernameToken>
    </wsse:Security>
    </soapenv:Header>
    <soapenv:Body>
    theBody
    </soapenv:Body>
    </soapenv:Envelope>
    As you can see it uses the #PasswordText which indicates the use of a cleartext password.
    Thus the question remains: how to get the Nonce, the CreationTime and the PasswordDigest in the SOAP Header of the message (BPEL 10.1.2.1.0)?
    Thanks, Sjoerd

  • Need help calling SOAP service deploy in WebLogic

    Hi bros & sisters,
    My name is veda.
    Need some help in calling a SOAP binding web service deploy in Weblogic, using classic ASP
    After reading this link http://www.aspfree.com/c/a/ASP/Consuming-a-WSDL-Webservice-from-ASP/,
    1. i still do not know what value to pass in for parameter SoapURL. I did try http://invicta.app.vic:8002/RTO/RTOService/getCustomerOffers, but return a negative result.
    2. Am i right to say i cannot do a SoapRequest.Open "GET",
    or SoapRequest.Open "POST", because i only have a SOAP protocol binding instead of HTTP protocol binding.
    I really appreciate any help to enlighten me.
    Below is my complete wsdl. Its quite a small wsdl
      <?xml version="1.0" encoding="utf-8" ?>
    - <definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://com.gtr.ma.rto/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://com.gtr.ma.rto/" name="RTOService">
    - <types>
    - <xsd:schema>
      <xsd:import namespace="http://com.gtr.ma.rto/jws" schemaLocation="http://invicta.app.vic:8002/RTO/RTOService?xsd=1" />
      </xsd:schema>
    - <xsd:schema>
      <xsd:import namespace="http://api.interact.coycorp.com/xsd" schemaLocation="http://invicta.app.vic:8002/RTO/RTOService?xsd=2" />
      </xsd:schema>
      </types>
    - <message name="getCustomerOffers">
      <part xmlns:ns1="http://com.gtr.ma.rto/jws" name="parameters" element="ns1:getCustomerOffers" />
      </message>
    - <message name="getCustomerOffersResponse">
      <part xmlns:ns2="http://com.gtr.ma.rto/jws" name="parameters" element="ns2:getOffersResponse" />
      </message>
    - <message name="endCustomerSession">
      <part xmlns:ns3="http://com.gtr.ma.rto/jws" name="parameters" element="ns3:endCustomerSession" />
      </message>
    - <message name="endCustomerSessionResponse">
      <part xmlns:ns4="http://com.gtr.ma.rto/jws" name="parameters" element="ns4:endCustomerSessionResponse" />
      </message>
    - <portType name="RTOImpl">
    - <operation name="getCustomerOffers">
      <input message="tns:getCustomerOffers" />
      <output message="tns:getCustomerOffersResponse" />
      </operation>
    + <operation name="endCustomerSession">
      <input message="tns:endCustomerSession" />
      <output message="tns:endCustomerSessionResponse" />
      </operation>
      </portType>
    - <binding name="RTOImplPortBinding" type="tns:RTOImpl">
      <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
    - <operation name="getCustomerOffers">
      <soap:operation soapAction="" />
    - <input>
      <soap:body use="literal" />
      </input>
    - <output>
      <soap:body use="literal" />
      </output>
      </operation>
    - <operation name="endCustomerSession">
      <soap:operation soapAction="" />
    - <input>
      <soap:body use="literal" />
      </input>
    - <output>
      <soap:body use="literal" />
      </output>
      </operation>
      </binding>
    - <service name="RTOService">
    - <port name="RTOImplPort" binding="tns:RTOImplPortBinding">
      <soap:address location="http://invicta.app.vic:8002/RTO/RTOService" />
      </port>
      </service>
      </definitions>

    Use a proper Java web service client stack that will make your life easier.

Maybe you are looking for

  • Podcast won't load

    I apologize if this has already been addressed, I couldn't find anything. I have created a podcast at: http://www.thecreationshop.com/category/blog and built my first enhanced podcast with GarageBand. I believe I have done everything right because th

  • BT can't seem to bill me?

    For anyone who like long stories of BT problems please see my original thread in Infinity folder. https://community.bt.com/t5/BT-Infinity-Speed-Connection/Please-Help-Lost-everything-because-of-swit...k Despite being signed up for over a month and ha

  • Capturing sound probl

    Hi! I'm capturing audio and video ok! I'm able to hear the audio, But when I go to play it back I'm not hearing any audio. Soundblaster li've 5. 2 speaker setup thanks

  • Windows 2008 backup failed with error code '2155348040'

    Hello, For the backup of our Windows 2008 servers, we use Windows Server backup. On one of the servers the backup will not run. In the application eventlog of the server there is the following message: Log Name:      Application Source:        Micros

  • Cannot change to video in iphoto.

    I cannot change from photo to video in my camera programme. I use iphone 4S version 7.1 Maybe it has somethon to with the mystery when I import photos to my computer iphoto. The pictures turn around to upside down position.