Weblogic webservice problem

Hi , friends, I have a problem regarding web services in oracle weblogic workshop.
In our application we need to create 2 web services. We have 10 to 12 packages under src folder , i.e.,
src(under this folder)------------------>com.abc.des.desk (like this we have couple of packages). All those packages are having different java related file, porlets etc.
I need to create another package called com.abc.des.webservices
under this I have to create 2 webservice (JAX-WS) with annotations.All these webservices along with remaining above mentioned packages goes to one single EAR file.
I am unable to select JAX-WS related facets.
When I select weblogic webservices , it is giving a warning message that "No projects found that support web services.The Standard Annotated Web Service facet must be enabled".I didn't understand where I need to enable them.
Please suggest on this problem.
Thanks a lot
Peter.

Hi Peter
1. Since you used the words like portlets etc, I am assuming you have a PortalWeb Project. So you have like portalEAR, portalWeb and may be portalDataSync project. NOW under portalWeb project src you have your own packages. This is where you need to create a new WebService also under a new package. FIRST of all, you need to add Web Services Project Facet to this portalWeb pojrect. Still it may NOT work. But I will give you an idea. Select your portalWeb project. Right clikc mouse, select Properties. From Properties window on left side, select Project Facets. On right side you will see list of Facets already selected. Click on Modify Project button on bottom right hand corner. This opens up Project Facets window. Check the Facet named Web Services. NOW immediately in the bottom you may see some Errors like "Standard Annotated Web Services 2.0 and Beehive Controls 1.0.1 cannot both be selected" etc. I am talking about WLP 10.3 version. This means by default portalWeb project will have Beehive stuff facets Enabled to allow use of Pageflow Portlets. So you cannot add Web Services Facet to this Same portalWeb project. Unless you want to manully remove Beehive Facets (means you cannot use Pageflow portlets), then may be Web Services Facets can be added.
One work around or more elegant solution is create a another brand new project like myWebServices project and enable Web Services for this. Nothing but create a new WebServices project with all Web Services Facets. Add this to the same portalEAR project. Then add all your webservices to this new project. NOW you can always invoke these Web Services from portalWeb project src code like utility classes or Pageflows etc. Incase if you want to use some utility classes across both portalWeb and webServices project, then you need to add all these classes into another simple Java Project. Then import this into both portalWeb and webServices projects.
I saw another opotion also. When you select Web Services Project Facet, it has 2 child facets. Standard Annotated Web Services whose default version is 2.0. If you choose version 1.0, look like there are no dependencies. Means poralWeb project can have Web Services Facet provided you use Standard Annotated Web Sevices Version 1.0 (instead of default 2.0). Now using this you may loose some new features from 2.0. I am not sure to what extent this will work. But give this a shot in your dev Env. And see if you can create a simple webservice and live with that.
portalEAR can have both portalWeb project and any other projects like webServices or Java utility porjects etc. All these projects will be bundled into one single .EAR file only for deployment.
Thanks
Ravi Jegga

Similar Messages

  • Problems with weblogic webservices internationalization

    We have currently two applications deployed across two weblogic instances which talk to each other through web services. The application currently hosting the web service returns a string having special characters which are basically double byte characters like TM (trademark) symbol. However these special characters get corrupted when the data is received at the client level.
    This we presume is happening because the response from the web services is US-ASCII while the client expects data in UTF-8.
    We did look up to some of the Weblogic documentation online and following solutions were proposed for weblogic 81 and weblogic 10.
    Weblogic 10:
    Simple port = service.getSimpleSoapPort();
    ((Stub) port)._setProperty(weblogic.wsee.jaxrpc.WLStub.CHARACTER_SET_ENCODING, "UTF-16");
    port.invokeMethod();
    Weblogic 8.1:
    <web-services>
    <web-service name="stockquotes"
    targetNamespace="http://example.com"
    uri="/myStockQuoteService"
    charset="Shift_JIS">
    </web-service>
    </web-services>
    The default value is US-ASCII.
    You can also specify the character set for all deployed WebLogic Web Services deployed on a WebLogic Server instance by setting the system property weblogic.webservice.i18n.charset equal to the name of the character set. Set this system property in the script that starts up the WebLogic Server instance:
    -Dweblogic.webservice.i18n.charset=utf-8
    We applied both of these proposed solutions to our Weblogic instances which are of version 9.2 and still faced the same problems. Please let us know whether the above proposed solutions are applicable for Weblogic 9.2 or there is an alternative? Also we could not find the CHARACTER_SET_ENCODING attribute in Weblogic 9.2 version

    As far as I know, we don't support changing outbound message encoding charset in 9.x. Both 8.x and 10.x support it. Check [url http://docs-stage/wls/docs100/webserv/client.html#wp230016]here

  • Reliable SOAP messaging problems - weblogic.webservice.saf.StoreForwardException

    Hi Guys,
    I'm playing with the new SOAP reliable message transport in WL 8.1 SP 1.
    I have configured a simple web service, with void return, configured for
    reliable messaging. I deploy the client to the same server as the server
    hosting the webservice, and it uses the async invocation etc.
    It wasn't obvious how to throw the exception in the backend implementation.
    I simply grab the usertransaction
    and call ut.setRollbackOnly(). Hope that's correct..
    Whenever I invoke the operation, I get this:
    weblogic.webservice.saf.StoreForwardException: Could not find MessageData
    header in aknowledgement
    I have a JMS file store setup, and I have it assigned to the server via the
    services/webservice tab, and I do see some activity in the file store.
    My client looks like this:
    AsyncInfo asyncInfo = new AsyncInfo();
    asyncInfo.setReliableDelivery(true);
    FutureResult fr = port.startReliableOperation("hello World", asyncInfo);
    System.err.println("Client: Made invocation, invoking async end now");
    port.endReliableOperation(fr);
    Any ideas?
    Regards,
    Jon
    PS. [As an aside, aknowledgement needs a 'c']
    Client: port.StartReliableOperation()
    --S:In reliable TX operation
    --S:Going to roll back
    --S: Set setRolbackOnly()
    --S: Finished Reliable operation
    Client: Made invocation, invoking async end now
    <26-Aug-2003 18:39:31 o'clock BST> <Info> <WebService> <BEA-220025> <Handler
    web
    logic.webservice.saf.SAFHandler threw an exception from its handleResponse
    metho
    d. The exception was:
    javax.xml.rpc.JAXRPCException: Failed to handle the response.>
    myserver:Info:Handler weblogic.webservice.saf.SAFHandler threw an exception
    from
    its handleResponse method. The exception was:
    javax.xml.rpc.JAXRPCException: Failed to handle the response.
    <26-Aug-2003 18:39:31 o'clock BST> <Info> <WebService> <BEA-220047> <A
    exception
    was thrown from callReceive in the Client Dispatcher.>
    myserver:Info:A exception was thrown from callReceive in the Client
    Dispatcher.
    <26-Aug-2003 18:39:31 o'clock BST> <Info> <WebService> <BEA-220034> <A stack
    tra
    ce associated with message 220047 follows:
    javax.xml.rpc.soap.SOAPFaultException: Exception during processing:
    weblogic.web
    service.saf.StoreForwardException: Could not find MessageData header in
    aknowled
    gement. (see Fault Detail for stacktrace)
    at
    weblogic.webservice.core.ClientDispatcher.receive(ClientDispatcher.ja
    va:285)
    at
    weblogic.webservice.core.ClientDispatcher.callReceive(ClientDispatche
    r.java:119)
    at
    weblogic.webservice.saf.ConversationAssembler.getResponse(Conversatio
    nAssembler.java:302)
    at
    weblogic.webservice.saf.ConversationAssembler.execute(ConversationAss
    embler.java:536)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    >

    Hi Jon,
    I've asked our WS RM guru to comment on your question, but I believe the
    answer is going to be that you can explicitly roll back the transaction,
    however only from the EJB application method, using the
    EJBContext.setRollbackOnly() method.
    Regards,
    Bruce
    Jon Mountjoy wrote:
    >
    Hi Bruce,
    I looked at the example you pointed to, and it does what it says it does.
    However, it doesn't attempt to rollback a transaction, which is what I am
    doing.
    The docs for reliable messaging say:
    " If you want to roll back the transaction from the Java method, use the
    Java Transaction API (JTA) to get the transaction object and then explicitly
    roll back the transaction. "
    They also indicate that the receiver executes in the context of a
    transaction, which you may rollback.
    For example, when the server is down, the transaction doesn't commit. This
    behaviour is tested by your example, and it works.
    However, when I modify your example to roll back the transaction in the web
    service operation backend implementation,
    then it doesn't. It yields the same exception that mine does.
    For example, I modified your MarketService.java as indicated below to grab
    the initial context and then during the operation grab the usertransaction
    and call setRollbackOnly(). This causes WebLogic to throw a
    weblogic.webservice.saf.StoreForwardException.
    Any ideas?
    Regards,
    Jon
    public final class MarketService {
    private static boolean mustThrow = true;
    InitialContext ctx = null;
    public MarketService() {
    try {
    ctx = new InitialContext();
    System.err.println("---InitialContext is set");
    } catch (Exception e) {
    System.err.println("---InitialContext is not set: " + e);
    public void placeOrder(OrderInfo o) {
    System.out.println("[MarketService] placing order: " + o);
    mustThrow = !mustThrow;
    if (mustThrow) {
    System.out.println("--S:Going to roll back");
    UserTransaction ut = null;
    try {
    ut = (UserTransaction) ctx.lookup(
    "javax.transaction.UserTransaction");
    System.out.println("--S: Set setRolbackOnly()");
    ut.setRollbackOnly();
    // <------------------------------------------
    } catch (Exception e) {
    System.err.println("--S: UT transaction error:" + e);
    } else {
    System.out.println("--S: -Not rolling back");
    --S:In reliable TX operation
    --S:Going to roll back
    --S: Set setRolbackOnly()
    --S: Finished Reliable operation
    <29-Aug-2003 15:48:24 o'clock BST> <Info> <WebService> <BEA-220025> <Handler
    weblogic.webservice.saf.SAFHandler threw an
    exception from its handleResponse method. The exception was:
    javax.xml.rpc.JAXRPCException: Failed to handle the response.>
    myserver:Info:Handler weblogic.webservice.saf.SAFHandler threw an exception
    from its handleResponse method. The exceptio
    n was:
    javax.xml.rpc.JAXRPCException: Failed to handle the response.
    <29-Aug-2003 15:48:25 o'clock BST> <Info> <WebService> <BEA-220047> <A
    exception was thrown from callReceive in the Clie
    nt Dispatcher.>
    myserver:Info:A exception was thrown from callReceive in the Client
    Dispatcher.
    <29-Aug-2003 15:48:25 o'clock BST> <Info> <WebService> <BEA-220034> <A stack
    trace associated with message 220047 follow
    s:
    javax.xml.rpc.soap.SOAPFaultException: Exception during processing:
    weblogic.webservice.saf.StoreForwardException: Could
    not find MessageData header in aknowledgement. (see Fault Detail for
    stacktrace)
    at
    weblogic.webservice.core.ClientDispatcher.receive(ClientDispatcher.java:285)
    at
    weblogic.webservice.core.ClientDispatcher.callReceive(ClientDispatcher.java:
    119)
    at
    weblogic.webservice.saf.ConversationAssembler.getResponse(ConversationAssemb
    ler.java:302)
    at
    weblogic.webservice.saf.ConversationAssembler.execute(ConversationAssembler.
    java:536)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    >
    myserver:Info:A stack trace associated with message 220047 follows:

  • How to resolve setPrefix() in SOAP(saaj API) with weblogic/webservices jar?

    Hi,
    I am facing a problem deploying a Web-Application in Weblogic containing SOAP related code.
    My environment is as below:
    1) Weblogic 8.1 SP2 server
    2) Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05)
    3) A method is exposed as web-service
    4) A client program(which is a part of Action class of Webb-app) written with SOAP APIs containing the following section:
         MessageFactory mf = MessageFactory.newInstance();
         SOAPMessage sm = mf.createMessage();
         SOAPPart sp = sm.getSOAPPart();
         sp.setPrefix("soapenv");
         SOAPEnvelope se = sp.getEnvelope();
         se.addNamespaceDeclaration("soapenv","http://orion:7001");
    giving the following error at runtime:
    Exception in thread "main" java.lang.AbstractMethodError:
    weblogic.were.soap.SOAPEnvelopeImpl.setPrefix(Ljava/lang/String;)V
    at Client.main(Client.java:39)
    I am able to compile without any error/warning all the time.
    This is giving only when putting the saaj(jwsdp-1.4) jars along with weblogic/webservices jars in classpath.
    I am able to run the same application(outside Web-application as a stand-alone java program) without
    any error while not using weblogic/webservices jar in the classpath.
    The saaj jars needed to run without any error are:
    saaj-api.jar
    saaj-impl.jar
    mailapi.jar
    activation.jar
    xercesImpl.jar
    xalan.jar
    dom.jar
    jdom.jar
    I thinks this is a compatibility issue. Please suggest to resolve it.
    Thanks in advance,
    pal_sk

    Hi,
    I am facing a problem deploying a Web-Application in Weblogic containing SOAP related code.
    My environment is as below:
    1) Weblogic 8.1 SP2 server
    2) Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05)
    3) A method is exposed as web-service
    4) A client program(which is a part of Action class of Webb-app) written with SOAP APIs containing the following section:
         MessageFactory mf = MessageFactory.newInstance();
         SOAPMessage sm = mf.createMessage();
         SOAPPart sp = sm.getSOAPPart();
         sp.setPrefix("soapenv");
         SOAPEnvelope se = sp.getEnvelope();
         se.addNamespaceDeclaration("soapenv","http://orion:7001");
    giving the following error at runtime:
    Exception in thread "main" java.lang.AbstractMethodError:
    weblogic.were.soap.SOAPEnvelopeImpl.setPrefix(Ljava/lang/String;)V
    at Client.main(Client.java:39)
    I am able to compile without any error/warning all the time.
    This is giving only when putting the saaj(jwsdp-1.4) jars along with weblogic/webservices jars in classpath.
    I am able to run the same application(outside Web-application as a stand-alone java program) without
    any error while not using weblogic/webservices jar in the classpath.
    The saaj jars needed to run without any error are:
    saaj-api.jar
    saaj-impl.jar
    mailapi.jar
    activation.jar
    xercesImpl.jar
    xalan.jar
    dom.jar
    jdom.jar
    I thinks this is a compatibility issue. Please suggest to resolve it.
    Thanks in advance,
    pal_sk

  • Ignoring Http basic authentication header in wls 7.0.sp2 web service servlet (weblogic.webservice.server.servlet.WebServiceServlet)

    Hi!
    We need to implement authentication using our own methods, and the authentication
    information is provided to the web service implementation in a basic authentication
    header. The problem is, that the servlet
    weblogic.webservice.server.servlet.WebServiceServlet, which handles web services
    in
    wls 7.0.sp2, always attempts to perform authentication, if the header is present.
    Is there any way to circumvent this, because we want to implement authentication
    on our own?
    I already know two workarounds:
    The best would of course be to implement a custom security realm for our own
    authentication system. This is not an option, implementing an own security
    realm is overkill for this specific web service.
    The other way would be to route the requests by way of a custom servlet, which
    would
    remove the basic authentication header, and put the authentication info in custom
    headers, such as x-auth: <user:password>, or smthng similar, and after successful
    authentication, make a call to bea's servlet weblogic.webservice.server.servlet.WebServiceServlet.
    But still, I'd like to know if there is any way to tell bea's servlet to ignore
    the basic
    authentication header?
    Oh yeah, by the way, this is URGENT, as always. (really!! ;)
    Toni Nykanen

    Currently there is no option to turn off security check.
    I think you can use a servlet filter mapped to the URL
    of your service, instead of a proxy servlet?
    Regards,
    -manoj
    http://manojc.com
    "Toni Nykanen" <[email protected]> wrote in message
    news:3ef1577b$[email protected]..
    >
    Hi!
    We need to implement authentication using our own methods, and theauthentication
    information is provided to the web service implementation in a basicauthentication
    header. The problem is, that the servlet
    weblogic.webservice.server.servlet.WebServiceServlet, which handles webservices
    in
    wls 7.0.sp2, always attempts to perform authentication, if the header ispresent.
    Is there any way to circumvent this, because we want to implementauthentication
    on our own?
    I already know two workarounds:
    The best would of course be to implement a custom security realm for ourown
    authentication system. This is not an option, implementing an own security
    realm is overkill for this specific web service.
    The other way would be to route the requests by way of a custom servlet,which
    would
    remove the basic authentication header, and put the authentication info incustom
    headers, such as x-auth: <user:password>, or smthng similar, and aftersuccessful
    authentication, make a call to bea's servletweblogic.webservice.server.servlet.WebServiceServlet.
    >
    But still, I'd like to know if there is any way to tell bea's servlet toignore
    the basic
    authentication header?
    Oh yeah, by the way, this is URGENT, as always. (really!! ;)
    Toni Nykanen

  • Call Weblogic WebService in Delphi

    Hi, I'm a newbie in WebService. I use Weblogic servicegen ant task wrap a stateless
    EJB to webservice. The bean has a method with a string input parameter as follow:
    String Test(String inputParam);
    The WSDL generated by Weblogic WebService is like follow:
    - <message name="Test">
    <part name="string" xmlns:partns="http://www.w3.org/2001/XMLSchema" type="partns:string"
    />
    I use Delphi as Webservice client. When I use Delphi's WSDL Import Wizard, it
    renamed parameter "string" to "string_" because of "string" is a reserved word
    in Delphi. So when I invoked the Webservice, an exception was thrown:
    Found SOAPElement [<string_ xsi:type="xsd:string>test</string_>]. But was not
    able to find Part that is registered with this Message which corresponds to this
    SOAPElement
    How can I solve this problem? On the another word, Can I control the parmater
    name generate by Weblogic Webservice ant task?
    thanks very much!

    Please post web services issues in the webservices newsgroup.
    Vimala wrote:
    You can define the parameter name to the method and return parameter name with
    a web-services.xml.
    The link below should give a good start:
    http://e-docs.bea.com/wls/docs70/webserv/dd.html#1057960
    Vimala
    "Dumack Wu" <[email protected]> wrote:
    Hi, I'm a newbie in WebService. I use Weblogic servicegen ant task wrap
    a stateless
    EJB to webservice. The bean has a method with a string input parameter
    as follow:
    String Test(String inputParam);
    The WSDL generated by Weblogic WebService is like follow:
    - <message name="Test">
    <part name="string" xmlns:partns="http://www.w3.org/2001/XMLSchema"
    type="partns:string"
    />
    I use Delphi as Webservice client. When I use Delphi's WSDL Import Wizard,
    it
    renamed parameter "string" to "string_" because of "string" is a reserved
    word
    in Delphi. So when I invoked the Webservice, an exception was thrown:
    Found SOAPElement [<string_ xsi:type="xsd:string>test</string_>]. But
    was not
    able to find Part that is registered with this Message which corresponds
    to this
    SOAPElement
    How can I solve this problem? On the another word, Can I control the
    parmater
    name generate by Weblogic Webservice ant task?
    thanks very much!
    Rajesh Mirchandani
    Developer Relations Engineer
    BEA Support

  • Error in Weblogic Webservice

    I was using SAAJ 1.3 initially in WEBINF/lib and my code erred with
    java.lang.NoSuchMethodError: newInstance at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection
    Error Location:
    SOAPConnectionFactory factory = SOAPConnectionFactory.newInstance();
    SOAPConnection connection = factory.createConnection();
    It erred on the above highlighted line. After some searching, I found that it could be because of Weblogic Server 9.2 not compatible with SAAJ 1.3. So I used SAAJ 1.2 and this error got solved. Now I am stuck up with the following error.
    java.lang.UnsupportedOperationException: This class does not support SAAJ 1.1
    at weblogic.webservice.core.soap.SOAPMessageImpl.getSOAPBody(SOAPMessageImpl.java:634)
    Error Location:
    SOAPElement attachmentElement = (SOAPElement)message.getSOAPBody().getElementsByTagNameNS(ws, "Attachment").item(0);
    I am using SAAJ 1.2 but it says the class does not support SAAJ 1.1.
    Again after some googling, I found that the error is due to some bug in Weblogic 9.2 when it is used with SAAJ 1.2. It was mentioned that following steps can be used to overcome this error.
    1. Set classpath to latest saaj-impl.jar in startweblogic.cmd
    2. Set the below 2 system properties in code.
    System.setProperty("javax.xml.soap.MessageFactory","com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl");
    System.setProperty("javax.xml.soap.SOAPConnectionFactory","weblogic.wsee.saaj.SOAPConnectionFactoryImpl");
    I tried this too but it didnt work.
    How can i get rid of this error? Also if i m going to set the classpath to SAAJ 1.3 in startweblogic.cmd, will it not result in the first error i got i.e java.lang.NoSuchMethodError: newInstance at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.
    If my question is not very clear, please bear with me. I am pretty new to Webservice.
    Can someone tell me how can i overcome this problem.

    Have you included the IP addresses of the managed servers into the cluster address like for eg 192.127.1.2,192.127.1.2 in the cluster address field in the administration console? include it if not included that will fix the issue.
    Regards,
    Dinesh

  • Weblogic-webservices-policy.xml

    hi,
    iam getting the following error in weblogic-webservices-policy.xml
    Referenced file (weblogic-webservices-policy.xml) contains errors (http://www.bea.com/ns/weblogic/webservice-policy-ref/1.0/webservice-policy-ref.xsd).
    weblogic-webservices-policy.xml containts the following lines of code:
    <?xml version='1.0' encoding='UTF-8'?>
    <webservice-policy-ref xmlns="http://www.bea.com/ns/weblogic/webservice-policy-ref" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/webservice-policy-ref http://www.bea.com/ns/weblogic/webservice-policy-ref/1.0/webservice-policy-ref.xsd"></webservice-policy-ref>
    can anybody suggest how to fix this error?
    thanks
    john

    Hi!
    I was looking for some information regarding the weblogic-webservices-policy.xml file and founf your post. Did you success to solve the problem with it?
    Greatly appreciate any inputs
    Sincerely
    J.

  • Weblogic webservice

    Hi , friends, I have a problem regarding web services in oracle weblogic workshop.
    In our application we need to create 2 web services. We have 10 to 12 packages under src folder , i.e.,
    src(under this folder)------------------>com.abc.des.desk (like this we have couple of packages). All those packages are having different java related file, porlets etc.
    I need to create another package called com.abc.des.webservices
    under this I have to create 2 webservice (JAX-WS) with annotations.All these webservices along with remaining above mentioned packages goes to one single EAR file.
    I am unable to select JAX-WS related facets.
    When I select weblogic webservices , it is giving a warning message that "No projects found that support web services.The Standard Annotated Web Service facet must be enabled".I didn't understand where I need to enable them.
    Please suggest on this problem.
    Thanks a lot
    Peter.

    There is a difference between application server and program access to a webservice. especially is SSL used server needs the key to access the web service. What error do you get?

  • Weblogic Webservices Malfunction

    Hi to all. I'm developing WebServices with Java on Weblogic 12.1.2 server and I found two problems:
    1) The "beaInvoke" method appears in my webservice. This method isn't in my wsdl file, and I don't know why Weblogic is creating it. I don't want this method in my service,because this can be a possible security problem.
    2) In this java annotation
    @javax.jws.WebService( serviceName = "ConversorSeguro",
                          portName = "ConversorSeguroSOAP",
                          targetNamespace = "urn:atica:cursosoa:services:conversorseguro",
                          wsdlLocation = "C:/Workspace/projects/prototipo/ConversorSeguro?wsdl",
                          endpointInterface = "org.umu.atica.secure.wservices.ConversorSeguro")
    If I want to use in wsdlLocation parameter with relative path, like wsdlLocation = "prototipo/ConversorSeguro?wsdl" as I used to in OC4J, doesn't work. Weblogic needs a absolute path for do it. I need a relative path to use my webservice in develop and company servers.
    How can I solve this problems?
    Thanks.

    Hi!
    I was looking for some information regarding the weblogic-webservices-policy.xml file and founf your post. Did you success to solve the problem with it?
    Greatly appreciate any inputs
    Sincerely
    J.

  • SEVERE: caught throwable java.lang.AbstractMethodError: weblogic.webservice

    Hi,
    I am getting the following error while calling the webservice deployed in Weblogic 8.1sp5 version: Please help:
    SEVERE: caught throwable
    java.lang.AbstractMethodError: weblogic.webservice.core.soap.SOAPEnvelopeImpl.normalize()V
    at com.sun.xml.rpc.streaming.XmlTreeReader.parse(XmlTreeReader.java:133)
    at com.sun.xml.rpc.streaming.XmlTreeReader.next(XmlTreeReader.java:103)
    at com.sun.xml.rpc.streaming.XMLReaderBase.nextContent(XMLReaderBase.java:23)
    at com.sun.xml.rpc.streaming.XMLReaderBase.nextElementContent(XMLReaderBase.java:41)
    at com.sun.xml.rpc.server.StreamingHandler.handle(StreamingHandler.java:154)
    at com.sun.xml.rpc.server.http.JAXRPCServletDelegate.doPost(JAXRPCServletDelegate.java:443)
    at com.sun.xml.rpc.server.http.JAXRPCServlet.doPost(JAXRPCServlet.java:86)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6981)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)

    Where you ever able to get this working on WLS? I am dealing with the same problem on WLS 8.1 sp2

  • NoSuchMethodError: weblogic.webservice.core.rpc.ServiceImpl

    I developed webservices and jsp client on my local copy of weblogic - everything works perfectly fine.. I moved the webservices and jspclient to work's developement weblogic server.. Webservices works fine but the jspclient is throwing an exception as sooon as i try to get the service.
    Webservices Local Machine & Client Local -> Works.
    Webservices DevServer & Client Local --> Works
    Webservices DevServer & Client DevServer --> Client throws exception!!
    Throwing following exception on this line: MyWebServices service = new MyWebServices_Impl();
    Error 500--Internal Server Error
    java.lang.NoSuchMethodError: weblogic.webservice.core.rpc.ServiceImpl.(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
         at jspclient.MyWebServices_Impl.(MyWebServices_Impl.java:22)
         at jspclient.MyWebServices_Impl.(MyWebServices_Impl.java:16)
         at jsp_servlet.__Mydb._jspService(__Mydb.java:128)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6350)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)

    This problem was due to the fact that my local machine had weblogic 8.1SP3 installed and dev server had SP2 installed.
    I moved to a server with SP3 and everything worked smoothly.
    Thanks.

  • Validation errors weblogic-webservices.xml during deploy for valid dd

    Hi,
    I am trying to set the login-config for my JAXWS EJB webservice endpoint, but I weblogic doesn't accept my weblogic-webservices.xml
    I validated my weblogic-webservices.xml using several xml validator tools and all say it is valid.
    Here is the weblogic-webservices.xml
    <?xml version='1.0' encoding='UTF-8'?>
    <weblogic-webservices
         xmlns="http://xmlns.oracle.com/weblogic/weblogic-webservices"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"
         xsi:schemaLocation="http://xmlns.oracle.com/weblogic/weblogic-webservices http://xmlns.oracle.com/weblogic/weblogic-webservices/1.1/weblogic-webservices.xsd http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
    <webservice-description>
    <webservice-description-name>AppManager</webservice-description-name>
    <port-component>
    <port-component-name>AppManager</port-component-name>
    <service-endpoint-address>
    <webservice-contextpath>/AppManagerService</webservice-contextpath>
    <webservice-serviceuri>/AppManager</webservice-serviceuri>
    </service-endpoint-address>
    <login-config>
    <j2ee:auth-method>BASIC</j2ee:auth-method>
    <j2ee:realm-name>myrealm</j2ee:realm-name>
    </login-config>
    </port-component>
    </webservice-description>
    </weblogic-webservices>
    Here are the validation errors I get during deployment:
    VALIDATION PROBLEMS WERE FOUND problem: cvc-complex-type.2.4a: Expected elements 'auth-method@http://java.sun.com/xml/ns/j2ee realm-name@http://java.sun.com/xml/ns/j2ee form-login-config@http://java.sun.com/xml/ns/j2ee' instead of 'auth-method@http://xmlns.oracle.com/weblogic/weblogic-webservices' here in element login-config@http://xmlns.oracle.com/weblogic/weblogic-webservices:<null> problem: cvc-complex-type.2.4a: Expected elements 'auth-method@http://java.sun.com/xml/ns/j2ee realm-name@http://java.sun.com/xml/ns/j2ee form-login-config@http://java.sun.com/xml/ns/j2ee' instead of 'realm-name@http://xmlns.oracle.com/weblogic/weblogic-webservices' here in element login-config@http://xmlns.oracle.com/weblogic/weblogic-webservices:<null>
    Error VALIDATION PROBLEMS WERE FOUND problem: cvc-complex-type.2.4a: Expected elements 'auth-method@http://java.sun.com/xml/ns/j2ee realm-name@http://java.sun.com/xml/ns/j2ee form-login-config@http://java.sun.com/xml/ns/j2ee' instead of 'auth-method@http://xmlns.oracle.com/weblogic/weblogic-webservices' here in element login-config@http://xmlns.oracle.com/weblogic/weblogic-webservices:<null> problem: cvc-complex-type.2.4a: Expected elements 'auth-method@http://java.sun.com/xml/ns/j2ee realm-name@http://java.sun.com/xml/ns/j2ee form-login-config@http://java.sun.com/xml/ns/j2ee' instead of 'realm-name@http://xmlns.oracle.com/weblogic/weblogic-webservices' here in element login-config@http://xmlns.oracle.com/weblogic/weblogic-webservices:<null>
    If I remove the namespace indicator 'j2ee' it complains about the same. So it would seem that weblogic ignores the 'j2ee' resulting indeed in a invalid xml.
    Can someone please help me to a weblogic-webservices.xml (example with login-config) that was accepted by weblogic?
    Thanks a lot,
    Eltjo.

    Hi,
    Please try the following: ( Looks like you are mixing the Tag contents of web.xml  as well as weblogic-webservice.xml   together.... )
    weblogic-webservice.xml
    <?xml version='1.0' encoding='UTF-8'?>
    <weblogic-webservices xmlns="http://www.bea.com/ns/weblogic/weblogic-webservices" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-webservices http://www.bea.com/ns/weblogic/weblogic-webservices/1.0/weblogic-webservices.xsd">
          <webservice-description>
              <webservice-description-name>AppManager</webservice-description-name>
              <port-component>
              <port-component-name>AppManager</port-component-name>
                     <service-endpoint-address>
                        <webservice-contextpath>/AppManagerService</webservice-contextpath>
                        <webservice-serviceuri>/AppManager</webservice-serviceuri>
                     </service-endpoint-address>
              </port-component>
          </webservice-description>
    </weblogic-webservices>And Now provide the <login-config> information separately inside *"web.xml"* file
    <login-config>
         <auth-method>BASIC</j2ee:auth-method>
         <realm-name>myrealm</j2ee:realm-name>
    </login-config>.
    Thanks
    Jay SenSharma

  • Wls 10.3 weblogic-webservices.xml transaction-timeout attribute not working

    Hi, need some urgent need.
    I have a stateless ejb webservice and I'm trying to set the transaction timeout for some of the methods. Right now my webservice transaction is timing out to the default of 30 secs. I've tried setting in the admin console the JTA transaction timeout option, didn't work (file a case with bea support #81233). And after days of researching and searching I came across that you can setup the weblogic webservice transaction-timeout thru the weblogic-webservices.xml deployment descriptor. Tried setting the transaction-timeout attribute to 120 secs. and that didn't work. Here is the snippet of the xml file.
    <?xml version='1.0' encoding='UTF-8'?>
    <weblogic-webservices xmlns="http://www.bea.com/ns/weblogic/weblogic-webservices" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-webservices http://www.bea.com/ns/weblogic/weblogic-webservices/1.0/weblogic-webservices.xsd">
    <webservice-description>
    <webservice-description-name>com.starcomsoft.pp.system.jws.SystemWSImpl</webservice-description-name>
    <webservice-type>JAXRPC</webservice-type>
    <port-component>
    <port-component-name>SystemWSSoapPort</port-component-name>
    <service-endpoint-address>
    <webservice-contextpath>starcomsoft_ws</webservice-contextpath>
    <webservice-serviceuri>/SystemWSImpl</webservice-serviceuri>
    </service-endpoint-address>
         <transaction-timeout>120</transaction-timeout>
         <reliability-config>
              <inactivity-timeout>P0DT600S</inactivity-timeout>
         </reliability-config>
    </port-component>
    </webservice-description>
    </weblogic-webservice>
    Does anybody have any clue to solve my urgent need.
    Thanks in advance for your help or suggestion.

    Unhandled exception
    Type=Segmentation error vmState=0x00040000
    J9Generic_Signal_Number=00000004 Signal_Number=0000000b Error_Value=00000000 Signal_Code=00000033
    Handler1=F144C588 Handler2=F1446A9C
    Module=/app/oracle/product/Middleware/wlserver_10.3/server/native/aix/ppc/libmuxer.so
    Module_base_address=D8457000
    Target=2_40_20091214_049398 (AIX 5.3)
    CPU=ppc (4 logical CPUs) (0x600000000 RAM)
    ----------- Stack Backtrace -----------
    (0xD696E748 [libj9vm24.so+0x48748])
    (0xD8383EDC [libjclscar_24.so+0x10edc])
    (0xD8384514 [libjclscar_24.so+0x11514])
    (0xD6967718 [libj9vm24.so+0x41718])
    (0xD6967158 [libj9vm24.so+0x41158])
    (0xD69640D0 [libj9vm24.so+0x3e0d0])
    (0xD6932C9C [libj9vm24.so+0xcc9c])
    (0xD69BBA18 [libj9prt24.so+0x3a18])
    (0xD6932BB8 [libj9vm24.so+0xcbb8])
    (0xD69A77CC [libj9thr24.so+0x27cc])
    pthreadbody+0x118 (0xD010D784 [libpthreads.a+0x3784])

  • Opening a WebLogic WebService file in Workshop

    Hello,
    Some of the members in our team are having this weird issue of opening a weblogic webservice in the workshop! Whenever we open the webservice, the design and source view take forever to load and everytime we change a comment or code, the save takes a very long time. We are not sure if the save/open is generating any artifacts behind the scene! We have event turned off the "build automatically" feature as well but that didn't help. Any one has an idea of what is causing this?
    Thanks in advance for the help
    SG

    Hi,
    In my opinion, it is based on the line text to get data, so if there are some text or newline character in the source file, it will generates the additional rows.
    I think excel object model doesn’t provide the way to deal with it directly, you need to save CSV file with the correct format in your code.
    For exist source file, you could modify the source file data, then import data to excel through excel object model.
    Regards
    Starain
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • Error while recording bdc for F-02...........

    Hi,      I m doin BDC recording for tcode F-02, i m getting a pop-up screen stating as, Coding Block ...asking  Transaction type....       This pop-up apperas only while recording,  if i extend G/L without recording i m not getting this pop-up and th

  • Why won't my Macbook charge a battery???

    I bought a battery on ebay a few months back when I thought I was buying a macbook from another guy with a bad battery macbook. It has sat out for a few months but it only shows having 3 cycles in the "about this mac" page. It was new as of a few mon

  • Can I connect 3 display screens to my MacPro?

    Can I connect 3 display screens to my MacPro?

  • Windows 7 and HP Photosmart 1215

    It appears the 1215 was not supported in Vista so there isn't much chance it is going to work with Win 7 either.  I tried the deskjet 990 work around with Win 7 but no joy. Anyone had any luck getting this printer working with Win 7?  or Vista?  Too

  • CiscoWorks LMS - Work Centers- Identity readiness not updating

    Hi, I'm using LMS 4.0.1 and i found that identity work center is not woking correctly. Problems detectes: 1) is not displaying all devices in identity-readiness assessment. On readines pie graph i se only part of devices. 2) when device is replaces o